Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382011 - emerge: there are no ebuilds built with USE flags to satisfy "x11-libs/gtk+:2[jpeg]".
Summary: emerge: there are no ebuilds built with USE flags to satisfy "x11-libs/gtk+:2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 06:31 UTC by Jack Krauser
Modified: 2011-09-10 17:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Krauser 2011-09-06 06:31:11 UTC
when i try to install gnome "emerge gnome" i got that "bug" and i can't to emerge gnome

Reproducible: Always

Steps to Reproduce:
1.eselec profile 1 --> ([1]   default/linux/amd64/10.0 *)

2./etc/make.conf file configuration:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 qt4 kde X dbus gtk gnome gdu qt3support jpeg"
#USE="mmx sse sse2 -gnome -kde -minimal -qt4 dbus jpeg lock session startup-notification thunar udev X"
MAKEOPTS="-j5"

GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/ http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.lcc.ufmg.br"

SYNC="rsync://rsync.br.gentoo.org/gentoo-portage"
INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia"
LINGUAS="es en"

3. /etc/portage/package.use file configuration:

x11-base/xorg-server udev
x11-base/xorg-x11 udev
gnome-base/gnome-session branding
gnome-base/gnome accessibility cdr dvdr ldap mono policykit
sys-fs/udisks
>=sys-fs/udev-145-r1 extras
=sys-block/parted-2.3 device-mapper
>=sys-auth/consolekit-0.4.5-r1 policykit
>=app-text/poppler-0.16.7 cairo
=dev-lang/python-3.1.3-r1 sqlite
=gnome-base/gvfs-1.6.7 cdda
=media-plugins/gst-plugins-meta-0.10-r5 ogg vorbis
>=sys-auth/pambase-20101024 consolekit
=x11-base/xorg-server-1.10.4 kdrive

4. emerge gnome
Actual Results:  
emerge gnome
Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "x11-libs/gtk+:2[jpeg]".
!!! One of the following packages is required to complete your request:
- x11-libs/gtk+-2.24.4::gentoo (Missing IUSE: jpeg)
(dependency required by "media-video/cheese-2.32.0" [ebuild])
(dependency required by "gnome-base/gnome-2.32.1" [ebuild])
(dependency required by "gnome" [argument])


emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 03 Sep 2011 04:15:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/ http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.lcc.ufmg.br"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.br.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gdu gnome gpm gtk iconv ipv6 jpeg kde mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3support qt4 readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-09-06 07:01:16 UTC
gtk2[jpeg] is an alternative to gdk-pixbuf[jpeg]. Try to install gdk-pixbuf, it should solve your problem.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-09-06 07:04:33 UTC
Also, please save the output of:
# emerge -pv gtk; emerge --debug gnome

so we can provide this to portage developer if it appears to be a portage dependency solver issue.
Comment 3 Sebastian Luther (few) 2011-09-06 12:08:08 UTC
(In reply to comment #2)
> Also, please save the output of:
> # emerge -pv gtk; emerge --debug gnome
> 
> so we can provide this to portage developer if it appears to be a portage
> dependency solver issue.

Check the ebuild, the use flag is not in IUSE.
Comment 4 Jack Krauser 2011-09-06 12:48:44 UTC
(In reply to comment #1)
> gtk2[jpeg] is an alternative to gdk-pixbuf[jpeg]. Try to install gdk-pixbuf, it
> should solve your problem.

I tried but it didn't work:

1. /etc/make.conf ---> USE=“(other flags) jpeg“
2. Emerge gdk-pixbuf
3. Emerge gnome
4. The same problem
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-06 12:57:34 UTC
I believe that this is what happened:
1. You installed media-video/cheese-2.32.0 some time between November 2010 and February 2011. At that time, the cheese-2.32.0 ebuild depended on gtk+:2[jpeg]. Portage saved the ebuild that you had installed in /var/db/pkg.
2. In February 2011, the cheese-2.32.0 ebuild in the tree (i.e. in /usr/portage) was updated to depend on either gtk+:2[jpeg] or gdk-pixbuf:2[jpeg].
3. A month ago, gtk+-2.22.1-r1 (the last version with a jpeg USE flag) was removed from the tree.
4. When you try to emerge gnome, portage apparently looks at the old cheese ebuild that it had saved in /var/db/pkg instead of the updated ebuild in /usr/portage. And fails, because the gtk+:2[jpeg] dependency cannot be satisfied.

Jack, the solution for you right now is to re-emerge cheese.

The long-term solution is to modify portage's dependency resolver behavior to take in-tree ebuilds into account even when the same version of an ebuild had been installed; also, need to figure out whether a change in PMS would be needed.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-06 13:00:38 UTC
Also, the cheese-2.32.0 ebuild should probably be given a revision bump as a workaround to prevent other people from hitting this bug.
Comment 7 Sebastian Luther (few) 2011-09-06 13:10:11 UTC
(In reply to comment #5)
> [...]
> 4. When you try to emerge gnome, portage apparently looks at the old cheese
> ebuild that it had saved in /var/db/pkg instead of the updated ebuild in
> /usr/portage. And fails, because the gtk+:2[jpeg] dependency cannot be
> satisfied.

It already looks at ebuild metadata if an ebuild with the same cpv is present (and the EAPI hasn't changed).

> [...]
Comment 8 Jack Krauser 2011-09-06 13:36:07 UTC
(In reply to comment #5)
> I believe that this is what happened:
> 1. You installed media-video/cheese-2.32.0 some time between November 2010 and
> February 2011. At that time, the cheese-2.32.0 ebuild depended on gtk+:2[jpeg].
> Portage saved the ebuild that you had installed in /var/db/pkg.
> 2. In February 2011, the cheese-2.32.0 ebuild in the tree (i.e. in
> /usr/portage) was updated to depend on either gtk+:2[jpeg] or
> gdk-pixbuf:2[jpeg].
> 3. A month ago, gtk+-2.22.1-r1 (the last version with a jpeg USE flag) was
> removed from the tree.
> 4. When you try to emerge gnome, portage apparently looks at the old cheese
> ebuild that it had saved in /var/db/pkg instead of the updated ebuild in
> /usr/portage. And fails, because the gtk+:2[jpeg] dependency cannot be
> satisfied.
> 
> Jack, the solution for you right now is to re-emerge cheese.
> 
> The long-term solution is to modify portage's dependency resolver behavior to
> take in-tree ebuilds into account even when the same version of an ebuild had
> been installed; also, need to figure out whether a change in PMS would be
> needed.

mmmmm, i agree with you, i'll tried later because in this moment i'm working, but i think i'd have problem in the future, 'cause i'm new in gentoo (i've just installed gentoo twice, about portage tree...
Comment 9 Jack Krauser 2011-09-06 13:38:40 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Also, please save the output of:
> > # emerge -pv gtk; emerge --debug gnome
> > 
> > so we can provide this to portage developer if it appears to be a portage
> > dependency solver issue.
> 
> Check the ebuild, the use flag is not in IUSE.

That's rigth...
I was looking for help in gemtoo's forums and some people said that the “media-video/cheese-2.32.0" package has error and if you check that package by “equery uses“ command, the USE jpeg it doesn't exist....
Comment 10 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-06 14:18:27 UTC
(In reply to comment #7)
> It already looks at ebuild metadata if an ebuild with the same cpv is present
> (and the EAPI hasn't changed).

I just tested it with some dummy ebuilds and portage-2.2.0_alpha53, and you are right, at least with that portage version, it looks like the scenario I described in comment #5 should be impossible.

So what could have caused this bug?
Comment 11 Sebastian Luther (few) 2011-09-06 14:49:53 UTC
(In reply to comment #10)
> So what could have caused this bug?

Take a look at the cheese ebuild. It has this gtk+[jpeg] dependency.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-09-06 15:15:54 UTC
We simply need to remove all gtk+:2[jpeg] dependencies from the tree and replace them with the appropriate gdk-pixbuf line. This should have been done just before removing the gtk ebuild with that flag to avoid this problem I guess.
Comment 13 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-06 17:50:23 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > So what could have caused this bug?
> 
> Take a look at the cheese ebuild. It has this gtk+[jpeg] dependency.

No. The cheese ebuild has a "|| ( x11-libs/gtk+:2[jpeg] x11-libs/gdk-pixbuf:2[jpeg] )" dependency. If for any reason portage cannot find gtk+:2[jpeg], then it should satisfy the dependency using gdk-pixbuf:2[jpeg].

I have just tested this by adding "|| ( x11-libs/gtk+:2[jpeg] x11-libs/gdk-pixbuf:2[jpeg] )" to some ebuilds in my personal overlay. There were no error messages. gdk-pixbuf:2[jpeg] was available, and portage was satisfied.

Yet in comment #4, Jack reported that emerging gdk-pixbuf:2[jpeg] did not resolve the error. So something else is going on.
Comment 14 Sebastian Luther (few) 2011-09-06 18:03:50 UTC
(In reply to comment #13)
> (In reply to comment #11)
> > (In reply to comment #10)
> > > So what could have caused this bug?
> > 
> > Take a look at the cheese ebuild. It has this gtk+[jpeg] dependency.
> 
> No. The cheese ebuild has a "|| ( x11-libs/gtk+:2[jpeg]
> x11-libs/gdk-pixbuf:2[jpeg] )" dependency. If for any reason portage cannot
> find gtk+:2[jpeg], then it should satisfy the dependency using
> gdk-pixbuf:2[jpeg].

It's an ||, yes but it's still wrong and may lead strange errors like in this case.

> 
> I have just tested this by adding "|| ( x11-libs/gtk+:2[jpeg]
> x11-libs/gdk-pixbuf:2[jpeg] )" to some ebuilds in my personal overlay. There
> were no error messages. gdk-pixbuf:2[jpeg] was available, and portage was
> satisfied.
> 
> Yet in comment #4, Jack reported that emerging gdk-pixbuf:2[jpeg] did not
> resolve the error. So something else is going on.

We need to see the new error message.
Comment 15 Jack Krauser 2011-09-06 18:07:29 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > (In reply to comment #11)
> > > (In reply to comment #10)
> > > > So what could have caused this bug?
> > > 
> > > Take a look at the cheese ebuild. It has this gtk+[jpeg] dependency.
> > 
> > No. The cheese ebuild has a "|| ( x11-libs/gtk+:2[jpeg]
> > x11-libs/gdk-pixbuf:2[jpeg] )" dependency. If for any reason portage cannot
> > find gtk+:2[jpeg], then it should satisfy the dependency using
> > gdk-pixbuf:2[jpeg].
> 
> It's an ||, yes but it's still wrong and may lead strange errors like in this
> case.
> 
> > 
> > I have just tested this by adding "|| ( x11-libs/gtk+:2[jpeg]
> > x11-libs/gdk-pixbuf:2[jpeg] )" to some ebuilds in my personal overlay. There
> > were no error messages. gdk-pixbuf:2[jpeg] was available, and portage was
> > satisfied.
> > 
> > Yet in comment #4, Jack reported that emerging gdk-pixbuf:2[jpeg] did not
> > resolve the error. So something else is going on.
> 
> We need to see the new error message.

There's not a new error message, the error message is the same:

emerge gnome
Actual Results:  
emerge gnome
Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy
"x11-libs/gtk+:2[jpeg]".
!!! One of the following packages is required to complete your request:
- x11-libs/gtk+-2.24.4::gentoo (Missing IUSE: jpeg)
(dependency required by "media-video/cheese-2.32.0" [ebuild])
(dependency required by "gnome-base/gnome-2.32.1" [ebuild])
(dependency required by "gnome" [argument])

When i'll be in my house
Comment 16 Zac Medico gentoo-dev 2011-09-06 20:41:11 UTC
(In reply to comment #15)
> emerge: there are no ebuilds built with USE flags to satisfy
> "x11-libs/gtk+:2[jpeg]".
> !!! One of the following packages is required to complete your request:
> - x11-libs/gtk+-2.24.4::gentoo (Missing IUSE: jpeg)
> (dependency required by "media-video/cheese-2.32.0" [ebuild])

As said in comment #12, the ebuild is broken because it still contains the gtk+:2[jpeg] dependency. This can be verified by looking at the current version of the ebuild in cvs:

 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/cheese/cheese-2.32.0.ebuild?view=log#rev1.12
Comment 17 Zac Medico gentoo-dev 2011-09-06 20:49:24 UTC
(In reply to comment #13)
> Yet in comment #4, Jack reported that emerging gdk-pixbuf:2[jpeg] did not
> resolve the error. So something else is going on.

If that's the case then he should file a separate bug for portage. There's no need to clutter this bug with a separate issue that only affects one person.
Comment 18 Jack Krauser 2011-09-09 17:42:19 UTC
hi,

should i to file a separate bug for portage about my problem?
Comment 19 Zac Medico gentoo-dev 2011-09-09 18:04:33 UTC
(In reply to comment #18)
> hi,
> 
> should i to file a separate bug for portage about my problem?

Yes, please do. In the new bug, please post the output of the following command:

  emerge -pv x11-libs/gdk-pixbuf:2[jpeg]
Comment 20 Jack Krauser 2011-09-09 18:06:49 UTC
ok, i'll do it later, thanks...

how can i close this bug??
Comment 21 Zac Medico gentoo-dev 2011-09-09 18:13:14 UTC
The gnome team will close this bug after they fix the invalid gtk+:2[jpeg] dependencies as mentioned in comment #12.
Comment 22 Jack Krauser 2011-09-10 05:06:08 UTC
(In reply to comment #21)
> The gnome team will close this bug after they fix the invalid gtk+:2[jpeg]
> dependencies as mentioned in comment #12.

Before report the bug in portage team, i decided to reinstall gdk-pixbuf:

"emerge x11-libs/gdk-pixbuf:2"

before that, i edited /etc/portage/package.use...

"x11-libs/gdk-pixbuf:2[jpeg] X introspection"

and before that i updated portage tree with "emerg --sync" again

and in this moment finlly i'm installing gnome in my pc with gentoo....

"emerge gnome"

Thanks for all your help, really, thank you so much...

You are a great team...

You can close this bug, but i think shouldn't be problems when someone wants to install gnome, you can do something? should i report this "bug" to portage team?

Thanks...
Comment 23 Pacho Ramos gentoo-dev 2011-09-10 08:30:14 UTC
I would report bug for portage anyway and, about this one, I will close this when cheese ebuild is fixed
Comment 24 Pacho Ramos gentoo-dev 2011-09-10 17:24:39 UTC
+  10 Sep 2011; Pacho Ramos <pacho@gentoo.org> cheese-2.32.0.ebuild:
+  Fix dependencies as explained in bug #382011.
+