Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137654 - emerge updates dev-libs/libxslt-1.1.17 and dev-libs/libxml2-2.6.26 in wrong order
Summary: emerge updates dev-libs/libxslt-1.1.17 and dev-libs/libxml2-2.6.26 in wrong o...
Status: RESOLVED DUPLICATE of bug 126748
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 14:12 UTC by Joe Wells
Modified: 2006-07-25 11:46 UTC (History)
0 users

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


Attachments
Output of "emerge -info" on my system. (emerge-info-output,8.25 KB, text/plain)
2006-06-22 14:13 UTC, Joe Wells
Details
Output of "emerge --debug --pretend --oneshot --verbose --deep --update --newuse libxml2 libxslt eselect-compiler man" on my system. (emerge-debug-output,181.59 KB, text/plain)
2006-06-22 14:14 UTC, Joe Wells
Details
Contents of "/var/lib/portage/world" on my system. (world,2.58 KB, text/plain)
2006-06-22 14:15 UTC, Joe Wells
Details
Contents of "/etc/portage/package.use" on my system. (package.use,6.26 KB, text/plain)
2006-06-22 14:15 UTC, Joe Wells
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Wells 2006-06-22 14:12:18 UTC
I just tried to do this command:

  emerge --oneshot --verbose --deep --update --newuse libxml2 libxslt eselect-compiler man

Emerge picks this order for installing:

  [ebuild     U ] dev-libs/libxslt-1.1.17 [1.1.16] USE="crypt python -debug" 0 kB 
  [ebuild     U ] app-admin/eselect-compiler-2.0.0_rc2 [2.0.0_rc1-r6] USE="-hardened" 114 kB 
  [ebuild     U ] dev-libs/libxml2-2.6.26 [2.6.24] USE="doc ipv6 python readline -debug -test" 3,338 kB 
  [ebuild     U ] sys-apps/man-1.6d [1.6c] USE="-nls" 263 kB 

Unfortunately, the emerge of dev-libs/libxslt-1.1.17 then fails
because it depends on dev-libs/libxml2-2.6.25 or better having already
been installed.  This dependency is correctly recorded in the ebuild
for dev-libs/libxslt-1.1.17, so this is clearly a bug in emerge.

I am attaching the output of these commands:

  emerge --debug --pretend --oneshot --verbose --deep --update --newuse libxml2 libxslt eselect-compiler man
  emerge --info

I am also attaching the contents of these files:

  /var/lib/portage/world
  /etc/portage/package.use

If you want me to look at something, please say so fairly soon.  I am
happy to hold off doing an "emerge --sync" or any other emerging for a
day or two to preserve the state of the database on my disk for
debugging, but eventually I will have to just do the updates in the
correct order by hand and get on with life.

It occurs to me that this may be just another instance of some other
bug, but I can't tell from reading the other bugs whether the precise
thing going wrong here (maybe dependency parsing trouble?) matches
another bug or not, so I am afraid I need to leave it to you to
determine whether this is a duplicate.
Comment 1 Joe Wells 2006-06-22 14:13:02 UTC
Created attachment 89845 [details]
Output of "emerge -info" on my system.
Comment 2 Joe Wells 2006-06-22 14:14:10 UTC
Created attachment 89846 [details]
Output of "emerge --debug --pretend --oneshot --verbose --deep --update --newuse libxml2 libxslt eselect-compiler man" on my system.
Comment 3 Joe Wells 2006-06-22 14:15:01 UTC
Created attachment 89847 [details]
Contents of "/var/lib/portage/world" on my system.
Comment 4 Joe Wells 2006-06-22 14:15:36 UTC
Created attachment 89848 [details]
Contents of "/etc/portage/package.use" on my system.
Comment 5 Zac Medico gentoo-dev 2006-06-22 21:59:11 UTC
I can confirm this behavior:

emerge -puD eselect-compiler

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/libxml2-2.6.26 [2.6.24]
[ebuild     U ] dev-libs/libxslt-1.1.17 [1.1.16]
[ebuild     U ] app-admin/eselect-compiler-2.0.0_rc2 [2.0.0_rc1-r6]


emerge -puD libxml2 libxslt eselect-compiler

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/libxslt-1.1.17 [1.1.16]
[ebuild     U ] app-admin/eselect-compiler-2.0.0_rc2 [2.0.0_rc1-r6]
[ebuild     U ] dev-libs/libxml2-2.6.26 [2.6.24]
Comment 6 Vladimir G. Ivanovic 2006-07-25 09:48:01 UTC
I have an out of order issue as well:

  USE=kerberos emerge -av  gnome-extra/evolution-data-server gnome-extra/evolution-exchange

succeeds, but the reverse order fails with a message asking me to emerge evolution-data-server with USE=kerberos.

If this is a different bug, I'd be happy to file a new bug.

emerge -info ==>
Portage 2.1.1_pre3-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Turion(tm) 64 Mobile Technology MT-32
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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, 2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -march=k8 -msse3 -pipe -O2 -ffast-math"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Wall -march=k8 -msse3 -pipe -O2 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.llarian.net/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/etc/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 avi berkdb bitmap-fonts cli crypt cups dlloader doc dri eds emboss encode firefox foomaticdb fortran gif glibc-omitfp gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jikes jpeg kde ldap lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nsplugin opengl pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1 type1-fonts unicode usb xemacs xml xml2 xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 7 Zac Medico gentoo-dev 2006-07-25 11:46:52 UTC

*** This bug has been marked as a duplicate of 126748 ***