Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789447 - gui-wm/hikari-2.2.2-r1 - /usr/include/wlr/types/wlr_layer_shell_v1.h:52:52: error: field 'keyboard_interactive' has incomplete type
Summary: gui-wm/hikari-2.2.2-r1 - /usr/include/wlr/types/wlr_layer_shell_v1.h:52:52: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords:
: 784470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-11 12:13 UTC by MT
Modified: 2021-09-19 20:28 UTC (History)
5 users (show)

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


Attachments
emerge --info (emerge-info.txt,13.46 KB, text/plain)
2021-05-11 12:13 UTC, MT
Details
gui-wm:hikari-2.2.2-r1:20210511-121941.log (gui-wm:hikari-2.2.2-r1:20210511-121941.log,3.64 KB, text/x-log)
2021-05-11 12:22 UTC, MT
Details
build.log 2021-07-23 (file_789447.txt,14.18 KB, text/plain)
2021-07-23 17:35 UTC, Marinus Savoritias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2021-05-11 12:13:56 UTC
Created attachment 707064 [details]
emerge --info

Ebuild compilation fails with the following error:

> In file included from include/hikari/layer_shell.h:4,
>                 from include/hikari/server.h:29,
>                 from src/action.c:7:
> /usr/include/wlr/types/wlr_layer_shell_v1.h:52:52: error: field 'keyboard_interactive' has incomplete type
>   52 |  enum zwlr_layer_surface_v1_keyboard_interactivity keyboard_interactive;
>      |                                                    ^~~~~~~~~~~~~~~~~~~~
> *** [action.o] Error code 1
> bmake: stopped in /var/tmp/portage/gui-wm/hikari-2.2.2-r1/work/hikari-2.2.2
> 1 error
> bmake: stopped in /var/tmp/portage/gui-wm/hikari-2.2.2-r1/work/hikari-2.2.2

This issue surfaced right after upgrading from gui-libs/wlroots-0.12.0 to gui-libs/wlroots-0.13.0, which prompted the rebuild of gui-wm/hikari-2.2.2 due to preserved libraries:

> !!! existing preserved libs:
> >>> package: gui-libs/wlroots-0.13.0
>  *  - /usr/lib64/libwlroots.so.7
>  *      used by /usr/bin/hikari (gui-wm/hikari-2.2.2-r1)
> Use emerge @preserved-rebuild to rebuild packages using these libraries

----

 gcc-config -l
 [1] x86_64-pc-linux-gnu-10.2.0 *

----

 emerge -qpvO gui-wm/hikari
 [ebuild   R   ] gui-wm/hikari-2.2.2-r1  USE="gamma* layershell* screencopy* -X -suid -virtual-io"
Comment 1 MT 2021-05-11 12:22:40 UTC
Created attachment 707067 [details]
gui-wm:hikari-2.2.2-r1:20210511-121941.log
Comment 2 Marinus Savoritias 2021-07-23 16:14:54 UTC
Same problem on my system too. I have wlroots-0.13.0

Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.0/musl/hardened, gcc-10.3.0, musl-1.2.2-r2, 5.10.47-gentoo-dist-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.47-gentoo-dist-hardened-x86_64-Intel-R-_Core-TM-_i5-7200U_CPU_@_2.50GHz-with-libc
KiB Mem:    12041992 total,   9180092 free
KiB Swap:    5242876 total,   5242876 free
Timestamp of repository gentoo: Sun, 18 Jul 2021 09:00:01 +0000
Head commit of repository gentoo: 0d2873615c948b727acc2df0a78f9102c7689bfa
Timestamp of repository gentoo-bootstrap: Sat, 17 Jul 2021 08:07:27 +0000
Head commit of repository gentoo-bootstrap: 8567dec25daf434bee0e080026966aa2e8116911

Timestamp of repository guru: Sun, 18 Jul 2021 06:08:05 +0000
Head commit of repository guru: 062be458b19151eea976fd7b76e6bfaac58fc9ca

Head commit of repository librewolf: 78fda9efc40fdeb115cd69b7d5b42b9b3de466aa

Timestamp of repository musl: Sat, 17 Jul 2021 21:51:34 +0000
Head commit of repository musl: 113de5f515b772c44967782cef79af71063b1a4e

Head commit of repository rust-dev: 742d7cf31a8d846852a2d16228663b7fdc38b0b4

Timestamp of repository smaeul: Sat, 17 Jul 2021 08:07:27 +0000
Head commit of repository smaeul: d65688a660a4273570537752abd489accde28d46

Timestamp of repository torbrowser: Sat, 17 Jul 2021 08:07:12 +0000
Head commit of repository torbrowser: c58bfe0ab597678da939dc71f0f9a435b3377c62

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::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.35.2::gentoo
sys-devel/gcc:            10.3.0::musl
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-r1::musl (virtual/os-headers)
sys-libs/musl:            1.2.2-r2::gentoo
Repositories:

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

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

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

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git
    masters: gentoo

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

rust-dev
    location: /var/db/repos/rust-dev
    sync-type: git
    sync-uri: https://github.com/kentnl-gentoo-rust/rust-dev-overlay.git
    masters: gentoo

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-gentoo-linux-musl"
CC="clang"
CFLAGS="-O2 -pipe -Weverything"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXX="clang++"
CXXFLAGS="-O2 -pipe -Weverything"
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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias locale.alias"
LANG="C.UTF8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
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="\ acl alsa amd64 blake2 caps clang crypt elogind filecaps fish-completion hardened iconv ipv6 libedit libglvnd libtirpc llvm ncurses nptl pam pcre pie readline savedconfig seatd seccomp split-usr ssl ssp unicode wayland xattr xtpax zlib" 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="mmx mmxext sse sse2" ELIBC="musl" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="iris" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 3 Marinus Savoritias 2021-07-23 17:35:28 UTC
Created attachment 726136 [details]
build.log 2021-07-23

Attaching also the build log.
Comment 4 Don O 2021-07-24 15:48:48 UTC
The 2.2.2 version is old, and I doubt it would handle wlroots >= 13
In other words limit to wlroots 11 or maybe 12 (if tested)

Wlroots is a RAPIDLY changing package, not guaranteed to be abi stable from one release to the next. 

Any software that depends on wlroots needs to take version number into account when writing the ebuild.
Comment 5 Ionen Wolkens gentoo-dev 2021-07-24 15:57:24 UTC
(In reply to Don O from comment #4)
> The 2.2.2 version is old, and I doubt it would handle wlroots >= 13
> In other words limit to wlroots 11 or maybe 12 (if tested)
> 
> Wlroots is a RAPIDLY changing package, not guaranteed to be abi stable from
> one release to the next. 
> 
> Any software that depends on wlroots needs to take version number into
> account when writing the ebuild.

The PR to bump it already sets stronger wlroots constraints.
https://github.com/gentoo/gentoo/pull/21297

I meant to merge it but, by the time I looked at it, 2.3.1 was already out (and now 2.3.2) and thought could get that in instead. Unfortunately maintainer seems away right now, and I don't really know this package myself (plus I use nvidia-drivers).
Comment 6 Ionen Wolkens gentoo-dev 2021-09-19 11:57:57 UTC
*** Bug 784470 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2021-09-19 20:28:33 UTC
The bug has been closed via the following commit(s):

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

commit 31f1c5a908248358ae1955f2b706828180198ae9
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-09-19 12:00:02 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-09-19 20:26:17 +0000

    gui-wm/hikari: add 2.3.2
    
    Non-maintainer bump to support newer wlroots wrt
    bug #789447, with some ebuild changes:
    * Revert to running bmake directly. This isn't just about -lN
      (many more options are missing and existing ones can even mean
      different things), `bmake -j$(makeopts_jobs)` is more solid.
      Seems better to think of it as its own thing than a $MAKE
      drop-in replacement (like jamfiles or so).
      Note: MAKEFLAGS is recognized by bmake to pass extra arguments
    * Drop most [X?] as interest here is only wlroots xwayland support
    * IUSE=X now non-default to match wlroots' and use profile settings
    * Drop other IUSE and enable by default (trivial and no dependencies)
    * Pin to wlroots:0/14 to avoid future issues
    * Pass ETC_PREFIX at build time so it knows where to find the config
    * Drop upstreamed pkgconfig patch
    
    Closes: https://bugs.gentoo.org/779112
    Closes: https://bugs.gentoo.org/789447
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 gui-wm/hikari/Manifest            |  1 +
 gui-wm/hikari/hikari-2.3.2.ebuild | 72 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)