public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] portage getting mixed up with USE?
Date: Wed, 22 Jun 2011 11:50:10 +0200	[thread overview]
Message-ID: <3623519.19NbE9HXb6@nazgul> (raw)
In-Reply-To: <BANLkTinqNoZMO7Rz2hgGDXLAUiKSuRUBGQ@mail.gmail.com>

On Wednesday 22 June 2011 11:31:09 Daniel Pielmeier did opine thusly:
> 2011/6/22 Alan McKinnon <alan.mckinnon@gmail.com>:
> > On Wednesday 22 June 2011 10:49:04 Daniel Pielmeier did opine 
thusly:
> >> I guess it displays the USE settings how they should be and
> >> afterwards prints the required changes. Or does it build fltk
> >> with USE="-cairo" if you just type emerge -av fltk?
> > 
> > emerge -av fltk
> > 
> > gives exactly the same output as above. The dillo ebuild doesn't
> > seem to be causing this change in behaviour:
> > 
> > RDEPEND="x11-libs/fltk:2[-cairo,jpeg=,png=]
> > 
> > What it looks like is portage is insisting the package.use
> > explicitly states the USE flags needed. This is wrong and I am
> > not about to bloat package.use to cater for every "built with
> > use" occurrence. Or perhaps it's now only looking at installed
> > deps and not it's own dep graph when emerge runs.
> > 
> > Portage should only care about whether the package is already
> > built with use, or will be according to the dep graph
> 
> So you get the same recommendation about the use flag change?

No, I meant the output was the same as:

[ebuild  N     ] x11-libs/fltk-2.0_pre6970-r1  USE="jpeg opengl png 
xft xinerama zlib -cairo -debug -doc" 2,470 kB

I didn't run an emerge -p dillo to see what that would do, I did 
meanwhile add an entry to package.use to make portage shut up and do 
what I want (install claws)

> If you have USE="cairo" in make.conf or it is enabled via some
> profile (desktop?) you have to add >=x11-libs/fltk-2.0_pre6970-r1
> -cairo to package.use to override this on a per package basis. I
> think there is no way around this.

I have only the defaults:

# grep -r cairo /etc/portage/*
/etc/portage/package.use/package.use:x11-libs/cairo cleartype 
lcdfilter -qt4
/etc/portage/package.use/package.use:>=x11-libs/fltk-2.0_pre6970-r1 -
cairo

/etc/make.profile -> 
../var/portage/profiles/default/linux/amd64/10.0/desktop

# emerge --info | grep cairo
USE=" ... cairo ... "

The package.use entry is new.

I still don't understand why portage is making this fuss. It is saying 
that fltk needs to have a package.use entry for -cairo, but that's not 
what it needs. It needs fltk *built* that way, becuase dillo requires 
it and claws-mail depends on dillo.

Portage's own output immediately prior clearly says that it will build 
fltk with USE=-cairo as part of the dependencies. 

This crap about package.use is a red herring, a new behaviour and 
rather unwanted actually. It's adding useless new stuff into the 
process that doesn't belong.

-- 
alan dot mckinnon at gmail dot com



  reply	other threads:[~2011-06-22  9:52 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22  8:18 [gentoo-user] portage getting mixed up with USE? Alan McKinnon
2011-06-22  8:49 ` Daniel Pielmeier
2011-06-22  9:15   ` Alan McKinnon
2011-06-22  9:31     ` Daniel Pielmeier
2011-06-22  9:50       ` Alan McKinnon [this message]
2011-06-22  9:47 ` Neil Bothwick
2011-06-22  9:53   ` Alan McKinnon
2011-06-22 10:43     ` Neil Bothwick
2011-06-22 11:54       ` Alan McKinnon
2011-06-22 12:22         ` Daniel Pielmeier
2011-06-22 12:41           ` Alan McKinnon
2011-06-22 14:19             ` Mick
2011-06-22 14:44             ` Neil Bothwick
2011-06-22 15:31               ` Alan McKinnon
2011-06-22 16:05                 ` Mick
2011-06-22 16:22                 ` Neil Bothwick
2011-06-22 16:30                 ` Sebastian Beßler
2011-06-22 16:59                   ` Alan McKinnon
2011-06-23 11:31                   ` Daniel Pielmeier
2011-06-23 19:40                     ` Alan McKinnon
2011-06-22 17:11                 ` Sebastian Beßler
2011-06-22 18:22                   ` Dale
2011-06-22 19:16                     ` Sebastian Beßler
2011-06-22 20:12                       ` Alan McKinnon
2011-06-22 22:35                         ` Mick
2011-06-22 22:58                       ` Neil Bothwick
2011-06-23  1:35                         ` Matthew Finkel
2011-06-23  6:59                         ` Sebastian Beßler
2011-06-23 19:38                           ` Alan McKinnon
2011-06-23 22:06                             ` Neil Bothwick
2011-06-23 22:31                               ` Alan McKinnon
2011-06-23 22:56                                 ` Mike Edenfield
2011-06-24  0:05                                   ` Neil Bothwick
2011-06-24  0:10                                 ` Neil Bothwick
2011-06-24  8:00                                   ` Sebastian Beßler
2011-06-23 20:05                           ` Yohan Pereira
2011-06-24  8:11                             ` Sebastian Beßler
2011-06-22 10:48   ` Daniel Pielmeier
2011-06-22 11:57     ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3623519.19NbE9HXb6@nazgul \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox