[MacPorts] #62451: calc: is not using the right compiler; is using -march=native

MacPorts noreply at macports.org
Thu Jul 27 17:11:32 UTC 2023


#62451: calc: is not using the right compiler; is using -march=native
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  pmetzger
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:
      Port:  calc        |
-------------------------+----------------------

Comment (by barracuda156):

 Broken on PowerPC though:
 {{{
 --->  Extracting calc-2.14.2.1.tar.bz2
 Executing:  cd
 "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work"
 && /opt/local/bin/lbzip2 -dc
 '/opt/local/var/macports/distfiles/calc/calc-2.14.2.1.tar.bz2' |
 /usr/bin/gnutar --no-same-owner -xf -
 /usr/bin/gnutar: calc-2.14.2.1/cal/regress.cal: implausibly old time stamp
 1970-01-01 08:00:00
 --->  Applying patches to calc
 --->  Applying patch-Makefile.local.diff
 Executing:  cd
 "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1"
 && /usr/bin/patch -p0 < '/opt/PPCSnowLeopardPorts/math/calc/files/patch-
 Makefile.local.diff'
 patching file Makefile.local
 Hunk #1 succeeded at 38 (offset 1 line).
 --->  Patching Makefile.local: s|___PREFIX___|/opt/local|
 --->  Configuring calc
 --->  Building calc
 Executing:  cd
 "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1"
 && /usr/bin/make -j1 -w all CC=/usr/bin/gcc-4.2 DARWIN_ARCH="-arch ppc"
 make: Entering directory
 `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1'
 forming have_limits.h
 have_limits.h formed
 forming have_ban_pragma.h
 have_ban_pragma.h formed
 forming charbit.h
 make: [charbit.h] Error 127 (ignored)
 charbit.h formed
 forming have_unistd.h
 have_unistd.h formed
 forming have_stdlib.h
 have_stdlib.h formed
 forming longbits.h
 make: *** [longbits.h] Error 127
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_calc/calc/work/calc-2.14.2.1"
 && /usr/bin/make -j1 -w all CC=/usr/bin/gcc-4.2 DARWIN_ARCH="-arch ppc"
 Exit code: 2
 }}}

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


More information about the macports-tickets mailing list