lin --opts propagate into dependencies - bug or feature?

Auke Kok auke at foo-projects.org
Sun May 27 20:16:02 CEST 2012


On 05/27/2012 08:56 AM, Duncan Gibson wrote:
> As I want to use texmaker/lyx I need to install qt4, but it's proving
> a little troublesome on this 64-bit box. The box basically has xfce4
> on it, and I've tried to install as few optional modules as possible,
> especially those from kde/gnome.
>
> Therefore during the configure stage of qt4 (4.8.2) I've said no to
> both the internal qt phonon, and the external (for kde) but then the
> compilation exits with:
>
>    Phonon support cannot be enabled due to functionality tests!
>     Turn on verbose messaging (-v) to ./configure to see the final report.
>     If you believe this message is in error you may use the continue
>     switch (-continue) to ./configure to continue.
>    Creating /var/log/lunar/compile/qt4-4.8.2.bz2
>
> If then run 'lin -rc --opts "-continue" qt4' it fails instead with:
>
>    Project ERROR: Package gstreamer-app-0.10 not found
>    make[1]: *** [WebCore/Makefile.WebKit] Error 2
>    make[1]: *** Waiting for unfinished jobs....
>    Project ERROR: Package gstreamer-app-0.10 not found
>    make[1]: *** [WebKit/qt/Makefile.WebKit.QtWebKit] Error 2
>    make[1]: Leaving directory
> `/usr/src/qt-everywhere-opensource-src-4.8.2/src/3rdparty/webkit/Source'
>    make: *** [sub-webkit-make_default-ordered] Error 2
>    Creating /var/log/lunar/compile/qt4-4.8.2.bz2
>
> even though gstreamer-10 (0.10.36) is installed. If I try again, this
> time saying y to the qt4 optional_depend for gst-plugins-base, I get:
>
>    Checking dependencies for qt4
>    Checking dependencies for gst-plugins-base
>    Building gst-plugins-base version 0.10.36
>    configure: error: unrecognized option: `-continue'
>    Try `./configure --help' for more information
>    Creating /var/log/lunar/compile/gst-plugins-base-0.10.36.bz2
>
> so the -continue option was passed from 'lin qt4' to gst-plugins-base.
>
> Is this a bug, or is this intended behaviour?

--opts is pretty much a hack, and if a package "pulls" in a dependency, 
the --opts are passed to every module that will be installed at that
point.

lin -r will 'delete' the --opts, so, you could at this point do `lin -r 
gst-plugins-base` and afterwards just `lin qt4`.

is gst-plugins-base "really" installed? what does `lvu installed 
gst-plugins-base` say?

Auke



More information about the Lunar-dev mailing list