[Pkg-xen-devel] Bug#701248: blktap: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:20:07 UTC 2013


Package: src:blktap
Version: 2.0.90-1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.

  tapdisk-logfile.c:166:23: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/blktap_2.0.90-1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
cc1: all warnings being treated as errors
make[4]: *** [tapdisk-logfile.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-disktype.lo -MD -MP -MF .deps/tapdisk-disktype.Tpo -c tapdisk-disktype.c  -fPIC -DPIC -o tapdisk-disktype.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-loglimit.lo -MD -MP -MF .deps/tapdisk-loglimit.Tpo -c tapdisk-loglimit.c  -fPIC -DPIC -o tapdisk-loglimit.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-storage.lo -MD -MP -MF .deps/tapdisk-storage.Tpo -c tapdisk-storage.c  -fPIC -DPIC -o tapdisk-storage.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-driver.lo -MD -MP -MF .deps/tapdisk-driver.Tpo -c tapdisk-driver.c  -fPIC -DPIC -o tapdisk-driver.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-stats.lo -MD -MP -MF .deps/tapdisk-stats.Tpo -c tapdisk-stats.c  -fPIC -DPIC -o tapdisk-stats.o >/dev/null 2>&1
mv -f .deps/tapdisk-disktype.Tpo .deps/tapdisk-disktype.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-log.lo -MD -MP -MF .deps/tapdisk-log.Tpo -c tapdisk-log.c  -fPIC -DPIC -o tapdisk-log.o >/dev/null 2>&1
mv -f .deps/tapdisk-loglimit.Tpo .deps/tapdisk-loglimit.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-interface.lo -MD -MP -MF .deps/tapdisk-interface.Tpo -c tapdisk-interface.c  -fPIC -DPIC -o tapdisk-interface.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-utils.lo -MD -MP -MF .deps/tapdisk-utils.Tpo -c tapdisk-utils.c  -fPIC -DPIC -o tapdisk-utils.o >/dev/null 2>&1
mv -f .deps/tapdisk-storage.Tpo .deps/tapdisk-storage.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT scheduler.lo -MD -MP -MF .deps/scheduler.Tpo -c scheduler.c  -fPIC -DPIC -o scheduler.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-filter.lo -MD -MP -MF .deps/tapdisk-filter.Tpo -c tapdisk-filter.c  -fPIC -DPIC -o tapdisk-filter.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT io-optimize.lo -MD -MP -MF .deps/io-optimize.Tpo -c io-optimize.c  -fPIC -DPIC -o io-optimize.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-syslog.lo -MD -MP -MF .deps/tapdisk-syslog.Tpo -c tapdisk-syslog.c  -fPIC -DPIC -o tapdisk-syslog.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-server.lo -MD -MP -MF .deps/tapdisk-server.Tpo -c tapdisk-server.c  -fPIC -DPIC -o tapdisk-server.o >/dev/null 2>&1
mv -f .deps/tapdisk-driver.Tpo .deps/tapdisk-driver.Plo
mv -f .deps/tapdisk-stats.Tpo .deps/tapdisk-stats.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-image.lo -MD -MP -MF .deps/tapdisk-image.Tpo -c tapdisk-image.c  -fPIC -DPIC -o tapdisk-image.o >/dev/null 2>&1
mv -f .deps/tapdisk-log.Tpo .deps/tapdisk-log.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-queue.lo -MD -MP -MF .deps/tapdisk-queue.Tpo -c tapdisk-queue.c  -fPIC -DPIC -o tapdisk-queue.o >/dev/null 2>&1
mv -f .deps/tapdisk-interface.Tpo .deps/tapdisk-interface.Plo
mv -f .deps/tapdisk-utils.Tpo .deps/tapdisk-utils.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT lock.lo -MD -MP -MF .deps/lock.Tpo -c lock.c  -fPIC -DPIC -o lock.o >/dev/null 2>&1
mv -f .deps/tapdisk-filter.Tpo .deps/tapdisk-filter.Plo
mv -f .deps/scheduler.Tpo .deps/scheduler.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-control.lo -MD -MP -MF .deps/tapdisk-control.Tpo -c tapdisk-control.c  -fPIC -DPIC -o tapdisk-control.o >/dev/null 2>&1
mv -f .deps/io-optimize.Tpo .deps/io-optimize.Plo
mv -f .deps/tapdisk-syslog.Tpo .deps/tapdisk-syslog.Plo
mv -f .deps/tapdisk-server.Tpo .deps/tapdisk-server.Plo
mv -f .deps/tapdisk-image.Tpo .deps/tapdisk-image.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-vbd.lo -MD -MP -MF .deps/tapdisk-vbd.Tpo -c tapdisk-vbd.c  -fPIC -DPIC -o tapdisk-vbd.o >/dev/null 2>&1
mv -f .deps/tapdisk-queue.Tpo .deps/tapdisk-queue.Plo
mv -f .deps/lock.Tpo .deps/lock.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I../include -Wall -Werror -g -O2 -MT tapdisk-blktap.lo -MD -MP -MF .deps/tapdisk-blktap.Tpo -c tapdisk-blktap.c  -fPIC -DPIC -o tapdisk-blktap.o >/dev/null 2>&1
mv -f .deps/tapdisk-control.Tpo .deps/tapdisk-control.Plo
mv -f .deps/tapdisk-vbd.Tpo .deps/tapdisk-vbd.Plo
mv -f .deps/tapdisk-blktap.Tpo .deps/tapdisk-blktap.Plo
make[4]: Leaving directory `/«PKGBUILDDIR»/drivers'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [override_dh_auto_build] Error 2
make: *** [build-arch] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-xen-devel mailing list