Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769827 - app-emulation/lxd-4.0.4-r5 ebuild failure
Summary: app-emulation/lxd-4.0.4-r5 ebuild failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-10 01:45 UTC by Robert Booth
Modified: 2021-02-10 02:38 UTC (History)
0 users

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


Attachments
full build log (build.log,50.73 KB, text/x-log)
2021-02-10 01:45 UTC, Robert Booth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Booth 2021-02-10 01:45:45 UTC
Created attachment 686220 [details]
full build log

Hello,

I am attempting to install LXD on a new Gentoo install, and am getting the ebuild failure below.

The last lines of the build log are shown below, and I have attached the full build log.


--------------------------------------------------------------------------------


# emerge -pqv '=app-emulation/lxd-4.0.4-r5::gentoo'
[ebuild  N    ] app-emulation/lxd-4.0.4-r5  USE="ipv6 nls (-apparmor) -verify-sig"


--------------------------------------------------------------------------------


# emerge --info '=app-emulation/lxd-4.0.4-r5::gentoo'
Portage 3.0.13 (python 3.8.7-final-0, default/linux/amd64/17.1/no-multilib, gcc-9.3.0, glibc-2.32-r6, 5.4.92-gentoo-robryzen-5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.92-gentoo-robryzen-5-x86_64-AMD_Ryzen_5_3500_6-Core_Processor-with-glibc2.2.5
KiB Mem:    49271380 total,  46963880 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 09 Feb 2021 00:45:01 +0000
Head commit of repository gentoo: 3a0e95b1a7161e311804cf13ecfdeb40a1528e56
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=znver2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=znver2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver2 -pipe"
GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


--------------------------------------------------------------------------------


 ...

packagefile mime/quotedprintable=/usr/lib/go/pkg/linux_amd64/mime/quotedprintable.a
packagefile vendor/golang.org/x/text/transform=/usr/lib/go/pkg/linux_amd64/vendor/golang.org/x/text/transform.a
EOF
mkdir -p $WORK/b001/exe/
cd .
/usr/lib/go/pkg/tool/linux_amd64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=exe -buildid=A2sU2ARD7C2zIcT_gTO5/bdlFYDw21wJCe2EoJR0g/xxovRdnFweiYw-8pC490/A2sU2ARD7C2zIcT_gTO5 -extld=x86_64-pc-linux-gnu-gcc $WORK/b001/_pkg_.a
# github.com/lxc/lxd/fuidshift
unexpected fault address 0x0
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x51ac75]

goroutine 1 [running]:
runtime.throw(0x6d029c, 0x5)
	/usr/lib/go/src/runtime/panic.go:1116 +0x72 fp=0xc00012ac38 sp=0xc00012ac08 pc=0x436512
runtime.sigpanic()
	/usr/lib/go/src/runtime/signal_unix.go:749 +0x405 fp=0xc00012ac68 sp=0xc00012ac38 pc=0x44cc05
cmd/link/internal/loader.(*Loader).SymAttr(0xc00051e000, 0x18a8, 0x67e380)
	/usr/lib/go/src/cmd/link/internal/loader/loader.go:719 +0x35 fp=0xc00012ac88 sp=0xc00012ac68 pc=0x51ac75
cmd/link/internal/loader.(*Loader).IsReflectMethod(...)
	/usr/lib/go/src/cmd/link/internal/loader/loader.go:1041
cmd/link/internal/ld.(*deadcodePass).flood(0xc0000fe0a0)
	/usr/lib/go/src/cmd/link/internal/ld/deadcode.go:116 +0x928 fp=0xc00012adc8 sp=0xc00012ac88 pc=0x599528
cmd/link/internal/ld.deadcode(0xc000109880)
	/usr/lib/go/src/cmd/link/internal/ld/deadcode.go:264 +0xcc fp=0xc00012aeb8 sp=0xc00012adc8 pc=0x599e6c
cmd/link/internal/ld.Main(0x8718a0, 0x20, 0x20, 0x1, 0x7, 0x10, 0x0, 0x0, 0x6dbb6a, 0x1b, ...)
	/usr/lib/go/src/cmd/link/internal/ld/main.go:235 +0xd3c fp=0xc00012b118 sp=0xc00012aeb8 pc=0x5e2ddc
main.main()
	/usr/lib/go/src/cmd/link/main.go:68 +0x1dc fp=0xc00012bf88 sp=0xc00012b118 pc=0x65ec9c
runtime.main()
	/usr/lib/go/src/runtime/proc.go:204 +0x209 fp=0xc00012bfe0 sp=0xc00012bf88 pc=0x438d09
runtime.goexit()
	/usr/lib/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc00012bfe8 sp=0xc00012bfe0 pc=0x46b161
 * ERROR: app-emulation/lxd-4.0.4-r5::gentoo failed (compile phase):
 *   failed compiling fuidshift
 *
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 2243:  Called die
 * The specific snippet of code:
 *           go install -v -x ${EGO_PN}/${k} || die "failed compiling ${k}";
 *
Comment 1 Robert Booth 2021-02-10 02:38:22 UTC
After rebuilding my kernel and restarting, the ebuild worked as expected. I'll mark this as resolved.