Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711848 - net-p2p/go-ipfs-0.4.23 fails to emerge when `network-sandbox` feature is enabled
Summary: net-p2p/go-ipfs-0.4.23 fails to emerge when `network-sandbox` feature is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Roman
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-08 08:56 UTC by YOSHIOKA Takuma
Modified: 2020-06-14 14:05 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,43.50 KB, text/x-log)
2020-03-08 08:56 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-08 08:56:14 UTC
Created attachment 617448 [details]
build.log

`emerge net-p2p/go-ipfs` fails with `FEATURES=network-sandbox`.
`sudo FEATURES=-network-sandbox net-p2p/go-ipfs` succeeded (in my environment).


```
$ emerge --info net-p2p/go-ipfs
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,  23211284 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Sun, 08 Mar 2020 08:07:39 +0000
Head commit of repository gentoo: 396257cf4898af412e5502870f5f45177409ff97

Head commit of repository flatpak-overlay: ea16fa7c90c16c8720e4a388e7ddcdd70ad30221

Timestamp of repository haskell: Sun, 08 Mar 2020 07:05:40 +0000
Head commit of repository haskell: 3bb56ab3f3195bb6344a15470df3c028f3ec657a

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
=================================================================

net-p2p/go-ipfs-0.4.23::gentoo was built with the following:
USE="" ABI_X86="(64)"

$
```
Comment 1 David Roman 2020-05-21 17:14:34 UTC
I enabled network-sandbox but wasn't able to reproduce it. Does it still happens in your environment?
Comment 2 YOSHIOKA Takuma 2020-05-21 18:06:09 UTC
No, emerge now succeeds in my environment. This issue seems to be already fixed.

(I guess <https://github.com/gentoo/gentoo/commit/08e22eb3daf228ae3d747029900a5f0ceb162cb4#diff-c7ee5e5cc56566cd108d147f41b36fb7> fixed this?)
Comment 3 David Roman 2020-05-21 20:30:43 UTC
(In reply to YOSHIOKA Takuma from comment #2)
> No, emerge now succeeds in my environment. This issue seems to be already
> fixed.
> 
> (I guess
> <https://github.com/gentoo/gentoo/commit/
> 08e22eb3daf228ae3d747029900a5f0ceb162cb4#diff-
> c7ee5e5cc56566cd108d147f41b36fb7> fixed this?)

Probably. Thank you for reporting anyway :)
Comment 4 Larry the Git Cow gentoo-dev 2020-06-14 14:05:24 UTC
The bug has been closed via the following commit(s):

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

commit e9a6851aba1fd935b457407a33331a9f97731cce
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2020-05-21 20:28:04 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-14 14:05:13 +0000

    net-p2p/go-ipfs: verbump to 0.5.1
    
    Closes: https://bugs.gentoo.org/711848
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: David Roman <davidroman96@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/15906
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-p2p/go-ipfs/Manifest             |  803 ++++++++++++++++++++
 net-p2p/go-ipfs/go-ipfs-0.5.1.ebuild | 1343 ++++++++++++++++++++++++++++++++++
 2 files changed, 2146 insertions(+)