Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605422 - app-emulation/docker-1.13.0_rc4 fails to build: dynbinary failed
Summary: app-emulation/docker-1.13.0_rc4 fails to build: dynbinary failed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tianon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-11 22:50 UTC by Andrew Udvare
Modified: 2017-05-03 21:55 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 Andrew Udvare 2017-01-11 22:50:00 UTC
Build log (CONFIG_IPVLAN is a separate bug but is not very related, not enabling it does not cause the build to fail from what I can tell):

 * Package:    app-emulation/docker-1.13.0_rc4
 * Repository: gentoo
 * Maintainer: admwiggin@gmail.com xarthisius@gentoo.org,williamh@gentoo.org,mrueg@gentoo.org
 * USE:        abi_x86_64 amd64 container-init device-mapper elibc_glibc kernel_linux seccomp userland_GNU
 * FEATURES:   compressdebug preserve-libs sandbox splitdebug userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     4.9.0-gentoo-limelight
 * Checking for suitable kernel configuration options...
 *   CONFIG_IPVLAN:      is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
# WARNING! I don't seem to be running in a Docker container.
# The result of this command might be an incorrect build, and will not be
# officially supported.
#
# Try this instead: make all
#

---> Making bundle: dynbinary (in bundles/1.13.0-rc4/dynbinary)
Building: bundles/1.13.0-rc4/dynbinary-client/docker-1.13.0-rc4
Created binary: bundles/1.13.0-rc4/dynbinary-client/docker-1.13.0-rc4
Building: bundles/1.13.0-rc4/dynbinary-daemon/dockerd-1.13.0-rc4
vendor/github.com/docker/swarmkit/manager/state/raft/storage/walwrap.go:4:2: cannot find package "context" in any of:
        /var/tmp/portage/app-emulation/docker-1.13.0_rc4/work/docker-1.13.0_rc4/src/github.com/docker/docker/vendor/context (vendor tree)
        /usr/lib/go/src/context (from $GOROOT)
        /var/tmp/portage/app-emulation/docker-1.13.0_rc4/work/docker-1.13.0_rc4/src/context (from $GOPATH)
        /var/tmp/portage/app-emulation/docker-1.13.0_rc4/work/docker-1.13.0_rc4/src/github.com/docker/docker/vendor/src/context
 * ERROR: app-emulation/docker-1.13.0_rc4::gentoo failed (compile phase):
 *   dynbinary failed
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 3429:  Called die
 * The specific snippet of code:
 *       ./hack/make.sh dynbinary || die 'dynbinary failed';
 *
 * If you need support, post the output of `emerge --info '=app-emulation/docker-1.13.0_rc4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/docker-1.13.0_rc4::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-emulation:docker-1.13.0_rc4:20170111-223624.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/docker-1.13.0_rc4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/docker-1.13.0_rc4/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/docker-1.13.0_rc4/work/docker-1.13.0_rc4/src/github.com/docker/docker'
 * S: '/var/tmp/portage/app-emulation/docker-1.13.0_rc4/work/docker-1.13.0_rc4/src/github.com/docker/docker'

$ emerge --info app-emulation/docker

Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r3, 4.8.11-gentoo-limelight x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.11-gentoo-limelight-x86_64-Intel-R-_Core-TM-_i7-5930K_CPU_@_3.50GHz-with-gentoo-2.3
KiB Mem:    32765320 total,  12572376 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 31 Dec 2016 07:15:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r2::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Installed sets: @ansible, @bashcomp, @beanstalk, @cdr, @chrome, @clang, @cups, @dracut, @firefox, @gimp, @git, @grub, @ibus, @icedtea, @icewm, @libimobiledevice, @logrotate, @media, @misc, @mlocate, @mupen64plus, @mysql, @php, @php-xdebug, @pidgin, @portage-dev, @portage-utilities, @postgresql, @python, @rar, @samba, @shellcheck, @ssh, @stepmania, @tmux, @vagrant, @virtualbox, @vlc, @wine, @x11, @x11-misc, @xirvik-vpn
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/gcruft /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news 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.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j13"
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="X a52 aac acl acpi aes alsa amd64 avx avx2 bash-completion bluetooth branding bzip2 cairo cdio cjk cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss exif fam ffmpeg flac fma3 fortran gdbm gif glamor gpm iconv idn ipv6 jemalloc jpeg jpeg2k kde kipi lcms libnotify mad mmx mmxext mod modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit popcnt ppds qml qt3support qt5 readline samba seccomp session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg syslog systemd tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis webp widgetswxwidgets x264 xattr xcb xcomposite xinerama xv xvid 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="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="kexi words flowplan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="efi-64" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia 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.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-emulation/docker-1.13.0_rc2::gentoo was built with the following:
USE="container-init device-mapper seccomp -apparmor -aufs -btrfs -hardened -overlay -pkcs11" ABI_X86="64"
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2017-01-21 12:30:15 UTC
Is this still failing with docker-1.13.0?
Comment 2 Andrew Udvare 2017-01-29 04:28:23 UTC
(In reply to Manuel Rüger from comment #1)
> Is this still failing with docker-1.13.0?

Yes. Just tried it.
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2017-01-29 15:35:18 UTC
(In reply to Andrew Udvare from comment #2)
> (In reply to Manuel Rüger from comment #1)
> > Is this still failing with docker-1.13.0?
> 
> Yes. Just tried it.

which version of dev-lang/go have you installed?
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2017-05-03 21:55:47 UTC
Please try again with 17.03.1 and reopen if it's still not compiling