Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 387551

Summary: media-gfx/freecad-0.11.3729 fails to emerge due to version conflict with swig-2.0.4
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2011-10-18 15:29:52 UTC
'emerge freecad' fails with:
root@moose:/root(69)# emerge -vD freecad

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

Calculating dependencies... done!
[ebuild     UD ] dev-lang/swig-1.3.40-r1 [2.0.4] USE="doc -ccache (-pcre%*)" 4,777 kB
[ebuild  N     ] sci-libs/gts-20100321-r2  USE="doc examples -test" 856 kB
[ebuild  N     ] media-libs/coin-3.1.3-r1  USE="bzip2 doc threads zlib -debug -javascript -openal -simage -static-libs" 5,842 kB
[ebuild  N     ] dev-games/ode-0.11.1  USE="doc examples -debug -double-precision -gyroscopic -static-libs" 1,680 kB
[ebuild  N     ] media-libs/SoQt-1.5.0-r1  USE="doc -debug -static-libs" 1,480 kB
[ebuild  N     ] dev-python/pivy-0.5_alpha20110303  6,143 kB
[ebuild  N     ] media-gfx/freecad-0.11.3729  15,850 kB

Total: 7 packages (1 downgrade, 6 new), Size of downloads: 36,625 kB

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

dev-lang/swig:0

  (dev-lang/swig-2.0.4::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-lang/swig-1.3.40-r1::gentoo, ebuild scheduled for merge) pulled in by
    =dev-lang/swig-1.3* required by (dev-python/pivy-0.5_alpha20110303::gentoo, ebuild scheduled for merge)

I am afraid to mask swig > 1.3.40-r1, because a lot of packages depend on swig and swig was upgraded to swig-2.0 more than one year ago.

Reproducible: Always
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2011-10-18 16:20:05 UTC
The actual issue is with dev-python/pivy , which will not build against the newer swig as per bug 357483 ... (I'm filing this as a dupe of that bug; please re-file if there's a better place for it)


It seems that you could get around this by manually downgrading swig and emerging pivy first, as follows:

emerge -1 =dev-lang/swig-1.3.40-r1 dev-python/pivy

..and then emerge -D freecad, which should update swig in the process.
(It's not pretty but it would work)

*** This bug has been marked as a duplicate of bug 357483 ***
Comment 2 Juergen Rose 2011-10-20 07:16:13 UTC
Thanks Ian,

the first step 'emerge -1 =dev-lang/swig-1.3.40-r1 dev-python/pivy' works fine, but the second step:

root@moose:/usr/src(65)# emerge -vD freecad
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N     ] sci-libs/gts-20100321-r2  USE="doc examples -test" 0 kB [0]
[ebuild  N     ] dev-games/ode-0.11.1  USE="doc examples -debug -double-precision -gyroscopic -static-libs" 0 kB [0]
[ebuild  N     ] media-gfx/freecad-0.11.4422  0 kB [1]

fails with file collision between sci-libs/gts-20100321-r2 and sci-chemistry/apbs-1.3-r1 (/usr/bin/smooth). I filed that as a seperate bug https://bugs.gentoo.org/show_bug.cgi?id=387689 .