Source: xsunpinyin Version: 2.0.3-2 Severity: normal Not sure if this is an bug in scons or xsunpinyin, please reassign accordingly.
If you add following to debian/rules the build failes: export LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro Log snippet: g++ -o xsunpinyin "-Wl,-Bsymbolic-functions -Wl,-z,relro" -export-dynamic -pthread ic.o ic_gtk.o ic_skin.o skin.o ui.o main.o settings.o sunpinyin_preedit.o sunpinyin_preedit_gtk.o sunpinyin_preedit_skin.o xim.o xim_trigger.o xmisc.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lX11 -lsunpinyin -lsqlite3 libIMdkit.a /usr/bin/ld: unrecognized option '-Bsymbolic-functions -Wl' here is a full build log. https://launchpadlibrarian.net/83128363/buildlog_ubuntu-precise-amd64.xsunpinyin_2.0.3-2_FAILEDTOBUILD.txt.gz The issue are not the flags themselves but the quoting of the flag. It will work if you quote LDFLAGS: LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro" as the build then uses this: ""-Wl,-Bsymbolic-functions -Wl,-z,relro"" but this is hardly how it should work. E.g. dpkg-buildflags outputs its flags unquoted [0] [0] http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html
signature.asc
Description: OpenPGP digital signature