[Pkg-kde-extras] Bug#701295: icecc: ftbfs with GCC-4.8

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


Package: src:icecc
Version: 0.9.7-5
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.

  workit.cpp:475:31: error: aggregate 'rusage ru' has incomplete type and cannot be defined

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/icecc_0.9.7-5_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.

[...]
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I./../minilzo   -fPIC -DPIC -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c -o libicecc_la-platform.lo `test -f 'platform.cpp' || echo './'`platform.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I./../minilzo    -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c -o scheduler.o scheduler.cpp
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./../minilzo -fPIC -DPIC -g -W -Wall -Wimplicit -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -g -O2 -c tempfile.c -o libicecc_la-tempfile.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./../minilzo -fPIC -DPIC -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c job.cpp -o libicecc_la-job.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./../minilzo -fPIC -DPIC -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c comm.cpp -o libicecc_la-comm.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./../minilzo -fPIC -DPIC -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c logging.cpp -o libicecc_la-logging.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./../minilzo -fPIC -DPIC -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c getifaddrs.cpp -o libicecc_la-getifaddrs.o
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./../minilzo -fPIC -DPIC -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c platform.cpp -o libicecc_la-platform.o
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
/bin/bash ../libtool --tag=CXX   --mode=link g++ -fPIC -DPIC -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2   -o libicecc.la -rpath /usr/lib libicecc_la-job.lo libicecc_la-comm.lo libicecc_la-getifaddrs.lo libicecc_la-logging.lo libicecc_la-tempfile.lo libicecc_la-platform.lo ../minilzo/libminilzo.la -ldl 
libtool: link: (cd .libs/libicecc.lax/libminilzo.a && ar x "/«PKGBUILDDIR»/services/../minilzo/.libs/libminilzo.a")
libtool: link: ar cru .libs/libicecc.a  libicecc_la-job.o libicecc_la-comm.o libicecc_la-getifaddrs.o libicecc_la-logging.o libicecc_la-tempfile.o libicecc_la-platform.o  .libs/libicecc.lax/libminilzo.a/libminilzo_la-minilzo.o 
libtool: link: ranlib .libs/libicecc.a
libtool: link: rm -fr .libs/libicecc.lax
libtool: link: ( cd ".libs" && rm -f "libicecc.la" && ln -s "../libicecc.la" "libicecc.la" )
/bin/bash ../libtool --tag=CXX   --mode=link g++  -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2   -o icecc-scheduler scheduler.o libicecc.la 
libtool: link: g++ -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -o icecc-scheduler scheduler.o  ./.libs/libicecc.a -ldl
make[3]: Leaving directory `/«PKGBUILDDIR»/services'
Making all in daemon
make[3]: Entering directory `/«PKGBUILDDIR»/daemon'
gcc -DHAVE_CONFIG_H -I. -I.. -I./../services    -g -W -Wall -Wimplicit -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -g -O2 -c ncpus.c
g++ -DHAVE_CONFIG_H -I. -I.. -I./../services    -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c -o main.o main.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I./../services    -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c -o serve.o serve.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I./../services    -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c -o workit.o workit.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I./../services    -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c -o environment.o environment.cpp
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
g++ -DHAVE_CONFIG_H -I. -I.. -I./../services    -g -W -Wall -Wimplicit -Wpointer-arith -Wcast-align -Wwrite-strings -g -O2 -c -o load.o load.cpp
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
workit.cpp: In function 'int work_it(CompileJob&, unsigned int*, MsgChannel*, CompileResultMsg&, const string&, long unsigned int, int, int)':
workit.cpp:475:31: error: aggregate 'rusage ru' has incomplete type and cannot be defined
                 struct rusage ru;
                               ^
make[3]: *** [workit.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/«PKGBUILDDIR»/daemon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
dh_auto_build: make -j10 returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-kde-extras mailing list