[paludis-sekrit] [Paludis] #647: Option dependencies trigger false positivies for "flag is not listed in MYOPTIONS" warning

Paludis trac at trac.pioto.org
Wed Sep 17 17:19:19 UTC 2008


#647: Option dependencies trigger false positivies for "flag is not listed in
MYOPTIONS" warning
-----------------------------+----------------------------------------------
 Reporter:  ingmar           |          Owner:                
     Type:  defect           |         Status:  new           
 Priority:  Sometime         |      Milestone:  EAPI exheres-0
Component:  clients/paludis  |        Version:  scm           
 Keywords:                   |      Blockedby:                
 Blocking:                   |   Distribution:  Exherbo       
-----------------------------+----------------------------------------------
 Option dependencies trigger false positivies for "flag is not listed in
 MYOPTIONS" warning.

 media/mplayer::media in Exherbo triggers this bug.

 A minimal test-case:

 {{{
 ingmar: ~/devel/exherbo/repositories/ingmar.git/packages/dev-util/foo
 (master)
 $ cat foo-0.exheres-0
 # Copyright 2008 Ingmar Vanhassel <ingmar at exherbo.org>
 # Distributed under the terms of the GNU General Public License v2


 SUMMARY=""
 DESCRIPTION="
 "
 HOMEPAGE=""
 DOWNLOADS=""

 LICENCES=""
 SLOT="0"
 PLATFORMS="~amd64"
 MYOPTIONS="vesa"

 DEPENDENCIES="
     build+run:
         vesa? ( x11-server/xorg-server[video_driver:vesa] )"

 ingmar: ~/devel/exherbo/repositories/ingmar.git/packages/dev-util/foo
 (master)
 $ paludis -ip foo
 Building target list...
 Building dependency list...

 These packages will be installed:

 * dev-util/foo::ingmar [N 0] <target>
     -vesa

 Total: 1 package (1 new)

 Use flags:

 * vesa:
 paludis at 1221671896: [QA e.query_use.not_in_iuse] In program paludis
 (--show-reasons none --show-package-descriptions none --resume-command-
 template /root/.resume-XXXXXX --continue-on-failure if-independent --dl-
 fall-back as-needed) -ip foo:
   ... When performing install action from command line:
   ... When executing install task:
   ... When performing pretend actions:
   ... When running pretend for 'dev-util/foo-0:0::ingmar':
   ... When querying use flag 'video_driver:vesa' for 'dev-
 util/foo-0:0::ingmar' in Paludis environment:
   ... Was asked for the state of OPTIONS flag 'video_driver:vesa' for ID
 'dev-util/foo-0:0::ingmar', but that flag is not listed in MYOPTIONS

  * No unread news items found

 }}}


 {{{
 $ paludis --version
 paludis 0.31.0 git 1d70285d5f776afaf4be1ed69e38e693238399a1
 }}}

-- 
Ticket URL: <http://trac.pioto.org/paludis/ticket/647>
Paludis <http://paludis.pioto.org/>
Paludis, the Other Package Mangler


More information about the paludis-dev mailing list