Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397951 - three packages..multiple ebuilds need upgrade to depends as realpath now provided by >=coreutils-8.15
Summary: three packages..multiple ebuilds need upgrade to depends as realpath now prov...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 397999 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-07 00:21 UTC by Derk W te Bokkel
Modified: 2012-01-11 04:53 UTC (History)
6 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 Derk W te Bokkel 2012-01-07 00:21:25 UTC
trying to emerge coreutils-8.15 on system with gentoolkit and perl-cleaner result in a blocker problem due to the dependency on app-misc/realpath some logic needs to be added to the ebuilds to allow >=sys-apps/coreutils-8.15  to provide realpath

Reproducible: Always
Comment 1 Derk W te Bokkel 2012-01-07 00:35:50 UTC
packages effected
dev-lisp/common-lisp-controller
app-portage/gentoolkit
app-admin/perl-cleaner
Comment 2 Andreas Proteus 2012-01-07 03:33:34 UTC
And dev-lisp/common-lisp-controller
Comment 3 Andreas Proteus 2012-01-07 03:35:19 UTC
(In reply to comment #2)
er... I meant 
app-admin/eselect
Comment 4 Juergen Rose 2012-01-07 11:20:33 UTC
I have the same issue. At a system with app-misc/realpath in /var/lib/portage/world 'emerge -pvuDN world' complains about:


root@condor:/root(167)# emerge -pvuDN world

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

Calculating dependencies... done!
[ebuild     U  ] sys-kernel/linux-headers-3.2 [3.1] 4,814 kB
[ebuild   R    ] media-libs/babl-0.1.6  USE="introspection mmx sse (-altivec) -vala%" 0 kB
[ebuild     U  ] net-firewall/fwbuilder-5.0.1.3592 [4.2.2.3541] 0 kB
[ebuild     U  ] app-admin/eselect-ruby-20120106 [20100603] 2 kB
[ebuild  N     ] dev-java/ws-commons-util-1.0.1  USE="-source -test" 25 kB
[ebuild     U  ] sys-apps/coreutils-8.15 [8.14] USE="acl gmp nls unicode xattr -caps (-selinux) -static -vanilla" 4,832 kB
...
[ebuild  NS    ] dev-util/netbeans-7.1-r1 [7.0.1-r2] USE="-doc" LINGUAS="de fr -af -ar -bg -ca -cs -el -es -gl -hi_IN -id -it -ja -ko -lt -nl -pl -pt_BR -pt_PT -ro -ru -si -sq -sr -sv -ta_IN -l -tr -vi -zh_CN -zh_TW" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy java mobility php profiler websvccommon -javacard -javafx" 13,032 kB
[blocks B      ] app-misc/realpath ("app-misc/realpath" is blocking sys-apps/coreutils-8.15)

Total: 29 packages (10 upgrades, 1 new, 16 in new slots, 2 reinstalls), Size of downloads: 249,425 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/coreutils-8.15::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-apps/coreutils-8.5 required by (dev-util/quilt-0.50::gentoo, installed)
    >=sys-apps/coreutils-5.0.91-r4 required by (app-backup/rsnapshot-1.3.1-r1::gentoo, installed)
    sys-apps/coreutils required by (app-admin/eselect-1.2.18-r1::science, installed)
    sys-apps/coreutils required by (net-analyzer/nmbscan-1.2.5::gentoo, installed)
    >=sys-apps/coreutils-8.15 required by (app-portage/gentoolkit-0.3.0.4-r5::gentoo, installed)
    >=sys-apps/coreutils-6.4 required by (sys-apps/portage-2.1.10.44::gentoo, installed)
    >=sys-apps/coreutils-6.10-r1 required by (app-text/a2ps-4.14-r2::gentoo, installed)
    sys-apps/coreutils required by @system
    >=sys-apps/coreutils-6.10-r1 required by (sys-apps/debianutils-4.1::gentoo, installed)
    >=sys-apps/coreutils-8.15 required by (app-admin/perl-cleaner-2.10::gentoo, installed)

  (app-misc/realpath-1.16::gentoo, installed) pulled in by
    app-misc/realpath required by @selected


At other systems with installed app-misc/realpath as dependency 'emerge world' does not complain. So I deleted app-misc/realpath and 'emerge world' does no more complain:

root@condor:/root(175)# emerge -C realpath
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

 app-misc/realpath
    selected: 1.16 
   protected: none 
     omitted: none 
...

root@condor:/root(176)# emerge -pvuDN world

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

Calculating dependencies... done!
[ebuild     U  ] sys-kernel/linux-headers-3.2 [3.1] 4,814 kB
[ebuild   R    ] media-libs/babl-0.1.6  USE="introspection mmx sse (-altivec) -vala%" 0 kB
[ebuild     U  ] net-firewall/fwbuilder-5.0.1.3592 [4.2.2.3541] 0 kB
[ebuild     U  ] app-admin/eselect-ruby-20120106 [20100603] 2 kB
[ebuild  N     ] dev-java/ws-commons-util-1.0.1  USE="-source -test" 25 kB
[ebuild     U  ] sys-apps/coreutils-8.15 [8.14] USE="acl gmp nls unicode xattr -caps (-selinux) -static -vanilla" 4,832 kB
[ebuild  NS    ] dev-java/netbeans-platform-7.1 [7.0.1] 169,238 kB
[ebuild  NS    ] dev-java/netbeans-harness-7.1 [7.0.1] 0 kB
[ebuild   R    ] media-libs/gegl-0.1.8  USE="cairo exif ffmpeg graphviz jpeg jpeg2k lua mmx openexr png sdl sse svg -debug -introspection -lensfun -raw -umfpack -v4l -vala%" 0 kB
[ebuild     U  ] dev-vcs/monotone-1.0-r3 [1.0-r1] USE="doc ipv6 nls -test" 0 kB
[ebuild     U  ] dev-python/pyfits-3.0.4 [2.4.0] USE="-test%" 642 kB
[ebuild     U  ] sys-libs/gwenhywfar-4.3.1 [4.2.1] USE="doc gtk qt4 -debug -fox" 2,292 kB
[ebuild     U  ] sys-apps/openrc-0.9.8 [0.9.7] USE="ncurses pam unicode -debug (-selinux) -static-libs" 163 kB
[ebuild     U  ] dev-lang/php-5.4.0_rc5 [5.4.0_rc4] USE="apache2 berkdb bzip2 calendar cgi cli crypt ctype curl doc exif fileinfo filter gd gdbm gmp hash iconv imap ipv6 json kerberos ldap mysql mysqli nls odbc pdo phar posix postgres readline session simplexml snmp soap sockets spell sqlite3 ssl threads tidy tokenizer truetype unicode xml xmlreader xmlrpc xpm zlib -bcmath -cdb -cjk -curlwrappers -debug -embed -enchant -firebird -flatfile -fpm (-frontbase) -ftp -inifile -intl -iodbc -kolab -ldap-sasl -libedit -mhash -mssql -mysqlnd -oci8-instant-client -pcntl -pic -qdbm -recode -sharedmem (-sybase-ct) -sysvipc -wddx -xmlwriter -xsl -zip" 11,189 kB
[ebuild     U  ] dev-vcs/git-1.7.8.3 [1.7.8.2] USE="blksha1 cgi curl doc emacs gtk iconv perl python subversion threads tk webdav -cvs (-ppcsha1) -xinetd" 5,605 kB
[ebuild  NS    ] dev-java/netbeans-ide-7.1 [7.0.1] 7,969 kB
[ebuild  NS    ] dev-java/netbeans-websvccommon-7.1 [7.0.1] 0 kB
[ebuild  NS    ] dev-java/netbeans-nb-7.1 [7.0.1] USE="-keychain" 0 kB
[ebuild  NS    ] dev-java/netbeans-dlight-7.1 [7.0.1] 0 kB
[ebuild  NS    ] dev-java/netbeans-java-7.1 [7.0.1] 13,242 kB
[ebuild  NS    ] dev-java/netbeans-cnd-7.1 [7.0.1] 2,015 kB
[ebuild  NS    ] dev-java/netbeans-ergonomics-7.1 [7.0.1] 0 kB
[ebuild  NS    ] dev-java/netbeans-php-7.1 [7.0.1] 488 kB
[ebuild  NS    ] dev-java/netbeans-profiler-7.1 [7.0.1] 0 kB
[ebuild  NS    ] dev-java/netbeans-apisupport-7.1 [7.0.1] 0 kB
[ebuild  NS    ] dev-java/netbeans-groovy-7.1 [7.0.1] 0 kB
[ebuild  NS    ] dev-java/netbeans-enterprise-7.1 [7.0.1] 12,137 kB
[ebuild  NS    ] dev-java/netbeans-mobility-7.1 [7.0.1] 1,750 kB
[ebuild  NS    ] dev-util/netbeans-7.1-r1 [7.0.1-r2] USE="-doc" LINGUAS="de fr -af -ar -bg -ca -cs -el -es -gl -hi_IN -id -it -ja -ko -lt -nl -pl -pt_BR -pt_PT -ro -ru -si -sq -sr -sv -ta_IN -tl -tr -vi -zh_CN -zh_TW" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy java mobility php profiler websvccommon -javacard -javafx" 13,032 kB

Total: 29 packages (10 upgrades, 1 new, 16 in new slots, 2 reinstalls), Size of downloads: 249,425 kB
Comment 5 Derk W te Bokkel 2012-01-07 11:47:35 UTC
Re: comment 3 

eselect already has coreutils as the first optional dependency  realpath

as per:

|| (
		sys-apps/coreutils
		sys-freebsd/freebsd-bin
		app-misc/realpath
	)

from the eselect ebuild ( this should be a partial fix for the other ebuilds as well not tested as yet)  the finesse is forcing >=coreutils-8.15  which perhaps is done this way:


|| (
		>=sys-apps/coreutils-8.15
		sys-freebsd/freebsd-bin
		app-misc/realpath
	)

as per comment 4

I tried the same just runinstalling realpath but as the ebuilds were not fixed it got pulled in again as a blocker..
Comment 6 Derk W te Bokkel 2012-01-07 12:30:32 UTC
okay I tested the fixes as outlined in comment 5 they seem to work at least for emerging .. only issue is that a revbump for the modified files is needed .. as the installed versions pull in realpath .. removing the original installs for perl-cleaner and gentoolkit worked for me .. the common-lisp-controller I don't use so it was not tested but no reason that it can't work too..
Comment 7 Jory A. Pratt gentoo-dev 2012-01-07 13:58:10 UTC
*** Bug 397999 has been marked as a duplicate of this bug. ***
Comment 8 Derk W te Bokkel 2012-01-07 15:56:26 UTC
further testing and all seems well .. can a dev fix the relevant ebuilds .. some modification of 

app-admin/eselect 

may also be necessary as realpath was apparently just added to coreutils-8.15 as per changelog in coreutils-8.15 tar ball
Comment 9 Derk W te Bokkel 2012-01-08 17:56:46 UTC
fix is apparently now in the tree
Comment 10 thunderrd 2012-01-10 13:54:39 UTC
I don't see it.  Emerge is not showing any revision to coreutils or to realpath. 

app-misc/realpath ("app-misc/realpath" is blocking sys-apps/coreutils-8.15) *still*

Am I missing something here?
Comment 11 Derk W te Bokkel 2012-01-10 14:23:55 UTC
um the fix has been in the tree since jan 6, 2012 .. this effects mostly ~amd64 so only current ~amd64 packages have the fix .. have you got a mixed amd64/~amd64 system?

I would suggest uninstalling realpath then trying to emerge coreutils-8.15 ..
Comment 12 thunderrd 2012-01-11 04:53:12 UTC
Thank you.  I didn't read one of the prior posts carefully enough, now I see that the realpath package isn't needed anymore with a working core-utils package.