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

Bug 563744

Summary: dev-lang/go-1.5.1: /usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec has broken soname dependency on x86_32 libc.so.6
Product: Gentoo Linux Reporter: Zac Medico <zmedico>
Component: [OLD] DevelopmentAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zac Medico gentoo-dev 2015-10-22 03:02:23 UTC
The file /usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec has a broken soname dependency on x86_32 libc.so.6, as shown by emerge --depclean --ignore-built-slot-operator-deps=n:

 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 * 
 *   x86_32: libc.so.6 pulled in by:
 *     dev-lang/go-1.4.2

The corresponding entry from /var/db/pkg/dev-lang/go-1.5.1/NEEDED.ELF.2 appears as follows:

386;/usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec;;;libc.so.6;x86_32

The emerge error can be suppressed by setting the following variable in the ebuilds:

REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec"

We could use a glob instead, as follows:

REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
Comment 1 William Hubbs gentoo-dev 2015-10-22 20:32:57 UTC
This is fixed in commit 15e4ade.
Thanks for the report.