Your message dated Tue, 01 Mar 2016 07:27:05 +0000
with message-id <[email protected]>
and subject line Bug#807138: fixed in golang 2:1.6-1
has caused the Debian Bug report #807138,
regarding golang: gccgo triggers ar warning message when invoked as "go 
-compiler=gccgo"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
807138: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807138
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: golang
Version: 2:1.5.1-4
Severity: normal
Tags: upstream patch

Whenever gccgo is used via the /usr/bin/go command, it calls "ar cru ...",
which causes this warning:
    $ go build -compiler=gccgo
    # github.com/ecc1/primes
    ar: `u' modifier ignored since `D' is the default (see `U')

Details:
    $ go build -x -compiler=gccgo
    WORK=/tmp/go-build529072590
    mkdir -p $WORK/github.com/ecc1/primes/_obj/
    mkdir -p $WORK/github.com/ecc1/primes/_obj/exe/
    cd /home/ecc/go/src/github.com/ecc1/primes
    /usr/bin/gccgo -I $WORK -c -g -m64 
-fgo-relative-import-path=_/home/ecc/go/src/github.com/ecc1/primes -o 
$WORK/github.com/ecc1/primes/_obj/_go_.o ./primes.go
    ar cru $WORK/github.com/ecc1/libprimes.a 
$WORK/github.com/ecc1/primes/_obj/_go_.o
    # github.com/ecc1/primes
    ar: `u' modifier ignored since `D' is the default (see `U')
    cd .
    /usr/bin/gccgo -o $WORK/github.com/ecc1/primes/_obj/exe/a.out 
$WORK/github.com/ecc1/primes/_obj/_go_.o -Wl,-( -m64 -Wl,-)
    mv $WORK/github.com/ecc1/primes/_obj/exe/a.out primes

The attached patch simply uses "ar cr" instead.  The extra I/O for
unchanged archive members is probably negligible.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gccgo depends on:
ii  cpp      4:5.2.1-8
ii  gcc      4:5.2.1-8
ii  gccgo-5  5.2.1-23

gccgo recommends no packages.

Versions of packages gccgo suggests:
pn  gccgo-multilib  <none>

-- no debconf information

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages golang depends on:
ii  golang-doc  2:1.5.1-4
ii  golang-go   2:1.5.1-4
ii  golang-src  2:1.5.1-4

golang recommends no packages.

golang suggests no packages.

-- no debconf information
--- src/cmd/go/build.go~	2015-09-08 21:24:01.000000000 -0400
+++ src/cmd/go/build.go	2015-12-05 14:08:48.360369642 -0500
@@ -2448,7 +2448,7 @@
 	for _, f := range ofiles {
 		absOfiles = append(absOfiles, mkAbs(objDir, f))
 	}
-	return b.run(p.Dir, p.ImportPath, nil, "ar", "cru", mkAbs(objDir, afile), absOfiles)
+	return b.run(p.Dir, p.ImportPath, nil, "ar", "cr", mkAbs(objDir, afile), absOfiles)
 }
 
 func (tools gccgoToolchain) ld(b *builder, root *action, out string, allactions []*action, mainpkg string, ofiles []string) error {

--- End Message ---
--- Begin Message ---
Source: golang
Source-Version: 2:1.6-1

We believe that the bug you reported is fixed in the latest version of
golang, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tianon Gravi <[email protected]> (supplier of updated golang package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 29 Feb 2016 16:10:32 -0800
Source: golang
Binary: golang-go golang-src golang-doc golang
Architecture: source
Version: 2:1.6-1
Distribution: unstable
Urgency: medium
Maintainer: Go Compiler Team <[email protected]>
Changed-By: Tianon Gravi <[email protected]>
Description:
 golang     - Go programming language compiler - metapackage
 golang-doc - Go programming language - documentation
 golang-go  - Go programming language compiler, linker, compiled stdlib
 golang-src - Go programming language - source files
Closes: 734357 807138 807290 807294 807299 807303 807304 814849
Changes:
 golang (2:1.6-1) unstable; urgency=medium
 .
   * Update to 1.6 upstream release (thanks Hilko!)
     - change "ar" arguments to quiet spurious warnings while using gccgo
       (Closes: #807138)
     - skip multicast listen test (Closes: #814849)
     - skip userns tests when chrooted (Closes: #807303)
     - use correct ELF header for armhf binaries (Closes: #734357)
     - Update debian/rules clean for new location of generated file.
 .
   [ Michael Hudson-Doyle ]
   * Respect "nocheck" in DEB_BUILD_OPTIONS while building to skip tests
     (Closes: #807290)
   * Trim Build-Depends (Closes: #807299)
   * Fix several minor debian/copyright issues (Closes: #807304)
   * Remove inconsistently included race-built packages (Closes: #807294)
 .
   [ Tianon Gravi ]
   * Add "-k" to "run.bash" invocation so that we do a full test run every time
Checksums-Sha1:
 a1de9a062a303353ed7fdb26995c906b809bdabe 2256 golang_1.6-1.dsc
 3282b6cb1e491662f7067544605d8cbf6f016553 12613308 golang_1.6.orig.tar.gz
 c38dd315a3bcb1e0ce549632d30dfe3bb232a75f 37472 golang_1.6-1.debian.tar.xz
Checksums-Sha256:
 a8f5be603b590c4520a5ace48ceeaa1bb015453dda184accac87806c4e6cea85 2256 
golang_1.6-1.dsc
 a96cce8ce43a9bf9b2a4c7d470bc7ee0cb00410da815980681c8353218dcf146 12613308 
golang_1.6.orig.tar.gz
 f6af298cce7811b34e6d8f39331d00ca0334f8183fa014c716197f5e102af04e 37472 
golang_1.6-1.debian.tar.xz
Files:
 e08a3a8cdd4a3fa79a8438236d641f8c 2256 devel optional golang_1.6-1.dsc
 e67833ea37fbc002fbe38efe6c1bcd98 12613308 devel optional golang_1.6.orig.tar.gz
 6b2b20185c46d7fd4fb1c7f5481f61bf 37472 devel optional 
golang_1.6-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJW1N40AAoJEANqnCW/NX3Uu8YP/AyfiroY7WzPtdLP3xR1Ia52
GfhgMMst31IdpwHzJXPStwMlWC1BRbFG8e9/K/OATRQPuzhmsLeUu4W86zkc1VHy
U/Ui5MmgqroRo0ECIuhDAlzzJfJDmxoGqFA02jMqKK4SOVJUcztWvWTXAL2ZuJfK
rJaylPVC9Xe9aQjrpFRwxxEat1TYkEuwsNMI6I1Uoh31j5qzPD8DgJh5bO+rWNZt
YaTB1lt/ypMSWBP5kGvLFjucQiyqZkO7EvMkodTs+ZZ5IZqfiFmOaiQ+OVKBBDUT
TtG93QSc9PHrnY8+nSRYP5RnyrFDJlRYlmZ8xb7+dMuf65qtSy6dwdai8aCNp9Dc
NaVP8dTX9lnEmTMonkSEJXBFj2dEGCqpAn5d/gdcFls3sK7xc+pQoiSuSdCzMn3k
y+hC3WNhDpNpNxbzfrbjIbnkVyyLm7YXXnxuVgShRAjXzmmZHuJ4+c28KrNa7VbC
0lN8p/Mx+TQo76GHFKik+zsFn7FqnKtM8uJscQBE70M9y7vfFZSUgyxFU5NusHMQ
FcgnkIsARQKJr2u4wVr8IFIjpscGLD/XkhKG9Sv1fzjULo2f+Gq0mC11J3WhM+m9
nrfqQiesIu8LuRZ3AdyayJfRiNdCsez7PDr7BaHIf4ckHmOhgEl+JiZxYGU7LMJL
56F31AdGCtfKjkF3rJuZ
=HW7K
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to