Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834776 - gui-apps/swaylock-1.6: needs >=wayland-protocols-1.25
Summary: gui-apps/swaylock-1.6: needs >=wayland-protocols-1.25
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL: https://forums.gentoo.org/viewtopic-p...
Whiteboard:
Keywords:
Depends on:
Blocks: 834780
  Show dependency tree
 
Reported: 2022-03-08 10:53 UTC by Sherman Lau
Modified: 2022-03-08 12:26 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 Sherman Lau 2022-03-08 10:53:58 UTC
When emerge gui-apps/swaylock-1.6
it gives:
Dependency wayland-protocols found: NO found 1.24 but need: '>=1.25'	

--------
THen this is a bug with swaylock as a packages should not be made STABLE if it has UNSTABLE dependancies.

Right now wayland-protocols-1.25 is ~ARCH and swaylock-1.6 depends on >=wayland-protocols-1.25

looking at the swaylock-1.6 ebuild:
>=dev-libs/wayland-protocols-1.14

and this is wrong as it should be >=1.25

tip I think helpful from:
https://forums.gentoo.org/viewtopic-p-8694168.html#8694168

Reproducible: Always

Steps to Reproduce:
sudo emerge swaylock
Actual Results:  
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) gui-apps/swaylock-1.6::gentoo
 * swaylock-1.6.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking swaylock-1.6.tar.gz to /var/tmp/portage/gui-apps/swaylock-1.6/work
>>> Source unpacked in /var/tmp/portage/gui-apps/swaylock-1.6/work
>>> Preparing source in /var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6 ...
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-apps/swaylock-1.6/temp/meson.x86_64-pc-linux-gnu.amd64.ini --buildtype plain -Dman-pages=enabled -Dpam=enabled -Dgdk-pixbuf=enabled
-Dfish-completions=true -Dzsh-completions=true -Dbash-completions=true -Dwerror=false /var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6 /var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6-build
The Meson build system
Version: 0.60.3
Source dir: /var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6
Build dir: /var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6-build
Build type: native build
Project name: swaylock
Project version: 1.6
C compiler for the host machine: gcc (gcc 11.2.1 "gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115")
C linker for the host machine: gcc ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.0)
Run-time dependency wayland-client found: YES 1.20.0
Dependency wayland-protocols found: NO found 1.24 but need: '>=1.25'
Found CMake: /usr/bin/cmake (3.22.2)
Run-time dependency wayland-protocols found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency wayland-protocols

meson.build:40:0: ERROR: Neither a subproject directory nor a wayland-protocols.wrap file was found.

A full log can be found at /var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6-build/meson-logs/meson-log.txt
 * ERROR: gui-apps/swaylock-1.6::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_configure
 *   environment, line 2398:  Called meson_src_configure
 *   environment, line 1787:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=gui-apps/swaylock-1.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gui-apps/swaylock-1.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gui-apps/swaylock-1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gui-apps/swaylock-1.6/temp/environment'.
 * Working directory: '/var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6'
 * S: '/var/tmp/portage/gui-apps/swaylock-1.6/work/swaylock-1.6'

>>> Failed to emerge gui-apps/swaylock-1.6, Log file:

>>>  '/var/tmp/portage/gui-apps/swaylock-1.6/temp/build.log'

 * Messages for package gui-apps/swaylock-1.6:

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

Expected Results:  
Success install swaylock

THen this is a bug with swaylock as a packages should not be made STABLE if it has UNSTABLE dependancies.

Right now wayland-protocols-1.25 is ~ARCH and swaylock-1.6 depends on >=wayland-protocols-1.25

looking at the swaylock-1.6 ebuild:
>=dev-libs/wayland-protocols-1.14

and this is wrong as it should be >=1.25

tip I think helpful from:
https://forums.gentoo.org/viewtopic-p-8694168.html#8694168
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-08 11:24:54 UTC
The summary is slightly wrong here, as it's not like the ebuild actually has a bad dependency listed within it. Obviously it'll be dropped to ~arch to fix this bug in fixing the ebuild's listed dependency.

Thanks.
Comment 2 Sherman Lau 2022-03-08 11:32:14 UTC
Sorry about my mistake and thanks to your respond.
Comment 3 Larry the Git Cow gentoo-dev 2022-03-08 12:17:39 UTC
The bug has been closed via the following commit(s):

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

commit eacbcf3fbb52865b0547a784e3747cc7e2a2e6de
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-08 12:17:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-08 12:17:21 +0000

    gui-apps/swaylock: fix 1.6 Wayland dependencies
    
    Bug: https://bugs.gentoo.org/834716
    Closes: https://bugs.gentoo.org/834776
    Signed-off-by: Sam James <sam@gentoo.org>

 gui-apps/swaylock/{swaylock-1.6.ebuild => swaylock-1.6-r1.ebuild} | 5 +++--
 gui-apps/swaylock/swaylock-9999.ebuild                            | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-08 12:26:20 UTC
(In reply to 1041559871 from comment #2)
> Sorry about my mistake and thanks to your respond.

No worries and thanks for the response and report :)