Bug 1856446 - meson rules need libgcrypt-config entry
Summary: meson rules need libgcrypt-config entry
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-filesystem
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-13 16:36 UTC by Daniel Berrangé
Modified: 2020-07-23 01:17 UTC (History)
6 users (show)

Fixed In Version: mingw-filesystem-114-1.fc32 mingw-filesystem-114-1.fc31
Clone Of:
Environment:
Last Closed: 2020-07-23 01:05:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2020-07-13 16:36:25 UTC
Description of problem:
Historically meson has searched $PATH to find config binaries, but in meson 0.55 this has been stopped:

https://mesonbuild.com/Release-notes-for-0-55-0.html#config-tool-based-dependencies-no-longer-search-path-for-cross-compiling

Thus we're unable to build mingw apps that use meson and need libgcrypt.

The /usr/share/mingw/toolchain-mingw{32,64}.meson  files need an update to include

[binaries]
libgcrypt-config = '/usr/i686-w64-mingw32/sys-root/mingw/bin/libgcrypt-config'


(or equivalent path for mingw64)

Version-Release number of selected component (if applicable):
mingw32-filesystem-113-1.fc33.noarch
meson-0.55.0-1.fc33.noarch


How reproducible:
Always

Steps to Reproduce:
1. git clone https://gitlab.gnome.org/GNOME/gtk-vnc
2. cd gtk-vnc
3. meson  --cross-file=/usr/share/mingw/toolchain-mingw32.meson build

Actual results:
libgcrypt-config found: NO need '>= 1.5.0'
Run-time dependency libgcrypt found: NO (tried pkgconfig and config-tool)

meson.build:92:0: ERROR: Dependency "libgcrypt" not found, tried pkgconfig and config-tool



Expected results:
Find libgcrypt-config for the mingw package

Additional info:

Comment 1 Richard W.M. Jones 2020-07-13 17:21:36 UTC
This all sounds fine - do you want to just go ahead and commit this?  Would be
good to have more comaintainers for this package.

Comment 2 Daniel Berrangé 2020-07-14 09:33:55 UTC
Opened a pull request here https://src.fedoraproject.org/rpms/mingw-filesystem/pull-request/6

Comment 3 Fedora Update System 2020-07-14 09:51:41 UTC
FEDORA-2020-7388bea8e5 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7388bea8e5

Comment 4 Fedora Update System 2020-07-14 09:51:42 UTC
FEDORA-2020-f773f5a9ad has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f773f5a9ad

Comment 5 Fedora Update System 2020-07-15 01:48:14 UTC
FEDORA-2020-7388bea8e5 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7388bea8e5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7388bea8e5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-07-15 02:00:47 UTC
FEDORA-2020-f773f5a9ad has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f773f5a9ad`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f773f5a9ad

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-07-23 01:05:49 UTC
FEDORA-2020-f773f5a9ad has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2020-07-23 01:17:30 UTC
FEDORA-2020-7388bea8e5 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.