You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error also includes a warning from python suggesting a fix:
UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
Replacing distutils.core with setuptools in setup.py as recommended fixes the problem.
I think I already fixed this in staging. I submitted a patch upstream to import setuptools before distutils (ros/catkin#1176), but I haven't followed up on it because it turns out that the real problem is related to how setuptools is packaged in nixpkgs. setuptools' monkey patching still works correctly on other distros even if you import distutils before setuptools.
Some packages in
noetic
don't build with the following error:(Nix paths redacted for readability's sake)
The error also includes a warning from python suggesting a fix:
Replacing
distutils.core
withsetuptools
insetup.py
as recommended fixes the problem.Packages encountered so far:
cc @wentasah
The text was updated successfully, but these errors were encountered: