[MacPorts] #71469: perl5.34 @5.34.3_1 has test failures on Mac OS X 10.4.11, Tiger, because of 'cc1: error: unrecognized command line option "-Wno-error=implicit-function-declaration"'

MacPorts noreply at macports.org
Fri Dec 6 10:09:01 UTC 2024


#71469: perl5.34 @5.34.3_1 has test failures on Mac OS X 10.4.11, Tiger, because of
'cc1: error: unrecognized command line option "-Wno-error=implicit-
function-declaration"'
-----------------------+----------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.10.5
 Keywords:  tiger ppc  |       Port:  perl5.34
-----------------------+----------------------
 After build:

 {{{
 --->  Testing perl5.34
 ...
 dist/Exporter/t/warn ............................................. ok
 dist/ExtUtils-CBuilder/t/00-have-compiler ........................ ok
 dist/ExtUtils-CBuilder/t/01-basic ................................ cc1:
 error: unrecognized command line option "-Wno-error=implicit-function-
 declaration"
 skipped
 dist/ExtUtils-CBuilder/t/02-link ................................. cc1:
 error: unrecognized command line option "-Wno-error=implicit-function-
 declaration"
 skipped
 dist/ExtUtils-CBuilder/t/03-cplusplus ............................ ok
 dist/ExtUtils-CBuilder/t/04-base ................................. ok
 dist/ExtUtils-ParseXS/t/001-basic ................................ cc1:
 error: unrecognized command line option "-Wno-error=implicit-function-
 declaration"
 ok
 dist/ExtUtils-ParseXS/t/002-more ................................. cc1:
 error: unrecognized command line option "-Wno-error=implicit-function-
 declaration"
 ok
 dist/ExtUtils-ParseXS/t/003-usage ................................ cc1:
 error: unrecognized command line option "-Wno-error=implicit-function-
 declaration"
 ok
 dist/ExtUtils-ParseXS/t/101-standard_typemap_locations ........... ok
 }}}

 and some time later more detailed descriptions of "-Wno-error=implicit-
 function-declaration" failures:

 {{{
    9294 cpan/ExtUtils-MakeMaker/t/01perl_bugs ............................
 ok
    9295 cpan/ExtUtils-MakeMaker/t/02-xsdynamic ...........................
 #   Failed test '"make"   exited normally'
    9296 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9297 #          got: '512'
    9298 #     expected: '0'
    9299 # cp lib/XS/Test.pm blib/lib/XS/Test.pm
    9300 # Running Mkbootstrap for Test ()
    9301 # chmod 644 "Test.bs"
    9302 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- Test.bs
 blib/arch/auto/XS/Test/Test.bs 644
    9303 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 "../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macport
 s_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-Testbasic/../../../../lib/ExtUtils/typemap'
 -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/X        S-Testbasic/type map'  Test.xs > Test.xsc
    9304 # mv Test.xsc Test.c
    9305 # /usr/bin/cc -c   -fno-common -DPERL_DARWIN -pipe -Os -fno-
 strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -Werror=pointer-arith -Wextra -Wc++-compat
 -Wwrite-strings -Werror=declaration-after-statement -O3
 -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\"  "-I../..        /../.."   Test.c
    9306 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9307 # cc1: error: unrecognized command line option "-Wc++-compat"
    9308 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9309 # make[1]: *** [Test.o] Error 1
    9310 #   Failed test '"make"   exited normally'
    9311 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9312 #          got: '512'
    9313 #     expected: '0'
    9314 # cp lib/XS/Test.pm blib/lib/XS/Test.pm
    9315 # Running Mkbootstrap for Test ()
    9316 # Writing Test.bs
    9317 # chmod 644 "Test.bs"
    9318 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- Test.bs
 blib/arch/auto/XS/Test/Test.bs 644
    9319 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 "../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macport
 s_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-Testbscode/../../../../lib/ExtUtils/typemap'
 -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/        XS-Testbscode/type map'  Test.xs > Test.xsc
    9320 # mv Test.xsc Test.c
    9321 # /usr/bin/cc -c   -fno-common -DPERL_DARWIN -pipe -Os -fno-
 strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -Werror=pointer-arith -Wextra -Wc++-compat
 -Wwrite-strings -Werror=declaration-after-statement -O3
 -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\"  "-I../..        /../.."   Test.c
    9322 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9323 # cc1: error: unrecognized command line option "-Wc++-compat"
    9324 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9325 # make[1]: *** [Test.o] Error 1
    9326 #   Failed test '"make"   exited normally'
    9327 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9328 #          got: '512'
    9329 #     expected: '0'
    9330 # cp lib/XS/header.h blib/lib/XS/header.h
    9331 # cp lib/XS/Other.pm blib/lib/XS/Other.pm
    9332 # cp lib/XS/type map blib/lib/XS/type map
    9333 # cp lib/XS/Test.pm blib/lib/XS/Test.pm
    9334 # cp lib/XS/Test_BS blib/lib/XS/Test_BS
    9335 # Running Mkbootstrap for lib/XS/Other ()
    9336 # chmod 644 "lib/XS/Other.bs"
    9337 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/XS/Other.bs
 blib/arch/auto/XS/Other/Other.bs 644
    9338 # Running Mkbootstrap for lib/XS/Test ()
    9339 # Writing lib/XS/Test.bs
    9340 # chmod 644 "lib/XS/Test.bs"
    9341 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/XS/Test.bs
 blib/arch/auto/XS/Test/Test.bs 644
    9342 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 "../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macport
 s_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-Testbscodemulti/../../../../lib/ExtUtils/typemap'
 -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMak        er/t/XS-Testbscodemulti/lib/XS/type map'
 lib/XS/Other.xs > lib/XS/Other.xsc
    9343 # mv lib/XS/Other.xsc lib/XS/Other.c
    9344 # /usr/bin/cc -c   \
    9345 # -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing
 -I/opt/local/include -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wall
 -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -Werror
 =declaration-after-statement -O3 \
    9346 #   -DVERSION=\"1.2\" \
    9347 # -DXS_VERSION=\"1.2\"  "-I../../../.."   lib/XS/Other.c -o
 lib/XS/Other.o
    9348 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9349 # cc1: error: unrecognized command line option "-Wc++-compat"
    9350 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9351 # make[1]: *** [lib/XS/Other.o] Error 1
    9352 #   Failed test '"make"   exited normally'
    9353 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9354 #          got: '512'
    9355 #     expected: '0'
    9356 # cp Test.pm blib/lib/XS/Test.pm
    9357 # cd lib && /usr/bin/cc -c -Inewline   -fno-common -DPERL_DARWIN
 -pipe -Os -fno-strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -Werror=pointer-arith -Wextra -Wc++-compat
 -Wwrite-strings -Werror=declaration-after-statement -O3
 -DVERSION=\"1.2\" -DXS_VERSION        =\"1.2\"  "-I../../../../.."
 -DINVAR=input   ../lib/file.c
    9358 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9359 # cc1: error: unrecognized command line option "-Wc++-compat"
    9360 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9361 # make[2]: *** [lib/file.o] Error 1
    9362 # make[1]: *** [subdirs] Error 2
    9363 #   Failed test '"make"   exited normally'
    9364 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9365 #          got: '512'
    9366 #     expected: '0'
    9367 # cp Test.pm blib/lib/XS/Test.pm
    9368 # cp Other.pm ../blib/lib/XS/Other.pm
    9369 # Running Mkbootstrap for Other ()
    9370 # chmod 644 "Other.bs"
    9371 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- Other.bs
 ../blib/arch/auto/XS/Other/Other.bs 644
    9372 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../../lib"
 "../../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_m
 acports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-
 Testsubdirs/Other/../../../../../lib/ExtUtils/typemap'  Other.xs >
 Other.xsc
    9373 # mv Other.xsc Other.c
    9374 # /usr/bin/cc -c -Inewline   -fno-common -DPERL_DARWIN -pipe -Os
 -fno-strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -Werror=pointer-arith -Wextra -Wc++-compat
 -Wwrite-strings -Werror=declaration-after-statement -O3
 -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\"          "-I../../../../.."
 -DINVAR=input   Other.c
    9375 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9376 # cc1: error: unrecognized command line option "-Wc++-compat"
    9377 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9378 # make[2]: *** [Other.o] Error 1
    9379 # make[1]: *** [subdirs] Error 2
    9380 #   Failed test '"make"  LINKTYPE=dynamic exited normally'
    9381 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9382 #          got: '512'
    9383 #     expected: '0'
    9384 # cp Test.pm blib/lib/XS/Test.pm
    9385 # cp Other.pm ../blib/lib/XS/Other.pm
    9386 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../../lib"
 "../../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_m
 acports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-
 TestsubdirsstaticLINKTYPEdynamic/Other/../../../../../lib/ExtUtils/typemap'
 Other.xs > Other.xsc
    9387 # mv Other.xsc Other.c
    9388 # /usr/bin/cc -c   -fno-common -DPERL_DARWIN -pipe -Os -fno-
 strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -Werror=pointer-arith -Wextra -Wc++-compat
 -Wwrite-strings -Werror=declaration-after-statement -O3
 -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\"  "-I../../.        ./../.."
 -DINVAR=input   Other.c
    9389 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9390 # cc1: error: unrecognized command line option "-Wc++-compat"
    9391 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9392 # make[2]: *** [Other.o] Error 1
    9393 # make[1]: *** [subdirs] Error 2
    9394 #   Failed test '"make"  dynamic  exited normally'
    9395 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9396 #          got: '512'
    9397 #     expected: '0'
    9398 # Running Mkbootstrap for Test ()
    9399 # chmod 644 "Test.bs"
    9400 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- Test.bs
 blib/arch/auto/XS/Test/Test.bs 644
    9401 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 "../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macport
 s_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-
 Testsubdirsstaticdynamic/../../../../lib/ExtUtils/typemap' -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan/ExtUtil
 s-MakeMaker/t/XS-Testsubdirsstaticdynamic/type map'  Test.xs > Test.xsc
    9402 # mv Test.xsc Test.c
    9403 # /usr/bin/cc -c   -fno-common -DPERL_DARWIN -pipe -Os -fno-
 strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -Werror=pointer-arith -Wextra -Wc++-compat
 -Wwrite-strings -Werror=declaration-after-statement -O3
 -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\"  "-I../..        /../.."
 -DINVAR=input Test.c
    9404 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9405 # cc1: error: unrecognized command line option "-Wc++-compat"
    9406 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9407 # make[1]: *** [Test.o] Error 1
    9408 #   Failed test '"make"   exited normally'
    9409 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9410 #          got: '512'
    9411 #     expected: '0'
    9412 # cp lib/XS/Test.pm blib/lib/XS/Test.pm
    9413 # cp lib/XS/type map blib/lib/XS/type map
    9414 # cp lib/XS/header.h blib/lib/XS/header.h
    9415 # cp lib/XS/Other.pm blib/lib/XS/Other.pm
    9416 # Running Mkbootstrap for lib/XS/Other ()
    9417 # chmod 644 "lib/XS/Other.bs"
    9418 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/XS/Other.bs
 blib/arch/auto/XS/Other/Other.bs 644
    9419 # Running Mkbootstrap for lib/XS/Test ()
    9420 # chmod 644 "lib/XS/Test.bs"
    9421 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/XS/Test.bs
 blib/arch/auto/XS/Test/Test.bs 644
    9422 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 "../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macport
 s_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-Testmulti/../../../../lib/ExtUtils/typemap'
 -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/X        S-Testmulti/lib/XS/type map'
 lib/XS/Other.xs > lib/XS/Other.xsc
    9423 # mv lib/XS/Other.xsc lib/XS/Other.c
    9424 # /usr/bin/cc -c   \
    9425 # -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing
 -I/opt/local/include -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wall
 -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -Werror
 =declaration-after-statement -O3 \
    9426 #   -DVERSION=\"1.2\" \
    9427 # -DXS_VERSION=\"1.2\"  "-I../../../.."   lib/XS/Other.c -o
 lib/XS/Other.o
    9428 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9429 # cc1: error: unrecognized command line option "-Wc++-compat"
    9430 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9431 # make[1]: *** [lib/XS/Other.o] Error 1
    9432 #   Failed test '"make"  LINKTYPE=dynamic exited normally'
    9433 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9434 #          got: '512'
    9435 #     expected: '0'
    9436 # cp lib/XS/type map blib/lib/XS/type map
    9437 # cp lib/XS/Other.pm blib/lib/XS/Other.pm
    9438 # cp lib/XS/header.h blib/lib/XS/header.h
    9439 # cp lib/XS/Test.pm blib/lib/XS/Test.pm
    9440 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 "../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macport
 s_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-
 TeststaticmultiLINKTYPEdynamic/../../../../lib/ExtUtils/typemap'
 lib/XS/Other.xs > lib/XS/Other.xsc
    9441 # mv lib/XS/Other.xsc lib/XS/Other.c
    9442 # /usr/bin/cc -c   \
    9443 # -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing
 -I/opt/local/include -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wall
 -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -Werror
 =declaration-after-statement -O3 \
    9444 #   -DVERSION=\"1.2\" \
    9445 # -DXS_VERSION=\"1.2\"  "-I../../../.."   lib/XS/Other.c -o
 lib/XS/Other.o
    9446 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9447 # cc1: error: unrecognized command line option "-Wc++-compat"
    9448 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9449 # make[1]: *** [lib/XS/Other.o] Error 1
    9450 #   Failed test '"make"  dynamic  exited normally'
    9451 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9452 #          got: '512'
    9453 #     expected: '0'
    9454 # Running Mkbootstrap for lib/XS/Other ()
    9455 # chmod 644 "lib/XS/Other.bs"
    9456 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/XS/Other.bs
 blib/arch/auto/XS/Other/Other.bs 644
    9457 # Running Mkbootstrap for lib/XS/Test ()
    9458 # chmod 644 "lib/XS/Test.bs"
    9459 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/XS/Test.bs
 blib/arch/auto/XS/Test/Test.bs 644
    9460 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 "../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macport
 s_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-
 Teststaticmultidynamic/../../../../lib/ExtUtils/typemap' lib/XS/Other.xs >
 lib/XS/Other.xsc
    9461 # mv lib/XS/Other.xsc lib/XS/Other.c
    9462 # /usr/bin/cc -c   \
    9463 # -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing
 -I/opt/local/include -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wall
 -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -Werror
 =declaration-after-statement -O3 \
    9464 #   -DVERSION=\"1.2\" \
    9465 # -DXS_VERSION=\"1.2\"  "-I../../../.."   lib/XS/Other.c -o
 lib/XS/Other.o
    9466 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9467 # cc1: error: unrecognized command line option "-Wc++-compat"
    9468 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9469 # make[1]: *** [lib/XS/Other.o] Error 1
    9470 #   Failed test '"make"   exited normally'
    9471 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9472 #          got: '512'
    9473 #     expected: '0'
    9474 # cp lib/XS/header.h blib/lib/XS/header.h
    9475 # cp lib/XS/type map blib/lib/XS/type map
    9476 # cp lib/XS/plus1.c blib/lib/XS/plus1.c
    9477 # cp lib/XS/Test.pm blib/lib/XS/Test.pm
    9478 # cp lib/XS/Other.pm blib/lib/XS/Other.pm
    9479 # Running Mkbootstrap for lib/XS/Other ()
    9480 # chmod 644 "lib/XS/Other.bs"
    9481 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/XS/Other.bs
 blib/arch/auto/XS/Other/Other.bs 644
    9482 # Running Mkbootstrap for lib/XS/Test ()
    9483 # chmod 644 "lib/XS/Test.bs"
    9484 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 -MExtUtils::Command::MM -e 'cp_nonempty' -- lib/XS/Test.bs
 blib/arch/auto/XS/Test/Test.bs 644
    9485 #
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
 "../../../../lib/ExtUtils/xsubpp"  -typemap
 '/opt/local/var/macports/build/nue.de.rsync.macports.org_macport
 s_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3/cpan
 /ExtUtils-MakeMaker/t/XS-Testxsbuild/../../../../lib/ExtUtils/typemap'
 lib/XS/Other.xs > lib/XS/Other.xsc
    9486 # mv lib/XS/Other.xsc lib/XS/Other.c
    9487 # /usr/bin/cc -c   \
    9488 # -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing
 -I/opt/local/include -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wall
 -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -Werror
 =declaration-after-statement -O3 \
    9489 #   -DVERSION=\"1.2\" \
    9490 # -DXS_VERSION=\"1.2\"  "-I../../../.."  -DINVAR=input
 lib/XS/Other.c -o lib/XS/Other.o
    9491 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9492 # cc1: error: unrecognized command line option "-Wc++-compat"
    9493 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9494 # make[1]: *** [lib/XS/Other.o] Error 1
    9495 #   Failed test '"make"   exited normally'
    9496 #   at lib/MakeMaker/Test/Setup/XS.pm line 448.
    9497 #          got: '512'
    9498 #     expected: '0'
    9499 # cp Test.pm blib/lib/XS/Test.pm
    9500 # cd Other && make
    9501 # /usr/bin/cc -c   -fno-common -DPERL_DARWIN -pipe -Os -fno-
 strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -Werror=pointer-arith -Wextra -Wc++-compat
 -Wwrite-strings -Werror=declaration-after-statement -O3
 -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\"  "-I../../.        ./../.."
 file.c
    9502 # cc1: error: unrecognized command line option "-Werror=pointer-
 arith"
    9503 # cc1: error: unrecognized command line option "-Wc++-compat"
    9504 # cc1: error: unrecognized command line option "-Werror
 =declaration-after-statement"
    9505 # make[2]: *** [file.o] Error 1
    9506 # make[1]: *** [Other/libparser.a] Error 2
    9507 # Looks like you failed 12 tests of 72.
    9508 FAILED at test 4
    9509 cpan/ExtUtils-MakeMaker/t/03-xsstatic ............................
 skipped
    9510 cpan/ExtUtils-MakeMaker/t/arch_check .............................
 ok
 }}}

 with a final:

 {{{
   10679 t/porting/test_bootstrap .........................................
 ok
   10680 t/porting/utils ..................................................
 skipped
   10681 Failed 2 tests out of 2533, 99.92% okay.
   10682         ../cpan/ExtUtils-Constant/t/Constant.t
   10683         ../cpan/ExtUtils-MakeMaker/t/02-xsdynamic.t
   10684 ### Since not all tests were successful, you may want to run some
 of
   10685 ### them individually and examine any diagnostic messages they
 produce.
   10686 ### See the INSTALL document's section on "make test".
   10687 ### You have a good chance to get more information by running
   10688 ###   ./perl harness
   10689 ### in the 't' directory since most (>=80%) of the tests
 succeeded.
   10690 ### You may have to set your dynamic library search path,
   10691 ### DYLD_LIBRARY_PATH, to point to the build directory:
   10692 ###   setenv DYLD_LIBRARY_PATH `pwd`:$DYLD_LIBRARY_PATH; cd t;
 ./perl harness
   10693 ###   DYLD_LIBRARY_PATH=`pwd`:$DYLD_LIBRARY_PATH; export
 DYLD_LIBRARY_PATH; cd t; ./perl harness
   10694 ###   export DYLD_LIBRARY_PATH=`pwd`:$DYLD_LIBRARY_PATH; cd t;
 ./perl harness
   10695 ### for csh-style shells, like tcsh; or for traditional/modern
   10696 ### Bourne-style shells, like bash, ksh, and zsh, respectively.
   10697 Elapsed: 9205 sec
   10698 u=96.85  s=38.55  cu=5755.71  cs=854.36  scripts=2533
 tests=1192366
   10699 make: *** [test] Error 1
   10700 Command failed:  cd
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/work/perl-5.34.3"
 && /usr/bin/make test
   10701 Exit code: 2
   10702 Error: Failed to test perl5.34: command execution failed
   10703 Error: See
 /opt/local/var/macports/logs/nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.34/main.log
 for details.
 }}}

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


More information about the macports-tickets mailing list