[Debian-ha-maintainers] Bug#701442: pacemaker: ftbfs with eglibc-2.17

Matthias Klose doko at debian.org
Sat Feb 23 11:35:43 UTC 2013


Package: src:pacemaker
Version: 1.1.7-1
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.

  pacemaker.c:258:19: error: storage size of 'oflimits' isn't known

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


[...]
  CC     plugin.lo
  CCLD   service_crm.la
make[3]: Leaving directory `/«PKGBUILDDIR»/lib/ais'
make[3]: Entering directory `/«PKGBUILDDIR»/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/«PKGBUILDDIR»/lib'
make[2]: Leaving directory `/«PKGBUILDDIR»/lib'
Making all in mcp
make[2]: Entering directory `/«PKGBUILDDIR»/mcp'
  CC     pacemaker.o
  CC     corosync.o
pacemaker.c: In function 'start_child':
pacemaker.c:258:19: error: storage size of 'oflimits' isn't known
     struct rlimit oflimits;
                   ^
pacemaker.c:340:9: warning: implicit declaration of function 'getrlimit' [-Wimplicit-function-declaration]
         getrlimit(RLIMIT_NOFILE, &oflimits);
         ^
pacemaker.c:340:9: warning: nested extern declaration of 'getrlimit' [-Wnested-externs]
pacemaker.c:340:19: error: 'RLIMIT_NOFILE' undeclared (first use in this function)
         getrlimit(RLIMIT_NOFILE, &oflimits);
                   ^
pacemaker.c:340:19: note: each undeclared identifier is reported only once for each function it appears in
pacemaker.c:258:19: warning: unused variable 'oflimits' [-Wunused-variable]
     struct rlimit oflimits;
                   ^
pacemaker.c: In function 'main':
pacemaker.c:672:19: error: storage size of 'cores' isn't known
     struct rlimit cores;
                   ^
pacemaker.c:776:20: error: 'RLIMIT_CORE' undeclared (first use in this function)
     rc = getrlimit(RLIMIT_CORE, &cores);
                    ^
pacemaker.c:781:30: error: 'RLIM_INFINITY' undeclared (first use in this function)
             cores.rlim_max = RLIM_INFINITY;
                              ^
pacemaker.c:787:9: warning: implicit declaration of function 'setrlimit' [-Wimplicit-function-declaration]
         rc = setrlimit(RLIMIT_CORE, &cores);
         ^
pacemaker.c:787:9: warning: nested extern declaration of 'setrlimit' [-Wnested-externs]
pacemaker.c:672:19: warning: unused variable 'cores' [-Wunused-variable]
     struct rlimit cores;
                   ^
make[2]: *** [pacemaker.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/«PKGBUILDDIR»/mcp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Debian-ha-maintainers mailing list