Opened 2 years ago

Last modified 20 months 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:1 Changed 2 years ago by kencu (Ken)

Synchronizing local ports tree from file:///opt/macportsofficial/macports-ports
From https://github.com/macports/macports-ports
   daaac8a19bd..0c2d310a4ed  master     -> origin/master
Successfully rebased and updated refs/heads/master.                             
Creating port index in /opt/macportsofficial/macports-ports
Adding port archivers/libarchive
Failed to parse file graphics/blender/Portfile: can't read "llvm_version": no such variable
Adding port graphics/materialx

comment:2 Changed 2 years ago by kencu (Ken)

Description: modified (diff)

comment:3 Changed 2 years ago by ryandesign (Ryan Schmidt)

Owner: set to jasonliu--
Status: newassigned

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 2 years ago by jasonliu-- (Jason Liu)

Ok, I'll put in a PR to add it to the blacklist.

comment:5 Changed 2 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 2 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 2 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 2 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 20 months ago by ryandesign (Ryan Schmidt)

Note: See TracTickets for help on using tickets.