Bug 2180042 - unbundle cbindgen: latest version is available from Fedora repos
Summary: unbundle cbindgen: latest version is available from Fedora repos
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-20 15:41 UTC by Fabio Valentini
Modified: 2025-11-15 03:46 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fabio Valentini 2023-03-20 15:41:37 UTC
It looks like firefox bundles cbindgen + its dependencies just to build the "cbindgen" binary, which is then only used during the build process but not shipped.

This should not be necessary: cbindgen has been packaged for Fedora for a while, and the latest version is available from the repositories (the "cbindgen" package provides "/usr/bin/cbindgen"):
https://src.fedoraproject.org/rpms/rust-cbindgen/

Dropping the vendor tarball for cbindgen + its dependencies and using /usr/bin/cbindgen from the cbindgen package directly should also slightly reduce build times for firefox (on the order of ~15 minutes).

Comment 1 Martin Stransky 2023-03-21 09:46:49 UTC
Do you mind to attach a patch for it?
Thanks.

Comment 2 Fabio Valentini 2023-03-22 23:20:33 UTC
I can try :)

Comment 3 Fedora Release Engineering 2023-08-16 07:12:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 4 Fedora Admin user for bugzilla script actions 2025-11-15 03:46:06 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


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