Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756205 - app-emulation/snapd-2.47.1-r1::gentoo: [[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}"
Summary: app-emulation/snapd-2.47.1-r1::gentoo: [[ -e "${GOBIN}/${cmd}" ]] || die "fai...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-23 10:27 UTC by Samuel Bernardo
Modified: 2020-11-27 20:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,229.34 KB, text/x-log)
2020-11-23 10:27 UTC, Samuel Bernardo
Details
emerge.info (emerge.info,9.97 KB, application/x-info)
2020-11-23 10:27 UTC, Samuel Bernardo
Details
emerge.pqv (emerge.pqv,240 bytes, text/plain)
2020-11-23 10:27 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2020-11-23 10:27:00 UTC
Created attachment 674440 [details]
build.log

* ERROR: app-emulation/snapd-2.47.1-r1::gentoo failed (compile phase):
 *   failed to build snap
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 2349:  Called die
 * The specific snippet of code:
 *           [[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}";
Comment 1 Samuel Bernardo 2020-11-23 10:27:27 UTC
Created attachment 674443 [details]
emerge.info
Comment 2 Samuel Bernardo 2020-11-23 10:27:49 UTC
Created attachment 674446 [details]
emerge.pqv
Comment 3 Larry the Git Cow gentoo-dev 2020-11-27 20:06:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec992f2d223aea2fbe4142384d8d10a4a024d62

commit aec992f2d223aea2fbe4142384d8d10a4a024d62
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-11-27 20:04:01 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-11-27 20:06:21 +0000

    app-emulation/snapd: don't set CGO_LDFLAGS
    
    Solves errors like this with go-1.15:
    
    go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-O1
    
    Closes: https://bugs.gentoo.org/756205
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-emulation/snapd/snapd-2.47.1-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)