public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: whiteman808 <whiteman808@paraboletancza.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] src_install: dobin failed while merging ebuild
Date: Sun, 17 Nov 2024 15:37:53 +0100	[thread overview]
Message-ID: <eitp6w2kgipgi6d2aim3tbiqs2unqewtru23ytfma7ykdmdrtp@hmtjivljko4h> (raw)
In-Reply-To: <f07b5d81-e579-4ab7-835e-0834a124d7b4@gentoo.org> <f07b5d81-e579-4ab7-835e-0834a124d7b4@gentoo.org>

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:

^[[32m * ^[[39;49;00mPackage:    net-mail/goimapnotify-2.4:0
^[[32m * ^[[39;49;00mRepository: whiteman808
^[[32m * ^[[39;49;00mMaintainer: whiteman808@paraboletancza.org
^[[32m * ^[[39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux systemd
^[[32m * ^[[39;49;00mFEATURES:   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/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
 ^[[31;01m*^[[0m ERROR: net-mail/goimapnotify-2.4::whiteman808 failed (unpack phase):
 ^[[31;01m*^[[0m   go mod verify failed
 ^[[31;01m*^[[0m 
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line  136:  Called src_unpack
 ^[[31;01m*^[[0m   environment, line 1976:  Called go-module_src_unpack
 ^[[31;01m*^[[0m   environment, line 1580:  Called ego 'mod' 'verify'
 ^[[31;01m*^[[0m   environment, line  889:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       "$@" || die -n "${*} failed"
 ^[[31;01m*^[[0m 
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=net-mail/goimapnotify-2.4::whiteman808'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=net-mail/goimapnotify-2.4::whiteman808'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/net-mail/goimapnotify-2.4/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/net-mail/goimapnotify-2.4/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/net-mail/goimapnotify-2.4/work/goimapnotify-2.4'
 ^[[31;01m*^[[0m 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.


  reply	other threads:[~2024-11-17 14:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-17  7:22 [gentoo-user] src_install: dobin failed while merging ebuild whiteman808
2024-11-17  7:55 ` Matt Jolly
2024-11-17 14:37   ` whiteman808 [this message]
2024-11-17 15:12     ` Michael
2024-11-17 18:29       ` whiteman808

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=eitp6w2kgipgi6d2aim3tbiqs2unqewtru23ytfma7ykdmdrtp@hmtjivljko4h \
    --to=whiteman808@paraboletancza.org \
    --cc=gentoo-user@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox