at the end of build process pcsx2 build system attempts to Enabling networking capability on Linux... + '[' -f /usr/bin/PCSX2 ']' + sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/PCSX2 + set +x and the following happens * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- * LOG FILE: "/data/build/tmp/portage/games-emulation/pcsx2-9999/temp/sandbox.log" * VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /var/run/faillock/root A: /var/run/faillock/root R: /run/faillock/root C: sudo setcap CAP_NET_RAW+eip CAP_NET_ADMIN+eip /usr/bin/PCSX2 F: open_wr S: deny P: /var/run/faillock/root A: /var/run/faillock/root R: /run/faillock/root C: sudo setcap CAP_NET_RAW+eip CAP_NET_ADMIN+eip /usr/bin/PCSX2 * --------------------------------------------------------------------------------
Please attach full build.log and emerge --info
there is an issue with bugzilla atm and i cannot attach the log file. I'll post emerge --info
emerge --info ==================================================================== Portage 2.3.103 (python 3.8.3-final-0, default/linux/amd64/17.1/systemd, gcc-10.1.0, glibc-2.31-r5, 5.7.7-gentoo x86_64) ================================================================= System uname: Linux-5.7.7-gentoo-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-glibc2.2.5 KiB Mem: 16408936 total, 11029348 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 06 Jul 2020 18:30:01 +0000 Head commit of repository gentoo: 89a30b575cb306dfce9ac5818542a5746df5bce7 Timestamp of repository pentoo: Mon, 06 Jul 2020 18:37:50 +0000 Head commit of repository pentoo: 86a7d22439bcd3cbf88519849078640d873bfa07 Timestamp of repository tastytea: Sun, 05 Jul 2020 00:05:40 +0000 Head commit of repository tastytea: 3903f704feab3da95b53a179baeb91424a623d34 Timestamp of repository torbrowser: Sat, 04 Jul 2020 07:44:32 +0000 Head commit of repository torbrowser: 4c4f26aacdab22363d214aed45de6d5a59f53ef3 Head commit of repository brave-overlay: 3ed53a9e7e0e27d77478fb66dacc8b62d024f4f9 Head commit of repository dr: 6db519f6a4074c631db1b1e3c69f135529831f62 Head commit of repository sakaki-tools: 15cf8034d6396dd7345c004d3b5df14953c67a56 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 ccache version 3.7.10 [disabled] app-shells/bash: 5.0_p17::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo, 3.9.0_beta4::gentoo dev-util/ccache: 3.7.10::gentoo dev-util/cmake: 3.17.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0-r2::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes pentoo location: /data/build/overlays/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo tastytea location: /data/build/overlays/tastytea sync-type: git sync-uri: https://github.com/gentoo-mirror/tastytea.git masters: gentoo torbrowser location: /data/build/overlays/torbrowser sync-type: git sync-uri: https://github.com/gentoo-mirror/torbrowser.git masters: gentoo crossdev location: /data/build/overlays/crossdev masters: gentoo priority: 10 abendbrot location: /data/build/overlays/abendbrot masters: gentoo priority: 50 brave-overlay location: /data/build/overlays/brave-overlay sync-type: git sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git masters: gentoo priority: 50 dr location: /data/build/overlays/dr sync-type: git sync-uri: https://github.com/cerebrum/dr masters: gentoo priority: 50 sakaki-tools location: /data/build/overlays/sakaki sync-type: git sync-uri: https://github.com/sakaki-/sakaki-tools masters: gentoo priority: 50 steam-overlay location: /data/build/overlays/steam-overlay masters: gentoo priority: 50 yoshi314 location: /data/sources/yoshi314-overlay masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /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/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 -pipe" DISTDIR="/data/build/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl en de" MAKEOPTS="-j10 -l10" PKGDIR="/data/binarki" 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="/data/build/tmp" USE="X acl alsa amd64 apng ayatana berkdb bzip2 cairo cg chroma clang cli colormanagement crypt cryptsetup cups curl d3d9 dbus discogs djvu dri drm dvd egl expat experimental ffmpeg firmware flac fluidsynth fontconfig fortran ftp gdbm gif glamor gme gnuefi gphoto2 graphite gstreamer gstvideo gtk3 http2 ibus iconv idm infinality ipv6 javascript jemalloc jemallow jit joystick jpeg jumbo-build lame lastgenre libass libguess libkms libnotify libsamplerate libtirpc lto luajit lz4 lzma lzo mad mercurial metalink mikmod minizip mmx mod modern-top modplug mp3 mpdstats mpg123 multilib musepack mutt ncurses nfsv41 nls nptl ogg opengl openmp opus outputs pam pcre pcre16 pcsx-rearmed pgo png postproc pulseaudio quvi raw readline s3tc sdl sdl2 seccomp secure-delete smartcard snes9x-next soundcloud split-usr sqlite squashfs sse sse2 ssl staging startup-notification svg system-sqlite systemd taglib tahoma tcpd theora threads truetype uchardet udev udisks unicode urandom vcd vdpau vhost-user-fs vim-syntax virt-network vitstab vorbis vpx vulkan vulkan-overlay wayland webp x264 x265 xattr xcb xkb xvid zlib zsh-completion zstd" ABI_X86="64 32" 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 sse4a ssse3" CURL_SSL="nss" 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" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="pl en de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8 python3_9" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="radeonsi amdgpu radeon r600" 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
Created attachment 648684 [details] build log
Looks like this was not reproducible earlier due to sandbox bug [1]. I will not patch 9999 version, but will add corresponding cmake option after [2] will be merge upstream. [1] https://bugs.gentoo.org/672566 [2] https://github.com/PCSX2/pcsx2/pull/3840
Same issue in games-emulation/pcsx2-1.6.0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d316c08962efd9c4f8dd213206aaea9de686f8f commit 5d316c08962efd9c4f8dd213206aaea9de686f8f Author: Yuri Konotopov <ykonotopov@gnome.org> AuthorDate: 2020-10-24 14:44:09 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-10-27 07:35:30 +0000 games-emulation/pcsx2: fixed sandbox violation Closes: https://bugs.gentoo.org/730536 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../pcsx2/files/pcsx2-1.6.0-disable-setcap.patch | 49 +++++++++ games-emulation/pcsx2/pcsx2-1.6.0-r1.ebuild | 110 +++++++++++++++++++++ 2 files changed, 159 insertions(+)