[MacPorts] #67833: calc build fails on PPC: make: [charbit.h] Error 127 (ignored), make: *** [longbits.h] Error 127

MacPorts noreply at macports.org
Thu Jul 27 17:31:43 UTC 2023


#67833: calc build fails on PPC: make: [charbit.h] Error 127 (ignored), make: ***
[longbits.h] Error 127
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  pmetzger
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  powerpc       |       Port:  calc
--------------------------+----------------------
 Issue with upstream: https://github.com/lcn2/calc/issues/83

 {{{
 --->  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
 }}}

 Same failure with gcc 12.3.0.

-- 
Ticket URL: <https://trac.macports.org/ticket/67833>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list