-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
-
Blocks app-emulation/distrobuilder
when i try emerge distrobuildier i recive error with go modules
```
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-emulation/distrobuilder-2.1::dev-kit
>>> Failed to emerge app-emulation/distrobuilder-2.1, Log file:
>>> '/var/tmp/portage/app-emulation/distrobuilder-2.1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.31, 0.18, 0.12
* Package: app-emulation/distrobuilder-2.1
* Repository: dev-kit
* USE: amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 6.1.12_p1-debian-sources
* Checking for suitable kernel configuration options...
[ ok ]
>>> Unpacking source...
>>> Unpacking distrobuilder-2.1.tar.gz to /var/tmp/portage/app-emulation/distrobuilder-2.1/work
/var/tmp/portage/app-emulation/distrobuilder-2.1/temp/environment: line 463: cd: /var/tmp/portage/app-emulation/distrobuilder-2.1/work/distrobuilder-2.1: No such file or directory
* Tidying go.mod/go.sum
* ERROR: app-emulation/distrobuilder-2.1::dev-kit failed (unpack phase):
* Failed to tidy go.mod/go.sum: go: go.mod file not found in current directory or any parent directory; see 'go help modules'
*
* Call stack:
* ebuild.sh, line 93: Called src_unpack
* environment, line 1963: Called go-module_src_unpack
* environment, line 1503: Called _go-module_src_unpack_gosum
* environment, line 418: Called _go-module_src_unpack_verify_gosum
* environment, line 467: Called die
* The specific snippet of code:
* die "Failed to tidy go.mod/go.sum: ${_go_mod_tidy_output}";
*
* If you need support, post the output of `emerge --info '=app-emulation/distrobuilder-2.1::dev-kit'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/distrobuilder-2.1::dev-kit'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/distrobuilder-2.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/distrobuilder-2.1/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/distrobuilder-2.1/work'
* S: '/var/tmp/portage/app-emulation/distrobuilder-2.1/work/distrobuilder-2.1
```