Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582854 - app-admin/mongo-tools-3.2.10 installs files with TEXTRELs
Summary: app-admin/mongo-tools-3.2.10 installs files with TEXTRELs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-12 19:10 UTC by runtarod
Modified: 2016-11-15 16:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to build.sh to build PIEs (mongo-tools-3.2.5-build-pie.patch,624 bytes, patch)
2016-05-12 19:10 UTC, runtarod
Details | Diff
mongo-tools-3.2.10-pie.patch (mongo-tools-3.2.10-pie.patch,551 bytes, patch)
2016-11-15 16:22 UTC, Tony Vroon (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 :)