Strange difference openSUSE 11.3 build and buildservice build

Hello,

I am trying to build w3c-libwww in home:repabuild

This package derives from devel:libraries:c_c++, where it also does not build

I got building OK up to openSUSE 11.1 and on SLED, but it fails on openSUSE 11.2 and 11.3

on a local install of openSUSE 11.3 it successfully builds.

On the build service it fails, claiming it cannot resolve a number of symbols, among others MD5Init.

These symbols are in a shared library build within the package, linking is via a relative path: …/…/modules/md5/.libs/libmd5.so

log snippet:

libtool: link: gcc -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -Wall -D_REENTRANT -o .libs/head head.o …/src/.libs/libwwwinit.so -L/usr/lib …/src/.libs/libwwwapp.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwcache.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwdir.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwfile.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwftp.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwgopher.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwhtml.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwhttp.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwmime.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwnews.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwstream.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwtelnet.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwxml.so -lexpat /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwzip.so …/src/.libs/libwwwhtml.so …/src/.libs/libwwwtelnet.so …/src/.libs/libwwwnews.so …/src/.libs/libwwwhttp.so …/src/.libs/libwwwmime.so …/src/.libs/libwwwgopher.so …/src/.libs/libwwwftp.so …/src/.libs/libwwwdir.so …/src/.libs/libwwwcache.so …/src/.libs/libwwwstream.so …/src/.libs/libwwwfile.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwtrans.so …/src/.libs/libwwwmux.so …/src/.libs/libwwwtrans.so …/src/.libs/libwwwcore.so …/src/.libs/libwwwutils.so …/…/Library/src/SSL/.libs/libwwwssl.so -lm …/…/Library/src/.libs/libwwwzip.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwutils.so /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwcore.so …/…/modules/md5/.libs/libmd5.so -ldl -lz -lssl -lcrypto
/usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwhttp.so: undefined reference to MD5Init' /usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwhttp.so: undefined reference to MD5Update’
/usr/src/packages/BUILD/libwww/Library/src/.libs/libwwwhttp.so: undefined reference to `MD5Final’

The source file with the symbols has been compiled on the build service, and as far as I know, it is linked into the new library.

I hove no idea on how to proceed further. Is there a way to inspect the contents of the libmd5.so created on the build service, so that I can verify whether the symbols are there? Is there maybe a difference between the linking in the build service and when building locally on an openSUSE 11.3 machine?

Greetings,

René

Hi
It’s not building at all, I’m guessing that someone is working on it.
But if you are logged into the build service and go here;
https://build.opensuse.org/package/show?package=w3c-libwww&project=devel%3Alibraries%3Ac_c%2B%2B

There is a little red ladybug to the right of the main name and report
it as a bug to see what’s happening. Else IRC #opensuse-buildservice or
the buildservice mailing list to ask what’s happening :wink: (IRC will
probably be quicker… )


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 (x86_64) Kernel 2.6.34-12-default
up 5 days 23:18, 3 users, load average: 0.15, 0.08, 0.01
GPU GeForce 8600 GTS Silent - Driver Version: 256.44

Could it be a similar case with mine?
Runtime failure with “undefined symbol” only when built with OBS. rpmbuild is good.

Try:
%build
export SUSE_ASNEEDED=0