[opensuse-buildservice] undefined symbols in readline for 11.2?
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: ---- rc/ui/terminal/libui.a(src_ui_terminal_libui_a-read-line.o): In function `dont_complete': read-line.c:(.text+0x12): undefined reference to `rl_attempted_completion_over' src/ui/terminal/libui.a(src_ui_terminal_libui_a-read-line.o): In function `complete_command_name': read-line.c:(.text+0xc2): undefined reference to `rl_attempted_completion_over' src/ui/terminal/libui.a(src_ui_terminal_libui_a-read-line.o): In function `readln_uninitialize': read-line.c:(.text+0x141): undefined reference to `clear_history' read-line.c:(.text+0x161): undefined reference to `write_history' src/ui/terminal/libui.a(src_ui_terminal_libui_a-read-line.o): In function `readln_initialize': read-line.c:(.text+0x17c): undefined reference to `rl_basic_word_break_characters' read-line.c:(.text+0x185): undefined reference to `using_history' read-line.c:(.text+0x191): undefined reference to `stifle_history' read-line.c:(.text+0x1d1): undefined reference to `read_history' src/ui/terminal/libui.a(src_ui_terminal_libui_a-read-line.o): In function `readln_read': read-line.c:(.text+0x227): undefined reference to `rl_attempted_completion_function' read-line.c:(.text+0x22c): undefined reference to `readline' read-line.c:(.text+0x2d4): undefined reference to `add_history' src/ui/terminal/libui.a(src_ui_terminal_libui_a-read-line.o): In function `complete_command_name': read-line.c:(.text+0xb7): undefined reference to `rl_completion_matches' collect2: ld returned 1 exit status make[2]: *** [src/ui/terminal/pspp] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/pspp-0.6.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/pspp-0.6.2' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.kzjBpF (%build) ---- According to the log readline was installed. Any ideas? Changes in library layout? I tried to identify the difference between my local, successful build and the setup in the build service, but could not spot any. Any help appreciated Detlef -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Nov 17, 2009 at 11:26:20AM +0100, Detlef Steuer wrote:
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 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
On Tue, 17 Nov 2009 11:42:11 +0100 Marcus Meissner <meissner@suse.de> wrote:
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
2009/11/17 Detlef Steuer <detlef.steuer@hsu-hamburg.de>:
Factory mailing list: http://lists.opensuse.org/opensuse-factory/2009-06/msg00231.html -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2009-11-17 12:11:05 +0100, Detlef Steuer wrote:
Is there a website, a forum, a changelog or anything, so that I could notice such changes in a timely manner?
http://en.opensuse.org/Packaging/Fixing darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Nov 17, 2009 at 11:26:20AM +0100, Detlef Steuer wrote:
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 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
On Tue, 17 Nov 2009 11:42:11 +0100 Marcus Meissner <meissner@suse.de> wrote:
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
2009/11/17 Detlef Steuer <detlef.steuer@hsu-hamburg.de>:
Factory mailing list: http://lists.opensuse.org/opensuse-factory/2009-06/msg00231.html -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2009-11-17 12:11:05 +0100, Detlef Steuer wrote:
Is there a website, a forum, a changelog or anything, so that I could notice such changes in a timely manner?
http://en.opensuse.org/Packaging/Fixing darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Cristian Morales Vega
-
Detlef Steuer
-
Marcus Meissner
-
Marcus Rueckert