Bug#648782: FTBFS due to undefined symbols

Dan S danstowell+debmm at gmail.com
Tue Nov 15 10:07:29 UTC 2011


2011/11/15 Mathieu Trudel-Lapierre <mathieu.tl at gmail.com>:
> Package: supercollider
> Version: 1:3.4.4-2
>
> A recent rebuild test in Ubuntu for supercollider 1:3.4.4-2 shows that
> it fails to build [1], due to restrictions imposed at linking time:
>
> g++ -o build/sclang -Wl,-rpath-link,build -Wl,-rpath-link,/usr/lib
> -lreadline Source/lang/LangSource/cmdLineFuncs.o -Lbuild -lsclang
> build/libsclang.so: undefined reference to `cwiid_set_rumble'
> build/libsclang.so: undefined reference to `uregex_groupCount_44'
> build/libsclang.so: undefined reference to `rl_reset_line_state'
> build/libsclang.so: undefined reference to `rl_bind_key'
> build/libsclang.so: undefined reference to `cwiid_set_mesg_callback'
> build/libsclang.so: undefined reference to `rl_event_hook'
> build/libsclang.so: undefined reference to `rl_replace_line'
> build/libsclang.so: undefined reference to `u_charsToUChars_44'
> build/libsclang.so: undefined reference to `rl_set_keyboard_input_timeout'
> build/libsclang.so: undefined reference to `rl_redisplay'
> build/libsclang.so: undefined reference to `rl_crlf'
> build/libsclang.so: undefined reference to `cwiid_set_err'
> build/libsclang.so: undefined reference to `cwiid_set_led'
> build/libsclang.so: undefined reference to `cwiid_set_rpt_mode'
> build/libsclang.so: undefined reference to `rl_basic_word_break_characters'
> build/libsclang.so: undefined reference to `rl_readline_name'
> build/libsclang.so: undefined reference to `cwiid_close'
> build/libsclang.so: undefined reference to `readline'
> build/libsclang.so: undefined reference to `cwiid_enable'
> build/libsclang.so: undefined reference to `uregex_findNext_44'
> build/libsclang.so: undefined reference to `cwiid_open'
> build/libsclang.so: undefined reference to `uregex_start_44'
> build/libsclang.so: undefined reference to `add_history'
> build/libsclang.so: undefined reference to `uregex_open_44'
> build/libsclang.so: undefined reference to `uregex_end_44'
> build/libsclang.so: undefined reference to `cwiid_disable'
> build/libsclang.so: undefined reference to `uregex_setText_44'
> build/libsclang.so: undefined reference to `cwiid_get_id'
> collect2: ld returned 1 exit status
>
> Readline, libicu and cwiid do not appear to be linked against in the
> right order in the build process, which yields the undefined
> references above. The same error happens on all architectures we test
> [2] (amd64, i386, armel, powerpc), but I suspect it also comes up on
> the other architectures in Debian as well.
>
> Attached is a patch that resolves the issue, it would be helpful if
> you could include it in your package or review it.
>
> [1] https://launchpadlibrarian.net/84969289/buildlog_ubuntu-precise-amd64.supercollider_1%3A3.4.4-2_FAILEDTOBUILD.txt.gz
> [2] https://launchpad.net/ubuntu/+source/supercollider/1:3.4.4-2

Hi -

Thanks for the patch, it looks good. I'm not on precise yet so can't
test your issue directly, but the patch makes sense and builds here.
Committing it to the debian-multimedia git, and will send upstream.

Thanks
Dan





More information about the pkg-multimedia-maintainers mailing list