FS#43223 - [lib32-qt4] Missing dependencies for QtWebKit build

Attached to Project: Community Packages
Opened by Nicola Mori (snack) - Thursday, 25 December 2014, 16:16 GMT
Last edited by Florian Pritz (bluewind) - Friday, 26 December 2014, 10:30 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
While trying to build lib32-qt4 4.8.6-1 I get the following error:


rm -f libQtWebKit.so.4.9.4 libQtWebKit.so libQtWebKit.so.4 libQtWebKit.so.4.9
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,--gc-sections -Wl,--no-undefined -Wl,--no-undefined -m32 -Wl,-O1 -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQtWebKit.so.4 -o libQtWebKit.so.4.9.4 .obj/release-shared/MathMLNames.o (... omit a lot of object files...) -L/usr/X11R6/lib -L/usr/lib32 -lfontconfig -lfreetype -lXext -lX11 -lm -ljscore -lsqlite3 -lXrender -lQtGui -lQtNetwork -lQtCore -lpthread -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10 -lgstpbutils-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lXrender -L/usr/lib32 -lfontconfig -lfreetype -lXext -lX11 -lm
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libgstapp-0.10.so when searching for -lgstapp-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstapp-0.10.so when searching for -lgstapp-0.10
/usr/bin/ld: cannot find -lgstapp-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libgstinterfaces-0.10.so when searching for -lgstinterfaces-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstinterfaces-0.10.so when searching for -lgstinterfaces-0.10
/usr/bin/ld: cannot find -lgstinterfaces-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libgstpbutils-0.10.so when searching for -lgstpbutils-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstpbutils-0.10.so when searching for -lgstpbutils-0.10
/usr/bin/ld: cannot find -lgstpbutils-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libgstvideo-0.10.so when searching for -lgstvideo-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstvideo-0.10.so when searching for -lgstvideo-0.10
/usr/bin/ld: cannot find -lgstvideo-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libgstbase-0.10.so when searching for -lgstbase-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstbase-0.10.so when searching for -lgstbase-0.10
/usr/bin/ld: cannot find -lgstbase-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libgstreamer-0.10.so when searching for -lgstreamer-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstreamer-0.10.so when searching for -lgstreamer-0.10
/usr/bin/ld: cannot find -lgstreamer-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../libxml2.so when searching for -lxml2
/usr/bin/ld: skipping incompatible /usr/lib/libxml2.so when searching for -lxml2
/usr/bin/ld: cannot find -lxml2
collect2: error: ld returned 1 exit status
Makefile.WebKit.QtWebKit:1207: recipe for target '../../../../../../lib/libQtWebKit.so.4.9.4' failed
make[2]: *** [../../../../../../lib/libQtWebKit.so.4.9.4] Error 1
make[2]: Leaving directory '/home/nicola/build/lib32-qt4/src/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/WebKit/qt'
Makefile.WebKit:123: recipe for target 'sub-WebKit-qt-QtWebKit-pro-all-ordered' failed
make[1]: *** [sub-WebKit-qt-QtWebKit-pro-all-ordered] Error 2
make[1]: Leaving directory '/home/nicola/build/lib32-qt4/src/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source'
Makefile:755: recipe for target 'sub-webkit-all-ordered' failed
make: *** [sub-webkit-all-ordered] Error 2


It seems that lib32-libxml2 and lib32-gstreamer0.10-base are needed in order to build QtWebKit, but the PKGBUILD misses them. Furthermore, lib32-gstreamer0.10-base is only available in AUR.
Disabling the build of QtWebKit (as in the pure 64 bit package) fixes the problem, but libQtWebKit.so is needed by skype so it has to be built.
Installing lib32-gstreamer0.10-base from AUR and its dependency lib32-libxml2 from multilib and fixes the compilation problem.

Additional info:
* package version(s)
lib32-qt4 4.8.6-1
* config and/or log files etc.


Steps to reproduce:
- Get the PKGBUILD for lib32-qt4 4.8.6-1 from ABS
- Build the package in a system where both lib32-libxml2 and lib32-gstreamer0.10-base are missing
This task depends upon

Closed by  Florian Pritz (bluewind)
Friday, 26 December 2014, 10:30 GMT
Reason for closing:  Not a bug
Comment by Florian Pritz (bluewind) - Friday, 26 December 2014, 10:30 GMT
You have libxml2 and gstreamer (64bit versions) installed and therefore configure finds the headers and wants to use them. Please use multilib-build from devtools to build packages in a clean chroot (which will not come with gstreamer and libxml) to rule out such issues. That said it builds fine for me.

Loading...