-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Ports: Building "file" fails due to version mismatch #18415
Comments
So I looked at this again today, we basically have 2 options:
I'd suggest trying the first option, but it's quite silly to require a natively-compiled version to do bootstrapping of a cross-compiled version (but then it's not doing that automatically). |
The ports for Python3 and Ruby also have this requirement, but we have scripts in Toolchain to build the host version from source. Requiring it for a utility like file does seem kinda silly though. Not sure what the best approach is. @timschumi What do you think? Toolchain/BuildFile.sh, or yeet the port? |
We only rarely yeet ports, so of those two options I'd rather have a |
I rather not add another build script (that is counter intuitive in my opinion, because this port is quite somewhat niche) just because some port requires a matched-version of the software it will compile. |
Steps to reproduce:
file
in a version different from5.44
; Debian stable uses5.39
at the time of writing)file
(which pulls in dependencies likelibmagic1
andlibmagic-mgc
), take care to install version5.39
(or any version other than 5.44)$SERENITY_ROOT/Ports/file
, run./package.sh
Expected behavior: Builds and installs just fine
Actual behavior: Fails to install, apparently it tries to use some host files; presumably the host magic files?
CC @supercomputer7, you seemed interested in this.
See also #18238.
The text was updated successfully, but these errors were encountered: