start stripping binaries

Bug #1561343 reported by Michael Hudson-Doyle on 2016-03-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-1.6 (Ubuntu)
Michael Hudson-Doyle

Bug Description

There's no reason not to and they make the packages big.

Michael Hudson-Doyle (mwhudson) wrote :

Remember to remove the lintian suppressions when I do this.

Changed in golang-1.6 (Ubuntu):
assignee: nobody → Michael Hudson-Doyle (mwhudson)
Michael Hudson-Doyle (mwhudson) wrote :

Bah, not trivial:

dh_strip debug symbol extraction: enabling -a because /CurrentlyBuilding doesn't exist
dh_strip debug symbol extraction: all non-arch-all packages for this build platform amd64: golang-1.6-go golang-1.6-src
dh_strip debug symbol extraction: packages to act on: golang-1.6-go golang-1.6-src
dh_strip debug symbol extraction: ignored packages:
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
/usr/bin/pkg_create_dbgsym: deferring build of .ddeb to dh_gencontrol
objcopy: Unable to recognise the format of the input file `./usr/share/go-1.6/src/debug/elf/testdata/go-relocation-test-gcc492-arm.obj'
objcopy --only-keep-debug failed on /«PKGBUILDDIR»/debian/golang-1.6-src/usr/share/go-1.6/src/debug/elf/testdata/go-relocation-test-gcc492-arm.obj
make: *** [binary] Error 1

Michael Hudson-Doyle (mwhudson) wrote :

Which, btw, doesn't happen in Debian.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package golang-1.6 - 1.6-0ubuntu2

golang-1.6 (1.6-0ubuntu2) xenial; urgency=medium

  * Update d/patches/0001-s390x-port.patch from IBM's repo. (LP: #1561271)
  * Strip the binaries as it has worked for the last five years or so and
    upstream sees no reason to disable it. (LP: #1561343)
  * Remove Breaks/Replaces of trusty golang packages (moves to golang-defaults).
  * Recommend golang-X.Y-race-detector-runtime rather than unversioned package.

 -- Michael Hudson-Doyle <email address hidden> Wed, 23 Mar 2016 20:10:13 +1300

Changed in golang-1.6 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers