Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593222 - --with-bdeps y world struggles over old dev-lang/go produced binaries
Summary: --with-bdeps y world struggles over old dev-lang/go produced binaries
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 300071
  Show dependency tree
 
Reported: 2016-09-08 16:36 UTC by Wolfgang Goetz
Modified: 2019-03-23 16:24 UTC (History)
1 user (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 Wolfgang Goetz 2016-09-08 16:36:51 UTC
no automatic upgrade of packages build with old dev-lang/go

have to _manually_ emerge them 


Reproducible: Always

Steps to Reproduce:
1. emerge new dev-lang/go
2. emerge world --with-bdeps y --verbose-conflicts
3. watch for old dev-lang/go binaries reported
Actual Results:  
sudo emerge -auvDN world --with-bdeps y --verbose-conflicts
Password: 

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

Calculating dependencies... done!
[ebuild     UD ] dev-lang/go-1.6.3:0/1.6.3::gentoo [1.7:0/1.7::gentoo] USE="(-gccgo)" 0 KiB

Total: 1 package (1 downgrade), Size of downloads: 0 KiB

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

dev-lang/go:0

  (dev-lang/go-1.7:0/1.7::gentoo, installed) pulled in by
    >=dev-lang/go-1.4.2:0/1.7= required by (app-emulation/docker-1.12.1:0/0::gentoo, installed)
                       ^^^^^^^                                                                                                     
    >=dev-lang/go-1.4.2:0/1.7= required by (dev-go/go-crypto-0_pre20160126:0/0_pre20160126::gentoo, installed)
                       ^^^^^^^                                                                                                                    

  (dev-lang/go-1.6.3:0/1.6.3::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-lang/go-1.4.2:0/1.6.3= required by (dev-go/go-tour-0_p20160209:0/0::gentoo, installed)
                       ^^^^^^^^^                                                                                                    
    >=dev-lang/go-1.4.2:0/1.6.3= required by (app-emulation/containerd-0.2.2_p20160622:0/0::gentoo, installed)
                       ^^^^^^^^^                                                                                                                  
    >=dev-lang/go-1.4.2:0/1.6.3= required by (dev-go/go-text-0_pre20160211:0/0_pre20160211::gentoo, installed)
                       ^^^^^^^^^                                                                                                                  
    >=dev-lang/go-1.4.2:0/1.6.3= required by (dev-go/go-tools-0_pre20160220:0/0_pre20160220::gentoo, installed)
                       ^^^^^^^^^                                                                                                                   
    >=dev-lang/go-1.4.2:0/1.6.3= required by (dev-go/go-net-0_pre20160216:0/0_pre20160216::gentoo, installed)
                       ^^^^^^^^^                                                                                                                 
    >=dev-lang/go-1.4.2:0/1.6.3= required by (dev-go/sanitized-anchor-name-0_pre20151027:0/0::gentoo, installed)
                       ^^^^^^^^^                                                                                                                    
    >=dev-lang/go-1.4.2:0/1.6.3= required by (dev-go/go-md2man-1.0.3:0/0::gentoo, installed)
                       ^^^^^^^^^                                                                                                
    >=dev-lang/go-1.4.2:0/1.6.3= required by (app-emulation/runc-1.0.0_rc1:0/0::gentoo, installed)
                       ^^^^^^^^^                                                                                                      
    >=dev-lang/go-1.4.2:0/1.6.3= required by (dev-go/blackfriday-1.2_p20150720:0/0::gentoo, installed)
                       ^^^^^^^^^                                                                                                          


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. 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.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


Expected Results:  
sudo emerge -auvDN world --with-bdeps y --verbose-conflicts

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

Nothing to merge; quitting.



To get out of this:
emerge all reported packages compiled with non-actual dev-lang/go

here:sudo emerge -1 app-emulation/containerd dev-go/go-text dev-go/go-tools dev-go/go-net dev-go/sanitized-anchor-name dev-go/go-md2man app-emulation/runc dev-go/blackfriday

then again emerge for world with bdeps: OK .. see 'Expected Results' above!
Comment 1 Zac Medico gentoo-dev 2016-09-08 16:49:50 UTC
If you can still reproduce it then please attach a debug log created as follows:

emerge -puvDN world --with-bdeps y --verbose-conflicts --debug > debug.log 2>&1
Comment 2 Wolfgang Goetz 2016-09-08 20:40:31 UTC
not reproducible!
dependencies are now rebuild without fuzz. --> RESOLVED

i did: 
fallback to dev-lang/go-1.6.3
emerge all dependent packages (emerge -1 app-emulation/containerd ...)
back to dev-lang/go-1.7

no problems any more using -with-bdeps y


the only difference i see is that app-emulation/containerd
now is forced to (~)0.2.3          (runC, docker)

maybe fishy but gone:
app-emulation/containerd-0.2.2_p20160622:0/0::gentoo


anyway...
if that happens again i will do the --debug!

cu
kind regards
Wolfgang
Comment 3 William Hubbs gentoo-dev 2019-03-23 16:24:18 UTC
I am closing this per the last comment.