Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916431 - gui-wm/wayfire-9999: Missing dependencies
Summary: gui-wm/wayfire-9999: Missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-10-28 16:33 UTC by Alexander Weber
Modified: 2024-03-16 19:24 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Weber 2023-10-28 16:33:14 UTC
Today I tried to build gui-wm/wayfire-9999 and found some issues:

1: Missed dependencies. I was forced to install app-doc/doxygen and sys-auth/seatd. Without this packages installed the wayfire failed to build


2: Build with USE="system-wlroots" is not possible. The ebuild forces gui-libs/wlroots-9999 as dependency, but the build fails with

Dependency wlroots found: NO found 0.17.0-dev but need: '<0.17.0' ; matched: '>=0.16.0'


Reproducible: Always

Actual Results:  
hybrid /home/player # emerge --info wayfire
Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.37-r7, 6.1.57-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.57-gentoo-dist-x86_64-Intel-R-_Celeron-R-_CPU_N3010_@_1.04GHz-with-glibc2.37
KiB Mem:     3845604 total,   1187680 free
KiB Swap:    5242872 total,   5239288 free
Timestamp of repository gentoo: Sat, 28 Oct 2023 11:30:01 +0000
Head commit of repository gentoo: 3270a41702b0af68989b4da69e6bb57c149f5acd
Timestamp of repository bell07: Thu, 26 Oct 2023 22:03:57 +0000
Head commit of repository bell07: 6e8d7ae18f25fbc39b86969f3282dd389a942966

Head commit of repository genomorro-overlay: f997055314fea4fab66b3588717bc4923eb12bea

Timestamp of repository guru: Sat, 28 Oct 2023 07:46:46 +0000
Head commit of repository guru: 429f3a9d7f21e497d38762006f9167d7b62ef07c

Timestamp of repository steam-overlay: Thu, 26 Oct 2023 22:03:40 +0000
Head commit of repository steam-overlay: 72c4dc8b7510033045f713b891758713c3c11801

Timestamp of repository wayland-desktop: Thu, 26 Oct 2023 22:03:53 +0000
Head commit of repository wayland-desktop: 25c72783987fd7bcc514260e91a001e6cff615c0

Timestamp of repository x11: Sun, 22 Oct 2023 19:17:26 +0000
Head commit of repository x11: d6dd8bf2346f3d19883e0c51c5cda46cd584381f

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
distcc 3.4 x86_64-pc-linux-gnu [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.5::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
dev-util/cmake:            3.26.5-r2::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

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

genomorro-overlay
    location: /var/db/repos/genomorro
    sync-type: git
    sync-uri: https://gitlab.com/genomorro/genomorro-overlay
    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

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

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

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

Installed sets: @my-linux-games-deps
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=silvermont -maes --param=l1-cache-line-size=64 --param=l1-cache-size=24 --param=l2-cache-size=1024  -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 /etc/terminfo"
CXXFLAGS="-O2 -march=silvermont -maes --param=l1-cache-line-size=64 --param=l1-cache-size=24 --param=l2-cache-size=1024  -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write n"
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=silvermont -maes --param=l1-cache-line-size=64 --param=l1-cache-size=24 --param=l2-cache-size=1024  -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distcc 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="-O2 -march=silvermont -maes --param=l1-cache-line-size=64 --param=l1-cache-size=24 --param=l2-cache-size=1024  -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed "
LEX="flex"
LINGUAS="de en"
MAKEOPTS="-j3"
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/bash"
USE="X a52 aac aacs acl acpi alsa amd64 avahi bdplus bluetooth bluray branding bzip2 cacert cairo cdda cddb cdr cli cover crypt css cups dbus dist-kernel dri dts dvd dvdr egl elogind encode exif fat ffmpeg flac fluidsynth fortran gamepad gdbm gdk-pixbuf gif gimp git gles2 gpm gstreamer gtk gtk3 gui hddtemp heif hfs iconv icu ipv6 java joystick jpeg jpeg2k lcms libnotify libtirpc lm-sensors logrotate lto mad mdnsresponder-compat midi mms mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ntfs oauth ocr ogg opencv openexr opengl openmp opus pam pango pcre pdf pgo pipewire png policykit postscript ppds printsupport pulseaudio qt5 readline rtmp samba scanner sdl seccomp snmp sound spell split-usr sqlite ssl startup-notification svg test-rust theora threads thunar tiff truetype udev udf udisks unicode upower usb v4l vaapi vdpau vorbis vpx vulkan wayland webp widevine widgets wiimote wmf wxwidgets x264 x265 xattr xcb xfce xft xinerama xml xpmopenexr xrandr xv xvfb xvid xvmc xwayland zlib" ABI_X86="64 32" 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="aes mmx mmxext pclmul popcnt rdrand 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="de en" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="hp net" VIDEO_CARDS="intel i965" 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, 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

=================================================================
                        Package Settings
=================================================================

gui-wm/wayfire-9999::gentoo was built with the following:
USE="X gles system-wfconfig -debug -system-wlroots" ABI_X86="(64)"
Comment 1 Alexander Weber 2023-10-29 10:36:20 UTC
EDIT for issue 1: dev-cpp/nlohmann_json is required too for build
Comment 2 Alfred Wingate 2023-11-26 00:08:58 UTC
The only real missing dependency is sys-auth/seatd which is for wlroots. doxygen and nlohmann_json are red herrings as doxygen is optional for wf-utils and nlohmman_json is for wayfire (it being automagic json support). 

You failure with system-wlroots is because wayfire was behind in its major version from live wlroots. This is not surprising for live package and you should be expecting this. You should know how to force a live package to version branch that is supported.

Referenced this in the pull request due to seatd and nlohmman_json. Despite nlohmann_json being automagic i decided it was to best make it mandatory for the sake of avoiding patching and adding more flags.
Comment 3 Larry the Git Cow gentoo-dev 2023-12-17 19:55:29 UTC
The bug has been referenced in the following commit(s):

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

commit a6da6e062fd05e637af7a70fe8644be36b3c579a
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-11-25 22:54:45 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-12-17 19:55:17 +0000

    gui-wm/wayfire: add 0.8.0
    
    Bug: https://bugs.gentoo.org/915795
    Bug: https://bugs.gentoo.org/916431
    Closes: https://bugs.gentoo.org/831959
    Closes: https://bugs.gentoo.org/859256
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 gui-wm/wayfire/Manifest             |   1 +
 gui-wm/wayfire/wayfire-0.8.0.ebuild | 158 ++++++++++++++++++++++++++++++++++++
 gui-wm/wayfire/wayfire-9999.ebuild  | 118 ++++++++++++++++++---------
 3 files changed, 239 insertions(+), 38 deletions(-)
Comment 4 Alexander Weber 2023-12-18 07:10:09 UTC
The second (versions) issue is still not solved.
The wayfire-9999 requires wlroots-17
But wlroots-9999 is version 18 currently.

Solved for me by adjusting dependency in ebuild, placed in my overlay https://github.com/bell07/gentoo-bell07_overlay/blob/master/gui-wm/wayfire/wayfire-9999.ebuild
Comment 5 Alfred Wingate 2023-12-18 07:19:49 UTC
I don't think its a good solution for ::gentoo because 9999 its a moving target, best to keep it as 9999 so that users can have better freedom to handle it.

If you insist on using the live package with system-wlroots then you can specify wlroots-9999 to use the 17 branch.

EGIT_OVERRIDE_BRANCH_WLROOTS_WLROOTS="0.17"
Comment 6 Larry the Git Cow gentoo-dev 2024-03-16 19:24:44 UTC
The bug has been closed via the following commit(s):

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

commit 49e20c85ca4aada2f761df4c74cc7b2087d49b45
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-03-14 11:37:48 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-03-16 19:18:09 +0000

    gui-wm/wayfire: update live ebuild
    
    * Remove system-wfconfig and system-wlroots use flags, the default will
      be to use system wf-config and system wlroots. Now that upstream is more
      active and targets specific wlroots major releases the point of
      system-wlroots has gone. wf-config has the same upstream so using a
      bundled version doesn't have much rationale.
    * Remove dependency on wlroots-9999 and instead require a specific major
      release of wlroots that could be updated as seen fit.
    
    Closes: https://bugs.gentoo.org/916431
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 gui-wm/wayfire/wayfire-9999.ebuild | 79 ++++++++------------------------------
 1 file changed, 15 insertions(+), 64 deletions(-)