Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 245903

Summary: sys-apps/portage: There are no sets to satisfy 'foo' message does not display the origin of the broken package set reference
Product: Portage Development Reporter: Frank Hollenbach <frank.hollenbach>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 144480    

Description Frank Hollenbach 2008-11-06 23:07:29 UTC
emerge =sci-misc/qcad-parts-2.1.2.8 =media-libs/libpng-1.2.33 =app-dicts/myspell-de-20080915-r1 ...
ends in :
emerge: There are no sets to satisfy 'kde-4.1'. The following sets exist:

    downgrade
    installed
    live-rebuild
    module-rebuild
    preserved-rebuild
    security
    system
    world


 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: x11-libs/wxGTK-2.8.9.1-r1
 *  - /usr/lib/libwx_gtk2u_gl-2.8.so.0
 *  - /usr/lib/libwx_gtk2u_gl-2.8.so.0.5.0
 *      used by /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_glcanvas.so (dev-python/wxpython-2.8.9.1)
 *  - /usr/lib/libwx_gtk2u_media-2.8.so.0
 *  - /usr/lib/libwx_gtk2u_media-2.8.so.0.5.0
 *      used by /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_media.so (dev-python/wxpython-2.8.9.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries

with :
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.4/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lwx_gtk2u_media-2.8
collect2: ld returned 1 exit status
error: command 'powerpc-unknown-linux-gnu-g++' failed with exit status 1
 *
 * ERROR: dev-python/wxpython-2.8.9.1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2741:  Called die
 * The specific snippet of code:
 * python setup.py ${mypyconf} build || die "setup.py build failed"
 * The die message:
 * setup.py build failed

Well, there is no set kde-4.1 on my system, I suppose.


So, emerge is complaining a Set, and a "preserved-rebuild", whioch can't be build due to an error.

At this point on my system portage/emerge is possibly unusable ?
It can't emerge somehting, because it prefers fiest the "rebuild" and complains a set ?



Reproducible: Always

Steps to Reproduce:
emerge something, i.e

emerge =sci-misc/qcad-parts-2.1.2.8 =media-libs/libpng-1.2.33 =app-dicts/myspell-de-20080915-r1
Actual Results:  
emerge: There are no sets to satisfy 'kde-4.1'. The following sets exist:

    downgrade
    installed
    live-rebuild
    module-rebuild
    preserved-rebuild
    security
    system
    world


 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: x11-libs/wxGTK-2.8.9.1-r1
 *  - /usr/lib/libwx_gtk2u_gl-2.8.so.0
 *  - /usr/lib/libwx_gtk2u_gl-2.8.so.0.5.0
 *      used by /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_glcanvas.so (dev-python/wxpython-2.8.9.1)
 *  - /usr/lib/libwx_gtk2u_media-2.8.so.0
 *  - /usr/lib/libwx_gtk2u_media-2.8.so.0.5.0
 *      used by /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_media.so (dev-python/wxpython-2.8.9.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries

with wxpython-2.8.9.1 can't be build...




Expected Results:  
emerge to be done

emerge --info
Portage 2.2_rc13 (default/linux/powerpc/ppc32/2008.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r3 ppc)
=================================================================
System uname: Linux-2.6.24-gentoo-r3-ppc-7455,_altivec_supported-with-glibc2.0
Timestamp of tree: Thu, 06 Nov 2008 20:06:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.3.6-r6, 2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r4
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://ftp.ankara.edu.tr/gentoo/ http://adelie.polymtl.ca/ ftp://mirror.pacific.net.au/linux/Gentoo"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 arts bidi bitmap-fonts bzip2 cdr cgi chipcard cli cracklib crypt cups dbus dri dvd dvdread dvdwrite encode faad foomaticdb fortran gd gdbm gimp gpm gtk gtk2 gvlc iconv imlib ipv6 isdnlog kde kdeprefix kvlc matroska midi mudflap mysql ncurses nls nptl nptlonly nsplugin openmp pam pcre pdf perl php png ppc ppds pppd python qt quotes readline reflection session soup spl ssl svg sysfs tcpd tk truetype unicode usb wxgtk1 wxwindows xorg xprint xulrunner xv zlib" ALSA_CARDS="usb-audio usb-usx2y" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="ati128 fbdev vesa radeon ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Zac Medico gentoo-dev 2008-11-07 17:22:51 UTC
Did you change anything before this started happening? Perhaps you've corrupted the EMERGE_DEFAULT_OPTS variable somehow. Please post the output of this command:

  portageq envvar EMERGE_DEFAULT_OPTS
Comment 2 Zac Medico gentoo-dev 2008-11-07 17:24:13 UTC
Actually, I think it's more likely that the problem is in /var/lib/portage/world_sets. Have you got anything in there?
Comment 3 Zac Medico gentoo-dev 2015-03-28 20:04:12 UTC
We can improve the display_missing_pkg_set function to show where the broken package set reference originates. I could originate from the command line, /var/lib/portage/world_sets, /etc/portage/sets, a user-defined set in /etc/portage/sets.conf, or a set defined by an overlay.