On Tue, 17 Nov 2009 11:42:11 +0100
Marcus Meissner
On Tue, Nov 17, 2009 at 11:26:20AM +0100, Detlef Steuer wrote:
Hi!
My project home:dsteuer/PSPP behaves strangely for 11.2. (other releases working fine with the same spec-file)
I can build pspp locally with rpmbuild -ba pspp.spec with exactly the same sources as in the OBS.
But if I try to use the BuildService, locally with osc build openSUSE_11.2 i586 pspp.spec
or remote (via web client) compilation fails with:
libtool: link: gcc -std=gnu99 -Wall -W -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fgnu89-inline -Wdeclaration-after-statement -o src/ui/terminal/pspp /usr/lib/libreadline.so src/ui/terminal/libui.a src/language/liblanguage.a src/output/charts/libcharts.a src/output/liboutput.a src/math/libpspp_math.a src/ui/libuicommon.a lib/linreg/liblinreg.a src/data/libdata.a src/libpspp/libpspp.a /usr/lib/libxml2.s
Since 11.2 uses default --as-needed for linking, the order of libraries is important.
-lreadline should be farther to the right side.
As temporary workaround you can add export SUSE_ASNEEDED=0
Thank you very much for that information! Is there a website, a forum, a changelog or anything, so that I could notice such changes in a timely manner? Detlef
to the begin of the %build section.
Ciao, Marcus
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org