Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574316 - app-emulation/docker-1.7.1 failed to build: devmapper_wrapper.go:191: Cdeps.device undefined (type *C.struct_dm_deps has no field or method device)
Summary: app-emulation/docker-1.7.1 failed to build: devmapper_wrapper.go:191: Cdeps.d...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Tianon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-10 07:54 UTC by cono
Modified: 2016-04-27 15:31 UTC (History)
9 users (show)

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


Attachments
build.log (docker-build.log.gz,1.07 KB, application/gzip)
2016-02-10 07:58 UTC, cono
Details
Patch proposal (docker-1.7-go-1.5-f83d05c3be3c3bcc84f6fa229504848ee8078321.patch,1.96 KB, patch)
2016-02-22 12:54 UTC, Yannick Martin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cono 2016-02-10 07:54:24 UTC
After update to dev-lang/go-1.5.3, I'm having problem with rebuilding docker:

# WARNING! I don't seem to be running in the 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.7.1/dynbinary)
Created binary: bundles/1.7.1/dynbinary/dockerinit-1.7.1
Building: bundles/1.7.1/dynbinary/docker-1.7.1
# github.com/docker/docker/pkg/devicemapper
.gopath/src/github.com/docker/docker/pkg/devicemapper/devmapper_wrapper.go:191: Cdeps.device undefined (type *C.struct_dm_deps has no field or method device)
 * ERROR: app-emulation/docker-1.7.1::gentoo failed (compile phase):
 *   dynbinary failed
 *
 * Call stack:
 *     ebuild.sh, line 133:  Called src_compile
 *   environment, line 3229:  Called die
 * The specific snippet of code:
 *       ./hack/make.sh dynbinary || die 'dynbinary failed'
Comment 1 cono 2016-02-10 07:55:07 UTC
% emerge --info '=app-emulation/docker-1.7.1::gentoo'
Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.15-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.15-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    16384364 total,   9608864 free
KiB Swap:   15624184 total,  15119788 free
Timestamp of repository gentoo: Tue, 09 Feb 2016 21:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 1

yoreek
    location: /var/lib/layman/yoreek
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer 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="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cuda cups cxx dbus djvu dri dts dvd dvdr emboss encode exif faac fam firefox flac fortran fuse g3dvl gcj gconf gdbm gif gimp git glamor gphoto2 gpm gtk hpcups iconv icu inotify ipv6 ithreads javascript jpeg lcms ldap libnotify lm_sensors lvm mad mmx mmxext mng modemmanager modules mp3 mp4 mpeg multilib mysql natspec ncurses networkmanager nls nptl nsplugin ntfs ogg opengl openmp pam pango pcre pdf perl png policykit ppds pulseaudio python qt3support qt4 raw readline samba scanner sdl seccomp session spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink syslog tcpd threads tiff timezone truetype udev udisks unicode upower urandom usb vaapi vdpau vim vim-pager vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xmp xscreensaver xv xvid zlib zsh-completion" 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 flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon 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" 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" INPUT_DEVICES="evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

app-emulation/docker-1.7.1::gentoo was built with the following:
USE="btrfs contrib device-mapper vim-syntax (-apparmor) -aufs -doc -experimental (-lxc) -overlay" ABI_X86="64"
Comment 2 cono 2016-02-10 07:58:03 UTC
Created attachment 425108 [details]
build.log
Comment 3 Pastafarianist 2016-02-11 03:34:35 UTC
I seem to have the exact same problem.
Comment 4 Lori 2016-02-16 10:11:56 UTC
I'm affected too.
Comment 5 Michal Petrucha 2016-02-16 10:22:41 UTC
Neither docker-1.8.1, nor 1.8.2 is affected, but they depend on a few more ~amd64 packages.
Comment 6 Yannick Martin 2016-02-22 12:54:03 UTC
Created attachment 426186 [details, diff]
Patch proposal

Bug seems to be fixed upstream :
https://github.com/vbatts/docker/commit/f83d05c3be3c3bcc84f6fa229504848ee8078321

Patch attached, I successfully built docker-1.7.1 with Go-1.5.

Regards,
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2016-04-27 15:31:38 UTC
Version no longer in tree. Please reopen if issue persists with docker-1.11.0