Opened 2 years ago
Last modified 2 years ago
#66249 assigned defect
graphviz +poppler +r +rsvg on macOS 13.0.01 fails: clang: error: unsupported option '-fopenmp'
Reported by: | captainproton1971 (Captain Proton) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | mascguy (Christopher Nielsen), captainproton1971 (Captain Proton) | |
Port: | graphviz |
Description
Log attached, but the salient point is (I think) :info:build clang: error: unsupported option '-fopenmp'
Seems to be related to (fixed) issue https://trac.macports.org/ticket/61327.
I'll try a similar fix (compiler blacklist) and report back.
Attachments (1)
Change History (5)
Changed 2 years ago by captainproton1971 (Captain Proton)
comment:1 Changed 2 years ago by captainproton1971 (Captain Proton)
Cc: | captainproton1971 added |
---|
comment:2 Changed 2 years ago by captainproton1971 (Captain Proton)
I can confirm that adding compiler.openmp_version 4.0
to the Portfile results in a completed build (although it does give the following warnings that I think are likely unrelated):
Warning: violation by /Library/Python Warning: graphviz violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
comment:3 Changed 2 years ago by kencu (Ken)
because there is at present no accepted mechanism for ports to indicate to other ports that they need or support openmp generally, MacPorts has usually been switching it off.
this could be fixed quite easily using the variant mechanism, much like x11/quartz, but nobody has done the legwork on it yet.
Many have asked, going back 5-7 years at least, for this.
For now, we stumble across these accidental uses of fopenmp from time to time.
comment:4 Changed 2 years ago by kencu (Ken)
if you want to take the lead on this worthy project, you could start a thread abt it on the dev mailing list…you’ll get lots of support, and people will raise a few concerns, but it should be done someday
logfile