Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128174 - revdep-rebuild generates invalid emerge command.
Summary: revdep-rebuild generates invalid emerge command.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-03-30 14:12 UTC by Peter Wendrich
Modified: 2006-06-19 20:31 UTC (History)
0 users

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


Attachments
resulting /root/.revdep... files (revdep-rebuildfiles.tgz,61.58 KB, application/octet-stream)
2006-03-31 10:52 UTC, Peter Wendrich
Details
revdep-rebuild patch (gentoolkit.126845.patch,1.32 KB, patch)
2006-03-31 14:47 UTC, Paul Varner (RETIRED)
Details | Diff
revdep-rebuild patch (revdep-rebuild.128174.patch,978 bytes, patch)
2006-03-31 14:51 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wendrich 2006-03-30 14:12:04 UTC
# revdep-rebuild -i -X -vv

[ ...]
[ ... repeatitive part of logging removed to keep bugsystem lean and clean ...]
[ ...]
  /usr/lib/libkdevgenericproject.la -> (none)
  *** /usr/lib/libkdevgenericproject.la not owned by any package is broken! ***
  /usr/lib/libkdevgenericproject.la -> (none)
  *** /usr/lib/libkdevgenericproject.la not owned by any package is broken! ***
  /usr/lib/libkdevgenericproject.la -> (none)
  *** /usr/lib/libkdevgenericproject.la not owned by any package is broken! ***
  /usr/lib/libkdevgenericproject.la -> (none)
  *** /usr/lib/libkdevgenericproject.la not owned by any package is broken! ***
  /usr/lib/libkdevgenericproject.la -> (none)
  *** /usr/lib/libkdevgenericproject.la not owned by any package is broken! ***
  /usr/lib/libkdevgenericproject.la -> (none)
  *** /usr/lib/libkdevgenericproject.la not owned by any package is broken! ***
  /usr/lib/libkdevgenericproject.la -> (none)
 done.
  (/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners)

Cleaning list of packages to rebuild... done.
  (/root/.revdep-rebuild.4_packages)

Assigning packages to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order...
Warning: Failed to resolve package order.
Will merge in "random" 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
..... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot  =app-cdr/k3b-0.12.14 =app-editors/kile-1.9 =app-text/aiksaurus-1.2.1 =app-text/poppler-0.5.1 =dev-perl/XML-Parser-2.34 =dev-util/kdevelop-3.3.2 =gnome-base/gconf-2.12.1-r1 =gnome-base/gnome-keyring-0.4.6 =gnome-base/libgnomeui-2.12.1 =kde-base/cervisia-3.5.2 =kde-base/kdeaddons-3.5.2 =kde-base/kdeadmin-3.5.2 =kde-base/kdeartwork-3.5.2 =kde-base/kdebase-3.5.2 =kde-base/kdeedu-3.5.2 =kde-base/kdegames-3.5.2 =kde-base/kdegraphics-3.5.2 =kde-base/kdelibs-3.5.2 =kde-base/kdemultimedia-3.5.2 =kde-base/kdenetwork-3.5.2 =kde-base/kdepim-3.5.2 =kde-base/kdetoys-3.5.2 =kde-base/kdeutils-3.5.2 =kde-base/kdewebdev-3.5.2 =kde-misc/krusader-1.70.0 =media-gfx/graphviz-2.6-r1 =media-gfx/imagemagick-6.2.6.0 =media-libs/libquicktime-0.9.7-r1 =media-libs/mesa-6.4.2-r2 =media-libs/musicbrainz-2.1.2 =media-libs/t1lib-5.0.2 =media-libs/tunepimp-0.3.0-r1 =media-libs/xine-lib-1.1.1-r5 = =media-video/kmplayer-0.9.1a =media-video/mjpegtools-1.8.0-r1 =media-video/transcode-1.0.2-r2 =media-video/vcdimager-0.7.23 =media-video/vlc-0.8.4a-r1 =net-im/gaim-1.5.0 =net-misc/tightvnc-1.3_alpha7 =net-p2p/ktorrent-1.2 =sys-apps/dbus-0.61-r1 =sys-apps/groff-1.19.2-r1 =x11-libs/gtk+-2.8.13 =x11-libs/pango-1.10.4 =x11-libs/wxGTK-2.6.2-r1 =x11-terms/xterm-211
..........
Calculating dependencies \
emerge: there are no ebuilds to satisfy "=".


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
    or
- use -X or --package-names as first argument (trys to rebuild package, not exact
  ebuild)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- 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*.?_*


notice the '=' without any package name (just after xine-lib) in the very long emerge command. This generates the error of emerge: there are no ebuilds to satisfy "=".


Just in case it is needed the emerge env:

# emerge --info
Portage 2.1_pre7-r3 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm avi berkdb bitmap-fonts bzip2 bzlib cdr crypt cups dri dvd dvdr eds emboss encode foomaticdb fortran gdbm gif gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png pppd python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vcd vorbis xinerama xml2 xmms xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux userland_GNU video_cards_mga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


Extra Q) Any idea how I can find the fix for the 'by any package is broken!' stuff (No clue what this bad english message means)
Extra Q2) Would be cool if revdep didn't fall back to "random" order just because 1 package is missing. Removing the extranous '=' by copy/paste still doesn't complete the emerge (I'm recovering from a libexpat library move) as the order is wrong for remaining packages. kdelibs should come first before others (atleast that is what all the errors are telling me)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 14:14:51 UTC
Yeah, that's what you get for mixing stable gentoolkit with unstable portage...
Comment 2 Peter Wendrich 2006-03-30 14:20:12 UTC
So? I can't see how the state of portage has anything to do with generating faulty emerge strings from revdep-rebuild.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 14:23:01 UTC
(In reply to comment #2)
> So? I can't see how the state of portage has anything to do with generating
> faulty emerge strings from revdep-rebuild.

Upgrade your gentoolkit to *latest* version. Stable gentoolkit won't work with portage 2.1 

Comment 4 Peter Wendrich 2006-03-30 14:27:07 UTC
localhost ~ # emerge --search gentoolkit
Searching...
[ Results for search key : gentoolkit ]
[ Applications found : 2 ]

*  app-portage/gentoolkit
      Latest version available: 0.2.2_pre3
      Latest version installed: 0.2.2_pre3
      Size of files: 250 kB
      Homepage:      http://www.gentoo.org/proj/en/portage/tools/index.xml
      Description:   Collection of administration scripts for Gentoo
      License:       GPL-2

*  app-portage/gentoolkit-dev
      Latest version available: 0.2.6.1
      Latest version installed: [ Not Installed ]
      Size of files: 138 kB
      Homepage:      http://www.gentoo.org/~karltk/projects/gentoolkit/
      Description:   Collection of developer scripts for Gentoo
      License:       GPL-2

Looks to me that I have the latest version of gentoolkit installed.
Comment 5 Peter Wendrich 2006-03-31 08:41:35 UTC
Reopening bug as I have *latest* version of gentoolkit.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2006-03-31 09:33:35 UTC
Please rerun the command and attach all of the /root/.revdep-rebuild* files to the case.
Comment 7 Peter Wendrich 2006-03-31 10:52:31 UTC
Created attachment 83533 [details]
resulting /root/.revdep... files
Comment 8 Paul Varner (RETIRED) gentoo-dev 2006-03-31 14:47:47 UTC
Created attachment 83563 [details, diff]
revdep-rebuild patch

The problem was caused by avifile no longer being in the tree.  Try this patch and let me know if it fixes the issue.
Comment 9 Paul Varner (RETIRED) gentoo-dev 2006-03-31 14:51:16 UTC
Created attachment 83564 [details, diff]
revdep-rebuild patch

Attached the wrong patch
Comment 10 Peter Wendrich 2006-04-01 02:03:23 UTC
yes, patch works. revdep-rebuild ignores the broken libs/packages and continues with only the stuff it does know how to (re)build.
Comment 11 Paul Varner (RETIRED) gentoo-dev 2006-06-19 20:31:53 UTC
Released in gentoolkit-0.2.2