Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443614 - Automatic handling of a <net-misc/curl-7.27.0 dependency
Summary: Automatic handling of a <net-misc/curl-7.27.0 dependency
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 12:12 UTC by Petteri Räty (RETIRED)
Modified: 2013-12-18 15:45 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 Petteri Räty (RETIRED) gentoo-dev 2012-11-17 12:12:18 UTC
As also reported in bug 443612 for a related problem:

Running emerge -uDa world I get:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

net-misc/curl:0

  (net-misc/curl-7.26.0::gentoo, ebuild scheduled for merge) pulled in by
    <net-misc/curl-7.27.0 required by (dev-cpp/libcmis-0.1.0-r1::gentoo, ebuild scheduled for merge)

  (net-misc/curl-7.28.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

Portage 2.2.0_alpha142 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.15-r2, 3.6.0-gentoo i686)

The error message seems to be saying there's no requirement to have the later version so I think Portage should just give me 7.26. curl is not tracked by the world file either:

pena portage # grep curl /var/lib/portage/world
pena portage #
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2012-11-17 12:17:45 UTC
If I am quite specific to Portage I get it to do what I want:



pena portage # emerge -pv =libcmis-0.1.0-r1 curl

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

Calculating dependencies... done!
[ebuild     U  ] net-misc/curl-7.26.0 [7.25.0-r1] USE="idn ipv6 ssl -ares -kerberos -ldap -ssh -static-libs {-test} -threads" CURL_SSL="openssl -axtls -cyassl -gnutls -nss -polarssl" 2,366 kB
[ebuild  NS    ] dev-cpp/libcmis-0.1.0-r1:0.2 [0.1.0:0] USE="-static-libs {-test}" 0 kB
[uninstall     ] dev-cpp/libcmis-0.1.0  USE="-static-libs {-test}" 
[blocks b      ] dev-cpp/libcmis:0 ("dev-cpp/libcmis:0" is blocking dev-cpp/libcmis-0.1.0-r1)

Total: 2 packages (1 upgrade, 1 in new slot, 1 uninstall), Size of downloads: 2,366 kB
Conflict: 1 block

WARNING: One or more updates have been skipped due to a dependency conflict:

net-misc/curl:0

  (net-misc/curl-7.28.0-r1::gentoo, ebuild scheduled for merge) conflicts with
    <net-misc/curl-7.27.0 required by (dev-cpp/libcmis-0.1.0-r1::gentoo, ebuild scheduled for merge)
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2012-11-17 12:24:47 UTC
Guess not as trying to do world gives me the same problem. Running with debug here's some more output:

runtime cycle digraph (2 nodes):

(sys-fs/udev-init-scripts-17-r1::gentoo, ebuild scheduled for merge) depends on
  (sys-fs/udev-195::gentoo, ebuild scheduled for merge) (runtime)
(sys-fs/udev-195::gentoo, ebuild scheduled for merge) depends on
  (sys-fs/udev-init-scripts-17-r1::gentoo, ebuild scheduled for merge) (runtime)

Starting slot conflict handler

New configuration:
   (net-misc/curl-7.28.0-r1::gentoo, ebuild scheduled for merge)

(net-misc/curl-7.28.0-r1::gentoo, ebuild scheduled for merge) does not satify all version requirements. Rejecting configuration.

New configuration:
   (net-misc/curl-7.26.0::gentoo, installed)

(net-misc/curl-7.26.0::gentoo, installed) has pending USE changes. Rejecting configuration.

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

net-misc/curl:0

  (net-misc/curl-7.26.0::gentoo, installed) pulled in by
    <net-misc/curl-7.27.0 required by (dev-cpp/libcmis-0.1.0-r1::gentoo, installed)

  (net-misc/curl-7.28.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)
Comment 3 Zac Medico gentoo-dev 2012-11-29 18:19:19 UTC
This must be highly dependent on the --backtrack setting. If you're not using --quiet and your --backtracking setting is between 1 and 30 (default is 10), then it should give you a message like this:

	You may want to try a larger value of the --backtrack option, such as
	--backtrack=30, in order to see if that will solve this conflict
	automatically.
Comment 4 Anthony Basile gentoo-dev 2013-12-18 15:45:12 UTC
<net-misc/curl-7.27.0 is off the tree.  Reopen if this is still happening with newer versions.