#4 Fix FTBFS issue with setuptools 60+
Closed a year ago by kalev. Opened 2 years ago by churchyard.
rpms/ churchyard/0ad setuptools60  into  rawhide

file modified
@@ -173,6 +173,10 @@ 

  # Disable LTO to fix the failing tests.

  %define _lto_cflags %{nil}


+ # spidermonkey/mozjs-78.6.0/build/moz.configure/init.configure uses distutils.sysconfig

+ # distutils from setuptools do not support that




  build/workspaces/update-workspaces.sh	\

      --bindir=%{_bindir}			\

Note that:

  • distutils from the standard library is deprecated and will be removed in Python 3.12
  • this package still doesn't build

This fix doesn't seem to work. Typically changing the way the vendored version of mozjs stuff is built is tricky.

Nah, it works. It is just that there are multiple problems and this chokes later on something else.

rebased onto dbc9bbf

2 years ago

rebased onto 231b94c

2 years ago

The FTBFS issue should be sorted out now with https://src.fedoraproject.org/rpms/0ad/c/5c30a2e401024844a77f851f34aae51e918d105f?branch=rawhide and I believe we no longer need this.

Pull-Request has been closed by kalev

a year ago