Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832762 - x11-base/xwayland-21.1.4::gentoo failed: implicit declaration of function ‘wl_proxy_marshal_flags’
Summary: x11-base/xwayland-21.1.4::gentoo failed: implicit declaration of function ‘wl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-05 18:21 UTC by alexrenzi90
Modified: 2022-03-28 23:24 UTC (History)
3 users (show)

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


Attachments
/var/tmp/portage/x11-base/xwayland-21.1.4/temp/build.log (file_832762.txt,53.15 KB, text/plain)
2022-02-05 18:22 UTC, alexrenzi90
Details
patch to DEPEND=">=dev-libs/wayland-1.20" (0001-Fix-implicit-declaration-of-function-wl_proxy_marsha.patch,4.14 KB, patch)
2022-03-27 20:06 UTC, Daniel Santos
Details | Diff
patch to DEPEND=">=dev-libs/wayland-1.20" (0001-Fix-implicit-declaration-of-function-wl_proxy_marsha.patch,1.50 KB, patch)
2022-03-27 20:17 UTC, Daniel Santos
Details | Diff
patch to DEPEND=">=dev-libs/wayland-1.20" (0001-Fix-implicit-declaration-of-function-wl_proxy_marsha.patch,1.40 KB, patch)
2022-03-28 22:36 UTC, Daniel Santos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alexrenzi90 2022-02-05 18:21:07 UTC
In file included from ../xwayland-21.1.4/hw/xwayland/xwayland-cursor.c:42:

hw/xwayland/Xwayland.p/tablet-unstable-v2-client-protocol.h: In function ‘zwp_tablet_manager_v2_get_tablet_seat’:

hw/xwayland/Xwayland.p/tablet-unstable-v2-client-protocol.h:493:23: 

error: implicit declaration of function ‘wl_proxy_marshal_flags’; did you mean ‘wl_proxy_marshal_array’? [-Werror=implicit-function-declaration]


Looks like -Werror=implicit-function-declaration is preventing the package to compile, why isn't this picked up during testing?
I would expect it to be a consistent issue.

Is there something specific I can check in my conf to confirm it's not due to something weird I have in my system? (I believe I have a fairly vanilla conf anyway, but you never know...)

Reproducible: Always

Steps to Reproduce:
1.emerge --sync
2.emerge --verbose --update --deep --newuse --ask @world



~ # emerge --info
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.0, glibc-2.33-r7, 5.4.80-gentoo-r1-x86_64 x86_64)
=================================================================
System uname: Linux-5.4.80-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-glibc2.33
KiB Mem:    16283976 total,   1408984 free
KiB Swap:   36862964 total,  36799476 free
Timestamp of repository gentoo: Sat, 05 Feb 2022 17:30:01 +0000
Head commit of repository gentoo: 68371873bacbcd8ec53dd382fe0b9b1fd8d3dcb5
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p8::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:             1.56.1::gentoo
dev-util/cmake:            3.20.5::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::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-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE sun-jlfgr LSI-tw_cli qlogic-fibre-channel-firmware MicroChip-SDCC shmux linux-fw-redistributable NVIDIA-r1 no-source-code ipw2200-fw NVIDIA-r2 unRAR freedist bonnie AVASYS Amazon intel-ucode SmartLabs ipw2100-fw ISSL FDL-1.3+ Free-Art-1.3 CC-BY-SA-2.5 Free-Art-1.2 OPL GPL-1 CC-BY-SA-4.0 CC-BY-2.0 FDL-1.1 GPL-2 OFL CC-BY-SA-2.0 FDL-1.2 GPL-3 CC-BY-3.0 CC-BY-4.0 GPL-1+ FDL-1.3 CC-BY-SA-3.0 GPL-3+ FDL-1.1+ GPL-2+ CC-BY-2.5 IPAfont OFL-1.1 Arphic FDL-1.2+ CC-SA-1.0 man-pages-posix-2013 CC-PD mplus-fonts LDP-1a MaxMind2 LDP-1 UbuntuFontLicense-1.0 quake1-textures Texinfo-manual vlgothic CC-BY-SA-1.0 wxWinFDL-3 man-pages myspell-en_CA-KevinAtkinson BAEKMUK BitstreamVera MPL-1.1 Sleepycat CPL-1.0 Artistic nethack W3C ZPL CPAL-1.0 AGPL-3+ ZLIB MPL-2.0 POSTGRESQL PHP-3.01 EPL-1.0 GPL-2 BSD HPND NOSA PSF-2 EPL-2.0 ECL-2.0 GPL-3 EUPL-1.2 GPL-1+ EUPL-1.1 LGPL-2.1+ ISC QPL-1.0 GPL-3+ OSL-2.1 BSD-2 0BSD MirOS LGPL-2.1 MIT Boost-1.0 MPL-1.0 LGPL-3+ APSL-2 Apache-2.0 CNRI Watcom-1.0 UoI-NCSA CDDL AGPL-3 LPPL-1.3c IPAfont APL-1.0 OFL-1.1 wxWinLL-3 Artistic-2 PHP-3 AFL-3.0 IBM LGPL-2+ Ms-PL LGPL-3 GPL-2+ Apache-1.1 MPL-1.1 Zend-2.0 CPL-1.0 CPAL-1.0 OSL-2.0 PHP-3.01 EPL-1.0 EPL-2.0 FraunhoferFDK LPPL-1.2 EUPL-1.2 openssl EUPL-1.1 BSD-4 QPL-1.0 AFL-2.1 Apache-1.0 OSL-2.1 CeCILL-2 GPL-2-with-exceptions Sleepycat qwt GPL-2-with-MySQL-FLOSS-exception GPL-3+-with-autoconf-exception LGPL-2.1-with-linking-exception GPL-3-with-openssl-exception ZPL LGPL-2-with-linking-exception libgcc FSFAP AGPL-3+ GPL-1 gcc-runtime-library-exception-3.1 MPL-2.0 ZLIB Clear-BSD PSF-2.2 Clarified-Artistic FTL OPENLDAP GPL-2 BSD HPND PSF-2 libstdc++ Transmission-OpenSSL-exception WTFPL-2 ECL-2.0 Unlicense CC0-1.0 GPL-3 unicode GPL-1+ UPX-exception Apache-2.0-with-LLVM-exceptions LGPL-2.1+ ISC GPL-2+-with-openssl-exception GPL-3-with-font-exception GPL-3+ GPL-2-with-classpath-exception Nokia-Qt-LGPL-Exception-1.1 BSD-2 tanuki-community LGPL-2.1 MIT Boost-1.0 LGPL-2 GPL-2-with-font-exception LGPL-3-with-linking-exception PSF-2.3 PSF-2.4 LGPL-3+ vim IJG Apache-2.0 UoI-NCSA AGPL-3 PYTHON public-domain wxWinLL-3.1 Artistic-2 GPL-3+-with-font-exception metapackage SGI-B-2.0 Ruby-BSD LGPL-2+ W3C GPL-2-with-linking-exception LGPL-3 GPL-2+ Ruby MPL-1.0 gnuplot OSL-1.1 APSL-2 CNRI CDDL AFL-3.0 Ms-PL NPL-1.1 IBM Apache-1.1 ErlPL-1.1 DES BZIP2 LIBGLOSS htmlc minpack rdisc mm tm-align xboing feh matplotlib sash FastCGI curl pngcrush DUMB-0.9.3 CDDL-1.1 Interbase-1.0 libpng Sendmail freetts XC dom4j UCAR-Unidata CMake BSD-with-disclosure NCSA-HDF Snd regexp-UofT Flashpix MIT-with-advertising flexmock the-Click-license Sendmail-Open-Source torque-2.5 trio Info-ZIP CAOSL CPL-0.5 JOVE FLTK Emacs inner-net libpng2 docbook psutils RSA sdlsasteroids Ispell bea.ri.jsr173 gd BSD-with-attribution Openwall CDDL-Schily Old-MIT FLEX Xdebug xbatt TextMate-bundle tcltk RtMidi URT x2x photopc Allegro FVWM par Crypt-IDEA zlib-acknowledgement gsm rwpng ElementTree pngnq icu TeX IDPL imagemagick CeCILL-C File-MMagic Khronos-CLHPP buddy w3m libtiff Toyoda JDOM tablelist bufexplorer.vim lsof ipadic SSLeay Time-modules Mini-XML rc tcp_wrappers_license otter BEER-WARE scanlogd Princeton libmng AMPAS symlinks PCRE TeX-other-free totd VTK wm2 LambdaMOO HTML-Tidy mpich2 netcat alternate perforce ZSH PHP-2.02 Sympow-BSD Time-Format BSD-1 CRACKLIB ngrep xtrs LPPL-1.3 SMAIL iASL AIFFWriter.m repoze LPPL-1.3b NEWLIB openafs-krb5-a boehm-gc Broadcom Atmel Mellanox-AS-IS bh-luxi ipw3945 JSON"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=haswell -mtune=haswell"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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 -pipe -march=haswell -mtune=haswell"
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 -march=haswell -mtune=haswell"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=haswell -mtune=haswell"
GENTOO_MIRRORS="https://mirror.netcologne.de/gentoo/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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 acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio python_signle_target_python3_9 qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="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" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" 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, 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
Comment 1 alexrenzi90 2022-02-05 18:22:10 UTC
Created attachment 764413 [details]
/var/tmp/portage/x11-base/xwayland-21.1.4/temp/build.log
Comment 2 Ionen Wolkens gentoo-dev 2022-02-05 18:30:00 UTC
My guess would be that the ebuild likely need to depend on a newer dev-libs/wayland and portage didn't upgrade it first because of it.

What version do you have right now?

Try to upgrade manually:
emerge -1 dev-libs/wayland
Comment 3 alexrenzi90 2022-02-05 19:06:18 UTC
This is the version being emerged:
dev-libs/wayland-1.20.0::gentoo

And yes, now emerging x11-base/xwayland-21.1.4 succeded!

Thank you very much!
Comment 4 Ionen Wolkens gentoo-dev 2022-02-05 20:25:50 UTC
Hm, actually I can't seem to reproduce with wayland-1.19.0 and looking at how this works I don't see how this function would be used unless wayland-1.20 is already installed (it generate different files with 1.19).

This is like it found wayland-1.20, then built against 1.19 which doesn't make sense.

I'll still assign in case x11@ knows what's up, I ran into similar issues with libsdl2 failing with 1.19 but here it worksforme and doesn't seem to need >=1.20

Good to know you got it to build though.
Comment 5 Daniel Santos 2022-03-27 20:06:37 UTC
Created attachment 768014 [details, diff]
patch to DEPEND=">=dev-libs/wayland-1.20"

Same problem with both 21.1.4 and 22.1.0.  The fix is simple enough, can you please commit this?
Comment 6 Daniel Santos 2022-03-27 20:17:24 UTC
Created attachment 768021 [details, diff]
patch to DEPEND=">=dev-libs/wayland-1.20"

Removed manifest
Comment 7 Matt Turner gentoo-dev 2022-03-28 14:57:07 UTC
(In reply to Daniel Santos from comment #6)
> Created attachment 768021 [details, diff] [details, diff]
> patch to DEPEND=">=dev-libs/wayland-1.20"
> 
> Removed manifest

Thanks very much. If you'd give your Signed-of-by tag I'll be happy to apply this.
Comment 8 Daniel Santos 2022-03-28 22:36:43 UTC
Created attachment 768096 [details, diff]
patch to DEPEND=">=dev-libs/wayland-1.20"

(In reply to Matt Turner from comment #7)
> (In reply to Daniel Santos from comment #6)
> > Created attachment 768021 [details, diff] [details, diff] [details, diff]
> > patch to DEPEND=">=dev-libs/wayland-1.20"
> > 
> > Removed manifest
> 
> Thanks very much. If you'd give your Signed-of-by tag I'll be happy to apply
> this.

Apologies, it's been too long since I've submitted patches!  I'll even get the unicode characters out of the subject line.
Comment 9 Larry the Git Cow gentoo-dev 2022-03-28 23:24:27 UTC
The bug has been closed via the following commit(s):

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

commit 0988b2782f579359a4759a02e9c1a0e4a14965df
Author:     Daniel Santos <daniel.santos@pobox.com>
AuthorDate: 2022-03-27 20:15:27 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-03-28 23:24:19 +0000

    x11-base/xwayland: Raise dependency on dev-libs/wayland
    
    Xwayland calls wl_proxy_marshal_flags() which was added in wayland-1.20.
    
    Closes: https://bugs.gentoo.org/832762
    Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xwayland/xwayland-21.1.4.ebuild | 2 +-
 x11-base/xwayland/xwayland-22.1.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)