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

Bug 582854

Summary: app-admin/mongo-tools-3.2.10 installs files with TEXTRELs
Product: Gentoo Linux Reporter: runtarod
Component: Current packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal CC: bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to build.sh to build PIEs
mongo-tools-3.2.10-pie.patch

Description runtarod 2016-05-12 19:10:26 UTC
Created attachment 434104 [details, diff]
Patch to build.sh to build PIEs

The following files have TEXTRELs :
* /usr/bin/bsondump
* /usr/bin/mongodump
* /usr/bin/mongoexport
* /usr/bin/mongofiles
* /usr/bin/mongoimport
* /usr/bin/mongooplog
* /usr/bin/mongorestore
* /usr/bin/mongostat
* /usr/bin/mongotop

Go doesn't build PIEs by default. Attached is a patch that replaces the current mongo-tools-3.2.5-build.patch to build PIEs instead.

From what I saw (https://golang.org/src/cmd/go/build.go#L375), this is however currently incompatible with gccgo.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2016-11-15 16:22:09 UTC
Created attachment 453390 [details, diff]
mongo-tools-3.2.10-pie.patch

Forward porting your patch from 3.2.5 to 3.2.10
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2016-11-15 16:42:47 UTC
That is in the tree now, thank you for your contribution to Gentoo Linux :)