[MacPorts] #66907: OpenBLAS @0.3.22 fails to build on 10.6 (both ppc and x86_64): Makefile.conf:8: *** missing separator. Stop.

MacPorts noreply at macports.org
Sun Apr 2 23:56:42 UTC 2023


#66907: OpenBLAS @0.3.22 fails to build on 10.6 (both ppc and x86_64):
Makefile.conf:8: *** missing separator.  Stop.
---------------------------------------+----------------------
  Reporter:  barracuda156              |      Owner:  nobody
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.8.1
Resolution:                            |   Keywords:  rosetta
      Port:  OpenBLAS-devel, OpenBLAS  |
---------------------------------------+----------------------
Changes (by kencu):

 * owner:  kencu => nobody


Comment:

 for the mktemp error, you presumably have to use gmktemp, or change it so
 that the old mktemp in 10.6 and less works. I always seem to want to use
 gmktemp, but MacPorts' admins usually prefer you rewrite it so the old
 mktemp works I notice.

 For the assembler error, of course upstream should test for certain
 assembler calls being available before using them. But that is usually a
 lost cause of a question when you're talking about ancient outdated
 systems and busy upstreams with better things to do than that.

 So what you do instead is make sure that a newer clang is installed, so
 that the cctools port modifications that were made some years ago can
 work, and ${prefix}/bin/as can find a new enough clang to use as the
 assembler.

 There is not really a great mechanism to specifically require that one
 thing, so blacklisting the system clangs that fail to compile the assembly
 is usually good enough, and then a new enough clang is called in to do the
 job. Once again, that is not a pure event, but seems to be generally
 acceptable to the admins as -- well -- there is no really pure option that
 is better than that.

 I'll leave you to the mktemp fix (force gmktemp, usually by patching, or
 monkeying with the PATH), and then blacklist the failing system clangs.

-- 
Ticket URL: <https://trac.macports.org/ticket/66907#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list