Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gamescope - libdisplay-info dependencies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Wed Apr 12, 2023 1:54 pm    Post subject: gamescope - libdisplay-info dependencies Reply with quote

So I have hyprland but I also want to install gamescope.

However, one dependencies of gamescope is

<media-libs/libdisplay-info-0.1.0


and hyprland needs or using media-libs/libdisplay-info-0.1.0

Not sure if I submit a bug or I dont really know where to ask this but anybody knows why gamescope depends on lower version of libdisplay-info?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Wed Apr 12, 2023 3:14 pm    Post subject: Reply with quote

According to git log -p -- gui-wm/gamescope/, this was added in gui-wm/gamescope: Version bump to 3.11.52_beta2. The commit does not cite a Gentoo bug for why this was done. Since the log message speculates that the constraint is unnecessary, you could try relaxing it to see if it works.
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Thu Apr 13, 2023 3:19 am    Post subject: Reply with quote

Hu wrote:
According to git log -p -- gui-wm/gamescope/, this was added in gui-wm/gamescope: Version bump to 3.11.52_beta2. The commit does not cite a Gentoo bug for why this was done. Since the log message speculates that the constraint is unnecessary, you could try relaxing it to see if it works.


Thanks,

I could see here that it states "libdisplay-info-0.1.0 probably does work"


But I can try.

However, can you tell me what you mean by

Quote:
you could try relaxing it to see if it works
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1528
Location: South America

PostPosted: Thu Apr 13, 2023 3:02 pm    Post subject: Reply with quote

Ja.KooLit wrote:
However, can you tell me what you mean by

Quote:
you could try relaxing it to see if it works

Create a local ebuild repository, copy directory /var/db/repos/gentoo/gui-wm/gamescope to that repository, modify the assignment to RDEPEND in file gamescope-3.11.52_beta6.ebuild to read:
Code:
media-libs/libdisplay-info

instead of:
Code:
<media-libs/libdisplay-info-0.1.0

Then remake the manifest with:
Code:
ebuild gamescope-3.11.52_beta6.ebuild manifest

And if everything is correct you should be able to install gamescope from the local repository with emerge.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Thu Apr 13, 2023 8:56 pm    Post subject: Reply with quote

NICE! Learned something new today. Thank you very much for detailed explanation

Initially, had some error running ebuild... manifest..... but figured I have to copy contents of /var/db/repos/gentoo/gui-wm/ to localrepo and just delete rest leaving only gamescope folder

nyway, long story short, successful emerging and seems to accept from localrepo

however, got a error

Code:
* Messages for package gui-wm/gamescope-3.11.52_beta6:

 * ERROR: gui-wm/gamescope-3.11.52_beta6::localrepo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2298:  Called meson_src_configure
 *   environment, line 1724:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=gui-wm/gamescope-3.11.52_beta6::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=gui-wm/gamescope-3.11.52_beta6::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/temp/environment'.
 * Working directory: '/var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52-beta6'
 * S: '/var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52-beta6'

 * GNU info directory index is up-to-date.


Any ideas?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Thu Apr 13, 2023 11:06 pm    Post subject: Reply with quote

Based on the output shown, there was an error during the configure phase. If you need more specific help, please follow the instructions that you posted, which will give us the actual text of the error message, which may allow us to tell you why it failed.
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Fri Apr 14, 2023 2:38 am    Post subject: Reply with quote

Hu wrote:
Based on the output shown, there was an error during the configure phase. If you need more specific help, please follow the instructions that you posted, which will give us the actual text of the error message, which may allow us to tell you why it failed.


thanks

Code:
╰─➤  emerge --info '=gui-wm/gamescope-3.11.52_beta6::localrepo'                                                         130 ↵
Portage 3.0.46 (python 3.11.2-final-0, default/linux/amd64/17.1/desktop/systemd/merged-usr, gcc-12, glibc-2.37-r1, 6.2.11-gentoo-Ja-HyprLanD x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.2.11-gentoo-Ja-HyprLanD-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.37
KiB Mem:    65745068 total,  59834008 free
KiB Swap:   59399156 total,  59399156 free
Timestamp of repository gentoo: Thu, 13 Apr 2023 19:46:55 +0000
Head commit of repository gentoo: 2aa895d463d1c1b45cf667dc811a7571992713e0

Timestamp of repository ROKO__: Wed, 12 Apr 2023 09:16:51 +0000
Head commit of repository ROKO__: b4d4c84c543d0117177bb563c1bf4a9fe58cc21a

Timestamp of repository gogooverlay: Mon, 03 Apr 2023 17:16:52 +0000
Head commit of repository gogooverlay: 7a5ca41b8f28b5df58357a95e3455968ed72efca

Timestamp of repository guru: Thu, 13 Apr 2023 07:16:50 +0000
Head commit of repository guru: 67f0a539468565da39d7c3d102b4fcfa31831093

Timestamp of repository menelkir: Thu, 06 Apr 2023 15:46:59 +0000
Head commit of repository menelkir: 309558fac8f3bea4e8a181a8642e6d95934c4672

Timestamp of repository steam-overlay: Sun, 02 Apr 2023 01:01:55 +0000
Head commit of repository steam-overlay: d24ddd3db84f894a52a2fdfd55a26ca822420081

Head commit of repository useless-overlay: 519a2abfeede619610454157bd22b90f37f86851

Timestamp of repository wayland-desktop: Sat, 08 Apr 2023 14:16:49 +0000
Head commit of repository wayland-desktop: 4b1df2e031f3ccbb5ed6a96c1aa2a731ecb7dea9

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.11.2_p2::gentoo
dev-lang/rust-bin:         1.68.2-r1::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.3::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.1::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.1::gentoo
sys-devel/llvm:            16.0.1::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r1::gentoo
Repositories:

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

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

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

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

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

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

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

useless-overlay
    location: /var/db/repos/useless-overlay
    sync-type: git
    sync-uri: https://github.com/Wa1t5/useless-overlay
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=32 --load-average=33 --ask --with-bdeps y --complete-graph y --complete-graph-if-new-use y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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="-O2 -march=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy 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="-O2 -march=native -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j32 -l33"
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"
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi alsa amd64 apparmor bluetooth branding bzip2 cairo cli crypt dbus dri dts encode exif ffmpeg flac fortran gdbm gif gpm gstreamer gtk gui iconv icu jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nftables nls nptl ogg opengl openmp pam pango pcre pdf pipewire png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev joystick" KERNEL="linux" L10N="en-US" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS




Build Log from /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/temp/build.log

Code:
 * Package:    gui-wm/gamescope-3.11.52_beta6:0
 * Repository: localrepo
 * Maintainer: chewi@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc filecaps kernel_linux pipewire userland_GNU wsi-layer
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gamescope-3.11.52_beta6.tar.gz to /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work
>>> Source unpacked in /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work
>>> Preparing source in /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52-beta6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52-beta6 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain --force-fallback-for= -Denable_openvr_support=false -Dpipewire=enabled -Denable_gamescope_wsi_layer=true /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52-beta6 /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52_beta6-build
The Meson build system
Version: 1.0.1
Source dir: /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52-beta6
Build dir: /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52_beta6-build
Build type: native build
Project name: gamescope
Project version: undefined
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 12.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 12.2.1_p20230304 p13) 12.2.1 20230304")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.40
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 12.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo 12.2.1_p20230304 p13) 12.2.1 20230304")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
Compiler for C++ supports arguments -Wno-c99-designator: NO
Compiler for C++ supports arguments -Wno-invalid-offsetof: YES
Compiler for C++ supports arguments -Wno-unused-const-variable: YES
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Run-time dependency libpipewire-0.3 found: YES 0.3.69
Library rt found: YES
Run-time dependency hwdata found: YES 0.369
Run-time dependency x11 found: YES 1.8.4
Run-time dependency vulkan found: YES 1.3.243
Check usable header "vulkan/vulkan.h" with dependency vulkan: YES
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency vkroots found: YES undefined
Run-time dependency xcb found: YES 1.15
Run-time dependency x11-xcb found: YES 1.8.4
Run-time dependency wayland-client found: YES 1.22.0
Configuring VkLayer_FROG_gamescope_wsi.x86_64.json using configuration
Run-time dependency xdamage found: YES 1.1.6
Run-time dependency xcomposite found: YES 0.4.6
Run-time dependency xrender found: YES 0.9.11
Run-time dependency xext found: YES 1.3.5
Run-time dependency xfixes found: YES 6.0.1
Run-time dependency xxf86vm found: YES 1.1.5
Run-time dependency xtst found: YES 1.2.4
Run-time dependency xres found: YES 1.2.2
Run-time dependency xmu found: YES 1.1.4
Run-time dependency libdrm found: YES 2.4.115
Run-time dependency wayland-server found: YES 1.22.0
Run-time dependency wayland-protocols found: YES 1.31
Run-time dependency xkbcommon found: YES 1.5.0
Run-time dependency threads found: YES
Run-time dependency libcap found: YES 2.68
Run-time dependency sdl2 found: YES 2.26.3
Found CMake: /usr/bin/cmake (3.26.3)
Run-time dependency stb found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency stb

Executing subproject stb

stb| Project name: stb
stb| Project version: 0.1.0
stb| C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 12.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 12.2.1_p20230304 p13) 12.2.1 20230304")
stb| C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.40
stb| Build targets in project: 16
stb| Subproject stb finished.

Dependency stb found: YES 0.1.0 (overridden)
Run-time dependency wlroots found: YES 0.16.2
Run-time dependency display-info found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency display-info

src/meson.build:29:0: ERROR: Subproject exists but has no meson.build file

A full log can be found at /var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52_beta6-build/meson-logs/meson-log.txt
 * ERROR: gui-wm/gamescope-3.11.52_beta6::localrepo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2298:  Called meson_src_configure
 *   environment, line 1724:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=gui-wm/gamescope-3.11.52_beta6::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=gui-wm/gamescope-3.11.52_beta6::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/temp/environment'.
 * Working directory: '/var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52-beta6'
 * S: '/var/tmp/portage/gui-wm/gamescope-3.11.52_beta6/work/gamescope-3.11.52-beta6'
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Fri Apr 14, 2023 5:14 am    Post subject: Reply with quote

Maybe related to this upstream bug?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Fri Apr 14, 2023 2:56 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Maybe related to this upstream bug?


so right now I just have to wait?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Fri Apr 14, 2023 3:51 pm    Post subject: Reply with quote

The cited bug has a fix, which was applied last month. Does the fix not work for you?
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Fri Apr 14, 2023 5:51 pm    Post subject: Reply with quote

nope. Issue is ebuild is pulling the older libdisplay info. But Hyprland needs the newer version. If I relaxed it like you suggested, got error... cant install basically
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Fri Apr 14, 2023 7:14 pm    Post subject: Reply with quote

Yes, the Gentoo ebuild specifies the old version. Your local ebuild can relax that. When you reported that relaxing the constraint was insufficient, you were directed to an upstream bug report, which includes a fix that may be relevant to the failure you saw. I asked whether the fix works for you. You say it doesn't, but then your post reads like you never tried that fix. So, I will ask again, did you try the fix and find it not to work? What did you see different from your most recent build log that leads you to believe that (1) the proposed fix was applied and (2) applying it did not help?
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Sat Apr 15, 2023 1:23 am    Post subject: Reply with quote

I admit I am completely noob in that kind of things 8O :cry:

looking at the bug, as it was closed I have the impression that it was already included since the repo build version is same in that upstream bug and the commit was a month ago

So no I didnt apply fix since I have not clue how to fix.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sat Apr 15, 2023 3:20 am    Post subject: Reply with quote

3.11.52-beta6 was tagged 2023-03-04T18:08:38Z. @emersion merged commit 5a672f0 into ValveSoftware:master at 2023-03-12T11:28:35Z, which is about a week later. The fix is included in the repository, but is not included in the tag you are trying to build. Therefore, you must patch that tag, use a live ebuild, or wait for a new release.

Why are you trying to install two incompatible compositors?
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Sat Apr 15, 2023 5:07 am    Post subject: Reply with quote

From my first post

Quote:
So I have hyprland but I also want to install gamescope.

However, one dependencies of gamescope is

<media-libs/libdisplay-info-0.1.0


and hyprland needs or using media-libs/libdisplay-info-0.1.0

Not sure if I submit a bug or I dont really know where to ask this but anybody knows why gamescope depends on lower version of libdisplay-info?


That is why I was trying to adjust the gamescope libdisplay-info dependencies because ebuild needs an old libdisplay-info


Oh looking at guru's hyprland ebuild, it does not specify libdisplay-info version... Will try guru's Hyprland ebuild
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Sat Apr 15, 2023 7:59 am    Post subject: Reply with quote

soooo... an update.......

Tried guru hyprland....... all fine and dandy..

then gamescope... downgrade libdisplay-info....

cant.....

emerge @preserved-rebuild for hyprland... cant rebuild......

upgraded libdisplay-info to newer, then ran preserve-rebuild.. hyprland rebuild..

so it looks like I have to wait until ebuild updated for gamescope
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sat Apr 15, 2023 3:47 pm    Post subject: Reply with quote

Yes, I saw that you want to install gamescope, but you did not explain why you need to do it.

As you found, the dependency in the ebuild is there for good reason (contrary to the optimistic tone in the Gentoo git commit that I found for you). If you want to change the dependency, you also need to apply @emersion's patch to make it work with the new version.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1528
Location: South America

PostPosted: Sat Apr 15, 2023 4:46 pm    Post subject: Reply with quote

Hu wrote:
If you want to change the dependency, you also need to apply @emersion's patch to make it work with the new version.

... which can be done using /etc/portage/patches in combination with the modified ebuild from the local repository.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 99
Location: Somewhere Over There!

PostPosted: Sun Apr 16, 2023 12:01 pm    Post subject: Reply with quote

Quote:
but you did not explain why you need to do it.


Gamescope can be use for games and HDR.

In Arch it is working so I want to test / try in Gentoo as well hence the reason why I want to install.

Quote:
If you want to change the dependency, you also need to apply @emersion's patch to make it work with the new version.


Thanks. I will try to find out how to patch. Thank you for finding the patch for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum