Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 809614 - games-emulation/pcsx2-9999 compilation failure
Summary: games-emulation/pcsx2-9999 compilation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-22 17:45 UTC by David Duchesne
Modified: 2021-09-24 21:23 UTC (History)
2 users (show)

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


Attachments
pcsx2-9999 (build log) (pcsx2-9999-build.txt,112.94 KB, text/plain)
2021-08-22 17:50 UTC, David Duchesne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2021-08-22 17:45:53 UTC
Hi,
I'm unable to compile pcsx2 with latest code from pcsx2 repo.
Logs attached.

Reproducible: Always




Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-10.3.0, glibc-2.33-r1, 5.10.52-gentoo-hardened x86_64)
=================================================================
System uname: Linux-5.10.52-gentoo-hardened-x86_64-AMD_A10-6800K_APU_with_Radeon-tm-_HD_Graphics-with-glibc2.33
KiB Mem:    32421764 total,    283904 free
KiB Swap:   16777212 total,  16749052 free
Timestamp of repository gentoo: Sun, 22 Aug 2021 13:30:01 +0000
Head commit of repository gentoo: b12946869a4d66ee63e15101d5aea52d336bb02a
Timestamp of repository edgets: Thu, 19 Aug 2021 09:07:19 +0000
Head commit of repository edgets: 09440d38a9cdc970d304f9deb140c2b66a0b12ce

Timestamp of repository menelkir: Thu, 19 Aug 2021 06:36:29 +0000
Head commit of repository menelkir: 1a842c3e6d00b698840f05f092bf5ea26a855878

Timestamp of repository monero: Sat, 17 Jul 2021 10:36:51 +0000
Head commit of repository monero: 63b177d56e34bc38b39b917519b8fdfc5afe0418

Timestamp of repository mv: Thu, 19 Aug 2021 06:36:22 +0000
Head commit of repository mv: efce85ae93ff00a14e5688b740be3ca8adee048b

Head commit of repository xfceclassic: 899503e2702aa78e7d90acbd5f6b37fefcb7c510

Head commit of repository hhoffstaette: 22af6cf8a99f198a9f97877205d03f5c440cce62

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p5) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.9.6_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    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

edgets
    location: /var/db/repos/edgets
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/edgets.git
    masters: gentoo

menelkir
    location: /var/db/repos/menelkir
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/menelkir.git
    masters: gentoo

monero
    location: /var/db/repos/monero
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/monero.git
    masters: gentoo

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mv.git
    masters: gentoo

xfceclassic
    location: /var/db/repos/xfceclassic
    sync-type: git
    sync-uri: https://github.com/Xfce-Classic/gentoo-overlay
    masters: gentoo

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10

hhoffstaette
    location: /var/db/repos/hhoffstaette
    sync-type: git
    sync-uri: git://github.com/hhoffstaette/portage.git
    masters: gentoo
    priority: 50

Installed sets: @dbuspkg, @fonts, @games, @librsvg, @phone, @subtitles, @themes, @vm, @wm, @xfce
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/portage/savedconfig/sys-kernel/linux-firmware /usr/bin/startx /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer /usr/share/thumbnailers/imagemagick-pdf.thumbnailer"
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=bdver2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--usepkg --binpkg-respect-use=y"
ENV_UNSET="CARGO_HOME 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="-march=bdver2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg 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 xattr"
FFLAGS="-march=bdver2 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/etc/sysctl.d/ /etc/systemd/ /lib/systemd/ /usr/lib/sysctl.d/ /usr/lib/systemd/ /run/systemd/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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 aio alsa amd64 bzip2 cairo cdda cdr cli crypt cryptsetup cups dbus device-mapper dri dts dvd dvr elogind emboss encode exif fam fftw flac gif gnat_2020 gpm graphite gtk hardened hscolour iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc lto lvm lz4 lzma lzo mad mp3 mp4 mpeg ncurses nfs nls nptl ogg opengl openmp openssl opus otr pam pango pcre pdf pgo pie png policykit ppds readline sdl seccomp sftp split-usr ssh ssl ssp startup-notification svg system-av1 system-binutils system-cairo system-clang system-cmark system-compress system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-images system-jpeg system-jsoncpp system-lcms system-leveldb system-libevent system-libmspack system-libs system-libvpx system-libyaml system-llvm system-lua system-lz4 system-nss system-openjpeg system-pixman system-renpy system-snappy system-sqlite system-tbb system-uulib system-vpx system-zlib tiff tk truetype udev udisks unicode upower usb vaapi vdpau verify-sig vorbis wxwidgets x264 xattr xcb xml xtpax xv xvid zlib zstd" 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 f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64" QEMU_USER_TARGETS="aarch64 arm armeb i386 x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 David Duchesne 2021-08-22 17:50:54 UTC
Created attachment 735097 [details]
pcsx2-9999 (build log)

Log is too big to be uploaded here. Not sure how to upload the full one so here is a reduced version of it.
Comment 2 Leandro Hoshiko 2021-09-24 21:02:38 UTC
I've also had a bunch of undefined reference errors with live PCSX2.

I've ended up adding -DBUILD_SHARED_LIBS=OFF to solve the problem.
Comment 3 Ionen Wolkens gentoo-dev 2021-09-24 21:17:45 UTC
(In reply to leandrolnh from comment #2)
> I've also had a bunch of undefined reference errors with live PCSX2.
> 
> I've ended up adding -DBUILD_SHARED_LIBS=OFF to solve the problem.
Ah, it's one of these case. Thanks, I'll go ahead and add this myself given trivial. Feel it may be due for a deeper review soon though.
Comment 4 Larry the Git Cow gentoo-dev 2021-09-24 21:23:17 UTC
The bug has been closed via the following commit(s):

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

commit edd8cb31db21dd4335c13b1b68920864ccd702e9
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-09-24 21:15:28 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-09-24 21:22:16 +0000

    games-emulation/pcsx2: use shared=off to fix live build
    
    It's not installed libraries.
    
    Closes: https://bugs.gentoo.org/809614
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/pcsx2/pcsx2-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)