Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832011 - kde-plasma/libkscreen-5.23.5-r1: error: ‘wl_proxy_marshal_flags’ was not declared in this scope; did you mean ‘wl_proxy_marshal_array’?
Summary: kde-plasma/libkscreen-5.23.5-r1: error: ‘wl_proxy_marshal_flags’ was not decl...
Status: RESOLVED DUPLICATE of bug 199856
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-25 02:40 UTC by Andrew Rudchenko
Modified: 2022-01-26 09:37 UTC (History)
4 users (show)

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


Attachments
emerge info output and complete build log (emerge-info.txt,117.07 KB, text/plain)
2022-01-25 02:40 UTC, Andrew Rudchenko
Details
my emerge.log (last-emerge.log,658.09 KB, text/x-log)
2022-01-26 01:48 UTC, Andrew Rudchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Rudchenko 2022-01-25 02:40:34 UTC
Created attachment 763544 [details]
emerge info output and complete build log

Tried to update KDE, libkscreen-5.23.5-r1 failed to compile with the following error message:

In file included from /var/tmp/portage/kde-plasma/libkscreen-5.23.5-r1/work/libkscreen-5.23.5_build/backends/kwayland/qwayland-kde-output-management-v2.h:7,
                 from /var/tmp/portage/kde-plasma/libkscreen-5.23.5-r1/work/libkscreen-5.23.5_build/backends/kwayland/KSC_KWayland_autogen/EWIEGA46WW/../../../../../libkscreen-5.23.5/backends/kwayland/waylandoutputmanagement.h:10,
                 from /var/tmp/portage/kde-plasma/libkscreen-5.23.5-r1/work/libkscreen-5.23.5_build/backends/kwayland/KSC_KWayland_autogen/EWIEGA46WW/moc_waylandoutputmanagement.cpp:10,
                 from /var/tmp/portage/kde-plasma/libkscreen-5.23.5-r1/work/libkscreen-5.23.5_build/backends/kwayland/KSC_KWayland_autogen/mocs_compilation.cpp:6:
/var/tmp/portage/kde-plasma/libkscreen-5.23.5-r1/work/libkscreen-5.23.5_build/backends/kwayland/wayland-kde-output-management-v2-client-protocol.h: In function ‘kde_output_configuration_v2* kde_output_management_v2_create_configuration(kde_output_management_v2*)’:
/var/tmp/portage/kde-plasma/libkscreen-5.23.5-r1/work/libkscreen-5.23.5_build/backends/kwayland/wayland-kde-output-management-v2-client-protocol.h:215:14: error: ‘wl_proxy_marshal_flags’ was not declared in this scope; did you mean ‘wl_proxy_marshal_array’?
  215 |         id = wl_proxy_marshal_flags((struct wl_proxy *) kde_output_management_v2,
      |              ^~~~~~~~~~~~~~~~~~~~~~
      |              wl_proxy_marshal_array

Seems like kde-plasma/libkscreen-5.23.5-r1 depends on dev-libs/wayland-1.20.0, because wayland-1.19.0 miss that `wl_proxy_marshal_flags` function

Workaround: update dev-libs/wayland to 1.20.0 before libkscreen.
Comment 1 Andreas Sturmlechner gentoo-dev 2022-01-25 14:40:42 UTC
Nothing in libkscreen is suggesting that.

What version of kde-frameworks/kwayland do you have installed?
Comment 2 Andreas Sturmlechner gentoo-dev 2022-01-25 16:26:16 UTC
I have successfully built even 5.23.90 against wayland-1.19.0.
Comment 3 Stefan Strogin gentoo-dev 2022-01-25 17:26:07 UTC
Andrew, could you please attach emerge.log?
Comment 4 Jonas Stein gentoo-dev 2022-01-25 21:26:18 UTC
please reopen when the file is attached.
Comment 5 Andrew Rudchenko 2022-01-26 01:48:10 UTC
Created attachment 763638 [details]
my emerge.log

Sure, here's my emerge.log
Comment 6 Stefan Strogin gentoo-dev 2022-01-26 02:00:29 UTC
1643035315:  >>> emerge (86 of 180) kde-plasma/libkscreen-5.23.5-r1 to /
1643035315:  === (86 of 180) Cleaning (kde-plasma/libkscreen-5.23.5-r1::/var/db/repos/gentoo/kde-plasma/libkscreen/libkscreen-5.23.5-r1.ebuild)
1643035315:  === (86 of 180) Compiling/Merging (kde-plasma/libkscreen-5.23.5-r1::/var/db/repos/gentoo/kde-plasma/libkscreen/libkscreen-5.23.5-r1.ebuild)
1643035347:  *** Finished. Cleaning up...
1643035347:  *** exiting unsuccessfully with status '1'.
1643035351:  *** terminating.
1643036522: Started emerge on: Jan 24, 2022 17:02:02
1643036522:  *** emerge --newuse --update --ask --deep --regex-search-auto=y --verbose @world
1643076125:  >>> emerge (1 of 95) kde-plasma/libkscreen-5.23.5-r1 to /
1643076125:  === (1 of 95) Cleaning (kde-plasma/libkscreen-5.23.5-r1::/var/db/repos/gentoo/kde-plasma/libkscreen/libkscreen-5.23.5-r1.ebuild)
1643076126:  === (1 of 95) Compiling/Merging (kde-plasma/libkscreen-5.23.5-r1::/var/db/repos/gentoo/kde-plasma/libkscreen/libkscreen-5.23.5-r1.ebuild)
1643076158:  *** Finished. Cleaning up...
1643076158:  *** exiting unsuccessfully with status '1'.
1643076158:  *** terminating.
1643076779: Started emerge on: Jan 25, 2022 04:12:58
1643076779:  *** emerge --newuse --update --ask --deep --regex-search-auto=y --verbose @world
1643077198:  *** exiting unsuccessfully with status '130'.
1643077198:  *** terminating.
1643077526: Started emerge on: Jan 25, 2022 04:25:26
1643077526:  *** emerge --ask --regex-search-auto=y --verbose dev-libs/wayland
1643077540:  >>> emerge (1 of 1) dev-libs/wayland-1.20.0 to /
1643077540:  === (1 of 1) Cleaning (dev-libs/wayland-1.20.0::/var/db/repos/gentoo/dev-libs/wayland/wayland-1.20.0.ebuild)
1643077540:  === (1 of 1) Compiling/Merging (dev-libs/wayland-1.20.0::/var/db/repos/gentoo/dev-libs/wayland/wayland-1.20.0.ebuild)
1643077554:  === (1 of 1) Merging (dev-libs/wayland-1.20.0::/var/db/repos/gentoo/dev-libs/wayland/wayland-1.20.0.ebuild)
1643077556:  >>> AUTOCLEAN: dev-libs/wayland:0
1643077556:  === Unmerging... (dev-libs/wayland-1.19.0)
1643077557:  >>> unmerge success: dev-libs/wayland-1.19.0
1643077559:  === (1 of 1) Updating world file (dev-libs/wayland-1.20.0)
1643077559:  === (1 of 1) Post-Build Cleaning (dev-libs/wayland-1.20.0::/var/db/repos/gentoo/dev-libs/wayland/wayland-1.20.0.ebuild)
1643077559:  ::: completed emerge (1 of 1) dev-libs/wayland-1.20.0 to /
1643077559:  *** Finished. Cleaning up...
1643077560:  *** exiting successfully.
1643077560:  *** terminating.
1643077569: Started emerge on: Jan 25, 2022 04:26:09
1643077569:  *** emerge --newuse --update --ask --deep --regex-search-auto=y --verbose @world
1643077738:  >>> emerge (1 of 94) kde-plasma/libkscreen-5.23.5-r1 to /
1643077738:  === (1 of 94) Cleaning (kde-plasma/libkscreen-5.23.5-r1::/var/db/repos/gentoo/kde-plasma/libkscreen/libkscreen-5.23.5-r1.ebuild)
1643077739:  === (1 of 94) Compiling/Merging (kde-plasma/libkscreen-5.23.5-r1::/var/db/repos/gentoo/kde-plasma/libkscreen/libkscreen-5.23.5-r1.ebuild)
1643077782:  === (1 of 94) Merging (kde-plasma/libkscreen-5.23.5-r1::/var/db/repos/gentoo/kde-plasma/libkscreen/libkscreen-5.23.5-r1.ebuild)
1643077783:  >>> AUTOCLEAN: kde-plasma/libkscreen:5
1643077783:  === Unmerging... (kde-plasma/libkscreen-5.23.4)
1643077785:  >>> unmerge success: kde-plasma/libkscreen-5.23.4
1643077787:  === (1 of 94) Post-Build Cleaning (kde-plasma/libkscreen-5.23.5-r1::/var/db/repos/gentoo/kde-plasma/libkscreen/libkscreen-5.23.5-r1.ebuild)
1643077787:  ::: completed emerge (1 of 94) kde-plasma/libkscreen-5.23.5-r1 to /
Comment 7 Stefan Strogin gentoo-dev 2022-01-26 03:40:35 UTC
Andreas, Jonas, the cause is that wayland-scanner was already 1.20.0 while wayland was 1.19.0. For some reason portage tried to upgrade libkscreen after wayland-scanner, but before wayland-1.20.0.

I have reproduced the issue and got exacltly the same log.

0) dev-util/wayland-scanner-1.19.0; dev-libs/wayland-1.19.0; kde-frameworks/kwayland-5.88.0
1) dev-util/wayland-scanner-1.20.0
2) try to build kde-plasma/libkscreen-5.23.5-r1
Comment 8 Andreas Sturmlechner gentoo-dev 2022-01-26 09:37:14 UTC
Unfortunately this will be just another duplicate of bug 199856.

kde-plasma/libkscreen has no particular minimum version limit:
> RDEPEND="dev-libs/wayland"
> BDEPEND="dev-util/wayland-scanner"
dev-libs/wayland has:
> BDEPEND="~dev-util/wayland-scanner-${PV}"

*** This bug has been marked as a duplicate of bug 199856 ***