Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MakeMaker 02-xsdynamic.t failure in AIX 5.3 with blead be93048a #15509

Closed
p5pRT opened this issue Aug 12, 2016 · 10 comments
Closed

MakeMaker 02-xsdynamic.t failure in AIX 5.3 with blead be93048a #15509

p5pRT opened this issue Aug 12, 2016 · 10 comments
Labels
Closable? We might be able to close this ticket, but we need to check with the reporter distro-aix

Comments

@p5pRT
Copy link

p5pRT commented Aug 12, 2016

Migrated from rt.perl.org#128902 (status was 'open')

Searchable as RT128902$

@p5pRT
Copy link
Author

p5pRT commented Aug 12, 2016

From @jhi

All other tests pass with Configure -des -Dusedevel, expect for the below [1], ./perl -Ilib -V [2]

Cannot remember when I last time run full test here, sorry.

[1]
cpan/ExtUtils-MakeMaker/t/02-xsdynamic ......................... # Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/typemap blib/lib/XS/typemap
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test_BS blib/lib/XS/Test_BS
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make​: 1254-002 Cannot find a rule to create target Test.exp from dependencies.
# Stop.
# Failed test '"make" test exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 390.
# got​: '512'
# expected​: '0'
# cp Test.pm blib/lib/XS/Test.pm
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib" -MExtUtils​::Mksymlists -e "Mksymlists('NAME'=>\"XS​::Test\", 'DLBASE' => 'Test', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
# Running Mkbootstrap for Test ()
# chmod 644 "Test.bs"
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib" -MExtUtils​::Command​::MM -e 'cp_nonempty' -- Test.bs blib/arch/auto/XS/Test/Test.bs 644
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib" "../../../../lib/ExtUtils/xsubpp" -typemap '/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/t/XS-Testsubdirscomplex/../../../../lib/ExtUtils/typemap' -typemap '/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/t/XS-Testsubdirscomplex/typemap' -typemap '/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/t/XS-Testsubdirscomplex/typemap' Test.xs > Test.xsc
# mv Test.xsc Test.c
# cc -q32 -c -Inewline -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -O -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" "-I../../../.." -DINVAR=input Test.c
# rm -f blib/arch/auto/XS/Test/Test.so
# ld -bhalt​:4 -G -bI​:../../../../perl.exp -bE​:Test.exp -bnoentry -lc -lm -L/usr/local/lib Test.o -o blib/arch/auto/XS/Test/Test.so
# chmod 755 blib/arch/auto/XS/Test/Test.so
# cd lib && cc -q32 -c -Inewline -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -O -DVERSION=\"1.2\" -DXS_VERSION=\"1.2\" "-I../../../../.." -DINVAR=input ../lib/file.c
#
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib" -MExtUtils​::Command​::MM -e 'cp_nonempty' -- Test.bs blib/arch/auto/XS/Test/Test.bs 644
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../../lib" -MExtUtils​::Mksymlists -e "Mksymlists('NAME'=>\"XS​::Other\", 'DLBASE' => 'Other', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
# Running Mkbootstrap for Other ()
# chmod 644 "Other.bs"
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../../lib" -MExtUtils​::Command​::MM -e 'cp_nonempty' -- Other.bs ../blib/arch/auto/XS/Other/Other.bs 644
# rm -f ../blib/arch/auto/XS/Other/Other.so
# ld -bhalt​:4 -G -bI​:../../../../../perl.exp -bE​:Other.exp -bnoentry -lc -lm -L/usr/local/lib lib/file.o -o ../blib/arch/auto/XS/Other/Other.so
# ld​: 0711-244 ERROR​: No csects or exported symbols have been saved.
# make​: 1254-004 The error code from the last command is 8.
#
#
# Stop.
# make​: 1254-004 The error code from the last command is 2.
#
#
# Stop.
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/typemap blib/lib/XS/typemap
# make​: 1254-002 Cannot find a rule to create target Test.exp from dependencies.
# Stop.
# Failed test '"make" LINKTYPE=dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/typemap blib/lib/XS/typemap
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make​: 1254-002 Cannot find a rule to create target Test.exp from dependencies.
# Stop.
# Failed test '"make" dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make​: 1254-002 Cannot find a rule to create target Test.exp from dependencies.
# Stop.
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# cp lib/XS/typemap blib/lib/XS/typemap
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/plus1.c blib/lib/XS/plus1.c
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make​: 1254-002 Cannot find a rule to create target Test.exp from dependencies.
# Stop.
# Looks like you failed 6 tests of 66.
FAILED at test 16
cpan/ExtUtils-MakeMaker/t/03-xsstatic .......................... skipped

[2]

Summary of my perl5 (revision 5 version 25 subversion 4) configuration​:
 
  Platform​:
  osname=aix
  osvers=5.3.0.0
  archname=aix
  uname='aix i3 3 5 0004898ad300 '
  config_args='-des -Dusedevel'
  hint=recommended
  useposix=true
  d_sigaction=define
  useithreads=undef
  usemultiplicity=undef
  use64bitint=undef
  use64bitall=undef
  uselongdouble=undef
  usemymalloc=n
  bincompat5005=undef
  Compiler​:
  cc='cc -q32'
  ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE
_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES'
  optimize='-O'
  cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -I/usr/local/include'
  ccversion='12.1.0.12'
  gccversion=''
  gccosandvers=''
  intsize=4
  longsize=4
  ptrsize=4
  doublesize=8
  byteorder=4321
  doublekind=4
  d_longlong=define
  longlongsize=8
  d_longdbl=define
  longdblsize=8
  longdblkind=0
  ivtype='long'
  ivsize=4
  nvtype='double'
  nvsize=8
  Off_t='off_t'
  lseeksize=8
  alignbytes=8
  prototype=define
  Linker and Libraries​:
  ld='ld'
  ldflags =' -brtl -bdynamic -L/usr/local/lib -b32 -bmaxdata​:0x80000000'
  libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /usr/lib64
  libs=-lpthread -lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc
  perllibs=-lpthread -lbind -lnsl -ldl -lld -lm -lcrypt -lc
  libc=/lib/libc.a
  so=a
  useshrplib=false
  libperl=libperl.a
  gnulibc_version=''
  Dynamic Linking​:
  dlsrc=dl_aix.xs
  dlext=so
  d_dlsymun=undef
  ccdlflags=' -bE​:/usr/local/lib/perl5/5.25.4/aix/CORE/perl.exp'
  cccdlflags=' '
  lddlflags=' -bhalt​:4 -G -bI​:$(PERL_INC)/perl.exp -bE​:$(BASEEXT).exp -bnoentry -lc -lm -L/usr/local/lib'

Characteristics of this binary (from libperl)​:
  Compile-time options​:
  HAS_TIMES
  PERLIO_LAYERS
  PERL_COPY_ON_WRITE
  PERL_DONT_CREATE_GVSV
  PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
  PERL_MALLOC_WRAP
  PERL_OP_PARENT
  PERL_PRESERVE_IVUV
  PERL_USE_DEVEL
  USE_LARGE_FILES
  USE_LOCALE
  USE_LOCALE_COLLATE
  USE_LOCALE_CTYPE
  USE_LOCALE_NUMERIC
  USE_LOCALE_TIME
  USE_PERLIO
  USE_PERL_ATOF
  Built under aix
  Compiled at Aug 12 2016 03​:32​:44
  @​INC​:
  lib
  /usr/local/lib/perl5/site_perl/5.25.4/aix
  /usr/local/lib/perl5/site_perl/5.25.4
  /usr/local/lib/perl5/5.25.4/aix
  /usr/local/lib/perl5/5.25.4
  .

@p5pRT
Copy link
Author

p5pRT commented Aug 12, 2016

From @Leont

On Fri, Aug 12, 2016 at 4​:34 AM, Jarkko Hietaniemi <
perlbug-followup@​perl.org> wrote​:

All other tests pass with Configure -des -Dusedevel, expect for the below
[1], ./perl -Ilib -V [2]

Cannot remember when I last time run full test here, sorry.

[1]
cpan/ExtUtils-MakeMaker/t/02-xsdynamic ......................... #
Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/typemap blib/lib/XS/typemap
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test_BS blib/lib/XS/Test_BS
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make​: 1254-002 Cannot find a rule to create target Test.exp from
dependencies.
# Stop.
# Failed test '"make" test exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 390.
# got​: '512'
# expected​: '0'
# cp Test.pm blib/lib/XS/Test.pm
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac16037
2960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w
"-I../../../../lib" -MExtUtils​::Mksymlists -e
"Mksymlists('NAME'=>\"XS​::Test\", 'DLBASE' => 'Test', 'DL_FUNCS' => { },
'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
# Running Mkbootstrap for Test ()
# chmod 644 "Test.bs"
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372
960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
-MExtUtils​::Command​::MM -e 'cp_nonempty' -- Test.bs
blib/arch/auto/XS/Test/Test.bs 644
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac16037
2960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w
"-I../../../../lib" "../../../../lib/ExtUtils/xsubpp" -typemap
'/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372
960db9-blead/cpan/ExtUtils-MakeMaker/t/XS-Testsubdirscomp
lex/../../../../lib/ExtUtils/typemap' -typemap
'/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372
960db9-blead/cpan/ExtUtils-MakeMaker/t/XS-Testsubdirscomplex/typemap'
-typemap '/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372
960db9-blead/cpan/ExtUtils-MakeMaker/t/XS-Testsubdirscomplex/typemap'
Test.xs > Test.xsc
# mv Test.xsc Test.c
# cc -q32 -c -Inewline -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99
-DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -O
-DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" "-I../../../.." -DINVAR=input
Test.c
# rm -f blib/arch/auto/XS/Test/Test.so
# ld -bhalt​:4 -G -bI​:../../../../perl.exp -bE​:Test.exp -bnoentry
-lc -lm -L/usr/local/lib Test.o -o blib/arch/auto/XS/Test/Test.so
# chmod 755 blib/arch/auto/XS/Test/Test.so
# cd lib && cc -q32 -c -Inewline -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99
-DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -O
-DVERSION=\"1.2\" -DXS_VERSION=\"1.2\" "-I../../../../.." -DINVAR=input
../lib/file.c
#
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372
960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w "-I../../../../lib"
-MExtUtils​::Command​::MM -e 'cp_nonempty' -- Test.bs
blib/arch/auto/XS/Test/Test.bs 644
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac16037
2960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w
"-I../../../../../lib" -MExtUtils​::Mksymlists -e
"Mksymlists('NAME'=>\"XS​::Other\", 'DLBASE' => 'Other', 'DL_FUNCS' => {
}, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
# Running Mkbootstrap for Other ()
# chmod 644 "Other.bs"
# "/tmp/pq-work-jhi/pq-perl-f5ddbd365dc93b7d87a7afb047ac160372
960db9-blead/cpan/ExtUtils-MakeMaker/../../t/perl" -w
"-I../../../../../lib" -MExtUtils​::Command​::MM -e 'cp_nonempty' -- Other.bs
../blib/arch/auto/XS/Other/Other.bs 644
# rm -f ../blib/arch/auto/XS/Other/Other.so
# ld -bhalt​:4 -G -bI​:../../../../../perl.exp -bE​:Other.exp
-bnoentry -lc -lm -L/usr/local/lib lib/file.o -o
../blib/arch/auto/XS/Other/Other.so
# ld​: 0711-244 ERROR​: No csects or exported symbols have been saved.
# make​: 1254-004 The error code from the last command is 8.
#
#
# Stop.
# make​: 1254-004 The error code from the last command is 2.
#
#
# Stop.
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/typemap blib/lib/XS/typemap
# make​: 1254-002 Cannot find a rule to create target Test.exp from
dependencies.
# Stop.
# Failed test '"make" LINKTYPE=dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/typemap blib/lib/XS/typemap
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make​: 1254-002 Cannot find a rule to create target Test.exp from
dependencies.
# Stop.
# Failed test '"make" dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make​: 1254-002 Cannot find a rule to create target Test.exp from
dependencies.
# Stop.
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# cp lib/XS/typemap blib/lib/XS/typemap
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/plus1.c blib/lib/XS/plus1.c
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make​: 1254-002 Cannot find a rule to create target Test.exp from
dependencies.
# Stop.
# Looks like you failed 6 tests of 66.
FAILED at test 16

My patch at
Perl-Toolchain-Gang/ExtUtils-MakeMaker#278 should
fix this.

Leon

@p5pRT
Copy link
Author

p5pRT commented Aug 12, 2016

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jun 7, 2017

From al.dunsmuir@sympatico.ca

Please see ticket #131415 (Perl 5.24+ Configure loses hints script changes)
(https://rt-archive.perl.org/perl5/Ticket/Display.html?id=131415)

I'm building perl 5.26.0 on AIX 5.3 using xlc_r, after updating Configure to
retain the options contributed by the hints/aix.sh script.

Building with tests enabled, I got the following
Failed 1 test out of 2446, 99.96% okay.
  ../cpan/ExtUtils-MakeMaker/t/02-xsdynamic.t

cpan/ExtUtils-MakeMaker/t/02-xsdynamic ......................... # Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testbscodemulti'
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test_BS blib/lib/XS/Test_BS
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/header.h blib/lib/XS/header.h
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testbscodemulti'
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testmulti'
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testmulti'
# Failed test '"make" LINKTYPE=dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-TeststaticmultiLINKTYPEdynamic'
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/type map blib/lib/XS/type map
# make[1]​: *** No rule to make target 'Test.exp', needed by 'static'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-TeststaticmultiLINKTYPEdynamic'
# Failed test '"make" dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Teststaticmultidynamic'
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Teststaticmultidynamic'
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testxsbuild'
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/plus1.c blib/lib/XS/plus1.c
# cp lib/XS/header.h blib/lib/XS/header.h
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testxsbuild'
# Looks like you failed 5 tests of 66.
FAILED at test 16

Since dynamic linking on AIX requires platform-specific processing, the test
likely requires some work to make it fully functional on AIX. I'll see what
I can figure out.

@p5pRT
Copy link
Author

p5pRT commented Jun 7, 2017

From [Unknown Contact. See original ticket]

Please see ticket #131415 (Perl 5.24+ Configure loses hints script changes)
(https://rt-archive.perl.org/perl5/Ticket/Display.html?id=131415)

I'm building perl 5.26.0 on AIX 5.3 using xlc_r, after updating Configure to
retain the options contributed by the hints/aix.sh script.

Building with tests enabled, I got the following
Failed 1 test out of 2446, 99.96% okay.
  ../cpan/ExtUtils-MakeMaker/t/02-xsdynamic.t

cpan/ExtUtils-MakeMaker/t/02-xsdynamic ......................... # Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testbscodemulti'
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test_BS blib/lib/XS/Test_BS
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/header.h blib/lib/XS/header.h
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testbscodemulti'
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testmulti'
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testmulti'
# Failed test '"make" LINKTYPE=dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-TeststaticmultiLINKTYPEdynamic'
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/type map blib/lib/XS/type map
# make[1]​: *** No rule to make target 'Test.exp', needed by 'static'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-TeststaticmultiLINKTYPEdynamic'
# Failed test '"make" dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Teststaticmultidynamic'
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Teststaticmultidynamic'
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testxsbuild'
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/plus1.c blib/lib/XS/plus1.c
# cp lib/XS/header.h blib/lib/XS/header.h
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'. Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testxsbuild'
# Looks like you failed 5 tests of 66.
FAILED at test 16

Since dynamic linking on AIX requires platform-specific processing, the test
likely requires some work to make it fully functional on AIX. I'll see what
I can figure out.

@p5pRT
Copy link
Author

p5pRT commented Jun 7, 2017

From @Leont

On Wed, Jun 7, 2017 at 8​:53 PM, Al Dunsmuir via RT <perlbug-comment@​perl.org

wrote​:

Please see ticket #131415 (Perl 5.24+ Configure loses hints script changes)
(https://rt-archive.perl.org/perl5/Ticket/Display.html?id=131415)

I'm building perl 5.26.0 on AIX 5.3 using xlc_r, after updating Configure
to
retain the options contributed by the hints/aix.sh script.

Building with tests enabled, I got the following
Failed 1 test out of 2446, 99.96% okay.
../cpan/ExtUtils-MakeMaker/t/02-xsdynamic.t

cpan/ExtUtils-MakeMaker/t/02-xsdynamic ......................... #
Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testbscodemulti'
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test_BS blib/lib/XS/Test_BS
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/header.h blib/lib/XS/header.h
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'.
Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testbscodemulti'
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testmulti'
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'.
Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testmulti'
# Failed test '"make" LINKTYPE=dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-TeststaticmultiLINKTYPEdynamic'
# cp lib/XS/header.h blib/lib/XS/header.h
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/type map blib/lib/XS/type map
# make[1]​: *** No rule to make target 'Test.exp', needed by 'static'.
Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-TeststaticmultiLINKTYPEdynamic'
# Failed test '"make" dynamic exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Teststaticmultidynamic'
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'.
Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Teststaticmultidynamic'
# Failed test '"make" exited normally'
# at lib/MakeMaker/Test/Setup/XS.pm line 369.
# got​: '512'
# expected​: '0'
# make[1]​: Entering directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testxsbuild'
# cp lib/XS/Other.pm blib/lib/XS/Other.pm
# cp lib/XS/Test.pm blib/lib/XS/Test.pm
# cp lib/XS/type map blib/lib/XS/type map
# cp lib/XS/plus1.c blib/lib/XS/plus1.c
# cp lib/XS/header.h blib/lib/XS/header.h
# make[1]​: *** No rule to make target 'Test.exp', needed by 'dynamic'.
Stop.
# make[1]​: Leaving directory '/apps/rpmbuild/BUILD/perl-5.
26.0/64bit/cpan/ExtUtils-MakeMaker/t/XS-Testxsbuild'
# Looks like you failed 5 tests of 66.
FAILED at test 16

Since dynamic linking on AIX requires platform-specific processing, the
test
likely requires some work to make it fully functional on AIX. I'll see
what
I can figure out.

This bug has been fixed in ExtUtils​::MakeMaker 7.26, but wasn't on time to
make it into perl 5.26.

Leon

@p5pRT
Copy link
Author

p5pRT commented Jun 7, 2017

From al.dunsmuir@sympatico.ca

On Wed, 07 Jun 2017 14​:18​:20 -0700, LeonT wrote​:

This bug has been fixed in ExtUtils​::MakeMaker 7.26, but wasn't on
time to make it into perl 5.26.

Leon

Leon,

Thank you VERY much. I'll apply a local patch to my AIX 5.26.0 build to
bring ExtUtils​::MakeMaker up to the 7.26 level.

--
Al Dunsmuir

@p5pRT
Copy link
Author

p5pRT commented Jun 9, 2017

From al.dunsmuir@sympatico.ca

On Wed, 07 Jun 2017 15​:46​:32 -0700, al.dunsmuir@​sympatico.ca wrote​:

On Wed, 07 Jun 2017 14​:18​:20 -0700, LeonT wrote​:

This bug has been fixed in ExtUtils​::MakeMaker 7.26, but wasn't on
time to make it into perl 5.26.

Thank you VERY much. I'll apply a local patch to my AIX 5.26.0 build to
bring ExtUtils​::MakeMaker up to the 7.26 level.

Leon,

I updated my ExtUtils​::MakeMaker to latest (7.28) level in my 5.26.0 package.
The build and all ExtUtil​::MakeMaker tests were successful for both 32-bit
and 64-bit on AIX 5.3 (with IBM xlc_r compiler).

Note that the 7.28 gz file has the execute flags set for /t/MN_Win32.t which
caused a later failure (that was trivial to fix)​:
t/porting/exec-bit ............................................. # Failed test 82 - tarball will chmod +x ../cpan/ExtUtils-MakeMaker/t/MM_Win32.t at porting/exec-bit.t line 60
# Remove the exec bit or add '../cpan/ExtUtils-MakeMaker/t/MM_Win32.t' to Porting/exec-bit.txt
FAILED at test 82

The same issue is present in the development (7.29_01) gz file, so I'll report
as a separate perlbug.

--
Al Dunsmuir

@khwilliamson
Copy link
Contributor

Can this ticket be closed?

@Leont
Copy link
Contributor

Leont commented Mar 27, 2020

AFAICT it can be

@Leont Leont added the Closable? We might be able to close this ticket, but we need to check with the reporter label Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closable? We might be able to close this ticket, but we need to check with the reporter distro-aix
Projects
None yet
Development

No branches or pull requests

3 participants