[MacPorts] #63248: perl5.26 @5.26.3_5: build fails on Tiger as /usr/bin/cc

MacPorts noreply at macports.org
Thu Jul 15 02:44:54 UTC 2021


#63248: perl5.26 @5.26.3_5: build fails on Tiger as /usr/bin/cc
-------------------------+-------------------------------------------------
 Reporter:  kencu        |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  perl5.26, perl5.28, perl5.30,
                         |  perl5.32, perl5.34
-------------------------+-------------------------------------------------
 It looks like on Tiger, at least, {{{/usr/bin/cc}}} is just too old to
 build perl5.26.

 {{{
 /usr/bin/cc -c  -I/opt/local/include/db48 -fno-common -DPERL_DARWIN -pipe
 -Os -fno-strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -Werror=declaration-after-statement -Wextra
 -Wc++-compat -Wwrite-strings -O3   -DVERSION=\"1.840\"
 -DXS_VERSION=\"1.84\"  "-I../.."  -D_NOT_CORE  -DmDB_Prefix_t=size_t
 -DmDB_Hash_t=u_int32_t   version.c
 cc1: error: unrecognized command line option "-Werror=declaration-after-
 statement"
 cc1: error: unrecognized command line option "-Wc++-compat"
 }}}

 It can default to various gcc versions that Tiger comes with, but I have
 it set to the newest one, gcc-4.0.

 I'll throw in all the rest of the perls as well as no doubt they are all
 non-buildable.

 Tiger pretty much needs to default to apple-gcc42 for everything; we only
 use the system roots to build ld64.

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


More information about the macports-tickets mailing list