Source: librdkafka
Version: 0.8.6-1
Severity: serious
Justification: fails to build from source
User: [email protected]
Usertags: ftbfs
X-Debbugs-Cc: [email protected]
Dear Maintainer,
librdkafka fails to build from source in unstable/amd64:
[..]
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal
-Wpointer-arith -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall
-Werror -Wfloat-equal -Wpointer-arith -g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -c rdlog.c -o rdlog.o
rdlog.c: In function 'rd_hexdump':
rdlog.c:39:6: error: assuming signed overflow does not occur when
assuming that (X + c) >= X is always true [-Werror=strict-overflow]
void rd_hexdump (FILE *fp, const char *name, const void *ptr, size_t
len) {
^
cc1: all warnings being treated as errors
../mklove/Makefile.base:70: recipe for target 'rdlog.o' failed
make[2]: *** [rdlog.o] Error 1
make[2]: Leaving directory '/tmp/buildd/librdkafka-0.8.6/src'
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/librdkafka_0.8.6-1.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Tue Sep 22 03:05:56 GMT+12 2015
I: pbuilder-time-stamp: 1442934356
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <[email protected]>
Description: Dummy package to satisfy dependencies with aptitude - created by
pbuilder
This package was created automatically by pbuilder to satisfy the
build-dependencies of the package being currently built.
Depends: debhelper (>= 9), zlib1g-dev, perl
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20256 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring
anyway as you requested:
pbuilder-satisfydepends-dummy depends on zlib1g-dev; however:
Package zlib1g-dev is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version
(0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version
(0.invalid.0)
The following NEW packages will be installed:
zlib1g-dev{a}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 206 kB of archives. After unpacking 462 kB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main zlib1g-dev amd64
1:1.2.8.dfsg-2+b1 [206 kB]
Fetched 206 kB in 0s (12.9 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package zlib1g-dev:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20256 files and directories currently installed.)
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
-> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [librdkafka_0.8.6-1.dsc]
I: copying [./librdkafka_0.8.6.orig.tar.gz]
I: copying [./librdkafka_0.8.6-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sat Jul 18 10:47:09 2015 GMT+12 using RSA key ID 1EEC8F0E
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./librdkafka_0.8.6-1.dsc
dpkg-source: info: extracting librdkafka in librdkafka-0.8.6
dpkg-source: info: unpacking librdkafka_0.8.6.orig.tar.gz
dpkg-source: info: unpacking librdkafka_0.8.6-1.debian.tar.xz
dpkg-source: info: applying 0001-mklove-update-add-disable-silent-rules.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc -b
-rfakeroot
dpkg-buildpackage: source package librdkafka
dpkg-buildpackage: source version 0.8.6-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Faidon Liambotis <[email protected]>
dpkg-source --before-build librdkafka-0.8.6
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make -j1 clean
make[1]: Entering directory '/tmp/buildd/librdkafka-0.8.6'
make[2]: Entering directory '/tmp/buildd/librdkafka-0.8.6/tests'
rm -f *.test test.o
make[2]: Leaving directory '/tmp/buildd/librdkafka-0.8.6/tests'
make[2]: Entering directory '/tmp/buildd/librdkafka-0.8.6/examples'
rm -f rdkafka_example rdkafka_performance rdkafka_example_cpp
make[2]: Leaving directory '/tmp/buildd/librdkafka-0.8.6/examples'
make[2]: Entering directory '/tmp/buildd/librdkafka-0.8.6/src'
rm -f rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o
rdkafka_defaultconf.o rdkafka_timer.o rdkafka_offset.o rdcrc32.o rdgz.o
rdaddr.o rdrand.o rdthread.o rdqueue.o rdlog.o snappy.o rdkafka.d
rdkafka_broker.d rdkafka_msg.d rdkafka_topic.d rdkafka_defaultconf.d
rdkafka_timer.d rdkafka_offset.d rdcrc32.d rdgz.d rdaddr.d rdrand.d rdthread.d
rdqueue.d rdlog.d snappy.d
rm -f librdkafka*.a librdkafka.so.1 librdkafka.so \
librdkafka.lds
make[2]: Leaving directory '/tmp/buildd/librdkafka-0.8.6/src'
make[2]: Entering directory '/tmp/buildd/librdkafka-0.8.6/src-cpp'
rm -f RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o
TopicImpl.o MessageImpl.o RdKafka.d ConfImpl.d HandleImpl.d ConsumerImpl.d
ProducerImpl.d TopicImpl.d MessageImpl.d
rm -f librdkafka++*.a librdkafka++.so.1 librdkafka++.so \
librdkafka++.lds
make[2]: Leaving directory '/tmp/buildd/librdkafka-0.8.6/src-cpp'
make[1]: Leaving directory '/tmp/buildd/librdkafka-0.8.6'
dh_clean
debian/rules build
dh build
dh_testdir
dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode
--disable-dependency-tracking
checking for OS or distribution... ok (Linux)
checking for C compiler from CC env... failed
checking for gcc (by command)... ok
checking for C++ compiler from CXX env... failed
checking for C++ compiler (g++)... ok
checking executable ld... ok
checking executable nm... ok
checking executable objdump... ok
checking executable strip... ok
checking for pkgconfig (by command)... failed
checking for install (by command)... ok
checking for PIC (by compile)... ok
checking for GNU-compatible linker options... ok
checking for GNU linker-script ld flag... ok
checking for __atomic_32 (by compile)... ok
checking for __atomic_64 (by compile)... ok
checking for socket (by compile)... ok
parsing version '0x00080600'... ok (0.8.6)
checking for libpthread (by compile)... ok
checking for zlib (by compile)... ok
checking for librt (by compile)... ok
checking for nm (by env NM)... ok (cached)
checking for perl (by command)... ok
Generated rdkafka.pc
Generated Makefile.config
Generated config.h
Configuration summary:
prefix /usr
ARCH x86_64
CPU generic
BUILD x86_64-linux-gnu
includedir /usr/include
mandir /usr/share/man
infodir /usr/share/info
sysconfdir /etc
localstatedir /var
DISABL_SILENT_RULES y
libdir /usr/lib/x86_64-linux-gnu
libexecdir /usr/lib/x86_64-linux-gnu
MKL_MAINT_MODE n
DISABL_DEP_TRACK y
MKL_DISTRO Linux
CC gcc
CXX g++
LD ld
NM nm
OBJDUMP objdump
STRIP strip
CFLAGS -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security
CPPFLAGS -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall
-Werror -Wfloat-equal -Wpointer-arith
CXXFLAGS -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wno-non-virtual-dtor
LDFLAGS -Wl,-z,relro
PKG_CONFIG pkg-config
INSTALL install
LIB_LDFLAGS -shared -Wl,-soname,$(LIBFILENAME)
LDFLAG_LINKERSCRIPT -Wl,--version-script=
RDKAFKA_VERSION_STR 0.8.6
LIBS -lpthread -lz -lrt
SYMDUMPER $(NM) -D
exec_prefix /usr
bindir /usr/bin
sbindir /usr/sbin
datadir /usr/share
sharedstatedir /usr/com
Generated config.cache
Now type 'make' to build
dh_auto_build
make -j1
make[1]: Entering directory '/tmp/buildd/librdkafka-0.8.6'
make[2]: Entering directory '/tmp/buildd/librdkafka-0.8.6/src'
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdkafka.c -o
rdkafka.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdkafka_broker.c
-o rdkafka_broker.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdkafka_msg.c -o
rdkafka_msg.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdkafka_topic.c -o
rdkafka_topic.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c
rdkafka_defaultconf.c -o rdkafka_defaultconf.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdkafka_timer.c -o
rdkafka_timer.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdkafka_offset.c
-o rdkafka_offset.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdcrc32.c -o
rdcrc32.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdgz.c -o rdgz.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdaddr.c -o
rdaddr.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdrand.c -o
rdrand.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdthread.c -o
rdthread.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdqueue.c -o
rdqueue.o
gcc -MD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fPIC -Wall -Werror -Wfloat-equal -Wpointer-arith -g
-O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -c rdlog.c -o rdlog.o
rdlog.c: In function 'rd_hexdump':
rdlog.c:39:6: error: assuming signed overflow does not occur when assuming that
(X + c) >= X is always true [-Werror=strict-overflow]
void rd_hexdump (FILE *fp, const char *name, const void *ptr, size_t len) {
^
cc1: all warnings being treated as errors
../mklove/Makefile.base:70: recipe for target 'rdlog.o' failed
make[2]: *** [rdlog.o] Error 1
make[2]: Leaving directory '/tmp/buildd/librdkafka-0.8.6/src'
Makefile:14: recipe for target 'libs' failed
make[1]: *** [libs] Error 2
make[1]: Leaving directory '/tmp/buildd/librdkafka-0.8.6'
dh_auto_build: make -j1 returned exit code 2
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//43852 and its subdirectories