FS#25953 - [raptor] wrong packaging of "includes" files will cause crashes in liblrdf and dependencies
Attached to Project:
Arch Linux
Opened by Joaquín Ignacio Aramendía (Samsagax) - Saturday, 10 September 2011, 17:04 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 10 September 2011, 18:03 GMT
Opened by Joaquín Ignacio Aramendía (Samsagax) - Saturday, 10 September 2011, 17:04 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 10 September 2011, 18:03 GMT
|
Details
Description:
When trying to build a gstreamer0.10-bad package it fails, liblrdf has an #include directive pointing to file raptor.h. That file is not in the /usr/include/ folder but in /usr/include/raptor2/ folder; same as raptor2.h file included by raptor.h file (will fail too). Those files are looked up into /usr/include/ folder and any package will fail to find them. It even makes precompiled packages from [extra] to fail (e.g. gstreamer-bad-plugins) after that update. Found this issue following steps in https://bugzilla.gnome.org/show_bug.cgi?id=658579 Additional info: * packages: raptor 2.0.4-1 Tail from a failed make: gstjasperenc.c: In function 'gst_jasper_enc_sink_setcaps': gstjasperenc.c:243:7: warning: 'caps' may be used uninitialized in this function [-Wuninitialized] gstjasperenc.c:177:12: note: 'caps' was declared here In file included from gstladspa.c:42:0: /usr/include/lrdf.h:8:20: fatal error: raptor.h: No such file or directory compilation terminated. make[3]: *** [libgstladspa_la-gstladspa.lo] Error 1 make[2]: *** [ladspa] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Steps to reproduce: Try to build gstreamer0.10-bad package version 0.10.22-1 from ABS. Will fail with above error. Solution (Workaround): symlink files: /usr/include/raptor.h > /usr/include/raptor2/raptor.h /usr/include/raptor2.h > /usr/include/raptor2/raptor2.h |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Saturday, 10 September 2011, 18:03 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#25898
Saturday, 10 September 2011, 18:03 GMT
Reason for closing: Duplicate
Additional comments about closing: