Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954290 - sys-apps/flatpak-1.16.0 - meson.build: ERROR: Program pkcheck not found or not executable
Summary: sys-apps/flatpak-1.16.0 - meson.build: ERROR: Program pkcheck not found or no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-23 17:29 UTC by Toralf Förster
Modified: 2025-04-24 17:39 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.06 KB, text/plain)
2025-04-23 17:29 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,93.43 KB, application/x-xz)
2025-04-23 17:29 UTC, Toralf Förster
Details
environment (environment,128.44 KB, text/plain)
2025-04-23 17:29 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.58 KB, application/x-xz)
2025-04-23 17:29 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,57.89 KB, application/x-xz)
2025-04-23 17:29 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,97.52 KB, application/x-xz)
2025-04-23 17:29 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,100.66 KB, application/x-xz)
2025-04-23 17:29 UTC, Toralf Förster
Details
sys-apps:flatpak-1.16.0:20250423-162705.log (sys-apps:flatpak-1.16.0:20250423-162705.log,7.99 KB, text/plain)
2025-04-23 17:29 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.01 KB, application/x-xz)
2025-04-23 17:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-04-23 17:29:20 UTC
Run-time dependency gpgme found: YES 1.24.2
Program xsltproc found: YES (/usr/bin/xsltproc)
Message: Docbook XSL found
Program xmlto skipped: feature docbook_docs disabled
Program pkcheck found: NO

meson.build:313:0: ERROR: Program 'pkcheck' not found or not executable

A full log can be found at /var/tmp/portage/sys-apps/flatpak-1.16.0/work/flatpak-1.16.0-build/meson-logs/meson-log.txt

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20250415-193502

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.2
llvm-config: 20.1.2
Python 3.12.10
go version go1.24.2 linux/amd64
  [1]   php8.4 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.86.0
  [2]   rust-1.86.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
  HEAD of ::gentoo
commit 32df00a11bd9a76f69764cfab812ff247c63f783
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 23 16:05:19 2025 +0000

    2025-04-23 16:05:18 UTC

The tinderbox task was: sys-apps/flatpak

emerge -qpvO =sys-apps/flatpak-1.16.0
[ebuild  N    ] sys-apps/flatpak-1.16.0  USE="seccomp systemd -X -doc -introspection"
Comment 1 Toralf Förster gentoo-dev 2025-04-23 17:29:21 UTC
Created attachment 925879 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-23 17:29:22 UTC
Created attachment 925880 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2025-04-23 17:29:24 UTC
Created attachment 925881 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-23 17:29:25 UTC
Created attachment 925882 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-23 17:29:26 UTC
Created attachment 925883 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-23 17:29:27 UTC
Created attachment 925884 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-23 17:29:29 UTC
Created attachment 925885 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2025-04-23 17:29:30 UTC
Created attachment 925886 [details]
sys-apps:flatpak-1.16.0:20250423-162705.log
Comment 9 Toralf Förster gentoo-dev 2025-04-23 17:29:31 UTC
Created attachment 925887 [details]
temp.tar.xz
Comment 10 Eli Schwartz gentoo-dev 2025-04-23 17:41:50 UTC
The required program is not installed when USE=daemon is set on polkit, this has to (at least build-time) depend on polkit[daemon]
Comment 11 Eli Schwartz gentoo-dev 2025-04-23 17:42:20 UTC
https://github.com/flatpak/flatpak/blob/2ae9cfd95082286c790e3f5b571b2e50f6a01aff/meson.build#L311-L313


# We don't actually need this, but we do need the polkit daemon itself,
# and they're generally packaged together.
find_program('pkcheck', required : get_option('tests'))
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-23 17:43:58 UTC
I think it was a mistake for me to add USE=daemon to polkit (as Eli and I have discussed before) and I should just drop it.
Comment 13 Larry the Git Cow gentoo-dev 2025-04-24 08:16:18 UTC
The bug has been closed via the following commit(s):

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

commit cb787d63a8dd2ac60f04099751d60d3880d0cedf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-24 08:11:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-24 08:11:58 +0000

    sys-auth/polkit: drop USE=daemon
    
    I really think I just had a braino here and meant to add it for
    dbus (for dbus-broker) and somehow ended it up to polkit when bumping
    it as I'd had it on my mind, or something.
    
    See be4011d5f8b5d5a01a1bf0677c8863313349963c as well. I can't see
    any real use for this other than perhaps avoiding spidermonkey back
    before duktape wasn't an option (when packages needed libpolkit but
    you really didn't want to run the daemon or could live without it).
    
    The *upstream* intended-use for USE=daemon is for Flatpak where there's
    no point in having the daemon as you use the system daemon there but
    you need the utilities within a Flatpak.
    
    Closes: https://bugs.gentoo.org/954290
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/polkit/polkit-123-r1.ebuild | 18 ++++++++----------
 sys-auth/polkit/polkit-126-r1.ebuild | 26 ++++++++++----------------
 sys-auth/polkit/polkit-9999.ebuild   | 26 ++++++++++----------------
 3 files changed, 28 insertions(+), 42 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 9a976458b6d25cb33622a0b718cf5111c07e51de
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-24 08:15:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-24 08:15:36 +0000

    sys-fs/udisks: polkit always has its daemon
    
    Bug: https://bugs.gentoo.org/954290
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/udisks/{udisks-2.10.1.ebuild => udisks-2.10.1-r2.ebuild}    | 4 ++--
 sys-fs/udisks/{udisks-2.10.1-r1.ebuild => udisks-2.10.1-r3.ebuild} | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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

commit f40444d1ac36749b2d2a78d3638b3df019724da2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-24 08:15:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-24 08:15:00 +0000

    mate-extra/mate-polkit: polkit always has its daemon
    
    Bug: https://bugs.gentoo.org/954290
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{mate-polkit-1.28.1.ebuild => mate-polkit-1.28.1-r1.ebuild}       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

commit da99bf152a8bb4931046f9c4ef286c6c00087f20
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-24 08:14:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-24 08:14:36 +0000

    dev-util/sysprof: polkit always has its daemon
    
    Bug: https://bugs.gentoo.org/954290
    Signed-off-by: Sam James <sam@gentoo.org>

 .../sysprof/{sysprof-3.48.0-r1.ebuild => sysprof-3.48.0-r2.ebuild}    | 4 ++--
 dev-util/sysprof/{sysprof-46.0-r1.ebuild => sysprof-46.0-r2.ebuild}   | 2 +-
 dev-util/sysprof/{sysprof-47.2.ebuild => sysprof-47.2-r1.ebuild}      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)