GNU bug report logs - #32949
Go 1.11 keeps references to bootstrap Go, many other packages

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Fri, 5 Oct 2018 16:59:01 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32949 in the body.
You can then email your comments to 32949 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#32949; Package guix. (Fri, 05 Oct 2018 16:59:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 05 Oct 2018 16:59:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Go 1.11 keeps references to bootstrap Go, many other packages
Date: Fri, 5 Oct 2018 12:48:51 -0400
[Message part 1 (text/plain, inline)]
We should figure out what's happening here and clean it up as a
prerequisite to switching our default Go to 1.11.

Go 1.11:

$ guix gc --references /gnu/store/4d3gc2qjfi7n87ljs7mbn9y9zplj5spw-go-1.11.1
/gnu/store/2b2md66fbzyspsmd5dj6zkj9hilac40r-tzdata-2018e
/gnu/store/2vggh6ka830b73vaw6mc8krqwk59fw9m-sed-4.5
/gnu/store/4d3gc2qjfi7n87ljs7mbn9y9zplj5spw-go-1.11.1
/gnu/store/5rxdjbk8h0bh1hbaan8y8ib13va2bcmw-net-base-5.3
/gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29
/gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
/gnu/store/b5x786d3h552j2zp4ppvlz9dkbiqy2ng-ld-wrapper-0
/gnu/store/cyw1s5q7s7ql0vwkf34rzjb0cr6w1qnp-findutils-4.6.0
/gnu/store/dk23rrx1nycghfqr32qpcn261pl0gyp4-xz-5.2.3
/gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1
/gnu/store/hxj9mdzhbjxmfj536crfscc0fhwwz4vy-tar-1.30
/gnu/store/i69323v107s0jj1l2vflwji1md537agi-grep-3.1
/gnu/store/iwfrjby868bx7fcc6mfl2z098j21ky5k-diffutils-3.6
/gnu/store/kc3xgspiq86ry6spyw874qk6pbxfpjx2-gzip-1.9
/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27
/gnu/store/mkpys23vssbw4qnmg465s2swmnp49sk3-go-1.4.3
/gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1
/gnu/store/pp0bakrbyv9xmp1kyv2114l19s11b74z-gcc-6.4.0-lib
/gnu/store/q98l02i6wjw3v0x8vbp42ng8wwwxrb4g-patch-2.7.6
/gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32
/gnu/store/qvwvwbfz2hmjm0spz92sn1w3r5r8l2f8-bzip2-1.0.6
/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19
/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30
/gnu/store/vjxqhnn5vf223prpkq6yk3vcjlvqdx15-pkg-config-0.29.2
/gnu/store/zd7wa5llagjg5iqjh2ri2c25j1gpzjz1-which-2.21
/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0

Go 1.9:

$ guix gc --references /gnu/store/j8gs5gh6fkhby3lcajyl07n93rv90i31-go-1.9.7
/gnu/store/2b2md66fbzyspsmd5dj6zkj9hilac40r-tzdata-2018e
/gnu/store/5rxdjbk8h0bh1hbaan8y8ib13va2bcmw-net-base-5.3
/gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29
/gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
/gnu/store/j8gs5gh6fkhby3lcajyl07n93rv90i31-go-1.9.7
/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27
/gnu/store/pp0bakrbyv9xmp1kyv2114l19s11b74z-gcc-6.4.0-lib
/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19
/gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib
/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32949; Package guix. (Fri, 05 Oct 2018 18:09:02 GMT) Full text and rfc822 format available.

Message #8 received at 32949 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 32949 <at> debbugs.gnu.org
Subject: Re: bug#32949: Go 1.11 keeps references to bootstrap Go,
 many other packages
Date: Fri, 5 Oct 2018 20:08:39 +0200
[Message part 1 (text/plain, inline)]
Hello Leo,

Leo Famulari <leo <at> famulari.name> ezt írta (időpont: 2018. okt. 5., P,
19:02):

> We should figure out what's happening here and clean it up as a
> prerequisite to switching our default Go to 1.11.
>
> Go 1.11:
>
> $ guix gc --references
> /gnu/store/4d3gc2qjfi7n87ljs7mbn9y9zplj5spw-go-1.11.1
> /gnu/store/2b2md66fbzyspsmd5dj6zkj9hilac40r-tzdata-2018e
> /gnu/store/2vggh6ka830b73vaw6mc8krqwk59fw9m-sed-4.5
> /gnu/store/4d3gc2qjfi7n87ljs7mbn9y9zplj5spw-go-1.11.1
> /gnu/store/5rxdjbk8h0bh1hbaan8y8ib13va2bcmw-net-base-5.3
> /gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29
> /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
> /gnu/store/b5x786d3h552j2zp4ppvlz9dkbiqy2ng-ld-wrapper-0
> /gnu/store/cyw1s5q7s7ql0vwkf34rzjb0cr6w1qnp-findutils-4.6.0
> /gnu/store/dk23rrx1nycghfqr32qpcn261pl0gyp4-xz-5.2.3
> /gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1
> /gnu/store/hxj9mdzhbjxmfj536crfscc0fhwwz4vy-tar-1.30
> /gnu/store/i69323v107s0jj1l2vflwji1md537agi-grep-3.1
> /gnu/store/iwfrjby868bx7fcc6mfl2z098j21ky5k-diffutils-3.6
> /gnu/store/kc3xgspiq86ry6spyw874qk6pbxfpjx2-gzip-1.9
> /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27
> /gnu/store/mkpys23vssbw4qnmg465s2swmnp49sk3-go-1.4.3
> /gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1
> /gnu/store/pp0bakrbyv9xmp1kyv2114l19s11b74z-gcc-6.4.0-lib
> /gnu/store/q98l02i6wjw3v0x8vbp42ng8wwwxrb4g-patch-2.7.6
> /gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32
> /gnu/store/qvwvwbfz2hmjm0spz92sn1w3r5r8l2f8-bzip2-1.0.6
> /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19
> /gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30
> /gnu/store/vjxqhnn5vf223prpkq6yk3vcjlvqdx15-pkg-config-0.29.2
> /gnu/store/zd7wa5llagjg5iqjh2ri2c25j1gpzjz1-which-2.21
> /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0
>
>
Last time I have seen this kind of thing it was because our strip phase in
gnu-build-system strips only some directories, and
the package had binaries in a directory not on that list, so there remained
references. Could you check if this is the case here?
I was trying to check this myself, but I am having problems with my
network, and the go downloads fail.


> Go 1.9:
>
> $ guix gc --references /gnu/store/j8gs5gh6fkhby3lcajyl07n93rv90i31-go-1.9.7
> /gnu/store/2b2md66fbzyspsmd5dj6zkj9hilac40r-tzdata-2018e
> /gnu/store/5rxdjbk8h0bh1hbaan8y8ib13va2bcmw-net-base-5.3
> /gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29
> /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
> /gnu/store/j8gs5gh6fkhby3lcajyl07n93rv90i31-go-1.9.7
> /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27
> /gnu/store/pp0bakrbyv9xmp1kyv2114l19s11b74z-gcc-6.4.0-lib
> /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19
> /gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib
> /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0
>

Best regards,
g_bor
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32949; Package guix. (Sat, 06 Oct 2018 17:06:01 GMT) Full text and rfc822 format available.

Message #11 received at 32949 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 32949 <at> debbugs.gnu.org
Subject: Re: bug#32949: Go 1.11 keeps references to bootstrap Go,
 many other packages
Date: Sat, 6 Oct 2018 19:05:20 +0200
[Message part 1 (text/plain, inline)]
Hello Leo,

I have found a possible source of the references.
In the package output, in the pkg/obj/go-build directory there are a huge
amount of
test logs, and the bootstrap go is stat-ed during these tests.
See for example the file pkg/obj/go-build/f7/f749...

I'm not very much into go, but I believe, that these should not be needed.

Gábor Boskovits <boskovits <at> gmail.com> ezt írta (időpont: 2018. okt. 5., P,
20:08):

> Hello Leo,
>
> Leo Famulari <leo <at> famulari.name> ezt írta (időpont: 2018. okt. 5., P,
> 19:02):
>
>> We should figure out what's happening here and clean it up as a
>> prerequisite to switching our default Go to 1.11.
>>
>> Go 1.11:
>>
>> $ guix gc --references
>> /gnu/store/4d3gc2qjfi7n87ljs7mbn9y9zplj5spw-go-1.11.1
>> /gnu/store/2b2md66fbzyspsmd5dj6zkj9hilac40r-tzdata-2018e
>> /gnu/store/2vggh6ka830b73vaw6mc8krqwk59fw9m-sed-4.5
>> /gnu/store/4d3gc2qjfi7n87ljs7mbn9y9zplj5spw-go-1.11.1
>> /gnu/store/5rxdjbk8h0bh1hbaan8y8ib13va2bcmw-net-base-5.3
>> /gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29
>> /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
>> /gnu/store/b5x786d3h552j2zp4ppvlz9dkbiqy2ng-ld-wrapper-0
>> /gnu/store/cyw1s5q7s7ql0vwkf34rzjb0cr6w1qnp-findutils-4.6.0
>> /gnu/store/dk23rrx1nycghfqr32qpcn261pl0gyp4-xz-5.2.3
>> /gnu/store/fbalwbm4yqldbfvcpaa2plhk4z7vszlz-gawk-4.2.1
>> /gnu/store/hxj9mdzhbjxmfj536crfscc0fhwwz4vy-tar-1.30
>> /gnu/store/i69323v107s0jj1l2vflwji1md537agi-grep-3.1
>> /gnu/store/iwfrjby868bx7fcc6mfl2z098j21ky5k-diffutils-3.6
>> /gnu/store/kc3xgspiq86ry6spyw874qk6pbxfpjx2-gzip-1.9
>> /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27
>> /gnu/store/mkpys23vssbw4qnmg465s2swmnp49sk3-go-1.4.3
>> /gnu/store/nx21fqlb8jixwhbs83xlfp9a3h5p3g9a-make-4.2.1
>> /gnu/store/pp0bakrbyv9xmp1kyv2114l19s11b74z-gcc-6.4.0-lib
>> /gnu/store/q98l02i6wjw3v0x8vbp42ng8wwwxrb4g-patch-2.7.6
>> /gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32
>> /gnu/store/qvwvwbfz2hmjm0spz92sn1w3r5r8l2f8-bzip2-1.0.6
>> /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19
>> /gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30
>> /gnu/store/vjxqhnn5vf223prpkq6yk3vcjlvqdx15-pkg-config-0.29.2
>> /gnu/store/zd7wa5llagjg5iqjh2ri2c25j1gpzjz1-which-2.21
>> /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0
>>
>>
> Last time I have seen this kind of thing it was because our strip phase in
> gnu-build-system strips only some directories, and
> the package had binaries in a directory not on that list, so there
> remained references. Could you check if this is the case here?
> I was trying to check this myself, but I am having problems with my
> network, and the go downloads fail.
>
>
>> Go 1.9:
>>
>> $ guix gc --references
>> /gnu/store/j8gs5gh6fkhby3lcajyl07n93rv90i31-go-1.9.7
>> /gnu/store/2b2md66fbzyspsmd5dj6zkj9hilac40r-tzdata-2018e
>> /gnu/store/5rxdjbk8h0bh1hbaan8y8ib13va2bcmw-net-base-5.3
>> /gnu/store/63gkgnixg6xj3m9cgl25ib2zxl51ngw0-coreutils-8.29
>> /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
>> /gnu/store/j8gs5gh6fkhby3lcajyl07n93rv90i31-go-1.9.7
>> /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27
>> /gnu/store/pp0bakrbyv9xmp1kyv2114l19s11b74z-gcc-6.4.0-lib
>> /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19
>> /gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib
>> /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0
>>
>
> Best regards,
> g_bor
>

Best regards,
g_bor
[Message part 2 (text/html, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Fri, 02 Nov 2018 03:25:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Fri, 02 Nov 2018 03:25:03 GMT) Full text and rfc822 format available.

Message #16 received at 32949-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Gábor Boskovits <boskovits <at> gmail.com>
Cc: 32949-done <at> debbugs.gnu.org
Subject: Re: bug#32949: Go 1.11 keeps references to bootstrap Go, many other
 packages
Date: Thu, 1 Nov 2018 23:24:15 -0400
[Message part 1 (text/plain, inline)]
On Sat, Oct 06, 2018 at 07:05:20PM +0200, Gábor Boskovits wrote:
> I have found a possible source of the references.
> In the package output, in the pkg/obj/go-build directory there are a huge
> amount of
> test logs, and the bootstrap go is stat-ed during these tests.
> See for example the file pkg/obj/go-build/f7/f749...

Thank you, this was exactly the problem!

Fixed with commit b3325eb306b33541edcb343d75d8457624744375.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Nov 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.