Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579856 - app-emulation/docker-1.10.3 [btrfs] - daemon/graphdriver/btrfs/btrfs.go:164: args.name undefined (type C.struct_btrfs_ioctl_vol_args_v2 has no field or method name)
Summary: app-emulation/docker-1.10.3 [btrfs] - daemon/graphdriver/btrfs/btrfs.go:164: ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Tianon
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-04-13 18:36 UTC by Kobboi
Modified: 2016-04-27 15:36 UTC (History)
9 users (show)

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


Attachments
build.log (build.log,2.95 KB, text/plain)
2016-04-13 18:36 UTC, Kobboi
Details
docker-a038cccf88998814249a7a40b71a33a680e3f02f.patch (docker-a038cccf88998814249a7a40b71a33a680e3f02f.patch,1.15 KB, patch)
2016-04-17 11:37 UTC, Greg Turner
Details | Diff
a038cccf88998814249a7a40b71a33a680e3f02f.patch (file_579856.txt,1.61 KB, patch)
2016-04-17 11:41 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2016-04-13 18:36:04 UTC
>>> Emerging (1 of 1) app-emulation/docker-1.10.3::gentoo
 * docker-1.10.3.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...            [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.5.0-gentoo-r1/build
 * Found sources for kernel version:
 *     4.5.0-gentoo-r1
 * Checking for suitable kernel configuration options...
 *   CONFIG_MEMCG_KMEM: is optional
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/docker-1.10.3/work
>>> Preparing source in /var/tmp/portage/app-emulation/docker-1.10.3/work/docker-1.10.3 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/docker-1.10.3/work/docker-1.10.3 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/docker-1.10.3/work/docker-1.10.3 ...
# 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.10.3/dynbinary)
Created binary: bundles/1.10.3/dynbinary/dockerinit-1.10.3
Building: bundles/1.10.3/dynbinary/docker-1.10.3
# github.com/docker/docker/daemon/graphdriver/btrfs
daemon/graphdriver/btrfs/btrfs.go:164: args.name undefined (type C.struct_btrfs_ioctl_vol_args_v2 has no field or method name)
Comment 1 Kobboi 2016-04-13 18:36:27 UTC
Created attachment 430340 [details]
build.log
Comment 2 Kobboi 2016-04-13 18:36:45 UTC
$ emerge --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.3.0, glibc-2.22-r4, 4.6.0-rc1 x86_64)
=================================================================
System uname: Linux-4.6.0-rc1-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8168416 total,   1119116 free
KiB Swap:    8388604 total,   8371168 free
Timestamp of repository gentoo: Wed, 13 Apr 2016 17:00:02 +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.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           3.82-r4::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

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

kobboi
    location: /var/lib/overlay
    masters: gentoo
    priority: 0

fkmclane
    location: /var/lib/layman/fkmclane
    sync-type: laymansync
    sync-uri: git://github.com/fkmclane/overlay.git
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gnome.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/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 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg 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="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/cache/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 alsa amd64 berkdb bluetooth bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus djvu dri dts dvd dvdr eds egl emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv introspection ipv6 jpeg lcms ldap libass libnotify libsecret mad mmx mmxext mng modemmanager modules mp3 mp4 mpeg mtp multilib nautilus ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline samba sdl seccomp session smp spell sse sse2 ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upnp upower usb vdpau vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21 ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Ivan Iraci 2016-04-14 15:24:24 UTC
Same problem here.
Comment 4 Juergen Rose 2016-04-15 18:19:16 UTC
Me too.
Comment 5 Greg Turner 2016-04-17 11:37:41 UTC
Created attachment 430926 [details, diff]
docker-a038cccf88998814249a7a40b71a33a680e3f02f.patch

The attached patch backports upstream's fix for this problem.
Comment 6 Greg Turner 2016-04-17 11:41:14 UTC
(In reply to Greg Turner from comment #5)
> Created attachment 430926 [details, diff] [details, diff]
> docker-a038cccf88998814249a7a40b71a33a680e3f02f.patch
> 
> The attached patch backports upstream's fix for this problem.

Actually, scratch that, I see now that ${S} is docker/docker, therefore, we can just use:

https://github.com/docker/docker/commit/a038cccf88998814249a7a40b71a33a680e3f02f.patch
Comment 7 Greg Turner 2016-04-17 11:41:57 UTC
Created attachment 430928 [details, diff]
a038cccf88998814249a7a40b71a33a680e3f02f.patch
Comment 8 Stijn Tintel 2016-04-18 23:10:34 UTC
Same here, happens since dev-lang/go-1.6.1.
Comment 9 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2016-04-27 15:36:39 UTC
Version no longer in tree. Please reopen if issue persists with docker-1.11.0