Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 114001
Status: stalled
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 7.12
  • 7.13_01
  • 7.14
Fixed in: (no value)



Subject: MakeMaker 7.12 breaks DYACOB/Text-TransMetaphone-0.07.tar.gz
Make phase fails with: Running Mkbootstrap for en_US () chmod 644 "en_US.bs" "/home/sand/src/perl/repoperls/installed-perls/perl/v5.23.6/8942/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- en_US.bs ../blib/arch/auto/Text/TransMetaphone/en_US/en_US.bs 644 "/home/sand/src/perl/repoperls/installed-perls/perl/v5.23.6/8942/bin/perl" "/home/sand/src/perl/repoperls/installed-perls/perl/v5.23.6/8942/lib/5.23.6/ExtUtils/xsubpp" -typemap '/home/sand/src/perl/repoperls/installed-perls/perl/v5.23.6/8942/lib/5.23.6/ExtUtils/typemap' -typemap '/tmp/loop_over_bdir-2043-3CF43y/Text-TransMetaphone-0.07-X7n8Rq/xs/typemap' -typemap '/tmp/loop_over_bdir-2043-3CF43y/Text-TransMetaphone-0.07-X7n8Rq/xs/typemap' en_US.xs > en_US.xsc Please specify prototyping behavior for en_US.xs (see perlxs manual) mv en_US.xsc en_US.c cc -c -I../include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/home/sand/src/perl/repoperls/installed-perls/perl/v5.23.6/8942/lib/5.23.6/x86_64-linux-ld/CORE" en_US.c rm -f ../blib/arch/auto/Text/TransMetaphone/en_US/en_US.so LD_RUN_PATH="/tmp/loop_over_bdir-2043-3CF43y/Text-TransMetaphone-0.07-X7n8Rq/blib/arch/auto/libmetaphone" cc -shared -O2 -g -L/usr/local/lib -fstack-protector-strong -o ../blib/arch/auto/Text/TransMetaphone/en_US/en_US.so en_US.o \ -L/tmp/loop_over_bdir-2043-3CF43y/Text-TransMetaphone-0.07-X7n8Rq/blib/arch/auto/libmetaphone -lmetaphone \ /tmp/loop_over_bdir-2043-3CF43y/Text-TransMetaphone-0.07-X7n8Rq/blib/arch/auto/libmetaphone/libmetaphone.so: file not recognized: File truncated collect2: error: ld returned 1 exit status Makefile:462: recipe for target '../blib/arch/auto/Text/TransMetaphone/en_US/en_US.so' failed make[1]: *** [../blib/arch/auto/Text/TransMetaphone/en_US/en_US.so] Error 1 make[1]: Leaving directory '/tmp/loop_over_bdir-2043-3CF43y/Text-TransMetaphone-0.07-X7n8Rq/xs' Makefile:537: recipe for target 'subdirs' failed make: *** [subdirs] Error 2 (/usr/bin/make exited with 512)
I was initially able to reproduce this issue on perl 5.23.6, but not any other perl version. Now I'm not able to reproduce it there either. I am able to produce the same error another way though. Running perl Makefile.PL make perl Makefile.PL make gives me the same error (well, the clang version of it). I tested old versions of EUMM (6.66) and this also produced an error.
Using perlbrew with Perl 5.20/22, and cpanm with EUMM 7.10 and 7.12, I was consistently able to get it to break under 7.12, and work under 7.10. Deleting the unusual 'system "touch $root/libmetaphone.so";' in this distro's xs/Makefile.PL causes it to build successfully under 7.10 and 7.12. I have filed a ticket in the Text::TransMetaphone RT: https://rt.cpan.org/Ticket/Display.html?id=114007