[Pkg-phototools-devel] Bug#827629: libgphoto2: FTBFS in testing (conflicting types for 'jpeg_mem_src')

Santiago Vila sanvila at debian.org
Sat Jun 18 22:06:59 UTC 2016


Package: src:libgphoto2
Version: 2.5.10-2
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
Severity: serious

Dear maintainer:

This package currently fails to build in stretch:

--------------------------------------------------------------------------------
[...]
libtool: link:  echo "local: *; };" >> .libs/aox.ver
libtool: link:  gcc -shared  -fPIC -DPIC  aox/.libs/library.o aox/.libs/aox.o   -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/libgphoto2/.libs -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/libgphoto2_port/libgphoto2_port/.libs ../libgphoto2/.libs/libgphoto2.so ../libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,aox.so -Wl,-version-script -Wl,.libs/aox.ver -o .libs/aox.so
libtool: link: ar cru .libs/aox.a  aox/library.o aox/aox.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/aox.a
libtool: link: ( cd ".libs" && rm -f "aox.la" && ln -s "../aox.la" "aox.la" )
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -D_GPHOTO2_INTERNAL_CODE -DLOCALEDIR=\"/usr/share/locale\" -DCAMLIBS=\"/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.10\" -I.. -I.. -I../libgphoto2_port -I../libgphoto2 -I../libgphoto2 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wmissing-declarations -Wmissing-prototypes -c -o ax203/ax203_la-library.lo `test -f 'ax203/library.c' || echo './'`ax203/library.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GPHOTO2_INTERNAL_CODE -DLOCALEDIR=\"/usr/share/locale\" -DCAMLIBS=\"/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.10\" -I.. -I.. -I../libgphoto2_port -I../libgphoto2 -I../libgphoto2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wmissing-declarations -Wmissing-prototypes -c ax203/library.c  -fPIC -DPIC -o ax203/.libs/ax203_la-library.o
In file included from /usr/include/string.h:25:0,
                 from ax203/library.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GPHOTO2_INTERNAL_CODE -DLOCALEDIR=\"/usr/share/locale\" -DCAMLIBS=\"/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.10\" -I.. -I.. -I../libgphoto2_port -I../libgphoto2 -I../libgphoto2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wmissing-declarations -Wmissing-prototypes -c ax203/library.c -fPIE -o ax203/ax203_la-library.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -D_GPHOTO2_INTERNAL_CODE -DLOCALEDIR=\"/usr/share/locale\" -DCAMLIBS=\"/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.10\" -I.. -I.. -I../libgphoto2_port -I../libgphoto2 -I../libgphoto2 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wmissing-declarations -Wmissing-prototypes -c -o ax203/ax203_la-ax203.lo `test -f 'ax203/ax203.c' || echo './'`ax203/ax203.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GPHOTO2_INTERNAL_CODE -DLOCALEDIR=\"/usr/share/locale\" -DCAMLIBS=\"/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.10\" -I.. -I.. -I../libgphoto2_port -I../libgphoto2 -I../libgphoto2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wmissing-declarations -Wmissing-prototypes -c ax203/ax203.c  -fPIC -DPIC -o ax203/.libs/ax203_la-ax203.o
In file included from ax203/ax203.c:38:0:
ax203/jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src'
 jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
 ^
In file included from ax203/jpeg_memsrcdest.h:1:0,
                 from ax203/ax203.c:38:
/usr/include/jpeglib.h:923:14: note: previous declaration of 'jpeg_mem_src' was here
 EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo,
              ^
Makefile:2890: recipe for target 'ax203/ax203_la-ax203.lo' failed
make[4]: *** [ax203/ax203_la-ax203.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/camlibs'
Makefile:3286: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/camlibs'
Makefile:690: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:513: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
--------------------------------------------------------------------------------

Because packages in stretch must be buildable in stretch, this is RC for stretch.

You can find a full build log here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libgphoto2.html

Thanks.



More information about the Pkg-phototools-devel mailing list