Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217025 - revdep-rebuild attempts to merge invalid package atoms
Summary: revdep-rebuild attempts to merge invalid package atoms
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 14:01 UTC by Sumit Khanna
Modified: 2008-04-09 16:52 UTC (History)
0 users

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 Sumit Khanna 2008-04-09 14:01:56 UTC
revdep-rebuild seems to have been borken on my system for some time. It scans for broken packages and then runs an emerge command with invalid package atoms. On top of this, it exits with a code of 0. 

Versions:
gentoolkit-0.2.4_rc3
portage-2.1.5_rc2

revdep-rebuild output:

raphael ~ # revdep-rebuild
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new /root/.revdep-rebuild.1_files

 * Collecting complete LD_LIBRARY_PATH
 * Generated new /root/.revdep-rebuild.2_ldpath

 * Checking dynamic linking consistency
[ 58% ]  *   broken /usr/lib64/gstreamer-0.8/libgstflac.so (requires libFLAC.so.7)
[ 68% ]  *   broken /usr/lib64/libldap-2.2.so.7 (requires liblber-2.2.so.7)
 *   broken /usr/lib64/libldap_r-2.2.so.7 (requires liblber-2.2.so.7)
 *   broken /usr/lib64/libldap_r.so.2.0.130 (requires liblber.so.2)
 *   broken /usr/lib64/libldap.so.2.0.130 (requires liblber.so.2)
[ 69% ]  *   broken /usr/lib64/libpoppler-cairo.la (requires /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2//libstdc++.la)
[ 83% ]  *   broken /usr/lib64/python2.5/site-packages/berylsettings.la (requires /usr/lib64/libberylsettings.la)
 *   broken /usr/lib64/python2.5/site-packages/berylsettings.so (requires libberylsettings.so.0)
[ 100% ]
 * Generated new /root/.revdep-rebuild.3_rebuild

 * Assigning files to packages
 *   /usr/lib64/gstreamer-0.8/libgstflac.so -> media-plugins/gst-plugins-flac
 *   /usr/lib64/libldap-2.2.so.7 -> net-nds/openldap
 *   /usr/lib64/libldap_r-2.2.so.7 -> net-nds/openldap
 *   /usr/lib64/libldap_r.so.2.0.130 -> net-nds/openldap
 *   /usr/lib64/libldap.so.2.0.130 -> net-nds/openldap
 *  !!! /usr/lib64/libpoppler-cairo.la not owned by any package is broken !!!
 *   /usr/lib64/libpoppler-cairo.la -> (none)
 *   /usr/lib64/python2.5/site-packages/berylsettings.la -> x11-libs/compizconfig-python
 *   /usr/lib64/python2.5/site-packages/berylsettings.so -> x11-libs/compizconfig-python
 * Generated new /root/.revdep-rebuild.4_packages_raw and /root/.revdep-rebuild.4_package_owners

 * Cleaning list of packages to rebuild
 * Generated new /root/.revdep-rebuild.4_packages

 * Assigning packages to ebuilds
 * Generated new /root/.revdep-rebuild.4_ebuilds

 * Evaluating package order
 *
 * Warning: Failed to resolve package order.
 * Will merge in arbitrary order
 *
Possible reasons:
- An ebuild is no longer in the portage tree.
- An ebuild is masked, use /etc/portage/packages.keyword
and/or /etc/portage/package.unmask to unmask it
.....

 * All prepared. Starting rebuild
emerge --oneshot  =media-plugins/gst-plugins-flac:0.8 =net-nds/openldap:0 =x11-libs/compizconfig-python:0
..........
Calculating dependencies |

!!! '=media-plugins/gst-plugins-flac:0.8' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
 *
 * revdep-rebuild failed to emerge all packages.
 * you have the following choices:
 * - If emerge failed during the build, fix the problems and re-run revdep-rebuild.
 * - Use /etc/portage/package.keywords to unmask a newer version of the package.
 *   (and remove /root/.revdep-rebuild.5_order to be evaluated again)
 * - Modify the above emerge command and run it manually.
 * - Compile or unmerge unsatisfied packages manually,
 *   remove temporary files, and try again.
 *   (you can edit package/ebuild list first)
 *
 * To remove temporary files, please run:
 * rm /root/.revdep-rebuild*.?_*
 * Found some broken files that weren't associated with known packages
 * The broken files are:
 *   /usr/lib64/libpoppler-cairo.la





Reproducible: Always




raphael ~ # emerge --info
Portage 2.1.5_rc2 (default-linux/amd64/2006.1/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz
Timestamp of tree: Wed, 09 Apr 2008 08:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa amd64 audiofile berkdb bluetooth browserplugin bzip2 cairo cdinstall cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss emul-linux-x86 encode exif fam ffmpeg firefox flac fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv ipv6 isdnlog java jpeg kde ldap lirc log4j mad matroska midi mikmod mono mp3 mpeg msn mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl openmp pam pcre pda pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection rtc samba sdl seamonkey session spell spl ssl svg tcpd theora truetype unicode usb vcd vorbis wmf xinerama xml xorg xscreensaver xv xvid yahoo 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="logitech" USERLAND="GNU" VIDEO_CARDS="nvidia trident"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-04-09 15:39:04 UTC
(In reply to comment #0)
> Possible reasons:
> - An ebuild is no longer in the portage tree.
> - An ebuild is masked, use /etc/portage/packages.keyword
> and/or /etc/portage/package.unmask to unmask it
> .....
> 
>  * All prepared. Starting rebuild
> emerge --oneshot  =media-plugins/gst-plugins-flac:0.8 =net-nds/openldap:0
> =x11-libs/compizconfig-python:0
> ..........
> Calculating dependencies |
> 
> !!! '=media-plugins/gst-plugins-flac:0.8' is not a valid package atom.
> !!! Please check ebuild(5) for full details.
> !!! (Did you specify a version but forget to prefix with '='?)

I think this is because you have gst-plugins-flac-0.8* installed but that version isn't in the tree anymore. revdep-rebuild even tells you this is a possible reason.
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2008-04-09 16:52:14 UTC
Comment #1 is correct.