Bug#624877: shibboleth-sp2: FTBFS: mod_apache.cpp:1622:5: error: expected primary-expression before ', ' token

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:38:14 UTC 2011


Source: shibboleth-sp2
Version: 2.4.2+dfsg-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /bin/bash ../libtool --silent  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -pthread -g -Wall -O2 -O2 -DNDEBUG    -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apache2 -I. -I/usr/include/apr-1.0  -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread    -pthread  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0  -I/usr/include/apache2 -pthread -Wall -g -O2 -O2 -DNDEBUG -c -o mod_shib_22_la-mod_shib_22.lo `test -f 'mod_shib_22.cpp' || echo './'`mod_shib_22.cpp
> In file included from mod_shib_22.cpp:66:0:
> mod_apache.cpp:102:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> In file included from mod_shib_22.cpp:66:0:
> mod_apache.cpp: In member function 'virtual void ApacheRequestMapper::getAll(std::map<std::basic_string<char>, const char*>&) const':
> mod_apache.cpp:922:87: warning: missing sentinel in function call [-Wformat]
> mod_apache.cpp: In function 'apr_status_t do_output_filter(ap_filter_t*, apr_bucket_brigade*)':
> mod_apache.cpp:1459:68: warning: missing sentinel in function call [-Wformat]
> mod_apache.cpp: In function 'apr_status_t do_error_filter(ap_filter_t*, apr_bucket_brigade*)':
> mod_apache.cpp:1478:72: warning: missing sentinel in function call [-Wformat]
> mod_apache.cpp: At global scope:
> mod_apache.cpp:1622:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1622:5: error: 'szScheme' was not declared in this scope
> mod_apache.cpp:1622:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1629:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1629:5: error: 'szAccessControl' was not declared in this scope
> mod_apache.cpp:1629:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1633:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1633:5: error: 'bOff' was not declared in this scope
> mod_apache.cpp:1633:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1636:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1636:5: error: 'szApplicationId' was not declared in this scope
> mod_apache.cpp:1636:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1639:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1639:5: error: 'bBasicHijack' was not declared in this scope
> mod_apache.cpp:1639:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1642:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1642:5: error: 'bRequireSession' was not declared in this scope
> mod_apache.cpp:1642:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1645:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1645:5: error: 'szRequireWith' was not declared in this scope
> mod_apache.cpp:1645:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1648:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1648:5: error: 'bExportAssertion' was not declared in this scope
> mod_apache.cpp:1648:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1651:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1651:5: error: 'szRedirectToSSL' was not declared in this scope
> mod_apache.cpp:1651:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1654:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1654:5: error: 'szAuthGrpFile' was not declared in this scope
> mod_apache.cpp:1654:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1657:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1657:5: error: 'bRequireAll' was not declared in this scope
> mod_apache.cpp:1657:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1660:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1660:5: error: 'bAuthoritative' was not declared in this scope
> mod_apache.cpp:1660:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1663:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1663:5: error: 'bUseEnvVars' was not declared in this scope
> mod_apache.cpp:1663:5: error: 'offsetof' was not declared in this scope
> mod_apache.cpp:1666:5: error: expected primary-expression before ',' token
> mod_apache.cpp:1666:5: error: 'bUseHeaders' was not declared in this scope
> mod_apache.cpp:1666:5: error: 'offsetof' was not declared in this scope
> make[3]: *** [mod_shib_22_la-mod_shib_22.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/shibboleth-sp2_2.4.2+dfsg-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-shibboleth-devel mailing list