>>> Emerging (6 of 8) app-emulation/runc-1.0.0_rc1::gentoo * runc-1.0.0_rc1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Source unpacked in /scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work >>> Preparing source in /scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc ... >>> Source prepared. >>> Configuring source in /scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc ... >>> Source configured. >>> Compiling source in /scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc ... ln: .gopath/src/..: cannot overwrite directory make -j2 'BUILDTAGS=no seccomp' ln -sfn /scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc /scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc go build -i -ldflags "-X main.gitCommit= -X main.version=1.0.0-rc1" -tags "no seccomp" -o runc . # _/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc usage: 6l [options] main.6 -1 use alternate profiling code -8 assume 64-bit addresses -B info define ELF NT_GNU_BUILD_ID note -C check Go calls to C code -D addr data address -E sym entry symbol -I interp set ELF interp -L dir add dir to library path -H head header type -K add stack underflow checks -O print pc-line tables -Q debug byte-register code gen -R rnd address rounding -S check type signatures -T addr text address -V print version and exit -W disassemble input -X name value define string data -Z clear stack frame on entry -a disassemble output -c dump call graph -d disable dynamic executable -extld ld linker to run in external mode -extldflags ldflags flags for external linker -f ignore version mismatch -g disable go package data checks -installsuffix suffix pkg directory suffix -k sym set field tracking symbol -linkmode mode set link mode (internal, external, auto) -n dump symbol table -o outfile set output file -r dir1:dir2:... set ELF dynamic linker search path -race enable race detector -s disable symbol table -shared generate shared object (implies -linkmode external) -tmpdir dir leave temporary files in this directory -u reject unsafe packages -v print link trace -w disable DWARF generation Makefile:26: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: app-emulation/runc-1.0.0_rc1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/runc-1.0.0_rc1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/runc-1.0.0_rc1::gentoo'`. * The complete build log is located at '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/temp/build.log'. * The ebuild environment file is located at '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/temp/environment'. * Working directory: '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc' * S: '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc' >>> Failed to emerge app-emulation/runc-1.0.0_rc1, Log file: >>> '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/temp/build.log' * Messages for package app-emulation/runc-1.0.0_rc1: * ERROR: app-emulation/runc-1.0.0_rc1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/runc-1.0.0_rc1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/runc-1.0.0_rc1::gentoo'`. * The complete build log is located at '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/temp/build.log'. * The ebuild environment file is located at '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/temp/environment'. * Working directory: '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc' * S: '/scratch/var/tmp/portage/app-emulation/runc-1.0.0_rc1/work/runc-1.0.0_rc1/src/github.com/opencontainers/runc' # emerge --info '=app-emulation/runc-1.0.0_rc1::gentoo' Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.21-r1, 4.6.0-default-pciehp x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.6.0-default-pciehp-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.2 KiB Mem: 16354304 total, 6460016 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 30 Jun 2016 19:00:01 +0000 sh bash 4.3_p42-r2 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r2::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.20.2-r1::gentoo dev-lang/python: 2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo dev-util/cmake: 3.3.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.21::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.3.6-r1::gentoo, 4.4.7::gentoo, 4.6.4::gentoo, 4.7.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo, 5.3.0::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r1::gentoo Repositories: gentoo location: /scratch/usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 science location: /home/mmokrejs/proj/sci masters: gentoo priority: 0 x-portage location: /usr/local/portage masters: gentoo priority: 1 layman location: /var/lib/layman masters: gentoo priority: 2 haskell location: /var/lib/layman/haskell masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /var/bind /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -maes -mpclmul -mpopcnt -mavx -march=native" DISTDIR="/scratch/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news noclean nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ rsync://gentoo.mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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="/scratch/var/tmp" USE="X acpi alsa amd64 amr apache apache2 apulse avx berkdb bindist bluetooth boost bzip2 cairo cgi cli coin consolekit cracklib crypt cryptlib cups cxx dbus device-mapper dhcp directfb dri drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran gbm gd gdbm geoip gimp glpk gnutls gpm gtk hal hpijs hwdb iconv id3tag imaging innodb java javascript jce jpeg jpg js jscript keymap ladspa lapack laptop lcms libnotify lm_sensors mad matroska mmx mmxext modules mpi mpich2 multilib mysql ncurses nfs nls nptl nptlonly nscd nsplugin ntfsprogs ocr ogg opengl openmp pam parport pcre pdf perl php png policykit polkit ppds pppd python qt3support readline rendering resolvconf scanner seccomp server session slideshow sndfile sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 suexec svg syslog tcl tcpd threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xml xorg xrandr xv xvid xvmc zlib" ABI_X86="64 32" 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="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" DRACUT_MODULES="crypt crypt-gpg" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB cs cz" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 i965" 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" USE_PYTHON="2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
# emerge -pqv '=app-emulation/runc-1.0.0_rc1::gentoo' [ebuild N ] app-emulation/runc-1.0.0_rc1 USE="seccomp -apparmor"
The output looks like you are trying to build runc with an older version of Go. What is the output from "go version"?
$ go version go version go1.4.2 linux/amd64 $
OK, you are right that the below upgrade helped: # emerge -uNpv dev-lang/go These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-lang/go-1.6.3:0/1.6.3::gentoo [1.4.2:0/0::gentoo] USE="-gccgo%" 59903 KiB
Trying to install app-emulation/runc-1.0.0_rc2 with (an admitedly old) go-1.6-r1 fails with: * Package: app-emulation/runc-1.0.0_rc2 * Repository: gentoo * Maintainer: cardoe@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux seccomp userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox ln: ‘.gopath/src/..’: cannot overwrite directory fatal: Not a git repository (or any parent up to mount point /usr/unsecure) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). ln -sfn /usr/unsecure/tmp/portage/app-emulation/runc-1.0.0_rc2/work/runc-1.0.0_rc2/src/github.com/opencontainers/runc /usr/unsecure/tmp/portage/app-emulation/runc-1.0.0_rc2/work/runc-1.0.0_rc2/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc go build -i -ldflags "-X main.gitCommit="" -X main.version=1.0.0-rc2" -tags "no seccomp" -o runc . go install runtime/internal/sys: open /usr/lib/go/pkg/linux_amd64/runtime/internal/sys.a: permission denied Makefile:30: recipe for target 'all' failed make: *** [all] Error 1 Once go was updated (to 1.7.3) runc installs fine.
Created attachment 452710 [details] build.log I upgraded to go-1.7.3 but I have a different issue now. $ equery belongs libseccomp.so * Searching for libseccomp.so ... sys-libs/libseccomp-2.3.1 (/scratch/mmokrejs/gentoo_rap/usr/lib64/libseccomp.so -> libseccomp.so.2.3.1) $ The compile process supposedly uses system-wide (which has libc 2.14) but should prefer the libc from Gentoo::RAP: $ emerge -pv sys-libs/glibc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-libs/glibc-2.23-r2:2.2::rap USE="gd nscd rpc -audit -caps -debug (-hardened) (-multilib) -profile (-selinux) (-suid) -systemtap -vanilla" 0 KiB I even reinstalled sys-libs/libseccomp but that did not help.
(In reply to Martin Mokrejš from comment #6) > Created attachment 452710 [details] > build.log > > I upgraded to go-1.7.3 but I have a different issue now. Oh, wrong machine, I should file this probably as a separate issue for Gentoo::RAP.
(In reply to Martin Mokrejš from comment #6) > Created attachment 452710 [details] > build.log > > I upgraded to go-1.7.3 but I have a different issue now. Btw, I had 1.7.1 actually.
This package is no longer in the tree. Definitely loose dependencies.