Source: libmtp
Version: 1.1.6-20-g1b9f164-1
Severity: serious

Hello,

it seems that a full build of libmtp can only be done on Linux. That's because 
libmtp-common contains Linux-only file(s):

/usr/share/hal/fdi/information/20thirdparty/20-libmtp9.fdi 
/lib/udev/rules.d/69-libmtp.rules (probably)

which libmtp build system does not install on non-Linux OSes.

For example, the attached build.log file contains full build FTBFS on 
kfreebsd-amd64.

-- 
Modestas Vainius <mo...@debian.org>

dpkg-buildpackage: source package libmtp
dpkg-buildpackage: source version 1.1.6-20-g1b9f164-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Alessio Treglia <ales...@debian.org>
 dpkg-source --before-build libmtp-1.1.6-20-g1b9f164
dpkg-buildpackage: host architecture kfreebsd-amd64
 fakeroot debian/rules clean
dh clean --with autoreconf
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
rm -f mtp-tools.1 debian/libmtp9.docs debian/libmtp9.install debian/libmtp9.preinst debian/libmtp9.postinst 20-libmtp9.fdi
# Restore original file
test ! -e src/gphoto2-endian.h-orig \
		|| mv src/gphoto2-endian.h-orig src/gphoto2-endian.h
dh_auto_clean
make[1]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
   debian/rules override_dh_autoreconf_clean
make[1]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
rm -rf config.rpath
dh_autoreconf_clean
make[1]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
   dh_clean
 dpkg-source -b libmtp-1.1.6-20-g1b9f164
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building libmtp using existing ./libmtp_1.1.6-20-g1b9f164.orig.tar.gz
dpkg-source: info: building libmtp in libmtp_1.1.6-20-g1b9f164-1.debian.tar.gz
dpkg-source: info: building libmtp in libmtp_1.1.6-20-g1b9f164-1.dsc
 debian/rules build
dh build --with autoreconf
   dh_testdir
   debian/rules override_dh_autoreconf
make[1]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
cp /usr/share/gnulib/build-aux/config.rpath .
dh_autoreconf
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:10: installing './compile'
configure.ac:13: installing './config.guess'
configure.ac:13: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
examples/Makefile.am: installing './depcomp'
make[1]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
sed "s/@SOVERSION@/9/g" < debian/libmtp.docs.in	> debian/libmtp9.docs
sed "s/@SOVERSION@/9/g" < debian/libmtp.install.in	> debian/libmtp9.install
sed "s/@SOVERSION@/9/g" < debian/libmtp.preinst.in	> debian/libmtp9.preinst
sed "s/@SOVERSION@/9/g" < debian/libmtp.postinst.in	> debian/libmtp9.postinst
# Save file modified by configure
( test -e src/gphoto2-endian.h-orig -o ! \( -e src/gphoto2-endian.h \) ) \
		|| cp src/gphoto2-endian.h src/gphoto2-endian.h-orig
dh_auto_configure -- --enable-static=no --enable-doxygen
configure: WARNING: unrecognized options: --disable-maintainer-mode
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking whether ln -s works... yes
checking build system type... x86_64-pc-kfreebsd-gnu
checking host system type... x86_64-pc-kfreebsd-gnu
checking how to print strings... printf
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 the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-kfreebsd-gnu file names to x86_64-pc-kfreebsd-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-kfreebsd-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... dlltool
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... no
checking if : 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_fbsd) 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... no
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64_fbsd
checking if the linker (/usr/bin/ld -m elf_x86_64_fbsd) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for doxygen... true
configure: API documentation will be generated using Doxygen
checking if the host operating system is Darwin... no
checking if the host operating system is Linux... no
checking For MinGW32... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... no
checking for openusb_init in -lopenusb... no
checking for LIBUSB... yes
checking for libgcrypt... checking for gcry_check_version in -lgcrypt... yes
configure: MTPZ functionality enabled
configure: *** using libusb 0.1.12 ***
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for basename... yes
checking for memset... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking for strrchr... yes
checking for strtoul... yes
checking for usleep... yes
checking for mkstemp... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for uint8_t in stdint.h... yes
checking whether byte ordering is bigendian... no
checking for le32toh in machine/endian.h... yes
checking for swap32 in machine/endian.h... no
checking for bswap_32 in byteswap.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/libmtp.h
config.status: creating doc/Doxyfile
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating examples/Makefile
config.status: creating util/Makefile
config.status: creating libmtp.sh
config.status: creating hotplug.sh
config.status: creating libmtp.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
make[1]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
   debian/rules override_dh_auto_build
make[1]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
# Build and install the man page for mtp-tools
xsltproc -''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl debian/mtp-tools.dbk
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
debian/mtp-tools.dbk:45: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";
]>
  ^
Note: meta source : no *info/productname or alternative            mtp-tools
Note: meta source : see http://docbook.sf.net/el/productname       mtp-tools
Note: meta source : no refentry/refmeta/refmiscinfo@class=source   mtp-tools
Note: meta source : see http://docbook.sf.net/el/refmiscinfo       mtp-tools
Note: meta version: no *info/productnumber or alternative          mtp-tools
Note: meta version: see http://docbook.sf.net/el/productnumber     mtp-tools
Note: meta version: no refentry/refmeta/refmiscinfo@class=version  mtp-tools
Note: meta version: see http://docbook.sf.net/el/refmiscinfo       mtp-tools
Warn: meta source : no fallback for source, so inserted a fixme    mtp-tools
Note: meta manual : no titled ancestor of refentry                 mtp-tools
Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual   mtp-tools
Note: meta manual : see http://docbook.sf.net/el/refmiscinfo       mtp-tools
Warn: meta manual : no fallback for manual, so inserted a fixme    mtp-tools
Warn: AUTHOR sect.: no personblurb|contrib for Rafael Laboissiere  mtp-tools
Note: AUTHOR sect.: see http://docbook.sf.net/el/contrib           mtp-tools
Note: AUTHOR sect.: see http://docbook.sf.net/el/personblurb       mtp-tools
Note: Writing mtp-tools.1
dh_auto_build
make[2]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
make  all-recursive
make[3]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
Making all in src
make[4]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o libmtp_la-libmtp.lo `test -f 'libmtp.c' || echo './'`libmtp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c libmtp.c  -fPIC -DPIC -o .libs/libmtp_la-libmtp.o
libmtp.c: In function 'LIBMTP_Read_Event':
libmtp.c:2159:12: warning: variable 'param3' set but not used [-Wunused-but-set-variable]
   uint32_t param3;
            ^
libmtp.c:2158:12: warning: variable 'param2' set but not used [-Wunused-but-set-variable]
   uint32_t param2;
            ^
libmtp.c:2156:12: warning: variable 'transaction_id' set but not used [-Wunused-but-set-variable]
   uint32_t transaction_id;
            ^
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o libmtp_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c unicode.c  -fPIC -DPIC -o .libs/libmtp_la-unicode.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o libmtp_la-util.lo `test -f 'util.c' || echo './'`util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c util.c  -fPIC -DPIC -o .libs/libmtp_la-util.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o libmtp_la-playlist-spl.lo `test -f 'playlist-spl.c' || echo './'`playlist-spl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c playlist-spl.c  -fPIC -DPIC -o .libs/libmtp_la-playlist-spl.o
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o libmtp_la-ptp.lo `test -f 'ptp.c' || echo './'`ptp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c ptp.c  -fPIC -DPIC -o .libs/libmtp_la-ptp.o
ptp.c: In function 'ptp_nikon_writewifiprofile':
ptp.c:2614:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *((unsigned int*)&buffer[0x3A]) = profile->ip_address; /* Do not reverse bytes */
  ^
ptp.c:2616:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *((unsigned int*)&buffer[0x3F]) = profile->gateway_address; /* Do not reverse bytes */
  ^
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o libmtp_la-mtpz.lo `test -f 'mtpz.c' || echo './'`mtpz.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c mtpz.c  -fPIC -DPIC -o .libs/libmtp_la-mtpz.o
mtpz.c: In function 'mtpz_loaddata':
mtpz.c:146:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
  char *hexenckey = (unsigned char *)fgets_strip((char *)malloc(35), 35, fdata);
                    ^
mtpz.c:152:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  MTPZ_ENCRYPTION_KEY = hex_to_bytes(hexenckey, strlen(hexenckey));
                      ^
mtpz.c: In function 'mtpz_rsa_init':
mtpz.c:270:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  memset(rsa, 0, sizeof(rsa));
                       ^
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o libmtp_la-libusb-glue.lo `test -f 'libusb-glue.c' || echo './'`libusb-glue.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c libusb-glue.c  -fPIC -DPIC -o .libs/libmtp_la-libusb-glue.o
libusb-glue.c:1789:13: warning: 'clear_halt' defined but not used [-Wunused-function]
 static void clear_halt(PTP_USB* ptp_usb)
             ^
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -no-undefined -export-symbols ./libmtp.sym -version-info 10:0:1  -Wl,-z,relro -Wl,--as-needed -o libmtp.la -rpath /usr/lib/x86_64-kfreebsd-gnu libmtp_la-libmtp.lo libmtp_la-unicode.lo libmtp_la-util.lo libmtp_la-playlist-spl.lo libmtp_la-ptp.lo libmtp_la-mtpz.lo  libmtp_la-libusb-glue.lo    -lusb   -lgcrypt 
libtool: link: echo "{ global:" > .libs/libmtp.ver
libtool: link:  cat ./libmtp.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libmtp.ver
libtool: link:  echo "local: *; };" >> .libs/libmtp.ver
libtool: link:  gcc -shared  -fPIC -DPIC  .libs/libmtp_la-libmtp.o .libs/libmtp_la-unicode.o .libs/libmtp_la-util.o .libs/libmtp_la-playlist-spl.o .libs/libmtp_la-ptp.o .libs/libmtp_la-mtpz.o .libs/libmtp_la-libusb-glue.o   -lusb -lgcrypt  -O2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--as-needed   -Wl,-soname -Wl,libmtp.so.9 -Wl,-version-script -Wl,.libs/libmtp.ver -o .libs/libmtp.so.9.1.0
libtool: link: (cd ".libs" && rm -f "libmtp.so.9" && ln -s "libmtp.so.9.1.0" "libmtp.so.9")
libtool: link: (cd ".libs" && rm -f "libmtp.so" && ln -s "libmtp.so.9.1.0" "libmtp.so")
libtool: link: ( cd ".libs" && rm -f "libmtp.la" && ln -s "../libmtp.la" "libmtp.la" )
make[4]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164/src'
Making all in examples
make[4]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164/examples'
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o connect.o connect.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o delfile.o delfile.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o getfile.o getfile.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o newfolder.o newfolder.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o sendfile.o sendfile.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o sendtr.o sendtr.c
sendtr.c: In function 'sendtrack_command':
sendtr.c:387:9: warning: variable 'pcodec' set but not used [-Wunused-but-set-variable]
   char *pcodec = NULL;
         ^
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o pathutils.o pathutils.c
pathutils.c: In function 'progress':
pathutils.c:122:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' [-Wformat=]
   printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent);
   ^
pathutils.c:122:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' [-Wformat=]
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o util.o util.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-connect connect.o delfile.o getfile.o newfolder.o sendfile.o sendtr.o pathutils.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-connect connect.o delfile.o getfile.o newfolder.o sendfile.o sendtr.o pathutils.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o detect.o detect.c
detect.c: In function 'main':
detect.c:137:11: warning: unused variable 'devcert' [-Wunused-variable]
     char *devcert;
           ^
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-detect detect.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-detect detect.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o tracks.o tracks.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-tracks tracks.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-tracks tracks.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o files.o files.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-files files.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-files files.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o folders.o folders.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-folders folders.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-folders folders.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o trexist.o trexist.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-trexist trexist.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-trexist trexist.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o playlists.o playlists.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-playlists playlists.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-playlists playlists.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o getplaylist.o getplaylist.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-getplaylist getplaylist.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-getplaylist getplaylist.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o format.o format.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-format format.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-format format.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o albumart.o albumart.c
albumart.c: In function 'main':
albumart.c:127:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
     read(fd, imagedata, filesize);
         ^
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-albumart albumart.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-albumart albumart.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o albums.o albums.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-albums albums.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-albums albums.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o newplaylist.o newplaylist.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-newplaylist newplaylist.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-newplaylist newplaylist.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o emptyfolders.o emptyfolders.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-emptyfolders emptyfolders.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-emptyfolders emptyfolders.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o thumb.o thumb.c
thumb.c: In function 'main':
thumb.c:96:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
     read(fd, imagedata, filesize);
         ^
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-thumb thumb.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-thumb thumb.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o reset.o reset.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-reset reset.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-reset reset.o util.o  ../src/.libs/libmtp.so -lgcrypt
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -c -o filetree.o filetree.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes  -Wl,-z,relro -Wl,--as-needed -o mtp-filetree filetree.o util.o ../src/libmtp.la -lgcrypt 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/mtp-filetree filetree.o util.o  ../src/.libs/libmtp.so -lgcrypt
make[4]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164/examples'
Making all in util
make[4]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164/util'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164/util'
Making all in doc
make[4]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164/doc'
doxygen
Warning: Tag `SHOW_DIRECTORIES' at line 365 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `HTML_ALIGN_MEMBERS' at line 618 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
make[4]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164/doc'
make[4]: Entering directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
make[3]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
make[2]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
# Fix mode of udev lifting script
chmod +x libmtp.sh
# Rename udev files
for f in 20-libmtp9.fdi ; do				\
		cp libmtp.${f#*.} $f ;			\
	done
cp: cannot stat 'libmtp.fdi': No such file or directory
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/home/modax/ftbfs/libmtp-1.1.6-20-g1b9f164'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to