Problem to build rpm shibboleht

Studer Olivier Olivier.Studer at hefr.ch
Mon Dec 2 11:07:24 EST 2013


Hi,

I would like build a rpm package of Shibboleth with OAS (Oracle Apache Server) on SLES 11 SP3 i586 server. In the past, I have able to build it with OAS on SLES 10 SP3.

I have installed the package from the web page : http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/>



Download and install :
wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/liblog4shib1-1.0.8-1.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/liblog4shib1-1.0.8-1.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/liblog4shib-devel-1.0.8-1.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/liblog4shib-devel-1.0.8-1.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/libxmltooling6-1.5.3-1.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/libxmltooling6-1.5.3-1.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/libxmltooling-devel-1.5.3-1.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/libxmltooling-devel-1.5.3-1.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/xmltooling-schemas-1.5.3-1.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/xmltooling-schemas-1.5.3-1.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/libxml-security-c17-1.7.2-2.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/libxml-security-c17-1.7.2-2.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/libsaml8-2.5.3-1.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/libsaml8-2.5.3-1.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/libsaml-devel-2.5.3-1.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/libsaml-devel-2.5.3-1.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/opensaml-schemas-2.5.3-1.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/opensaml-schemas-2.5.3-1.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/i586/libxml-security-c-devel-1.7.2-2.1.i586.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/i586/libxml-security-c-devel-1.7.2-2.1.i586.rpm>

wget http://download.opensuse.org/repositories/security://shibboleth/SLE_11_SP3/src/shibboleth-2.5.2-1.1.src.rpm<http://download.opensuse.org/repositories/security:/shibboleth/SLE_11_SP3/src/shibboleth-2.5.2-1.1.src.rpm>

The command used to build is :


rpmbuild --rebuild shibboleth-2.4.3-2.1.src.rpm -without builtinapache -D 'shib_options --enable-apache-13 --with-apxs=/u01/apps/10gR3/Apache/Apache/bin/apxs CPPFLAGS=''-I/u01/apps/10gR3/Apache/Apache/include'''


And the error message at the end is :

adfs.cpp:751: warning: comparison between signed and unsigned integer expressions
mv -f .deps/adfs.Tpo .deps/adfs.Plo
/bin/sh ../libtool --silent --tag=CXX   --mode=link g++  -pthread -Wall -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -O2 -DNDEBUG -module -avoid-version -L/usr/lib -o adfs.la -rpath /usr/lib/shibboleth adfs.lo -lsaml -lxmltooling -lxml-security-c  ../shibsp/libshibsp.la -lxerces-c -L/usr/lib -llog4shib -lnsl   -lgssapi_krb5
/bin/sh ../libtool --silent  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../shibsp  -DSHIBSP_LITE -pthread -Wall -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -O2 -DNDEBUG    -I/u01/apps/10gR3/Apache/Apache/include -I/usr/include  -pthread -Wall -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -O2 -DNDEBUG -MT adfs_lite_la-adfs.lo -MD -MP -MF .deps/adfs_lite_la-adfs.Tpo -c -o adfs_lite_la-adfs.lo `test -f 'adfs.cpp' || echo './'`adfs.cpp
mv -f .deps/adfs_lite_la-adfs.Tpo .deps/adfs_lite_la-adfs.Plo
/bin/sh ../libtool --silent --tag=CXX   --mode=link g++  -pthread -Wall -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -O2 -DNDEBUG -module -avoid-version -L/usr/lib -o adfs-lite.la -rpath /usr/lib/shibboleth adfs_lite_la-adfs.lo -lxmltooling-lite ../shibsp/libshibsp-lite.la -lxerces-c -L/usr/lib -llog4shib -lnsl   -lgssapi_krb5
make[2]: Leaving directory `/usr/src/packages/BUILD/shibboleth-sp-2.5.2/adfs'
Making all in apache
make[2]: Entering directory `/usr/src/packages/BUILD/shibboleth-sp-2.5.2/apache'
/bin/sh ../libtool --silent  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../shibsp   -pthread -Wall -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -O2 -DNDEBUG    -I/u01/apps/10gR3/Apache/Apache/include -I/usr/include  -I -pthread -Wall -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -O2 -DNDEBUG -MT mod_shib_13_la-mod_shib_13.lo -MD -MP -MF .deps/mod_shib_13_la-mod_shib_13.Tpo -c -o mod_shib_13_la-mod_shib_13.lo `test -f 'mod_shib_13.cpp' || echo './'`mod_shib_13.cpp
In file included from /u01/apps/10gR3/Apache/Apache/include/httpd.h:29,
                 from mod_shib.cpp:71,
                 from mod_shib_13.cpp:44:
/u01/apps/10gR3/Apache/Apache/include/ap_config.h:440:11: error: operator '>' has no left operand
In file included from /u01/apps/10gR3/Apache/Apache/include/httpd.h:438,
                 from mod_shib.cpp:71,
                 from mod_shib_13.cpp:44:
/u01/apps/10gR3/Apache/Apache/include/ap_oracle_version.h:17:8: warning: extra tokens at end of #endif directive
In file included from /u01/apps/10gR3/Apache/Apache/include/httpd.h:438,
                 from mod_shib.cpp:71,
                 from mod_shib_13.cpp:44:
/u01/apps/10gR3/Apache/Apache/include/ap_oracle_version.h:14: warning: deprecated conversion from string constant to 'char*'
In file included from mod_shib_13.cpp:44:
mod_shib.cpp: In member function 'virtual const char* ShibTargetApache::getScheme() const':
mod_shib.cpp:395: warning: deprecated conversion from string constant to 'char*'
mod_shib.cpp:395: warning: deprecated conversion from string constant to 'char*'
mod_shib.cpp: In member function 'virtual const char* ShibTargetApache::getRequestBody() const':
mod_shib.cpp:464: warning: deprecated conversion from string constant to 'char*'
mod_shib.cpp: In function 'int shib_post_read(request_rec*)':
mod_shib.cpp:693: warning: unused variable 'rc'
/u01/apps/10gR3/Apache/Apache/include/ap_oracle_version.h: At global scope:
/u01/apps/10gR3/Apache/Apache/include/ap_oracle_version.h:14: warning: 'oracle_version_string' defined but not used
mod_shib.cpp:120: warning: '<unnamed>::g_UserDataKey' defined but not used
make[2]: *** [mod_shib_13_la-mod_shib_13.lo] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/shibboleth-sp-2.5.2/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/shibboleth-sp-2.5.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.7752 (%build)


RPM build errors:
    InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 7d0a1b3d
    Bad exit status from /var/tmp/rpm-tmp.7752 (%build)
sles11:/soft/shibboleth_2.5.2 #


Some body can help me ?

Regards
/Olivier


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20131202/4b935c83/attachment-0001.html 


More information about the users mailing list