Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790818 - sys-apps/fwupd-1.5.9 - meson.build:264:4: ERROR: Problem encountered: plugin_synaptics_rmi needs -Dgnutls=true to work
Summary: sys-apps/fwupd-1.5.9 - meson.build:264:4: ERROR: Problem encountered: plugin_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-18 14:54 UTC by MT
Modified: 2021-05-20 09:10 UTC (History)
1 user (show)

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


Attachments
build.log + emerge --info.txt (build.log-emerge-info.txt,14.50 KB, text/plain)
2021-05-19 21:03 UTC, Ionen Wolkens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2021-05-18 14:54:37 UTC
Configure phase fails with the following error:

> Library m found: YES
> Run-time dependency libgcab-1.0 found: YES 1.4
> Program gcab found: YES (/usr/bin/gcab)
> Found CMake: /usr/bin/cmake (3.18.5)
> Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
> Program python3 found: YES (/var/tmp/portage/sys-apps/fwupd-1.5.9/temp/python3.8/bin/python3)
> 
> meson.build:264:4: ERROR: Problem encountered: plugin_synaptics_rmi needs -Dgnutls=true to work

Synaptics plugin requires GNUtls to work properly, thus Meson's message is correct; fwupd ebuild doesn't enforce the USE 'gnutls' when the USE 'synaptics' is enabled:

> These are the packages that would be merged, in order:
> 
> [ebuild     U  ] sys-apps/fwupd-1.5.9::gentoo [1.4.7::gentoo] USE="amt man policykit%* synaptics systemd tpm -agent -archive% -bluetooth% -dell -elogind -flashrom% -gnutls% -gtk-doc -gusb% -introspection -minimal -nvme -test -thunderbolt -uefi (-redfish%)" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9%" 0 KiB

As a temporarily fix, I can manually enable USE 'gnutls' for the specific package in /etc/portage/package.use, but eventually the issue needs to be sorted out within the ebuild through an explicit constrain with REQUIRED_USE.

p.s.: I won't attach build logs and emerge --info logs since this is a purely a missing dependency within the ebuild.
Comment 1 Ionen Wolkens gentoo-dev 2021-05-19 21:03:43 UTC
Created attachment 709932 [details]
build.log + emerge --info.txt

(In reply to MT from comment #0)
> p.s.: I won't attach build logs and emerge --info logs since this is a
> purely a missing dependency within the ebuild.
I know it sometimes feel pointless, but please still attach build.log and emerge --info for build failures in the future.

Lets us confirm what we're dealing with and sometime there's extra conditions that may not be apparent.
Comment 2 Larry the Git Cow gentoo-dev 2021-05-20 09:10:58 UTC
The bug has been closed via the following commit(s):

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

commit 0d11fde9946f4e8db9be95231f43914ab804967b
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-20 08:26:13 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-20 09:10:49 +0000

    sys-apps/fwupd: USE="synaptics" requires gnutls
    
    Closes: https://bugs.gentoo.org/790818
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/fwupd/fwupd-1.5.9.ebuild | 1 +
 1 file changed, 1 insertion(+)