Closed KieranFitz3 closed 6 years ago
Can you give me details about your OS.
Can you try this: sudo apt-get install libtool libtool-bin
Ubuntu 10.04 LTS 64 bit
sudo apt-get install libtool libtool-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libtool-bin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libtool:i386 libtool
Your distribution is very old. I propose an alternative. download this: wget http://gdlp01.c-wss.com/gds/1/0100009111/01/scangearmp2-3.50-1-deb.tar.gz tar xzvf scangearmp2-3.50-1-deb.tar.gz sudo dpkg -i scangearmp2-3.50-1-deb / packages / scangearmp2_3.50-1_amd64.deb after look this project : https://github.com/Ordissimo/libmfp2-canon
It's the same project without scangearmp2.It is still necessary that scangearmp2 be installed.
Sorry I mistyped the OS should have been Ubuntu 14.04 LTS
Ok, I will be able to test.
I just corrected, and I builder the package on ubuntu 14.04 #8f409cf :
apt-get install devscripts debhelper libglib2.0-dev libgtk2.0-dev libusb-1.0-0-dev libtool libjpeg-dev autoconf git clone https://github.com/Ordissimo/scangearmp2.git cp -a scangearmp2 scangearmp2-3.50 rm -rf scangearmp2-3.50/.git scangearmp2-3.50/debian/ tar cJvf scangearmp2_3.50.orig.tar.xz scangearmp2-3.50 cd scangearmp2 debuild -tc # ingnor error debsign
confirmed that it works.
Still not building signing issue?
sudo debuild -tc # ingnor error debsign dpkg-buildpackage -rfakeroot -D -us -uc -tc dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package scangearmp2 dpkg-buildpackage: source version 3.50-2ubuntu.artful dpkg-buildpackage: source distribution stable dpkg-buildpackage: source changed by thierry thierry@thierry-ThinkPad dpkg-source --before-build scangearmp2 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp
cd ./scangearmp2; make clean
make[1]: Entering directory /home/kieran/scangearmp2/scangearmp2' make[1]: *** No rule to make target
clean'. Stop.
make[1]: Leaving directory /home/kieran/scangearmp2/scangearmp2' make: [clean] Error 2 (ignored) dh_clean dpkg-source -b scangearmp2 dpkg-source: warning: native package version may not have a revision dpkg-source: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field dpkg-source: info: using source format
3.0 (native)'
dpkg-source: info: building scangearmp2 in scangearmp2_3.50-2ubuntu.artful.tar.gz
dpkg-source: info: building scangearmp2 in scangearmp2_3.50-2ubuntu.artful.dsc
debian/rules build
dh_testdir
######## configure scangearmp2 processing . Creating ./aclocal.m4 ... Running glib-gettextize... Ignore non-fatal messages. Copying file po/Makefile.in.in
Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/.
Making ./aclocal.m4 writable ...
Running libtoolize...
libtoolize: putting auxiliary files in .'. libtoolize: copying file
./ltmain.sh'
libtoolize: You should add the contents of the following files to aclocal.m4': libtoolize:
/usr/share/aclocal/libtool.m4'
libtoolize: /usr/share/aclocal/ltoptions.m4' libtoolize:
/usr/share/aclocal/ltversion.m4'
libtoolize: /usr/share/aclocal/ltsugar.m4' libtoolize:
/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding
-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: AC_PROG_RANLIB' is rendered obsolete by
LT_INIT'
Running aclocal ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running autoheader...
autoheader: WARNING: Using auxiliary files such as acconfig.h',
config.h.bot'
autoheader: WARNING: and config.h.top', to define templates for
config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of AC_DEFINE' and autoheader: WARNING:
AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function
main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
Running automake --gnu ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:19: installing './compile'
configure.in:19: installing './config.guess'
configure.in:19: installing './config.sub'
configure.in:16: installing './install-sh'
configure.in:16: installing './missing'
src/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am: installing './depcomp'
Running autoconf ...
Running ./configure --enable-maintainer-mode --prefix=/usr LDFLAGS=-L/home/kieran/scangearmp2/scangearmp2/../com/libs_bin64 ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for ranlib... (cached) ranlib
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for GMODULE... yes
checking for LIBUSB_1_0... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... de fr ja zh ru
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating etc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
Now type `make' to compile.
touch configure-stamp
dh_testdir
######## compile scangearmp2
make[1]: Entering directory /home/kieran/scangearmp2/scangearmp2' (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/kieran/scangearmp2/scangearmp2/missing autoheader) autoheader: WARNING: Using auxiliary files such as
acconfig.h', config.h.bot' autoheader: WARNING: and
config.h.top', to define templates for config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of
AC_DEFINE' and
autoheader: WARNING: AC_DEFINE_UNQUOTED' allows one to define a template without autoheader: WARNING:
acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2'
Making all in po
make[3]: Entering directory /home/kieran/scangearmp2/scangearmp2/po' file=./
echo de | sed 's,./,,'.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file de.po de.po:5: warning: header field 'Language' missing in header file=./
echo fr | sed 's,./,,'.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file fr.po fr.po:5: warning: header field 'Language' missing in header file=./
echo ja | sed 's,./,,'.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file ja.po ja.po:5: warning: header field 'Language' missing in header file=./
echo zh | sed 's,./,,'.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file zh.po zh.po:5: warning: header field 'Language' missing in header file=./
echo ru | sed 's,.*/,,'.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file ru.po ru.po:4: header field 'PO-Revision-Date' missing in header ru.po:4: warning: header field 'Language' still has the initial default value make[3]: Leaving directory
/home/kieran/scangearmp2/scangearmp2/po'
Making all in src
make[3]: Entering directory /home/kieran/scangearmp2/scangearmp2/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-sanei_init_debug.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Tpo -c -o sane/libsane_canon_pixma_la-sanei_init_debug.lo
test -f 'sane/sanei_init_debug.c' || echo './'sane/sanei_init_debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-sanei_init_debug.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Tpo -c sane/sanei_init_debug.c -fPIC -DPIC -o sane/.libs/libsane_canon_pixma_la-sanei_init_debug.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-sanei_init_debug.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Tpo -c sane/sanei_init_debug.c -o sane/libsane_canon_pixma_la-sanei_init_debug.o >/dev/null 2>&1 mv -f sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Tpo sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-canon_pixma.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-canon_pixma.Tpo -c -o sane/libsane_canon_pixma_la-canon_pixma.lo
test -f 'sane/canon_pixma.c' || echo './'sane/canon_pixma.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-canon_pixma.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-canon_pixma.Tpo -c sane/canon_pixma.c -fPIC -DPIC -o sane/.libs/libsane_canon_pixma_la-canon_pixma.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-canon_pixma.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-canon_pixma.Tpo -c sane/canon_pixma.c -o sane/libsane_canon_pixma_la-canon_pixma.o >/dev/null 2>&1 mv -f sane/.deps/libsane_canon_pixma_la-canon_pixma.Tpo sane/.deps/libsane_canon_pixma_la-canon_pixma.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-errordlg.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-errordlg.Tpo -c -o sane/libsane_canon_pixma_la-errordlg.lo
test -f 'sane/errordlg.c' || echo './'sane/errordlg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-errordlg.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-errordlg.Tpo -c sane/errordlg.c -fPIC -DPIC -o sane/.libs/libsane_canon_pixma_la-errordlg.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-errordlg.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-errordlg.Tpo -c sane/errordlg.c -o sane/libsane_canon_pixma_la-errordlg.o >/dev/null 2>&1 mv -f sane/.deps/libsane_canon_pixma_la-errordlg.Tpo sane/.deps/libsane_canon_pixma_la-errordlg.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-keep_setting.lo -MD -MP -MF .deps/libsane_canon_pixma_la-keep_setting.Tpo -c -o libsane_canon_pixma_la-keep_setting.lo
test -f 'keep_setting.c' || echo './'keep_setting.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-keep_setting.lo -MD -MP -MF .deps/libsane_canon_pixma_la-keep_setting.Tpo -c keep_setting.c -fPIC -DPIC -o .libs/libsane_canon_pixma_la-keep_setting.o keep_setting.c: In function 'KeepSettingCommonOpen': keep_setting.c:83:2: warning: embedded '\0' in format [-Wformat-contains-nul] snprintf( lpCommonSetting->file_path, PATH_MAX, "/var/tmp/canon_sgmp2_setting.ini\0" ); /* Ver.2.20 */ ^ keep_setting.c:83:2: warning: embedded '\0' in format [-Wformat-contains-nul] keep_setting.c: In function 'SubWriteSettingCommonFile': keep_setting.c:243:3: warning: embedded '\0' in format [-Wformat-contains-nul] snprintf( lpBuf, KEEP_SETTING_RASTER_LEN, "%s%s\n\0", KeepSettingCommonStrArray[ i ], lpCommonSetting->str[ i ] ); ^ keep_setting.c:243:3: warning: embedded '\0' in format [-Wformat-contains-nul] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-keep_setting.lo -MD -MP -MF .deps/libsane_canon_pixma_la-keep_setting.Tpo -c keep_setting.c -o libsane_canon_pixma_la-keep_setting.o >/dev/null 2>&1 mv -f .deps/libsane_canon_pixma_la-keep_setting.Tpo .deps/libsane_canon_pixma_la-keep_setting.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-canon_mfp_io.lo -MD -MP -MF .deps/libsane_canon_pixma_la-canon_mfp_io.Tpo -c -o libsane_canon_pixma_la-canon_mfp_io.lo
test -f 'canon_mfp_io.c' || echo './'canon_mfp_io.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-canon_mfp_io.lo -MD -MP -MF .deps/libsane_canon_pixma_la-canon_mfp_io.Tpo -c canon_mfp_io.c -fPIC -DPIC -o .libs/libsane_canon_pixma_la-canon_mfp_io.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-canon_mfp_io.lo -MD -MP -MF .deps/libsane_canon_pixma_la-canon_mfp_io.Tpo -c canon_mfp_io.c -o libsane_canon_pixma_la-canon_mfp_io.o >/dev/null 2>&1 mv -f .deps/libsane_canon_pixma_la-canon_mfp_io.Tpo .deps/libsane_canon_pixma_la-canon_mfp_io.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_pixma_la-canon_mfp_tools.Tpo -c -o libsane_canon_pixma_la-canon_mfp_tools.lo
test -f 'canon_mfp_tools.c' || echo './'canon_mfp_tools.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_pixma_la-canon_mfp_tools.Tpo -c canon_mfp_tools.c -fPIC -DPIC -o .libs/libsane_canon_pixma_la-canon_mfp_tools.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_pixma_la-canon_mfp_tools.Tpo -c canon_mfp_tools.c -o libsane_canon_pixma_la-canon_mfp_tools.o >/dev/null 2>&1 mv -f .deps/libsane_canon_pixma_la-canon_mfp_tools.Tpo .deps/libsane_canon_pixma_la-canon_mfp_tools.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-file_control.lo -MD -MP -MF .deps/libsane_canon_pixma_la-file_control.Tpo -c -o libsane_canon_pixma_la-file_control.lo
test -f 'file_control.c' || echo './'file_control.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-file_control.lo -MD -MP -MF .deps/libsane_canon_pixma_la-file_control.Tpo -c file_control.c -fPIC -DPIC -o .libs/libsane_canon_pixma_la-file_control.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-file_control.lo -MD -MP -MF .deps/libsane_canon_pixma_la-file_control.Tpo -c file_control.c -o libsane_canon_pixma_la-file_control.o >/dev/null 2>&1 mv -f .deps/libsane_canon_pixma_la-file_control.Tpo .deps/libsane_canon_pixma_la-file_control.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-cnmsfunc.lo -MD -MP -MF .deps/libsane_canon_pixma_la-cnmsfunc.Tpo -c -o libsane_canon_pixma_la-cnmsfunc.lo
test -f 'cnmsfunc.c' || echo './'cnmsfunc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-cnmsfunc.lo -MD -MP -MF .deps/libsane_canon_pixma_la-cnmsfunc.Tpo -c cnmsfunc.c -fPIC -DPIC -o .libs/libsane_canon_pixma_la-cnmsfunc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT libsane_canon_pixma_la-cnmsfunc.lo -MD -MP -MF .deps/libsane_canon_pixma_la-cnmsfunc.Tpo -c cnmsfunc.c -o libsane_canon_pixma_la-cnmsfunc.o >/dev/null 2>&1 mv -f .deps/libsane_canon_pixma_la-cnmsfunc.Tpo .deps/libsane_canon_pixma_la-cnmsfunc.Plo /bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -version-info 1:0:0 -L/home/kieran/scangearmp2/scangearmp2/../com/libs_bin64 -o libsane-canon_pixma.la -rpath /usr/lib/sane sane/libsane_canon_pixma_la-sanei_init_debug.lo sane/libsane_canon_pixma_la-canon_pixma.lo sane/libsane_canon_pixma_la-errordlg.lo libsane_canon_pixma_la-keep_setting.lo libsane_canon_pixma_la-canon_mfp_io.lo libsane_canon_pixma_la-canon_mfp_tools.lo libsane_canon_pixma_la-file_control.lo libsane_canon_pixma_la-cnmsfunc.lo -L../../com/libs_bin64 -lcncpmslld2 -lcncpnet2 -lcncpnet20 -lcncpnet30 -lpthread -ldl -ljpeg -lusb-1.0 libtool: link: gcc -shared -fPIC -DPIC sane/.libs/libsane_canon_pixma_la-sanei_init_debug.o sane/.libs/libsane_canon_pixma_la-canon_pixma.o sane/.libs/libsane_canon_pixma_la-errordlg.o .libs/libsane_canon_pixma_la-keep_setting.o .libs/libsane_canon_pixma_la-canon_mfp_io.o .libs/libsane_canon_pixma_la-canon_mfp_tools.o .libs/libsane_canon_pixma_la-file_control.o .libs/libsane_canon_pixma_la-cnmsfunc.o -L/home/kieran/scangearmp2/scangearmp2/../com/libs_bin64 -L../../com/libs_bin64 -lcncpmslld2 -lcncpnet2 -lcncpnet20 -lcncpnet30 -lpthread -ldl -ljpeg -lusb-1.0 -O2 -Wl,-soname -Wl,libsane-canon_pixma.so.1 -o .libs/libsane-canon_pixma.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libsane-canon_pixma.so.1" && ln -s "libsane-canon_pixma.so.1.0.0" "libsane-canon_pixma.so.1") libtool: link: (cd ".libs" && rm -f "libsane-canon_pixma.so" && ln -s "libsane-canon_pixma.so.1.0.0" "libsane-canon_pixma.so") libtool: link: ar cru .libs/libsane-canon_pixma.a sane/libsane_canon_pixma_la-sanei_init_debug.o sane/libsane_canon_pixma_la-canon_pixma.o sane/libsane_canon_pixma_la-errordlg.o libsane_canon_pixma_la-keep_setting.o libsane_canon_pixma_la-canon_mfp_io.o libsane_canon_pixma_la-canon_mfp_tools.o libsane_canon_pixma_la-file_control.o libsane_canon_pixma_la-cnmsfunc.o libtool: link: ranlib .libs/libsane-canon_pixma.a libtool: link: ( cd ".libs" && rm -f "libsane-canon_pixma.la" && ln -s "../libsane-canon_pixma.la" "libsane-canon_pixma.la" ) gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-main.o -MD -MP -MF .deps/scangearmp2-main.Tpo -c -o scangearmp2-main.o
test -f 'main.c' || echo './'main.c mv -f .deps/scangearmp2-main.Tpo .deps/scangearmp2-main.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-canon_mfp_io.o -MD -MP -MF .deps/scangearmp2-canon_mfp_io.Tpo -c -o scangearmp2-canon_mfp_io.o
test -f 'canon_mfp_io.c' || echo './'canon_mfp_io.c mv -f .deps/scangearmp2-canon_mfp_io.Tpo .deps/scangearmp2-canon_mfp_io.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-canon_mfp_tools.o -MD -MP -MF .deps/scangearmp2-canon_mfp_tools.Tpo -c -o scangearmp2-canon_mfp_tools.o
test -f 'canon_mfp_tools.c' || echo './'canon_mfp_tools.c mv -f .deps/scangearmp2-canon_mfp_tools.Tpo .deps/scangearmp2-canon_mfp_tools.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-mainui.o -MD -MP -MF .deps/scangearmp2-mainui.Tpo -c -o scangearmp2-mainui.o
test -f 'mainui.c' || echo './'mainui.c mv -f .deps/scangearmp2-mainui.Tpo .deps/scangearmp2-mainui.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-selectdevice.o -MD -MP -MF .deps/scangearmp2-selectdevice.Tpo -c -o scangearmp2-selectdevice.o
test -f 'selectdevice.c' || echo './'selectdevice.c mv -f .deps/scangearmp2-selectdevice.Tpo .deps/scangearmp2-selectdevice.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-scanmain.o -MD -MP -MF .deps/scangearmp2-scanmain.Tpo -c -o scangearmp2-scanmain.o
test -f 'scanmain.c' || echo './'scanmain.c mv -f .deps/scangearmp2-scanmain.Tpo .deps/scangearmp2-scanmain.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-errordlg.o -MD -MP -MF .deps/scangearmp2-errordlg.Tpo -c -o scangearmp2-errordlg.o
test -f 'errordlg.c' || echo './'errordlg.c mv -f .deps/scangearmp2-errordlg.Tpo .deps/scangearmp2-errordlg.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-progressbar.o -MD -MP -MF .deps/scangearmp2-progressbar.Tpo -c -o scangearmp2-progressbar.o
test -f 'progressbar.c' || echo './'progressbar.c mv -f .deps/scangearmp2-progressbar.Tpo .deps/scangearmp2-progressbar.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-file_control.o -MD -MP -MF .deps/scangearmp2-file_control.Tpo -c -o scangearmp2-file_control.o
test -f 'file_control.c' || echo './'file_control.c mv -f .deps/scangearmp2-file_control.Tpo .deps/scangearmp2-file_control.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-keep_setting.o -MD -MP -MF .deps/scangearmp2-keep_setting.Tpo -c -o scangearmp2-keep_setting.o
test -f 'keep_setting.c' || echo './'keep_setting.c keep_setting.c: In function ‘KeepSettingCommonOpen’: keep_setting.c:83:2: warning: embedded ‘\0’ in format [-Wformat-contains-nul] snprintf( lpCommonSetting->file_path, PATH_MAX, "/var/tmp/canon_sgmp2_setting.ini\0" ); /* Ver.2.20 */ ^ keep_setting.c:83:2: warning: embedded ‘\0’ in format [-Wformat-contains-nul] keep_setting.c: In function ‘SubWriteSettingCommonFile’: keep_setting.c:243:3: warning: embedded ‘\0’ in format [-Wformat-contains-nul] snprintf( lpBuf, KEEP_SETTING_RASTER_LEN, "%s%s\n\0", KeepSettingCommonStrArray[ i ], lpCommonSetting->str[ i ] ); ^ keep_setting.c:243:3: warning: embedded ‘\0’ in format [-Wformat-contains-nul] mv -f .deps/scangearmp2-keep_setting.Tpo .deps/scangearmp2-keep_setting.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-jpeg2pdf.o -MD -MP -MF .deps/scangearmp2-jpeg2pdf.Tpo -c -o scangearmp2-jpeg2pdf.o
test -f 'jpeg2pdf.c' || echo './'jpeg2pdf.c mv -f .deps/scangearmp2-jpeg2pdf.Tpo .deps/scangearmp2-jpeg2pdf.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-cnmsfunc.o -MD -MP -MF .deps/scangearmp2-cnmsfunc.Tpo -c -o scangearmp2-cnmsfunc.o
test -f 'cnmsfunc.c' || echo './'cnmsfunc.c mv -f .deps/scangearmp2-cnmsfunc.Tpo .deps/scangearmp2-cnmsfunc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -MT scangearmp2-callbacks.o -MD -MP -MF .deps/scangearmp2-callbacks.Tpo -c -o scangearmp2-callbacks.o
test -f 'callbacks.c' || echo './'callbacks.c mv -f .deps/scangearmp2-callbacks.Tpo .deps/scangearmp2-callbacks.Po /bin/bash ../libtool --tag=CC --mode=link gcc -DPACKAGE_DATA_DIR=\""/usr/share/scangearmp2"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -O2 -D_FILE_OFFSET_BITS=64 -L/home/kieran/scangearmp2/scangearmp2/../com/libs_bin64 -o scangearmp2 scangearmp2-main.o scangearmp2-canon_mfp_io.o scangearmp2-canon_mfp_tools.o scangearmp2-mainui.o scangearmp2-selectdevice.o scangearmp2-scanmain.o scangearmp2-errordlg.o scangearmp2-progressbar.o scangearmp2-file_control.o scangearmp2-keep_setting.o scangearmp2-jpeg2pdf.o scangearmp2-cnmsfunc.o scangearmp2-callbacks.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype -Wl,--export-dynamic -pthread -lgmodule-2.0 -lglib-2.0 -lusb-1.0 -lcncpmslld2 -lcncpnet2 -lcncpnet20 -lcncpnet30 -lpthread libtool: link: gcc -DPACKAGE_DATA_DIR=\"/usr/share/scangearmp2\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -O2 -D_FILE_OFFSET_BITS=64 -o scangearmp2 scangearmp2-main.o scangearmp2-canon_mfp_io.o scangearmp2-canon_mfp_tools.o scangearmp2-mainui.o scangearmp2-selectdevice.o scangearmp2-scanmain.o scangearmp2-errordlg.o scangearmp2-progressbar.o scangearmp2-file_control.o scangearmp2-keep_setting.o scangearmp2-jpeg2pdf.o scangearmp2-cnmsfunc.o scangearmp2-callbacks.o -Wl,--export-dynamic -pthread -L/home/kieran/scangearmp2/scangearmp2/../com/libs_bin64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libcairo.so -lpango-1.0 -lfontconfig -lgobject-2.0 /usr/lib/x86_64-linux-gnu/libfreetype.so -lgmodule-2.0 -lglib-2.0 -lusb-1.0 -lcncpmslld2 -lcncpnet2 -lcncpnet20 -lcncpnet30 -lpthread -pthread make[3]: Leaving directory
/home/kieran/scangearmp2/scangearmp2/src'
Making all in etc
make[3]: Entering directory /home/kieran/scangearmp2/scangearmp2/etc' make[3]: Nothing to be done for
all'.
make[3]: Leaving directory /home/kieran/scangearmp2/scangearmp2/etc' Making all in include make[3]: Entering directory
/home/kieran/scangearmp2/scangearmp2/include'
make[3]: Nothing to be done for all'. make[3]: Leaving directory
/home/kieran/scangearmp2/scangearmp2/include'
make[3]: Entering directory /home/kieran/scangearmp2/scangearmp2' make[3]: Leaving directory
/home/kieran/scangearmp2/scangearmp2'
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2' make[1]: Leaving directory
/home/kieran/scangearmp2/scangearmp2'
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_installdirs
cd ./scangearmp2; make install DESTDIR=/home/kieran/scangearmp2/debian/scangearmp2
make[1]: Entering directory /home/kieran/scangearmp2/scangearmp2' Making install in po make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/po'
mkdir -p /home/kieran/scangearmp2/debian/scangearmp2/usr/share; \
catalogs='de.gmo fr.gmo ja.gmo zh.gmo ru.gmo'; \
for cat in $catalogs; do \
cat=basename $cat
; \
case "$cat" in \
.gmo) destdir=/usr/share/locale;; \
) destdir=/usr/lib/locale;; \
esac; \
lang=echo $cat | sed 's/\.gmo$//'
; \
dir=/home/kieran/scangearmp2/debian/scangearmp2$destdir/$lang/LC_MESSAGES; \
mkdir -p $dir; \
if test -r $cat; then \
/usr/bin/install -c -m 644 $cat $dir/scangearmp2.mo; \
echo "installing $cat as $dir/scangearmp2.mo"; \
else \
/usr/bin/install -c -m 644 ./$cat $dir/scangearmp2.mo; \
echo "installing ./$cat as" \
"$dir/scangearmp2.mo"; \
fi; \
if test -r $cat.m; then \
/usr/bin/install -c -m 644 $cat.m $dir/scangearmp2.mo.m; \
echo "installing $cat.m as $dir/scangearmp2.mo.m"; \
else \
if test -r ./$cat.m ; then \
/usr/bin/install -c -m 644 ./$cat.m \
$dir/scangearmp2.mo.m; \
echo "installing ./$cat as" \
"$dir/scangearmp2.mo.m"; \
else \
true; \
fi; \
fi; \
done
installing de.gmo as /home/kieran/scangearmp2/debian/scangearmp2/usr/share/locale/de/LC_MESSAGES/scangearmp2.mo
installing fr.gmo as /home/kieran/scangearmp2/debian/scangearmp2/usr/share/locale/fr/LC_MESSAGES/scangearmp2.mo
installing ja.gmo as /home/kieran/scangearmp2/debian/scangearmp2/usr/share/locale/ja/LC_MESSAGES/scangearmp2.mo
installing zh.gmo as /home/kieran/scangearmp2/debian/scangearmp2/usr/share/locale/zh/LC_MESSAGES/scangearmp2.mo
installing ru.gmo as /home/kieran/scangearmp2/debian/scangearmp2/usr/share/locale/ru/LC_MESSAGES/scangearmp2.mo
if test "scangearmp2" = "glib"; then \
mkdir -p /home/kieran/scangearmp2/debian/scangearmp2/usr/share/glib-2.0/gettext/po; \
/usr/bin/install -c -m 644 ./Makefile.in.in \
/home/kieran/scangearmp2/debian/scangearmp2/usr/share/glib-2.0/gettext/po/Makefile.in.in; \
else \
: ; \
fi
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2/po' Making install in src make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/src'
make[3]: Entering directory /home/kieran/scangearmp2/scangearmp2/src' /bin/mkdir -p '/home/kieran/scangearmp2/debian/scangearmp2/usr/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c scangearmp2 '/home/kieran/scangearmp2/debian/scangearmp2/usr/bin' libtool: install: /usr/bin/install -c scangearmp2 /home/kieran/scangearmp2/debian/scangearmp2/usr/bin/scangearmp2 if test ! -d /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/bjlib; then mkdir -p /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/bjlib ; fi ; \ /usr/bin/install -c -m 644 canon_mfp2.conf /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/bjlib make[3]: Leaving directory
/home/kieran/scangearmp2/scangearmp2/src'
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2/src' Making install in etc make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/etc'
make[3]: Entering directory /home/kieran/scangearmp2/scangearmp2/etc' make[3]: Nothing to be done for
install-exec-am'.
make[3]: Nothing to be done for install-data-am'. make[3]: Leaving directory
/home/kieran/scangearmp2/scangearmp2/etc'
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2/etc' Making install in include make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/include'
make[3]: Entering directory /home/kieran/scangearmp2/scangearmp2/include' make[3]: Nothing to be done for
install-exec-am'.
make[3]: Nothing to be done for install-data-am'. make[3]: Leaving directory
/home/kieran/scangearmp2/scangearmp2/include'
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2/include' make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2'
make[3]: Entering directory /home/kieran/scangearmp2/scangearmp2' make[3]: Nothing to be done for
install-exec-am'.
/bin/bash /home/kieran/scangearmp2/scangearmp2/install-sh -d /home/kieran/scangearmp2/debian/scangearmp2/usr/share/scangearmp2; \
for glade in ./.glade; do \
if test -f $glade; then \
/usr/bin/install -c -m 644 $glade /home/kieran/scangearmp2/debian/scangearmp2/usr/share/scangearmp2; \
fi \
done
if test -d ./pixmaps; then \
/bin/bash /home/kieran/scangearmp2/scangearmp2/install-sh -d /home/kieran/scangearmp2/debian/scangearmp2/usr/share/scangearmp2/pixmaps; \
for pixmap in ./pixmaps/; do \
if test -f $pixmap; then \
/usr/bin/install -c -m 644 $pixmap /home/kieran/scangearmp2/debian/scangearmp2/usr/share/scangearmp2/pixmaps; \
fi \
done \
fi
make[3]: Leaving directory /home/kieran/scangearmp2/scangearmp2' make[2]: Leaving directory
/home/kieran/scangearmp2/scangearmp2'
make[1]: Leaving directory `/home/kieran/scangearmp2/scangearmp2'
rm -f /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/.la /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/.a
dh_install -s
mkdir -p /home/kieran/scangearmp2/debian/scangearmp2/usr/lib
install -c -s -m 755 ./com/libs_bingetconf LONG_BIT
/.so. /home/kieran/scangearmp2/debian/scangearmp2/usr/lib
dh_install -s mkdir -p /home/kieran/scangearmp2/debian/scangearmp2/etc/udev/rules.d install -c -m 644 ./scangearmp2/etc/*.rules /home/kieran/scangearmp2/debian/scangearmp2/etc/udev/rules.d
dh_install -s mkdir -p /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/"x86_64-linux-gnu/"sane install -c -s -m 755 ./scangearmp2/src/.libs/libsane-canon_pixma.a /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/"x86_64-linux-gnu/"sane install -c -s -m 755 ./scangearmp2/src/.libs/libsane-canon_pixma.so.1.0.0 /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/"x86_64-linux-gnu/"sane cp -f ./scangearmp2/src/libsane-canon_pixma.la /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/"x86_64-linux-gnu/"sane chmod 0755 /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/"x86_64-linux-gnu/"sane/libsane-canon_pixma.la ln -s /usr/lib/"x86_64-linux-gnu/"sane/libsane-canon_pixma.so.1.0.0 /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/"x86_64-linux-gnu/"sane/libsane-canon_pixma.so.1 ln -s /usr/lib/"x86_64-linux-gnu/"sane/libsane-canon_pixma.so.1.0.0 /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/"x86_64-linux-gnu/"sane/libsane-canon_pixma.so ln -s /usr/lib/libcncpmslld2.so.3.0.0 debian/scangearmp2/usr/lib/libcncpmslld2.so.3 ln -s /usr/lib/libcncpmslld2.so.3.0.0 debian/scangearmp2/usr/lib/libcncpmslld2.so ln -s /usr/lib/libcncpnet2.so.1.2.4 debian/scangearmp2/usr/lib/libcncpnet2.so.1 ln -s /usr/lib/libcncpnet2.so.1.2.4 debian/scangearmp2/usr/lib/libcncpnet2.so ln -s /usr/lib/libcncpnet20.so.1.0.0 debian/scangearmp2/usr/lib/libcncpnet20.so.1 ln -s /usr/lib/libcncpnet20.so.1.0.0 debian/scangearmp2/usr/lib/libcncpnet20.so ln -s /usr/lib/libcncpnet30.so.1.0.0 debian/scangearmp2/usr/lib/libcncpnet30.so.1 ln -s /usr/lib/libcncpnet30.so.1.0.0 debian/scangearmp2/usr/lib/libcncpnet30.so
dh_install -s
mkdir -p /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/bjlib
install -c -m 666 ./com/ini/canon_mfp2_net.ini /home/kieran/scangearmp2/debian/scangearmp2/usr/lib/bjlib
touch install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress -X.txt
dh_fixperms --exclude=canon_mfp2_net.ini
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: symbol floor used by debian/scangearmp2/usr/lib/libcncpmslld2.so.3.0.0 found in none of the libraries
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet20.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet20.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet20.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet20.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet30.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet30.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet30.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet30.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpmslld2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpmslld2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpmslld2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpmslld2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet20.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet20.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet20.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet20.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpmslld2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpmslld2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpmslld2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpmslld2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet30.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet30.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet30.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libcncpnet30.so'
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/scangearmp2/usr/lib/libcncpnet2.so.1.2.4 was not linked against libdl.so.2 (it uses none of the library's symbols)
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package scangearmp2' in
../scangearmp2_3.50-2ubuntu.artful_amd64.deb'.
dpkg-genchanges >../scangearmp2_3.50-2ubuntu.artful_amd64.changes
dpkg-genchanges: including full source code in upload
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
cd ./scangearmp2; make clean
make[1]: Entering directory /home/kieran/scangearmp2/scangearmp2' Making clean in po make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/po'
rm -f core core. .pox scangearmp2.po .old.po cat-id-tbl.tmp
rm -fr .o
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2/po' Making clean in src make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/src'
rm -f scangearmp2
test -z "libsane-canon_pixma.la" || rm -f libsane-canon_pixma.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf sane/.libs sane/_libs
rm -f .o
rm -f sane/.o
rm -f sane/.lo
rm -f .lo
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2/src' Making clean in etc make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/etc'
rm -rf .libs _libs
rm -f .lo
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2/etc' Making clean in include make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/include'
rm -rf .libs _libs
rm -f .lo
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2/include' make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory /home/kieran/scangearmp2/scangearmp2' make[1]: Leaving directory
/home/kieran/scangearmp2/scangearmp2'
dh_clean
dpkg-source --after-build scangearmp2
dpkg-buildpackage: full upload; Debian-native package (full source is included)
Now running lintian...
warning: the authors of lintian do not recommend running it with root privileges!
E: scangearmp2 changes: bad-distribution-in-changes-file stable
E: scangearmp2 changes: changed-by-address-malformed thierry thierry@thierry-ThinkPad
W: scangearmp2 source: native-package-with-dash-version
E: scangearmp2 source: source-is-missing com/libs_bin32/libcncpmslld2.so.3.0.0
E: scangearmp2 source: source-is-missing com/libs_bin32/libcncpnet2.so.1.2.4
E: scangearmp2 source: source-is-missing com/libs_bin32/libcncpnet20.so.1.0.0
E: scangearmp2 source: source-is-missing com/libs_bin32/libcncpnet30.so.1.0.0
E: scangearmp2 source: source-is-missing com/libs_bin64/libcncpmslld2.so.3.0.0
E: scangearmp2 source: source-is-missing com/libs_bin64/libcncpnet2.so.1.2.4
E: scangearmp2 source: source-is-missing com/libs_bin64/libcncpnet20.so.1.0.0
E: scangearmp2 source: source-is-missing com/libs_bin64/libcncpnet30.so.1.0.0
W: scangearmp2 source: dh-clean-k-is-deprecated
W: scangearmp2 source: package-file-is-executable debian/copyright
W: scangearmp2 source: maintainer-script-lacks-debhelper-token debian/postinst
W: scangearmp2 source: maintainer-script-lacks-debhelper-token debian/postrm
W: scangearmp2 source: package-needs-versioned-debhelper-build-depends 9
W: scangearmp2 source: debian-rules-missing-recommended-target build-indep
W: scangearmp2 source: debian-rules-missing-recommended-target build-arch
W: scangearmp2 source: ancient-standards-version 3.7.2 (current is 3.9.5)
W: scangearmp2: package-name-doesnt-match-sonames libcncpmslld2 libcncpnet2 libcncpnet20 libcncpnet30
W: scangearmp2: hardening-no-relro usr/lib/libcncpmslld2.so.3.0.0
W: scangearmp2: hardening-no-relro usr/lib/libcncpnet2.so.1.2.4
W: scangearmp2: hardening-no-relro usr/lib/libcncpnet20.so.1.0.0
W: scangearmp2: hardening-no-relro usr/lib/libcncpnet30.so.1.0.0
E: scangearmp2: debian-changelog-file-contains-invalid-email-address thierry@thierry-ThinkPad
W: scangearmp2: copyright-without-copyright-notice
W: scangearmp2: extended-description-line-too-long
E: scangearmp2: udev-rule-in-etc etc/udev/rules.d/80-canon_mfp2.rules
W: scangearmp2: non-standard-file-perm usr/lib/bjlib/canon_mfp2_net.ini 0666 != 0644
W: scangearmp2: binary-without-manpage usr/bin/scangearmp2
W: scangearmp2: possibly-insecure-handling-of-tmp-files-in-maintainer-script postrm:11
W: scangearmp2: maintainer-script-ignores-errors postrm
W: scangearmp2: command-with-path-in-maintainer-script postinst:4 /sbin/ldconfig
W: scangearmp2: command-with-path-in-maintainer-script postinst:9 /sbin/udevadm
W: scangearmp2: command-with-path-in-maintainer-script postinst:10 /sbin/udevadm
W: scangearmp2: maintainer-script-ignores-errors postinst
E: scangearmp2: non-empty-dependency_libs-in-la-file usr/lib/x86_64-linux-gnu/sane/libsane-canon_pixma.la
E: scangearmp2: incorrect-libdir-in-la-file usr/lib/x86_64-linux-gnu/sane/libsane-canon_pixma.la /usr/lib/sane != /usr/lib/x86_64-linux-gnu/sane
W: scangearmp2: non-dev-pkg-with-shlib-symlink usr/lib/libcncpnet2.so.1.2.4 usr/lib/libcncpnet2.so
W: scangearmp2: non-dev-pkg-with-shlib-symlink usr/lib/libcncpmslld2.so.3.0.0 usr/lib/libcncpmslld2.so
W: scangearmp2: non-dev-pkg-with-shlib-symlink usr/lib/libcncpnet30.so.1.0.0 usr/lib/libcncpnet30.so
W: scangearmp2: non-dev-pkg-with-shlib-symlink usr/lib/libcncpnet20.so.1.0.0 usr/lib/libcncpnet20.so
W: scangearmp2: shlib-without-versioned-soname usr/lib/libcncpnet2.so.1.2.4 libcncpnet2.so
W: scangearmp2: shlib-without-versioned-soname usr/lib/libcncpmslld2.so.3.0.0 libcncpmslld2.so
W: scangearmp2: shlib-without-versioned-soname usr/lib/libcncpnet30.so.1.0.0 libcncpnet30.so
W: scangearmp2: shlib-without-versioned-soname usr/lib/libcncpnet20.so.1.0.0 libcncpnet20.so
E: scangearmp2: postrm-should-call-ldconfig usr/lib/libcncpnet30.so.1.0.0
Finished running lintian.
Now signing changes and any dsc files...
signfile scangearmp2_3.50-2ubuntu.artful.dsc thierry thierry@thierry-ThinkPad
gpg: WARNING: unsafe ownership on configuration file /home/kieran/.gnupg/gpg.conf' gpg: WARNING: unsafe ownership on configuration file
/home/kieran/.gnupg/gpg.conf'
gpg: skipped "thierry thierry@thierry-ThinkPad": secret key not available
gpg: /tmp/debsign.7JdUFb7B/scangearmp2_3.50-2ubuntu.artful.dsc: clearsign failed: secret key not available
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1283:
running debsign failed
Look issue #5
Issue #5 - Wow this has gone way over my head! Got keys but what and how do I sign? Thanks for your help and patience but without the package I can't proceed, any chance of a built one?
The binary package was well built, looked at your log : dpkg-deb: building package scangearmp2' in../scangearmp2_3.50-2ubuntu.artful_amd64.deb'.
install your package and activate : /home/kieran/scangearmp2 : sudo dpkg -i ../scangearmp2_3.50-2ubuntu.artful_amd64.deb /home/kieran/scangearmp2 : sudo echo "canon_pixma" >> /etc/sane.d/dll.conf
Moving forward but some issues here
~/scangearmp2$ sudo dpkg -i ../scangearmp2_3.50-2ubuntu.artful_amd64.deb (Reading database ... 496359 files and directories currently installed.) Preparing to unpack .../scangearmp2_3.50-2ubuntu.artful_amd64.deb ... Unpacking scangearmp2 (3.50-2ubuntu.artful) over (3.40-1) ... Setting up scangearmp2 (3.50-2ubuntu.artful) ... Installing new version of config file /etc/udev/rules.d/80-canon_mfp2.rules ... Processing triggers for libc-bin (2.19-0ubuntu6.14) ... /sbin/ldconfig.real: /usr/lib/nvidia-384/libEGL.so.1 is not a symbolic link
/sbin/ldconfig.real: /usr/lib32/nvidia-384/libEGL.so.1 is not a symbolic link
kieran@Desktop:~/scangearmp2$ sudo echo "canon_pixma" >> /etc/sane.d/dll.conf bash: /etc/sane.d/dll.conf: Permission denied kieran@Desktop:~/scangearmp2$
It does not matter, it's just ldconfig who is not happy to find real files. This does not fix the good functioning of your OS. In addition, it is 32-bit libs, so used at the margin not see at all, nvidia provided 64-bit drivers. Test your installation : kieran@Desktop:/scangearmp2$ scanimage -L
kieran@Desktop:~/scangearmp2$ scanimage -L [pixma] udp_command: No data received (select): timed out [pixma] udp_command: No data received (select): timed out [pixma] udp_command: No data received (select): timed out [pixma] Cannot read scanner make & model: ��{����
No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).
This is normal, you use the pixma driver =>[pixma] . Not the canon_pixma driver => [canon_pixma]. Give me the result of the command: cat /etc/sane/dll.conf
no /etc/sane directory sane.d is there
Ok, I did not see it : kieran@Desktop:/scangearmp2$ sudo echo "canon_pixma" >> /etc/sane.d/dll.conf bash: /etc/sane.d/dll.conf: Permission denied
kieran@Desktop:/scangearmp2$ sudo -s password $ echo "canon_pixma" >> /etc/sane.d/dll.conf $ exit kieran@Desktop:/scangearmp2$ scanimage -L
sudo -s [sudo] password for kieran: root@Desktop:~# "canon_pixma" >> /etc/sane.d/dll.conf canon_pixma: command not found
Sorry forget echo!
All working thank you so much, Xsane usede to test.
Building with latest setup but still getting build failure. May be due to lack of understanding on my part. Output below. Any help would be appreciated.
debuild -tc dpkg-buildpackage -rfakeroot -D -us -uc -tc dpkg-buildpackage: source package scangearmp2 dpkg-buildpackage: source version 3.50-2ubuntu.artful dpkg-buildpackage: source distribution stable dpkg-buildpackage: source changed by thierry thierry@thierry-ThinkPad dpkg-source --before-build scangearmp2 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. #-/usr/bin/make clean cd ./scangearmp2; make clean make[1]: Entering directory
/home/kieran/scangearmp2/scangearmp2' Making clean in po make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/po' rm -f core core. .pox scangearmp2.po .old.po cat-id-tbl.tmp rm -fr .o make[2]: Leaving directory/home/kieran/scangearmp2/scangearmp2/po' Making clean in src make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/src' rm -f scangearmp2 test -z "libsane-canon_pixma.la" || rm -f libsane-canon_pixma.la rm -f ./so_locations rm -rf .libs _libs rm -rf sane/.libs sane/_libs rm -f .o rm -f sane/.o rm -f sane/.lo rm -f .lo make[2]: Leaving directory/home/kieran/scangearmp2/scangearmp2/src' Making clean in etc make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/etc' rm -rf .libs _libs rm -f .lo make[2]: Leaving directory/home/kieran/scangearmp2/scangearmp2/etc' Making clean in include make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2/include' rm -rf .libs _libs rm -f .lo make[2]: Leaving directory/home/kieran/scangearmp2/scangearmp2/include' make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2' rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory/home/kieran/scangearmp2/scangearmp2' make[1]: Leaving directory
/home/kieran/scangearmp2/scangearmp2' dh_clean dpkg-source -b scangearmp2 dpkg-source: warning: native package version may not have a revision dpkg-source: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field dpkg-source: info: using source format `3.0 (native)' dpkg-source: info: building scangearmp2 in scangearmp2_3.50-2ubuntu.artful.tar.gz dpkg-source: info: building scangearmp2 in scangearmp2_3.50-2ubuntu.artful.dsc debian/rules build dh_testdirAdd here commands to configure the package.
configure common package
######## configure scangearmp2 processing . Creating ./aclocal.m4 ... Running glib-gettextize... Ignore non-fatal messages. Copying file po/Makefile.in.in
Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/.
Making ./aclocal.m4 writable ... Running libtoolize... libtoolize: putting auxiliary files in
.'. libtoolize: copying file
./ltmain.sh' libtoolize: Consider addingAC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding
-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize:AC_PROG_RANLIB' is rendered obsolete by
LT_INIT' Running aclocal ... aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' Running autoheader... autoheader: WARNING: Using auxiliary files such asacconfig.h',
config.h.bot' autoheader: WARNING: andconfig.h.top', to define templates for
config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument ofAC_DEFINE' and autoheader: WARNING:
AC_DEFINE_UNQUOTED' allows one to define a template without autoheader: WARNING:acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function
main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. Running automake --gnu ... automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' Running autoconf ... Running ./configure --enable-maintainer-mode --prefix=/usr LDFLAGS=-L/home/kieran/scangearmp2/scangearmp2/../com/libs_bin64 ... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 3458764513820540925 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for library containing strerror... none required checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for ANSI C header files... (cached) yes checking for ranlib... (cached) ranlib checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes checking for GMODULE... yes checking for LIBUSB_1_0... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... de fr ja zh ru checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating etc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands Now type `make' to compile. touch configure-stamp dh_testdirAdd here commands to compile the package.
/usr/bin/make
build common package
######## compile scangearmp2 make[1]: Entering directory
/home/kieran/scangearmp2/scangearmp2' make all-recursive make[2]: Entering directory
/home/kieran/scangearmp2/scangearmp2' Making all in po make[3]: Entering directory/home/kieran/scangearmp2/scangearmp2/po' make[3]: Nothing to be done for
all'. make[3]: Leaving directory/home/kieran/scangearmp2/scangearmp2/po' Making all in src make[3]: Entering directory
/home/kieran/scangearmp2/scangearmp2/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-sanei_init_debug.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Tpo -c -o sane/libsane_canon_pixma_la-sanei_init_debug.lotest -f 'sane/sanei_init_debug.c' || echo './'
sane/sanei_init_debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-sanei_init_debug.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Tpo -c sane/sanei_init_debug.c -fPIC -DPIC -o sane/.libs/libsane_canon_pixma_la-sanei_init_debug.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-sanei_init_debug.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Tpo -c sane/sanei_init_debug.c -o sane/libsane_canon_pixma_la-sanei_init_debug.o >/dev/null 2>&1 mv -f sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Tpo sane/.deps/libsane_canon_pixma_la-sanei_init_debug.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-canon_pixma.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-canon_pixma.Tpo -c -o sane/libsane_canon_pixma_la-canon_pixma.lotest -f 'sane/canon_pixma.c' || echo './'
sane/canon_pixma.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 -I/usr/include/libusb-1.0 -I../include -O2 -D_FILE_OFFSET_BITS=64 -MT sane/libsane_canon_pixma_la-canon_pixma.lo -MD -MP -MF sane/.deps/libsane_canon_pixma_la-canon_pixma.Tpo -c sane/canon_pixma.c -fPIC -DPIC -o sane/.libs/libsane_canon_pixma_la-canon_pixma.o sane/canon_pixma.c: In function 'max_string_size': sane/canon_pixma.c:95:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; strings[i]; ++i) ^ sane/canon_pixma.c:95:5: note: use option -std=c99 or -std=gnu99 to compile your code make[3]: [sane/libsane_canon_pixma_la-canon_pixma.lo] Error 1 make[3]: Leaving directory `/home/kieran/scangearmp2/scangearmp2/src' make[2]: [all-recursive] Error 1 make[2]: Leaving directory/home/kieran/scangearmp2/scangearmp2' make[1]: *** [all] Error 2 make[1]: Leaving directory
/home/kieran/scangearmp2/scangearmp2' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1364: dpkg-buildpackage -rfakeroot -D -us -uc -tc failed kieran@Desktop:~/scangearmp2$