Opened 4 years ago
Last modified 4 years ago
#61762 assigned defect
blender: Failed to parse file graphics/blender/Portfile: can't read "llvm_version": no such variable
Reported by: | kencu (Ken) | Owned by: | jasonliu-- (Jason Liu) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | blender |
Description (last modified by kencu (Ken))
$ port info blender Error: Port blender not found
I happen to be on Tiger PPC at this moment, if that is relevant to this error in any way.
Change History (9)
comment:2 Changed 4 years ago by kencu (Ken)
Description: | modified (diff) |
---|
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to jasonliu-- |
---|---|
Status: | new → assigned |
Yes, being on Tiger PPC is relevant. The port requires MacPorts clang, and determines llvm_version from that. It enforces that requirement by blacklisting clang
. On Tiger PPC, that would still leave gcc in the fallback list. The port should blacklist *gcc*
as well.
comment:4 Changed 4 years ago by jasonliu-- (Jason Liu)
Ok, I'll put in a PR to add it to the blacklist.
comment:5 Changed 4 years ago by kencu (Ken)
I can fix it on the Tiger system if you like. If you blacklist gcc I'm not sure where that will wind up on Tiger PPC -- right back to gcc as "all compilers are blacklisted" probably.
comment:6 Changed 4 years ago by jasonliu-- (Jason Liu)
Sure, go ahead... since it seems like you have access to a Tiger PPC VM (per the VM discussion that's happening on the dev mailing list right now), you would have a way to test it, whereas I don't have access to a Tiger PPC machine.
right back to gcc as "all compilers are blacklisted" probably.
That makes it sound like macports-clang isn't available on PPC. Is that the case?
comment:7 Changed 4 years ago by kencu (Ken)
Right, macports-clang is not widely available on PPC. I have it, but it's not for public consumption.
All my PPC machines (I have 6 or 7 here, at least) are real hardware, BTW -- the VMs don't work well enough to use.
comment:8 Changed 4 years ago by jasonliu-- (Jason Liu)
Right, macports-clang is not widely available on PPC. I have it, but it's not for public consumption.
Got it. Sounds like a custom-compile sort of situation.
All my PPC machines (I have 6 or 7 here, at least) are real hardware, BTW -- the VMs don't work well enough to use.
Wow, I'm slightly amazed that hardware that old has held up over the years. I'll leave the fix in your capable hands, then. :)
comment:9 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Partial fix in [44e5416d82d0fb1564cbf93bdc46dbd30ea4c2b9/macports-ports].