-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failures on O(S)R(F) buildfarm: "no attribute '__legacy__'" #70
Comments
Just did a The buildfarm seems to run The next command the buildfarm runs is Could this be reversed and should (if it wasn't clear: I'm not into Python too much) |
This is voodoo to me as well. I've never used this package on ARM, and I'm never surprised to see issues, especially related to various pip and setuptools versions.
That certainly sounds reasonable, if you find it fixes the issue. I also don't have direct access to those platforms for testing - QEMU might help there. I'm happy with whatever change helps you move forward as long as the tests pass :) Please keep in mind that 0.6 works a bit differently (https://github.com/locusrobotics/catkin_virtualenv/blob/master/catkin_virtualenv/src/catkin_virtualenv/venv.py#L79) |
Seems I can reproduce this with a prerelease test for Kinetic+Xenial on Unfortunately I'll try to figure out whether the order of things matters. Edit: setting Edit 2: changing Output from
So it seems indeed the case that the Now to see which minimum version of |
What about settling on a |
Ok. Changing:
To: preinstall += ['setuptools>=44,<45'] works for me in a prerelease run with This installs:
I'll submit a PR. |
See #71. Afaict tests also still pass like this. |
Re-opening as this is still an issue unfortunately. Problem is I can't reproduce it locally. I've tried using the Edit: oh, seems I can't re-open my own issue? |
Hm, not sure what happened, but now they are green again. I'll keep an eye on the builds. |
Final comment (for future readers perhaps also): multi-arch support via QEMU and They took "forever" (due to emulation), but it was better than nothing. On some versions of Ubuntu you need to fiddle a little bit with the |
tl;dr: before I set
USE_SYSTEM_PACKAGES FALSE
and increase the size of my package by 34 MB, do you recognise the below described error?Long version: not asking you to fix anything (yet ;) ), just curious whether you've ran into this yourself perhaps (which could save me quite some time).
Builds of a released ROS package (
haros_catkin
) which depends oncatkin_virtualenv
have been failing for a long time on Kinetic and Melodic on all architectures exceptamd64
for some reason (I don't even know for how long already, as the mailhost forbuild.ros.org
is on a spamlist, and I've not received any emails from it since Sept 2019).Example error from a failed build:
This repeats a few times (because of
retries
).It fails on
arm64
,armhf
andi386
, but not onamd64
. This makes it difficult to diagnose, as I don't have access to any of those platforms (or at least: not easily). Tests withamd64
succeed.Searching for the errors seems to suggest it has something to do with
setuptools
being old and--use-system-packages
, where this could somehow lead to the system-providedsetuptools
being found before the one in thevenv
, causingpip
failures (fi: pypa/pip#6164 (comment)), or because of runningpip
commands with theCWD
being one which contains asetup.py
(pypa/pip#6164 (comment)).Disabling
--use-system-packages
is supported bycatkin_virtualenv
, but will increase the size of the package significantly (34MB+) and is not guaranteed to work (iiuc the linked issue).The text was updated successfully, but these errors were encountered: