From: Simon Tournier <zimon.toutoune@gmail.com>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 25752@debbugs.gnu.org, Hank Donnay <hdonnay@gmail.com>,
cox.katherine.e+guix@gmail.com,
Efraim Flashner <efraim@flashner.co.il>,
Leo Famulari <leo@famulari.name>
Subject: bug#25752: go incremental builds broken
Date: Tue, 17 Oct 2023 00:44:46 +0200 [thread overview]
Message-ID: <86sf6ap4pt.fsf@gmail.com> (raw)
In-Reply-To: <86tu3o73xt.fsf@gmail.com> (zimoun's message of "Fri, 28 Oct 2022 10:22:38 +0200")
Hi Go team,
I was reviewing the status of old bugs and I find bug#25752
https://issues.guix.gnu.org/issue/25752
Since I am not a Go user, is it possible that Go team says if this bug
is still worth keeping open?
On Fri, 28 Oct 2022 at 10:22, zimoun <zimon.toutoune@gmail.com> wrote:
> On Thu, 27 Oct 2022 at 12:21, Maxime Devos <maximedevos@telenet.be> wrote:
>
>> A reproducer was given in
>> <https://issues.guix.gnu.org/25752#0>:
>>
>> guix environment --ad-hoc go -- bash -c 'export t=$(mktemp -d); cd
>> $t && export GOPATH=$(pwd) GOBIN=$(pwd)/bin && go install cmd/go; cd
>> && rm -rf $t'
>
> $ guix shell -C go bash coreutils -- bash -c 'export t=$(mktemp -d); cd $t && export GOPATH=$(pwd) GOBIN=$(pwd)/bin && go install cmd/go; cd && echo $t'
> [...]
>
> # runtime/cgo
> cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH
> /tmp/tmp.srzPbcMLCc
>
> $ guix shell -C go bash coreutils gcc-toolchain -- bash -c 'export t=$(mktemp -d); cd $t && export GOPATH=$(pwd) GOBIN=$(pwd)/bin && go install cmd/go; cd && echo $t'
> [...]
>
> go install cmd/go: copying /tmp/go-build1675975230/b001/exe/a.out: open /gnu/store/82adn4rx1h5fc7zms5g0ymwr8dk060nh-go-1.19.1/lib/go/bin/go: read-only file system
> /tmp/tmp.qOfxzeZDxH
>
> Well, as I am not a Go user, what is the expected result of the command?
>
>
> Efraim commented:
>
> I actually spent a bit of time on this today/yesterday. I
> modified the go-build-system to copy the pkg and src folders
> from build to build (instead of just the src folders) and the
> pkg folders were ignored. Upstream documentation isn't clear
> about when the pkg folder is used and when it is ignored.
>
> <https://issues.guix.gnu.org/25752#7>
Well, as I previously mentioned, I do not know what is the expected
result of the reproduced. :-)
Cheers,
simon
next prev parent reply other threads:[~2023-10-17 8:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-16 15:05 bug#25752: go incremental builds broken Hank Donnay
[not found] ` <handler.25752.B.14872575426869.ack@debbugs.gnu.org>
2017-02-24 19:50 ` bug#25752: Acknowledgement (go incremental builds broken) Hank Donnay
2017-02-25 15:58 ` Leo Famulari
2020-12-18 20:00 ` zimoun
2020-12-18 21:31 ` Leo Famulari
2021-01-11 12:46 ` zimoun
2021-01-11 20:01 ` Efraim Flashner
2021-06-09 21:38 ` zimoun
2021-11-26 1:12 ` zimoun
2021-09-14 10:43 ` bug#25752: go incremental builds broken zimoun
2022-10-26 20:42 ` zimoun
2022-10-27 10:21 ` Maxime Devos
2022-10-28 8:22 ` zimoun
2023-10-16 22:44 ` Simon Tournier [this message]
2017-03-07 21:50 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86sf6ap4pt.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=25752@debbugs.gnu.org \
--cc=cox.katherine.e+guix@gmail.com \
--cc=efraim@flashner.co.il \
--cc=hdonnay@gmail.com \
--cc=leo@famulari.name \
--cc=maximedevos@telenet.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.