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: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
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: 2023-08-16 07:12 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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.


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