Bug 2381685 - yubihsm-shell: FTBFS with change proposal CMake drop non-standard variables
Summary: yubihsm-shell: FTBFS with change proposal CMake drop non-standard variables
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yubihsm-shell
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376113
TreeView+ depends on / blocked
 
Reported: 2025-07-17 10:34 UTC by Cristian Le
Modified: 2026-02-17 14:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-02-17 14:11:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cristian Le 2025-07-17 10:34:09 UTC
Dear package maintainer,

This is an automated bug created due to a FTBFS when rebuilding this package for the change proposal CMake drop non-standard variables.

The rebuild is being tracked in https://copr.fedorainfracloud.org/coprs/lecris/cmake-drop_vars/package/yubihsm-shell.

See https://fedoraproject.org/wiki/Changes/CMake_drop_install_vars for more information on how to make the package compatible.

Most likely the build failure is due to the project assuming the presence of `LIB_SUFFIX` as an input. You can provide
this variable as shown in the change proposal. If possible, please open an issue in upstream and ask them to use
`GNUInstallDirs` instead.

You can check the build locally following the instructions in the change proposal, or submit your build to the tracking
copr project.

Let me know if you encounter any issues, or need any other help.

Comment 1 Jakub Jelen 2025-07-21 09:40:40 UTC
Filled upstream issue

https://github.com/Yubico/yubihsm-shell/issues/485

For now, I implemented the suggested workaround

https://src.fedoraproject.org/rpms/yubihsm-shell/c/6767a644735a4814af0506d06a2846bde937d9a7?branch=rawhide

Comment 2 Cristian Le 2025-07-21 12:27:50 UTC
Thanks for reporting it upstream.

Just a note about the workaround, you will want a `%{nil}` in order to void a build failure when the if conditional is false and it will try to append the `%cmake_build` part [1]

[1]: https://src.fedoraproject.org/rpms/evolution-ews/blob/rawhide/f/evolution-ews.spec#_77

Comment 3 Jakub Jelen 2025-07-21 20:25:07 UTC
Thanks for checking the change! Without proper testing, I guess I would notice this as soon as I would submit a build :)

Added the nil now:

https://src.fedoraproject.org/rpms/yubihsm-shell/c/d5c5d15373eaf379942042b645a0d4f6e6f05457?branch=rawhide


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