-
Notifications
You must be signed in to change notification settings - Fork 5
FreeBSD support (fix ready) #17
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
Comments
Hi. Sure, if that works I can implement that. Thanks for the suggestion! |
I'm still having issues when installing wheel for this package:
|
|
This seems to be an issue in pip/setuptools that is triggered by this package. I don't have freebsd, so I can't help you. |
@ryanwinter I'm unable to reproduce this with You can look at this similar issue on stackoverflow.com One thing that comes to mind is that FreeBSD 13.1 is no longer supported, and maybe upgrading to 13.2 or 14.0 would help. Please provide output of:
|
Looks like when I try to compile the latest
It does exist:
I tried adding |
You probably need to do |
That worked. Thanks! |
Thanks @LukaszMoskala, I'm running 13.2 right now in the jail, however the host is still on 13.1. I actually found the cause, the
|
That's probably your problem, as userspace should never be on higher version than kernel. Looks like some kernel API has changed (or been added in 13.2), you have application that uses it (python compiled for 13.2) but your kernel does not support it. I'm always updating my host before updating my jails to solve that problem. So far having newer kernel (13.2) with older userspace (13.1 and 13.2) does not seem to cause any problems like that. Anyway, I think that's outside of scope of this issue |
BSD installation enabled now on 0.3.0 |
If I try to install the package ( I am running a jail (13.2-RELEASE-p6) on an host running FreeBSD 13.1-RELEASE-p9. The jail runs with pip 23.3.2 and Python 3.11.5. Could you please ELI5 how can I fix the issue? Thank you! |
Don't run newer version in jail than on host
Dnia 9 stycznia 2024 15:03:08 CET, Emanuele ***@***.***> napisał/a:
…If I try to install the package (`pip install zlib-ng --no-cache-dir`), I get the same error as @ryanwinter (_OverflowError: could not allocate a large enough CPU set_).
I am running a jail (13.2-RELEASE-p6) on an host running FreeBSD 13.1-RELEASE-p9. The jail runs with pip 23.3.2 and Python 3.11.5.
Could you please ELI5 how can I fix the issue?
Thank you!
|
Yep @LukaszMoskala, I got it and, for sure, I will keep it in mind for the future but I think I cannot rollback the jail version easily. As far as I understood, I can workaround this forcing a git update somewhere, am I wrong? |
Basically you can either reinstall jail to older version (or rollback snapshot/backup if you have) or upgrade kernel on host.
I don't know about any other way unfortunately.
Dnia 9 stycznia 2024 15:10:44 CET, Emanuele ***@***.***> napisał/a:
…Yep @LukaszMoskala, I got it and, for sure, I will keep it in mind for the future but I think I cannot rollback the jail version easily. As far as I understood, I can workaround this forcing a git update somewhere, am I wrong?
|
Unfortunately I have no snapshot to roolback to (for different reasons I had to delete them). I guess I will have to wait until I can upgrade the kernel on the host. |
Hello,
I get
NotImplementedError: Unsupported platform: freebsd13
when doingpip install --upgrade homeassistant
. Turns out this package recently became dependency of another dependency of homeassistant.Please replace in
setup.py
with:
Probably we also should handle
openbsd
,netbsd
anddragonflybsd
, but I didn't verify if these names are correct. Or maybe we should just do:I can also confirm that after making my change, package successfully installs on freebsd.
Thank you in advance, let me know if you need anything else. I can open pull request if that's easier for you.
The text was updated successfully, but these errors were encountered: