Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883721 - [guru] FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/bin/database'
Summary: [guru] FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/por...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Octiabrina Terrien-Puig
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-30 08:40 UTC by Mitch
Modified: 2023-08-18 06:21 UTC (History)
1 user (show)

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


Attachments
build log (games-emulation:duckstation-9999:20221130-074457.log,630.81 KB, text/x-log)
2022-11-30 08:40 UTC, Mitch
Details
fix_inverted_axis_regression.patch (fix_inverted_axis_regression.patch,1.09 KB, patch)
2023-07-08 17:47 UTC, Alex Barker
Details | Diff
duckstation-9999.ebuild (duckstation-9999.ebuild,2.23 KB, application/vnd.gentoo.ebuild)
2023-07-08 17:51 UTC, Alex Barker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mitch 2022-11-30 08:40:02 UTC
hello this ebuild is failing at install phase, I understand qt6 stuff is still masked. I needed to unmask dev-qt/qtbase:6 & dev-qt/qttools:6 in order for this to build but it does.

Reproducible: Always

Steps to Reproduce:
emerge -1 =games-emulation/duckstation-9999::guru 
Actual Results:  
doins failed

Expected Results:  
package installs

[code]➜ l /var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/bin  
Permissions Size User    Date Modified Name
drwxr-xr-x     - portage 29 Nov 23:45  resources
drwxr-xr-x     - portage 29 Nov 23:45  translations
.rwxr-xr-x  463k portage 29 Nov 23:45  common-tests
.rwxr-xr-x  7.7M portage 29 Nov 23:46  duckstation-nogui
.rwxr-xr-x   11M portage 29 Nov 23:46  duckstation-qt[/code]

Error

[code]>>> Source compiled.
>>> Test phase [not enabled]: games-emulation/duckstation-9999

>>> Install games-emulation/duckstation-9999 into /var/tmp/portage/games-emulation/duckstation-9999/image
Traceback (most recent call last):
  File "/usr/lib/portage/python3.10/doins.py", line 609, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.10/doins.py", line 598, in main
    if _doins(
  File "/usr/lib/portage/python3.10/doins.py", line 441, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.10/doins.py", line 375, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.10/doins.py", line 183, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation-9999_build/bin/database'
 [31;01m*[0m ERROR: games-emulation/duckstation-9999::guru failed (install phase):
 [31;01m*[0m   doins failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=games-emulation/duckstation-9999::guru'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=games-emulation/duckstation-9999::guru'`.
 [31;01m*[0m The complete build log is located at '/var/log/portage/games-emulation:duckstation-9999:20221130-074457.log'.
 [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/duckstation-9999/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/games-emulation/duckstation-9999/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation'
 [31;01m*[0m S: '/var/tmp/portage/games-emulation/duckstation-9999/work/duckstation'[/code]


[code]➜ emerge --info '=games-emulation/duckstation-9999::guru'
Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-11.3.0, glibc-2.36-r5, 6.0.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.0.10-gentoo-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.36
KiB Mem:    65782212 total,   4072496 free
KiB Swap:   33554428 total,  33553148 free
Timestamp of repository gentoo: Wed, 30 Nov 2022 06:16:48 +0000
Head commit of repository gentoo: 7ab696488f853dae4ba8dd31e4baac34646b7979

Timestamp of repository 4nykey: Sat, 26 Nov 2022 21:17:44 +0000
Head commit of repository 4nykey: daaa37b3252755fd13433e0ab828c56f56356bcd

Timestamp of repository bircoph: Sat, 26 Nov 2022 21:17:29 +0000
Head commit of repository bircoph: 241315c777c4fa5b56d52a14fc1852fb71546b68

Timestamp of repository guru: Tue, 29 Nov 2022 21:01:53 +0000
Head commit of repository guru: 3a9e6aee8aa3866e99ea0bc8398077b15eeb0d2b

Timestamp of repository menelkir: Wed, 30 Nov 2022 01:02:49 +0000
Head commit of repository menelkir: 01461f09bf8797bd37f964b229c1116bd044c802

Timestamp of repository pf4public: Wed, 30 Nov 2022 01:31:43 +0000
Head commit of repository pf4public: 87178aa09f6a390feda3e8940342ffdea1ddef59

Timestamp of repository src_prepare-overlay: Wed, 30 Nov 2022 01:02:49 +0000
Head commit of repository src_prepare-overlay: b32a0382ab135433d6583007ebfd82e1669e9c70

Timestamp of repository steam-overlay: Sat, 26 Nov 2022 21:17:38 +0000
Head commit of repository steam-overlay: 7725952b048be2987eb0a39b2641a03b30df8f44

Timestamp of repository vapoursynth: Tue, 29 Nov 2022 23:16:43 +0000
Head commit of repository vapoursynth: 3c34ca1ff7648f4cb98cbe8add72a3ac13807db8

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           3.10.8_p3::gentoo, 3.11.0_p2::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-lang/rust-bin:         1.65.0::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.63.3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.3::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.3::gentoo
sys-devel/llvm:            15.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

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

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

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

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

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

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

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

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
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 XDG_STATE_HOME"
FCFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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=znver1 -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
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"
SHELL="/bin/zsh"
USE="X aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr clang cli colord crypt dbus dri drm dts dvd dvdr eds elogind encode evo exif flac fortran fuse gdbm gdm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk4 gui iconv icu introspection ipv6 jpeg lame lcms libglvnd libnotify libsecret libtirpc llvm-libunwind lm-sensors lto mad mng mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio qt5 readline samba sdl seccomp spell split-usr ssl startup-notification svg sysprof test-rust tiff tracker truetype udev udisks unicode upower usb vaapi vim-syntax vorbis vulkan wxwidgets x x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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="mmx mmxext sse sse2 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid fma fma3 fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca mce misalignsse monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmul pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 rapl rdrand rdseed rdtscp rep_good sep sev sev_es sha sha_ni skinit smap smca smep ssbd sse3 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves" 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="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS[/code]


[code]➜ emerge -pqv '=games-emulation/duckstation-9999::guru'
[ebuild  N    ] games-emulation/duckstation-9999  USE="X discord egl evdev gamepad gbm nogui qt5 retroachievements -fbdev -wayland"[/code]
Comment 1 Mitch 2022-11-30 08:40:59 UTC
Created attachment 838397 [details]
build log
Comment 2 Alex Barker 2023-07-08 17:47:28 UTC
Created attachment 865282 [details, diff]
fix_inverted_axis_regression.patch

This patch fixes some evdev compile time issues.  You may need to apply this before testing the issue for this bug. The patch has been emailed upstream because the repo doesn't accept pull requests or bug reports. O_o
Comment 3 Alex Barker 2023-07-08 17:51:14 UTC
Created attachment 865283 [details]
duckstation-9999.ebuild

This ebuild fixes the issues associated with this ticket and a couple of other problems in the ebuild.
Comment 4 Alex Barker 2023-07-08 17:57:58 UTC
I have opened a pull-request to the Guru repo to fix this issue.

https://github.com/gentoo/guru/pull/99
Comment 5 Larry the Git Cow gentoo-dev 2023-08-18 06:21:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4727bcf53bb4d44a4bbe64d127ad6ab6f258f86

commit a4727bcf53bb4d44a4bbe64d127ad6ab6f258f86
Author:     Haelwenn (lanodan) Monnier <contact@hacktivis.me>
AuthorDate: 2023-08-17 20:37:53 +0000
Commit:     Haelwenn (lanodan) Monnier <contact@hacktivis.me>
CommitDate: 2023-08-17 20:58:51 +0000

    games-emulation/duckstation: qt5 to qt6 migration, dbus flag, cubeb dep
    
    Closes: https://bugs.gentoo.org/883721
    Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>

 .../duckstation/duckstation-9999.ebuild            | 23 ++++++++++++----------
 games-emulation/duckstation/metadata.xml           |  2 +-
 2 files changed, 14 insertions(+), 11 deletions(-)