I need help with writing ebuild. Ebuild fails to merge.I haven't actually built this, but if dobin is failing after this step:
Necessary information is located in attachments.
cp $WORK/b001/exe/a.out goimapnotify
Hi,
On 17/11/24 17:22, whiteman808 wrote:
I need help with writing ebuild. Ebuild fails to merge.I haven't actually built this, but if dobin is failing after this step:
Necessary information is located in attachments.
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
go mod verifyUnpacking source...
Unpacking goimapnotify-2.4.tar.bz2 to /var/tmp/portage/net-mail/goimapnotify-2.4/work
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: whiteman808@paraboletancza.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux
systemd * FEATURES: network-sandbox preserve-libs
sandbox userpriv usersandbox
go mod verifyUnpacking source...
Unpacking goimapnotify-2.4.tar.bz2 to
/var/tmp/portage/net-mail/goimapnotify-2.4/work
go: github.com/emersion/go-imap@v1.2.1: 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
On Sunday 17 November 2024 14:37:53 GMT whiteman808 wrote:
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: whiteman808@paraboletancza.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux
systemd * FEATURES: network-sandbox preserve-libs
sandbox userpriv usersandbox
go mod verifyUnpacking source...
Unpacking goimapnotify-2.4.tar.bz2 to
/var/tmp/portage/net-mail/goimapnotify-2.4/work
go: github.com/emersion/go-imap@v1.2.1: 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
It looks like you have a network problem and in particular DNS resolution (UDP
port 53).
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 146:02:48 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,687 |