unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32949: Go 1.11 keeps references to bootstrap Go, many other packages
@ 2018-10-05 16:48 Leo Famulari
  2018-10-05 18:08 ` Gábor Boskovits
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-10-05 16:48 UTC (permalink / raw)
  To: 32949

[-- Attachment #1: Type: text/plain, Size: 2316 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32949: Go 1.11 keeps references to bootstrap Go, many other packages
  2018-10-05 16:48 bug#32949: Go 1.11 keeps references to bootstrap Go, many other packages Leo Famulari
@ 2018-10-05 18:08 ` Gábor Boskovits
  2018-10-06 17:05   ` Gábor Boskovits
  0 siblings, 1 reply; 4+ messages in thread
From: Gábor Boskovits @ 2018-10-05 18:08 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 32949

[-- Attachment #1: Type: text/plain, Size: 2951 bytes --]

Hello Leo,

Leo Famulari <leo@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

[-- Attachment #2: Type: text/html, Size: 3505 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32949: Go 1.11 keeps references to bootstrap Go, many other packages
  2018-10-05 18:08 ` Gábor Boskovits
@ 2018-10-06 17:05   ` Gábor Boskovits
  2018-11-02  3:24     ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Gábor Boskovits @ 2018-10-06 17:05 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 32949

[-- Attachment #1: Type: text/plain, Size: 3497 bytes --]

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@gmail.com> ezt írta (időpont: 2018. okt. 5., P,
20:08):

> Hello Leo,
>
> Leo Famulari <leo@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

[-- Attachment #2: Type: text/html, Size: 4325 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32949: Go 1.11 keeps references to bootstrap Go, many other packages
  2018-10-06 17:05   ` Gábor Boskovits
@ 2018-11-02  3:24     ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2018-11-02  3:24 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: 32949-done

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-02  3:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-05 16:48 bug#32949: Go 1.11 keeps references to bootstrap Go, many other packages Leo Famulari
2018-10-05 18:08 ` Gábor Boskovits
2018-10-06 17:05   ` Gábor Boskovits
2018-11-02  3:24     ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).