[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
Mon Apr 3 03:36:38 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  |
---------------------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:8 kencu]:
 > 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.
 > 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.

 Turned out that `OpenBLAS` port seemingly already does this:
 {{{
 --- c_check~    2022-08-07 22:36:26.000000000 +0200
 +++ c_check     2022-08-27 11:01:44.000000000 +0200
 @@ -243,7 +243,7 @@
  c11_atomics=0
  case "$data" in
      *HAVE_C11*)
 -        tmpd=`mktemp -d`
 +        tmpd=`gmktemp -d`
          tmpf="$tmpd/a.c"
          printf "#include <stdatomic.h>\nint main(void){}\n" >> "$tmpf"
          args=" -c -o $tmpf.o $tmpf"
 }}}

 https://github.com/macports/macports-ports/blob/master/math/OpenBLAS/files
 /patch-MacOSX-mktemp.diff

 But it does not help anymore or even does not have an effect. I will try
 to figure out what is going on.

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


More information about the macports-tickets mailing list