Bug#778117: shibboleth-sp2: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:36:50 UTC 2015


Package: src:shibboleth-sp2
Version: 2.5.3+dfsg-1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

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

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/shibboleth-sp2_2.5.3+dfsg-1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
| #define HAVE_PWD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SHIBSP_HAVE_SYS_SOCKET_H 1
| #define HAVE_STRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRSTR 1
| #define HAVE_TIMEGM 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_STRTOK_R 1
| #define HAVE_STRCASECMP 1
| #define HAVE_GETPWNAM 1
| #define HAVE_GETGRNAM 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_SOCK_CLOEXEC 1
| /* end confdefs.h.  */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
|                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
|                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|   ;
|   return 0;
| }
configure:18789: result: no
configure:18697: checking whether pthreads work with -kthread
configure:18780: gcc -o conftest -Wall -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -O2 -DNDEBUG -kthread -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c   >&5
gcc: error: unrecognized command line option '-kthread'
configure:18780: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "shibboleth"
| #define PACKAGE_TARNAME "shibboleth-sp"
| #define PACKAGE_VERSION "2.5.3"
| #define PACKAGE_STRING "shibboleth 2.5.3"
| #define PACKAGE_BUGREPORT "https://issues.shibboleth.net/"
| #define PACKAGE_URL ""
| #define PACKAGE "shibboleth-sp"
| #define VERSION "2.5.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-shibboleth-devel mailing list