[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#711307: libqt5webkit5-dev: Insufficient dependencies in libqt5webkit5-dev



retitle 711307 libQt5WebKitWidgets.prl filled with private libs
thanks

Hi,

Alle giovedì 6 giugno 2013, Timo Jyrinki ha scritto:
> This is an after the fact bug report to (in)validate the recent
> dependency changes in the packaging git.
> 
> It seems that the dependencies of libqt5webkit5-dev, or possibly some
> of its dependencies, are not sufficient at the moment.

The dependencies of libqt5webkit5-dev are perfectly fine, since they 
cover all the #include's in libqt5webkit5-dev's headers.

> I've made a simple test case as follows:
> apt-get install bzr-builddeb libqt5webkit5-dev qtdeclarative5-dev
> qt5-default apt-get remove libqt5opengl5-dev # only recommended by
> qtbase5-dev bzr branch lp:~timo-jyrinki/+junk/testwebkit
> cd testwebkit
> bzr bd

(Since it is really small, having it as standalone tarball attached to 
this would have been better.)

> This fails with:

Having the full build log would have been nicer.

> /usr/bin/ld: cannot find -lxslt
> /usr/bin/ld: cannot find -lgio-2.0
> /usr/bin/ld: cannot find -lgstapp-0.10
> /usr/bin/ld: cannot find -lgstinterfaces-0.10
> /usr/bin/ld: cannot find -lgstpbutils-0.10
> /usr/bin/ld: cannot find -lgstvideo-0.10
> /usr/bin/ld: cannot find -lgstbase-0.10
> /usr/bin/ld: cannot find -lgstreamer-0.10
> /usr/bin/ld: cannot find -lgobject-2.0
> /usr/bin/ld: cannot find -lgmodule-2.0
> /usr/bin/ld: cannot find -lgthread-2.0
> /usr/bin/ld: cannot find -lxml2
> /usr/bin/ld: cannot find -lglib-2.0
> /usr/bin/ld: cannot find -lsqlite3
> /usr/bin/ld: cannot find -lQt5OpenGL

Yes, I can see these errors, but...

> In addition to the already added dependencies - libqt5opengl5-dev
> libgstreamer-plugins-base0.10-dev libxslt1-dev - sqlite3 dependency
> seems to be missing.

... no, adding the lot of -dev packages added in Git and the above is 
not the right solution.

Doing a bit of investigation reveals that 
/usr/lib/*/libQt5WebKitWidgets.prl is filled with these libs (mostly 
non-qt5, but also some unneeded qt5 ones), so it is an upstream bug that 
should be reported. In the meanwhile, a (IMHO) better workaround would 
be pruning these libraries from that .prl file.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: