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

Bug 463546

Summary: dev-lang/go-1.0.3: fails multilib strict check
Product: Gentoo Linux Reporter: Peter Volkov (RETIRED) <pva>
Component: New packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: go-1.0.3-multilib.patch
go-1.1.ebuild.patch

Description Peter Volkov (RETIRED) gentoo-dev 2013-03-27 22:09:41 UTC
Created attachment 343476 [details]
go-1.0.3-multilib.patch

dev-lang/go fails to build on amd64 system due to multilib ignorance:

Files matching a file type that is not allowed:
   usr/lib/go/pkg/tool/linux_amd64/6l
   usr/lib/go/pkg/tool/linux_amd64/pack
   usr/lib/go/pkg/tool/linux_amd64/6a
   usr/lib/go/pkg/tool/linux_amd64/6c
   usr/lib/go/pkg/tool/linux_amd64/addr2line
   usr/lib/go/pkg/tool/linux_amd64/objdump
   usr/lib/go/pkg/tool/linux_amd64/6g
   usr/lib/go/pkg/tool/linux_amd64/dist
   usr/lib/go/pkg/tool/linux_amd64/nm
 * ERROR: dev-lang/go-1.0.3 failed:
 *   multilib-strict check failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 1294:  Called install_qa_check
 *   misc-functions.sh, line  842:  Called die
 * The specific snippet of code:
 *   		[[ ${abort} == yes ]] && die "multilib-strict check failed!"


Patch in attachment, please, go! :)

And it's really nice language )
Comment 1 William Hubbs gentoo-dev 2013-04-16 16:05:37 UTC
This now should pass the multilib-strict check.
I did not use your patch, because anything under lib64 is supposed to be
libraries only, and these files are binaries. Instead, I added the tool
directory to QA_MULTILIB_PATHS.

Please re-open if this still fails.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2013-05-20 12:18:29 UTC
Nope, it still fails to build :)
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2013-05-20 12:19:32 UTC
Created attachment 348732 [details, diff]
go-1.1.ebuild.patch
Comment 4 William Hubbs gentoo-dev 2013-05-20 16:54:43 UTC
This is now in the tree. Thanks much for the report.