Bug#701380: boinc: ftbfs with eglibc-2.17

Matthias Klose doko at debian.org
Sat Feb 23 11:34:39 UTC 2013


Package: src:boinc
Version: 7.0.27+dfsg-5
Severity: important
Tags: sid jessie
User: debian-glibc at lists.debian.org
Usertags: ftbfs-glibc-2.17

The package fails to build in a test rebuild on at least amd64 with
eglibc-2.17, but succeeds to build with eglibc-2.13. The
severity of this report may be raised before the jessie release.

The test rebuild was done together with GCC-4.8, so some issues
might be caused by the updated GCC as well.

  wrapper.cpp:541:21: error: 'PRIO_PROCESS' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/boinc_7.0.27+dfsg-5_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To install eglibc from experimental,

  apt-get -t experimental install libc6-dev

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


[...]
	  done; \
	fi
make[1]: Leaving directory `/«BUILDDIR»/boinc-7.0.27+dfsg'
touch build-stamp
/usr/bin/make -C samples/sleeper
make[1]: Entering directory `/«BUILDDIR»/boinc-7.0.27+dfsg/samples/sleeper'
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wall  -g -I../.. -I../../lib -I../../api -L../../api -L../../lib -L. -D_FORTIFY_SOURCE=2  -c -o sleeper.o sleeper.cpp
ln -s `g++ -print-file-name=libstdc++.a`
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wall  -g -I../.. -I../../lib -I../../api -L../../api -L../../lib -L. -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,--no-add-needed -o sleeper sleeper.o libstdc++.a -pthread -lboinc_api -lboinc
make[1]: Leaving directory `/«BUILDDIR»/boinc-7.0.27+dfsg/samples/sleeper'
/usr/bin/make -C samples/worker
make[1]: Entering directory `/«BUILDDIR»/boinc-7.0.27+dfsg/samples/worker'
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wall  -g -D_FORTIFY_SOURCE=2  -c -o worker.o worker.cpp
worker.cpp: In function 'int main(int, char**)':
worker.cpp:63:24: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fgets(buf, 256, in);
                        ^
worker.cpp:66:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fgets(buf, 256, stdin);
                           ^
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wall  -g -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,--no-add-needed -o worker worker.o
make[1]: Leaving directory `/«BUILDDIR»/boinc-7.0.27+dfsg/samples/worker'
/usr/bin/make -C samples/example_app
make[1]: Entering directory `/«BUILDDIR»/boinc-7.0.27+dfsg/samples/example_app'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/«BUILDDIR»/boinc-7.0.27+dfsg/samples/example_app'
/usr/bin/make -C samples/wrapper
make[1]: Entering directory `/«BUILDDIR»/boinc-7.0.27+dfsg/samples/wrapper'
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wall  -g -Wall -W -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fno-common -I../.. -I../../lib -I../../api -L../../api -L../../lib -L. -D_FORTIFY_SOURCE=2  -c -o wrapper.o wrapper.cpp
wrapper.cpp: In member function 'int TASK::run(int, char**)':
wrapper.cpp:541:21: error: 'PRIO_PROCESS' was not declared in this scope
         setpriority(PRIO_PROCESS, 0, PROCESS_IDLE_PRIORITY);
                     ^
wrapper.cpp:541:59: error: 'setpriority' was not declared in this scope
         setpriority(PRIO_PROCESS, 0, PROCESS_IDLE_PRIORITY);
                                                           ^
wrapper.cpp: In member function 'bool TASK::poll(int&)':
wrapper.cpp:585:19: error: aggregate 'rusage ru' has incomplete type and cannot be defined
     struct rusage ru;
                   ^
wrapper.cpp:589:19: error: 'RUSAGE_CHILDREN' was not declared in this scope
         getrusage(RUSAGE_CHILDREN, &ru);
                   ^
wrapper.cpp:589:39: error: 'getrusage' was not declared in this scope
         getrusage(RUSAGE_CHILDREN, &ru);
                                       ^
make[1]: *** [wrapper.o] Error 1
make[1]: Leaving directory `/«BUILDDIR»/boinc-7.0.27+dfsg/samples/wrapper'
make: *** [samples/wrapper/wrapper] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2



More information about the pkg-boinc-devel mailing list