From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69C25158164 for ; Sun, 17 Nov 2024 14:38:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA519E0ED0; Sun, 17 Nov 2024 14:37:55 +0000 (UTC) Received: from paraboletancza.org (paraboletancza.org [188.245.184.166]) by pigeon.gentoo.org (Postfix) with ESMTP id 450C9E0EB0 for ; Sun, 17 Nov 2024 14:37:55 +0000 (UTC) Received: from paraboletancza.org (unknown [IPv6:2a00:f41:5812:9793:2a19:6e2f:570c:1fd1]) by paraboletancza.org (Postfix) with ESMTPSA id 3E43D36981E for ; Sun, 17 Nov 2024 14:37:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paraboletancza.org; s=default; t=1731854274; bh=eoFf4ybB17cuNodVUiNYmwA7KCfL7VqKOWHgGMBVDWw=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Vp0piNHc1SzNEpYfd1PFPjJbs5muviVXZMtleI/MrEH9h8dajd0SH/yfYNaiZL/hh uZlrKUTtmhU0ZrVoUJokDkqrI6cL0f6xkd/ZA96BGoilg8t5sP3T1AIR5RmUwms573 CM+s0FZsD43IvyLE5gf18iXdw/dQjd1oI3tm7n4o= Date: Sun, 17 Nov 2024 15:37:53 +0100 From: whiteman808 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] src_install: dobin failed while merging ebuild Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Archives-Salt: 017a5543-485c-48e4-ac14-f3a1ca204fb2 X-Archives-Hash: 7f6aaa5d458ca32db613fb0aeeb86c19 Hello, On 17 Nov 2024, 17:55:38, Matt Jolly wrote: > Hi, >=20 > 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: >=20 > > cp $WORK/b001/exe/a.out goimapnotify >=20 > 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? >=20 > dobin is relative to ${S}; you probably just need to adjust that path. >=20 > Let me know how you go with those hints. >=20 > Cheers, >=20 > Matt >=20 Merging as non-root user with FEATURES=3D"fakeroot" works. But sudo emerge = goimapnotify fails with: =1B[32m * =1B[39;49;00mPackage: net-mail/goimapnotify-2.4:0 =1B[32m * =1B[39;49;00mRepository: whiteman808 =1B[32m * =1B[39;49;00mMaintainer: whiteman808@paraboletancza.org =1B[32m * =1B[39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linu= x systemd =1B[32m * =1B[39;49;00mFEATURES: network-sandbox preserve-libs sandbox us= erpriv usersandbox >>> Unpacking source... >>> Unpacking goimapnotify-2.4.tar.bz2 to /var/tmp/portage/net-mail/goimapn= otify-2.4/work go mod verify go: github.com/emersion/go-imap@v1.2.1: Get "https://proxy.golang.org/githu= b.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 =1B[31;01m*=1B[0m ERROR: net-mail/goimapnotify-2.4::whiteman808 failed (un= pack phase): =1B[31;01m*=1B[0m go mod verify failed =1B[31;01m*=1B[0m=20 =1B[31;01m*=1B[0m Call stack: =1B[31;01m*=1B[0m ebuild.sh, line 136: Called src_unpack =1B[31;01m*=1B[0m environment, line 1976: Called go-module_src_unpack =1B[31;01m*=1B[0m environment, line 1580: Called ego 'mod' 'verify' =1B[31;01m*=1B[0m environment, line 889: Called die =1B[31;01m*=1B[0m The specific snippet of code: =1B[31;01m*=1B[0m "$@" || die -n "${*} failed" =1B[31;01m*=1B[0m=20 =1B[31;01m*=1B[0m If you need support, post the output of `emerge --info '= =3Dnet-mail/goimapnotify-2.4::whiteman808'`, =1B[31;01m*=1B[0m the complete build log and the output of `emerge -pqv '= =3Dnet-mail/goimapnotify-2.4::whiteman808'`. =1B[31;01m*=1B[0m The complete build log is located at '/var/tmp/portage/n= et-mail/goimapnotify-2.4/temp/build.log'. =1B[31;01m*=1B[0m The ebuild environment file is located at '/var/tmp/port= age/net-mail/goimapnotify-2.4/temp/environment'. =1B[31;01m*=1B[0m Working directory: '/var/tmp/portage/net-mail/goimapnoti= fy-2.4/work/goimapnotify-2.4' =1B[31;01m*=1B[0m S: '/var/tmp/portage/net-mail/goimapnotify-2.4/work/goim= apnotify-2.4' I will be happy if you help me fix this issue. Thank you, whiteman808.