Summary: | Fail build from Git | ||
---|---|---|---|
Product: | Spice | Reporter: | gustavo alvarez <sl1pkn07> |
Component: | server | Assignee: | Spice Bug List <spice-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
server/tests/Makefile.am patch
Another fix for makefile |
Description
gustavo alvarez
2015-12-28 03:25:56 UTC
I have just created a fresh build here and it works fine. I suspect there is something to do with glib in your setup. Are you using a package provided by your distribution or did you build it manually? only used selfcompiled the packages marked with 'from git'. the rest is provide by package distribution one note is, all git is builded through of makepkg, official arch package maker this is the PKGBUILD (build script) for libcacard and spice-protocol http://sl1pkn07.wtf/paste/view/7f48be94 -> spice protocol http://sl1pkn07.wtf/paste/view/1435a6f5 -> libcacard the CXXFLAGS, CPPFLAGS and LDFLAGS is provided by makepkg config environment --snit--- CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS="-march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" CXXFLAGS="-march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro" --snip-- Hi again the spice pkgbuild http://sl1pkn07.wtf/paste/view/27bdbd2a greetings Hi, can you please check for this symbol in the /usr/lib/libglib-2.0.so in your system? For example, here is the result in my system: $ readelf -Ws /usr/lib64/libglib-2.0.so | grep assertion 627: 000000000006f8a0 389 FUNC GLOBAL DEFAULT 11 g_assertion_message 1000: 000000000006fd20 470 FUNC GLOBAL DEFAULT 11 g_assertion_message_cmpnum └───╼ readelf -Ws /usr/lib/libglib-2.0.so | grep assertion 589: 0000000000070060 255 FUNC GLOBAL DEFAULT 11 g_assertion_message_error 596: 000000000006cd10 64 FUNC GLOBAL DEFAULT 11 g_test_set_nonfatal_assertions 644: 000000000006fc00 470 FUNC GLOBAL DEFAULT 11 g_assertion_message_cmpnum 749: 000000000006f780 389 FUNC GLOBAL DEFAULT 11 g_assertion_message 975: 000000000006f910 124 FUNC GLOBAL DEFAULT 11 g_assertion_message_expr 1385: 000000000006ff20 311 FUNC GLOBAL DEFAULT 11 g_assertion_message_cmpstr 1666: 0000000000070160 682 FUNC GLOBAL DEFAULT 11 g_test_trap_assertions Created attachment 120738 [details] [review] server/tests/Makefile.am patch So, as glib exports the symbols, the only option left is something wrong with Makefile, but as I can't reproduce it, it is more a guess. Please check if this patch solves the build issues you are having. perfect. with the patch now build ok thanks a lot! Created attachment 120859 [details] [review] Another fix for makefile Hi Gustavo, We are discussing the proper solution for this problem on the mailing list, and it was raised that a this new patch should also fix it. Can you test it please? Thanks, Eduardo yes, https://bugs.freedesktop.org/attachment.cgi?id=120859 also fixed the problem greetings Thanks for the confirmation, this second one will be merged. Fix pushed to upstream repository http://cgit.freedesktop.org/spice/spice/commit/?id=8c6dcc5eaffc4e1ed810693de04a78dd2ca2b528 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.