[MacPorts] #66907: OpenBLAS-devel fails to build on 10.6 when building with gcc12 as PPC (? in rosetta?): Makefile.conf:8: *** missing separator. Stop.

MacPorts noreply at macports.org
Mon Feb 13 01:05:58 UTC 2023


#66907: OpenBLAS-devel fails to build on 10.6 when building with gcc12 as PPC (? in
rosetta?): Makefile.conf:8: *** missing separator.  Stop.
-----------------------------+-------------------------
  Reporter:  barracuda156    |      Owner:  NicosPavlov
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.8.1
Resolution:                  |   Keywords:
      Port:  OpenBLAS-devel  |
-----------------------------+-------------------------

Comment (by barracuda156):

 1. This error happens both on 10.6 PPC native and 10.6.8 Rosetta, but as
 usual, what I report is from Rosetta case.

 2. Here is the thing:
 {{{
 OSNAME=Darwin
 ARCH=power
 C_COMPILER=GCC
 BINARY64=
 BINARY32=1
 FU=_
 CROSS_SUFFIX=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS
 /OpenBLAS-devel/work/compwrap/cc/opt/local/bin/gcc-mp-12
 -
 CROSS=1
 CEXTRALIB= -L/opt/local/lib -L/opt/local/lib/gcc12/gcc/powerpc-apple-
 darwin10/12.2.0 -L/opt/local/lib/gcc12/gcc/powerpc-apple-
 darwin10/12.2.0/../../..  -lemutls_w -lSystem -lef_ppc
 F_COMPILER=GFORTRAN
 FC=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS
 /OpenBLAS-devel/work/compwrap/fc/opt/local/bin/gfortran-mp-12 -m32
 BU=_
 FEXTRALIB= -L/opt/local/lib -L/opt/local/lib/gcc12/gcc/powerpc-apple-
 darwin10/12.2.0 -L/opt/local/lib/gcc12/gcc/powerpc-apple-
 darwin10/12.2.0/../../..  -lgfortran -lSystem -lef_ppc
 CORE=PPC970
 LIBCORE=ppc970
 NUM_CORES=6
 __BYTE_ORDER__=__ORDER_BIG_ENDIAN__
 MAKE += -j 6
 }}}

 On line 8 we get that silly dash :)

 BTW notice, choice of subarch is wrong, 970 should not be used in Rosetta
 (and yes, this is from my MacMini, so Rosetta for sure). It looks like
 OpenBLAS chooses archs wrongly. This perhaps should be fixed with
 upstream.

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


More information about the macports-tickets mailing list