-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
magic-vlsi false build on macOS #105310
Comments
I have a Hackintosh somewhere, I may be able to debug this. |
Happy to sponsor a https://macincloud.com/ or sth if it would help |
From the build log:
Which is definitely not the case when building on Linux (which I tested on a recent update.) I have a new Mac on the way but unfortunately it's Apple Silicon, so I'm not sure how easily it will be to diagnose and fix this. I suspect it's probably something we've run into before, and is just a matter of getting the right If you can submit a patch, we can use @ofborg in order to test it on |
@RTimothyEdwards what's the latest on magic building on Mac? Is this likely to be dependent on nixpkg build environment weirdness, Catalina changes, more general "not known to work"? |
Trace with
Trace with
|
I marked this as stale due to inactivity. → More info |
Although |
I did not alas, iirc I gave up and ran a Ubuntu VM |
I was able to build and run magic using MacPorts. I don't understand the inner workings of MacPorts to look for clues as to how it might help us fix magic-vlsi in nixpkgs. |
Describe the bug
Magic appears to build, but errors on
dlopen(/nix/store/asdfhjkl-magic-vlsi-8.3.5/lib/magic/tcl/tclmagic.dylib)
when being run.To Reproduce
Steps to reproduce the behavior:
nix-env -iA nixpkgs.magic-vlsi
magic
, see errormake[2]: *** No rule to make target '../graphics/libgraphics.o', needed by 'tclmagic.dylib'. Stop.
in step 1 which failed to interrupt the build.Expected behavior
Magic builds successfully on mac; barring that, somewhere in the install process it not building is detected, and a broken build is not linked into the environment.
Screenshots
buildPhase.txt
Additional context
This appears identical to an issue reported upstream, I'm not sure if the straightforward resolution here is "find the earlier version which successfully built" or just "mark as unavailable on mac". I tried building 8.1.224 and it produced the same error, while 8.1.157 yields a different one - something about needing csh?
Notify maintainers
@anna328p @thoughtpolice
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."x86_64-darwin"
Darwin 19.6.0, macOS 10.15.6
no
no
nix-env (Nix) 2.3.8
"nixpkgs-21.03pre254638.d47eb666b1e"
/Users/fyr/.nix-defexpr/channels/nixpkgs
The text was updated successfully, but these errors were encountered: