Bug 2319636 - mozjs102 fails to build with setuptools 74+
Summary: mozjs102 fails to build with setuptools 74+
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mozjs102
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS PYTHON3.14 SETUPTOOLS74
TreeView+ depends on / blocked
 
Reported: 2024-10-18 10:08 UTC by Miro Hrončok
Modified: 2025-05-04 04:25 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-03 02:57:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2024-10-18 10:08:21 UTC
Dear package maintainer,

this bugzilla is automated becasue the number of impacted packages it too high to go trough manually.

It appears that your package failed to build with setuptools 74.1.3 and wheel 0.44 in

  https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-74/package/mozjs102/

While it succeeded with setuptools 69.2.0 and wheel 0.43 in

  https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-control/package/mozjs102/

This usually means this package fails to build with setuptools 74+

We plan to update setuptools to version 74 or newer in Fedora 42. This is and approved Fedora 42 Change:

  https://fedoraproject.org/wiki/Changes/Setuptools_74+



Please analyze the failure and fix it in rawhide. Thanks.


You can use the builds from the churchyard/setuptools-74 copr for local testing.

  mock -r fedora-rawhide-x86_64 --addrepo 'https://download.copr.fedorainfracloud.org/results/churchyard/setuptools-74/fedora-rawhide-$basearch/'


One of the most common problems is that the setup.py test command cannot be used. If that is the case here, run the tests in %check differently, e.g. via %pytest, %tox, %{python3} -m unittest, etc.


If you need help, reach out to me in this bugzilla.

Comment 1 Charalampos Stratakis 2024-10-25 03:19:43 UTC
The issue here is that mozjs102 is built from firefox-102.15.1 which bundles an old version of packaging that does: import distutils.util

Ideally the package should be dropped and since only one package (erlang-js) consumes it the maintainer has approached upstream for resolution: https://github.com/erlang-mozjs/erlang-mozjs/issues/11

Comment 2 František Zatloukal 2024-10-27 11:38:51 UTC
(In reply to Charalampos Stratakis from comment #1)
> The issue here is that mozjs102 is built from firefox-102.15.1 which bundles
> an old version of packaging that does: import distutils.util
> 
> Ideally the package should be dropped and since only one package (erlang-js)
> consumes it the maintainer has approached upstream for resolution:
> https://github.com/erlang-mozjs/erlang-mozjs/issues/11

Yeah, I'd leave this package be, I'll try to poke at erlang-js in a month or two again, but I see little point in getting this fixed for newer python stuff, I believe I've pushed it enough to work nowadays ( https://src.fedoraproject.org/rpms/mozjs102/blob/rawhide/f/mozjs102.spec#_112 ).

Comment 3 Miro Hrončok 2024-10-29 10:58:39 UTC
I plan to update setuptools to 74.x in rawhide this week.

At that point, this package will fail to build from source if not fixed.

Comment 4 Miro Hrončok 2024-11-14 11:57:39 UTC
As per https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ I am now asking the maintainer to respond.

Comment 5 Fedora Admin user for bugzilla script actions 2024-11-15 02:59:21 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Miro Hrončok 2024-12-05 14:13:12 UTC
This is a bulk response.

In line with step 4 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs I am asking for a response.

Thanks.

Comment 7 Maxwell G 2025-01-03 02:57:51 UTC
Automation has figured out the package is retired in Fedora Rawhide.

If you like it to be unretired, please open a ticket at
https://pagure.io/releng/new_issue?template=package_unretirement

Comment 8 Red Hat Bugzilla 2025-05-04 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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