Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626122 - app-emulation/docker-runc-1.0.0_rc2_p20170308 fails to build
Summary: app-emulation/docker-runc-1.0.0_rc2_p20170308 fails to build
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-25 07:24 UTC by Denis Kot
Modified: 2018-04-09 09:35 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kot 2017-07-25 07:24:31 UTC
>>> Emerging (1 of 6) app-emulation/docker-runc-1.0.0_rc2_p20170308::gentoo
 * docker-runc-1.0.0_rc2_p20170308.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                        [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work
>>> Preparing source in /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc ...
ln: .gopath/src/..: cannot overwrite directory
make -j3 'BUILDTAGS=no seccomp' COMMIT=54296cf 
fatal: Not a git repository (or any of the parent directories): .git
ln -sfn /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc/Godeps/_workspace/src/github.com/opencontainers/runc
go build -i -ldflags "-X main.gitCommit=54296cf -X main.version=1.0.0-rc2" -tags "no seccomp" -o runc .
# github.com/docker/docker/pkg/term
cannot load DWARF output from $WORK/github.com/docker/docker/pkg/term/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0
# github.com/opencontainers/runc/libcontainer/system
cannot load DWARF output from $WORK/github.com/opencontainers/runc/libcontainer/system/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0
# github.com/seccomp/libseccomp-golang
cannot load DWARF output from $WORK/github.com/seccomp/libseccomp-golang/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0
make: *** [Makefile:30: all] Error 2
 * ERROR: app-emulation/docker-runc-1.0.0_rc2_p20170308::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/docker-runc-1.0.0_rc2_p20170308::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/docker-runc-1.0.0_rc2_p20170308::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc'
 * S: '/var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc'



# emerge --info '=app-emulation/docker-runc-1.0.0_rc2_p20170308::gentoo'
Portage 2.3.6 (python 2.7.12-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 3.8.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.3
KiB Mem:     3971788 total,    652724 free
KiB Swap:    2048280 total,   1461452 free
Timestamp of repository gentoo: Tue, 25 Jul 2017 00:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: webrsync
    sync-uri: http://ftp.mgts.by/gentoo-distfiles/
    priority: -1000

docker
    location: /var/lib/layman/docker
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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="/var/tmp"
USE="acl addition amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri fastcgi fontconfig fortran gdbm geoip iconv ipv6 jpeg modules multilib ncurses nls nptl openmp pam pcre png readline seccomp session ssl status tcpd threads truetype unicode xattr xpm zlib" ABI_X86="64" 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="remoteip unixd socache_shmcb mime dir authz_host authz_core authn_core log_config logio setenvif rewrite http2" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" NGINX_MODULES_HTTP="realip stub_status addition gzip gzip_static rewrite upstream_ip_hash charset fastcgi access proxy http2" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5" 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"
USE_PYTHON="2.7 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alessandro Molari 2017-11-01 11:13:55 UTC
I'm getting the following error:

 * Package:    app-emulation/docker-runc-1.0.0_rc2_p20170308
 * Repository: gentoo
 * Maintainer: mrueg@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux seccomp userland_GNU
 * FEATURES:   installsources preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work
>>> Preparing source in /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc ...
ln: .gopath/src/..: cannot overwrite directory
make -j4 -l4 'BUILDTAGS=no seccomp' COMMIT=54296cf 
fatal: Not a git repository (or any of the parent directories): .git
ln -sfn /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc /var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc/Godeps/_workspace/src/github.com/opencontainers/runc
go build -i -ldflags "-X main.gitCommit=54296cf -X main.version=1.0.0-rc2" -tags "no seccomp" -o runc .
go install net: open /usr/lib64/go/pkg/linux_amd64/net.a: permission denied
make: *** [Makefile:30: all] Error 1
 * ERROR: app-emulation/docker-runc-1.0.0_rc2_p20170308::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/docker-runc-1.0.0_rc2_p20170308::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/docker-runc-1.0.0_rc2_p20170308::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/app-emulation/docker-runc-1.0.0_rc2_p20170308:20171101-094015.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc'
 * S: '/var/tmp/portage/app-emulation/docker-runc-1.0.0_rc2_p20170308/work/docker-runc-1.0.0_rc2_p20170308/src/github.com/docker/runc'
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2018-04-09 09:35:24 UTC
This version is out of tree, please try again with a later version.