Hello,
On 17 Nov 2024, 17:55:38, Matt Jolly wrote:
Hi,
On 17/11/24 17:22, whiteman808 wrote:
I need help with writing ebuild. Ebuild fails to merge.
Necessary information is located in attachments.
I haven't actually built this, but if dobin is failing after this step:
cp $WORK/b001/exe/a.out goimapnotify
Where is goimapnotify actually being copied to? If you run
`ebuild foo-1.2.3.ebuild compile` and inspect ${S} (the workdir)
where is this file?
dobin is relative to ${S}; you probably just need to adjust that path.
Let me know how you go with those hints.
Cheers,
Matt
Merging as non-root user with FEATURES="fakeroot" works. But sudo emerge goimapnotify fails with:
* Package: net-mail/goimapnotify-2.4:0
* Repository: whiteman808
* Maintainer:
[email protected]
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux systemd
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
Unpacking source...
Unpacking goimapnotify-2.4.tar.bz2 to /var/tmp/portage/net-mail/goimapnotify-2.4/work
go mod verify
go: github.com/emersion/
[email protected]: Get "
https://proxy.golang.org/github.com/emersion/go-imap/@v/v1.2.1.mod": dial tcp: lookup proxy.golang.org on [2a00:f41:5812:9793::ba]:53: dial udp [2a00:f41:5812:9793::ba]:53: connect: network is unreachable
* ERROR: net-mail/goimapnotify-2.4::whiteman808 failed (unpack phase):
* go mod verify failed
*
* Call stack:
* ebuild.sh, line 136: Called src_unpack
* environment, line 1976: Called go-module_src_unpack
* environment, line 1580: Called ego 'mod' 'verify'
* environment, line 889: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
*
* If you need support, post the output of `emerge --info '=net-mail/goimapnotify-2.4::whiteman808'`,
* the complete build log and the output of `emerge -pqv '=net-mail/goimapnotify-2.4::whiteman808'`.
* The complete build log is located at '/var/tmp/portage/net-mail/goimapnotify-2.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-mail/goimapnotify-2.4/temp/environment'.
* Working directory: '/var/tmp/portage/net-mail/goimapnotify-2.4/work/goimapnotify-2.4'
* S: '/var/tmp/portage/net-mail/goimapnotify-2.4/work/goimapnotify-2.4'
I will be happy if you help me fix this issue.
Thank you,
whiteman808.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)