public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC how to handle disappearing USE in (portage) dependency calculation
@ 2013-06-07 11:26 vivo75
  2013-06-07 12:11 ` Ciaran McCreesh
  2013-06-07 12:37 ` Sergey Popov
  0 siblings, 2 replies; 5+ messages in thread
From: vivo75 @ 2013-06-07 11:26 UTC (permalink / raw
  To: gentoo development

Hi everybody,
  sometimes a package depend from another with a particular USE flag
turned on, example llvm-3.2 on dev-libs/udis86 +pic
Sometimes a new ebuild can change IUSE, indeed udis86-1.7-r1 removed pic
use which was present in 1.7-r0.

This RFC is to understend what we (you actually) want the packages
manager to do in this situation, as I see it there are mainly two options.

1) when consider the dependency _always_ satisfied, if the requested USE
is not in IUSE.
  this will make user life easier, since portage now barf conflicts but
the "wrong" dependency goes unnoticed and nobody will clean the ebuilds.

2) error out always, both if requested USE flag should have been enabled
or not, since it's a bug and should be fixed.
  emerge -uDavNt will not that easy but the tree is cleaner as a
consequence, also the developer are forced^Wencouraged  to look at the
reason the USE flag disappeared analizing if their package will continue
to work.

finally the depend in llvm ebuild has this form:
DEPEND="udis86? ( dev-libs/udis86[pic(+)] )"
and the diff between udis86 ebuilds is like this:
-IUSE="pic test"
+IUSE="test"

best regards,
Francesco R.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-08  0:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07 11:26 [gentoo-dev] RFC how to handle disappearing USE in (portage) dependency calculation vivo75
2013-06-07 12:11 ` Ciaran McCreesh
2013-06-07 12:37 ` Sergey Popov
2013-06-07 14:16   ` vivo75
2013-06-08  0:07     ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox