Bug 2292912 - rust-cryptoki-sys-0.3.0 is available
Summary: rust-cryptoki-sys-0.3.0 is available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-cryptoki-sys
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact:
URL:
Whiteboard:
Depends On: 2305397
Blocks: 2292911
TreeView+ depends on / blocked
 
Reported: 2024-06-18 15:23 UTC by Upstream Release Monitoring
Modified: 2025-05-28 01:55 UTC (History)
3 users (show)

Fixed In Version: rust-cryptoki-sys-0.3.0-1.fc42
Clone Of:
Environment:
Last Closed: 2025-05-28 01:55:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Upstream Release Monitoring 2024-06-18 15:23:12 UTC
Releases retrieved: 0.1.8
Upstream release that is considered latest: 0.1.8
Current version/release in rawhide: 0.1.7-2.fc40
URL: https://crates.io/crates/cryptoki

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/272340/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/rust-cryptoki-sys

Comment 1 Upstream Release Monitoring 2024-11-14 13:27:08 UTC
Releases retrieved: 0.2.0
Upstream release that is considered latest: 0.2.0
Current version/release in rawhide: 0.1.7-3.fc41
URL: https://crates.io/crates/cryptoki

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/272340/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/rust-cryptoki-sys

Comment 2 Upstream Release Monitoring 2025-02-17 11:18:20 UTC
Releases retrieved: 0.3.0
Upstream release that is considered latest: 0.3.0
Current version/release in rawhide: 0.1.7-4.fc42
URL: https://crates.io/crates/cryptoki

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/272340/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/rust-cryptoki-sys

Comment 3 Jakub Jelen 2025-04-18 11:34:57 UTC
Sounds like this needs a bump of libloading to work ok with Fedora -- filled https://github.com/parallaxsecond/rust-cryptoki/pull/261 which sounds pretty non-controversial

Comment 5 Jakub Jelen 2025-04-22 15:21:06 UTC
Turns out this update needs bindgen 0.70, which is not yet in fedora. Added a link to this bug as a dependency.

Comment 6 Jakub Jelen 2025-04-22 15:22:17 UTC
The build log for the reference:

```
     Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/cryptoki-sys-0.3.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="bindgen"' --cfg 'feature="generate-bindings"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bindgen", "generate-bindings"))' -C metadata=662d843e1dde7cdb -C extra-filename=-96e159e0a65e7501 --out-dir /builddir/build/BUILD/rust-cryptoki-0.9.0-build/cryptoki-0.9.0/target/rpm/build/cryptoki-sys-96e159e0a65e7501 -L dependency=/builddir/build/BUILD/rust-cryptoki-0.9.0-build/cryptoki-0.9.0/target/rpm/deps --extern bindgen=/builddir/build/BUILD/rust-cryptoki-0.9.0-build/cryptoki-0.9.0/target/rpm/deps/libbindgen-29d9ddcfef4baeef.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn`
error[E0599]: no method named `clang_macro_fallback` found for struct `bindgen::Builder` in the current scope
   --> /usr/share/cargo/registry/cryptoki-sys-0.3.0/build.rs:109:14
    |
89  |           builder = builder
    |  ___________________-
90  | |             .header("vendor/pkcs11.h")
91  | |             .dynamic_library_name("Pkcs11")
...   |
109 | |             .clang_macro_fallback();
    | |             -^^^^^^^^^^^^^^^^^^^^ method not found in `Builder`
    | |_____________|
    |

For more information about this error, try `rustc --explain E0599`.
error: could not compile `cryptoki-sys` (build script) due to 1 previous error

```
Did not investigate though how much important this change is.

Comment 7 Jakub Jelen 2025-04-23 14:17:43 UTC
Sounds like Fabio updated the bindgen so feel free to use my PRs or update when time permits. Hope it will work as expected when the new bindgen will reach mirrors.

Comment 8 Fedora Update System 2025-05-19 15:39:20 UTC
FEDORA-2025-3cacc54f6d (rust-cryptoki-0.9.0-1.fc42 and rust-cryptoki-sys-0.3.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3cacc54f6d

Comment 9 Fedora Update System 2025-05-20 02:34:55 UTC
FEDORA-2025-3cacc54f6d has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3cacc54f6d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3cacc54f6d

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

Comment 10 Fedora Update System 2025-05-28 01:55:59 UTC
FEDORA-2025-3cacc54f6d (rust-cryptoki-0.9.0-1.fc42 and rust-cryptoki-sys-0.3.0-1.fc42) has been pushed to the Fedora 42 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.