Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947368 - dev-lang/go: build failed
Summary: dev-lang/go: build failed
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-03 04:43 UTC by trakrailysurely
Modified: 2025-01-07 15:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full log (build.log,5.56 KB, text/x-log)
2025-01-03 04:45 UTC, trakrailysurely
Details
full log(2) (build.log,5.87 KB, text/x-log)
2025-01-03 04:50 UTC, trakrailysurely
Details
info (info,18.33 KB, text/plain)
2025-01-03 06:01 UTC, trakrailysurely
Details
environment (environment,79.09 KB, text/plain)
2025-01-07 14:59 UTC, trakrailysurely
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trakrailysurely 2025-01-03 04:43:57 UTC
* ERROR: dev-lang/go-1.23.4::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 1758:  Called die
 * The specific snippet of code:
 *       bash -x ./make.bash || die "build failed"

Reproducible: Always
Comment 1 trakrailysurely 2025-01-03 04:45:59 UTC
Created attachment 915751 [details]
full log
Comment 2 trakrailysurely 2025-01-03 04:50:38 UTC
Created attachment 915752 [details]
full log(2)

one more try build log
Comment 3 account.disabled.Evaib6ong3eiphohWo4j 2025-01-03 05:49:23 UTC
Also include emerge --info dev-lang/go
Comment 4 account.disabled.Evaib6ong3eiphohWo4j 2025-01-03 05:50:22 UTC
(In reply to trakrailysurely from comment #0)
> * ERROR: dev-lang/go-1.23.4::gentoo failed (compile phase):
>  *   build failed
>  * 
>  * Call stack:
>  *     ebuild.sh, line 136:  Called src_compile
>  *   environment, line 1758:  Called die
>  * The specific snippet of code:
>  *       bash -x ./make.bash || die "build failed"
> 
> Reproducible: Always

The actual error is
> go tool dist: FAILED: /var/tmp/portage/dev-lang/go-1.23.4/work/go/pkg/tool/linux_amd64/go_bootstrap install cmd: exit status 1
Comment 5 trakrailysurely 2025-01-03 06:01:08 UTC
Created attachment 915753 [details]
info
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-07 02:37:45 UTC
```
Building packages and commands for linux/amd64.
package cmd/go/internal/lockedfile/internal/filelock: build constraints exclude all Go files in /var/tmp/portage/dev-lang/go-1.23.4/work/go/src/cmd/go/internal/lockedfile/internal/filelock
go tool dist: FAILED: /var/tmp/portage/dev-lang/go-1.23.4/work/go/pkg/tool/linux_amd64/go_bootstrap install cmd: exit status 1
 [31;01m*[0m ERROR: dev-lang/go-1.23.4::gentoo failed (compile phase):
 [31;01m*[0m   build failed
```
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-07 02:38:37 UTC
Could you upload /var/tmp/portage/dev-lang/go-1.23.4/temp/environment too?

Also, anything interesting about your system? Any issues with Go before?
Comment 8 trakrailysurely 2025-01-07 14:59:09 UTC
Created attachment 916070 [details]
environment
Comment 9 trakrailysurely 2025-01-07 15:02:19 UTC
I uploaded the environment.
I had no problems building go before.
I don't know why it's failing.