Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711964 - app-emulation/libpod-1.8.0 fails to emerge with dev-lang/go-1.14 when `network-sandbox` feature is enabled
Summary: app-emulation/libpod-1.8.0 fails to emerge with dev-lang/go-1.14 when `networ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-09 14:33 UTC by YOSHIOKA Takuma
Modified: 2020-04-05 19:40 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,31.37 KB, text/x-log)
2020-03-09 14:33 UTC, YOSHIOKA Takuma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description YOSHIOKA Takuma 2020-03-09 14:33:25 UTC
Created attachment 617612 [details]
build.log

`emerge app-emulation/libpod` fails with `FEATURES=network-sandbox`.
`sudo FEATURES=-network-sandbox emerge -1v app-emulation/libpod` succeeded (in my environment).


```
$ emerge --info app-emulation/libpod
Portage 2.3.93 (python 3.7.6-final-0, default/linux/amd64/17.1/systemd, gcc-9.2.0, glibc-2.30-r4, 5.5.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.5.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-gentoo-2.7
KiB Mem:    32527044 total,  14061732 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Mon, 09 Mar 2020 13:07:37 +0000
Head commit of repository gentoo: 32ba6bf27a32f2f33ea8fe7b9644e9038a084881

Head commit of repository flatpak-overlay: ea16fa7c90c16c8720e4a388e7ddcdd70ad30221

Timestamp of repository haskell: Sun, 08 Mar 2020 23:35:35 +0000
Head commit of repository haskell: e082811e8c46df9ccb04da578f6e87ab80ba7687

Timestamp of repository mozilla: Sat, 07 Mar 2020 15:35:43 +0000
Head commit of repository mozilla: e9d7e99764407b0961b6a6b85aba0415cb6317e9

Timestamp of repository steam-overlay: Fri, 06 Mar 2020 03:39:27 +0000
Head commit of repository steam-overlay: 711a1d9d37968ba2914f5a290b074566c4789e83

sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.7.6::gentoo, 3.8.2::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            8.3.0-r3::gentoo, 9.2.0-r4::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    eclass-overrides: lo48576
    sync-git-verify-commit-signature: true

flatpak-overlay
    location: /var/db/repos/flatpak
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    eclass-overrides: lo48576

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    eclass-overrides: lo48576

mozilla
    location: /var/db/repos/mozilla
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mozilla.git
    masters: gentoo
    eclass-overrides: lo48576

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    eclass-overrides: lo48576

force-python3
    location: /var/db/repos/force-python3
    masters: gentoo
    priority: 100
    eclass-overrides: lo48576

lo48576
    location: /var/db/repos/lo48576
    masters: gentoo
    priority: 100
    eclass-overrides: lo48576

Installed sets: @fav/fonts, @packages/gnome-disk-utility, @packages/minecraft-deps, @packages/python-swiftclient, @packages/virtualbox, @packages/wine-deps, @packages/youtube-dl, @purpose/heavy-build, @purpose/titech, @purpose/x11-session, @system/filesystem-mandatory, @system/filesystem-optional, @system/gentoo-utils, @system/hardware-mandatory, @system/hardware-optional, @system/xorg-basic-utils
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/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="-march=native -O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="     http://ftp.iij.ad.jp/pub/linux/gentoo/     http://ftp.jaist.ac.jp/pub/linux/gentoo/     "
LANG="ja_JP.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ja en"
MAKEOPTS="-j12 -l12"
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/portage_tmpfs"
USE="X aac acl acpi alsa amd64 berkdb bluetooth bzip2 cairo cdr cjk cli crypt css cups curl cxx dbus dri dvd dvdr egl exif ffmpeg flac fontconfig fortran gdbm gmp gnome-keyring gtk hddtemp iconv icu inotify ipv6 jpeg jpeg2k lame libnotify libtirpc lm_sensors luajit lzma m17n-lib matroska mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp opus pam pcre png policykit pulseaudio readline seccomp split-usr sqlite ssl startup-notification systemd taglib tcpd theora threads tiff tls truetype udev udisks unicode upower usb vaapi vdpau vorbis wavpack wayland wifi xattr xft xinerama zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="ja en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="i965 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, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

app-emulation/libpod-1.8.0::gentoo was built with the following:
USE="btrfs rootless -apparmor (-selinux)" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS=""

$
```
Comment 1 Zac Medico gentoo-dev 2020-03-09 21:01:21 UTC
I didn't see this with dev-lang/go-1.13.5, so I suspect that you probably have dev-lang/go-1.14.
Comment 2 Larry the Git Cow gentoo-dev 2020-03-09 22:21:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c979fbf04b85ccf20759a45aec6fbba94afc827a

commit c979fbf04b85ccf20759a45aec6fbba94afc827a
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-03-09 22:18:21 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-03-09 22:21:44 +0000

    app-emulation/libpod: fix network-sandbox for go-1.14
    
    Closes: https://bugs.gentoo.org/711964
    Package-Manager: Portage-2.3.93, Repoman-2.3.20
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-emulation/libpod/libpod-1.8.0.ebuild | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
Comment 3 Zac Medico gentoo-dev 2020-03-09 22:24:07 UTC
The change linked in comment #2 fixed it for me. Thanks for the report!
Comment 4 Bruce Guenter 2020-03-20 02:24:43 UTC
This still fails for me without `FEATURES=-network-sandbox`. I have dev-lang/go-1.13.8 installed (the latest stable version).