Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 133022
Status: resolved
Priority: 0/
Queue: Moose

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.2013



Subject: Windows 10, MSYS2: Couldn't execute g++ HASCOMPILERPJJ4/TESTTq6i.o -o HASCOMPILERPJJ4/TESTTq6i.dll --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong : at Makefile.PL line 12.
System: Windows 10, MSYS2, perl version 5.32.0: $ cpanm -v Moose cpanm (App::cpanminus) 1.7044 on perl 5.032000 built for x86_64-msys-thread-multi Work directory is /home/hakon/.cpanm/work/1595110871.17999 You have make /usr/bin/make You have LWP 6.46 You have /usr/bin/tar: tar (GNU tar) 1.32 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. Searching Moose () on cpanmetadb ... --> Working on Moose Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Moose-2.2012.tar.gz ... OK Unpacking Moose-2.2012.tar.gz Moose-2.2012/ Moose-2.2012/author/ Moose-2.2012/benchmarks/ [...] Moose-2.2012/benchmarks/cmop/lib/Bench/Run.pm Moose-2.2012/author/doc-generator Moose-2.2012/author/extract-inline-tests Moose-2.2012/author/find-dupe-test-numbers Entering Moose-2.2012 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.44) Checking if you have Dist::CheckConflicts 0.02 ... Yes (0.11) Running Makefile.PL Configuring Moose-2.2012 ... /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERPJJ4/TESTTq6i.o:TESTTq6i.c:(.text+0x21): undefined reference to `Perl_newSViv' HASCOMPILERPJJ4/TESTTq6i.o:TESTTq6i.c:(.text+0x21): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newSViv' /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERPJJ4/TESTTq6i.o:TESTTq6i.c:(.text+0x37): undefined reference to `Perl_sv_2mortal' HASCOMPILERPJJ4/TESTTq6i.o:TESTTq6i.c:(.text+0x37): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_sv_2mortal' /usr/lib/gcc/x86_64-pc-msys/9.3.0/../../../../x86_64-pc-msys/bin/ld: HASCOMPILERPJJ4/TESTTq6i.o:TESTTq6i.c:(.text+0x6b): undefined reference to `Perl_newXS' HASCOMPILERPJJ4/TESTTq6i.o:TESTTq6i.c:(.text+0x6b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `Perl_newXS' collect2: error: ld returned 1 exit status Couldn't execute g++ HASCOMPILERPJJ4/TESTTq6i.o -o HASCOMPILERPJJ4/TESTTq6i.dll --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong : at Makefile.PL line 12. This distribution requires a working compiler at Makefile.PL line 12. N/A ! Configure failed for Moose-2.2012. See /home/hakon/.cpanm/work/1595110871.17999/build.log for details.
Subject: [rt.cpan.org #133022] Re: Windows 10, MSYS2: Couldn't execute g++
Date: Mon, 20 Jul 2020 11:05:05 -0700
To: bug-Moose [...] rt.cpan.org
From: Håkon Hægland <hakon.hagland [...] gmail.com>
I have submitted a patch to ExtUtils::HasCompiler : https://github.com/Leont/extutils-hascompiler/pull/12 Please include this patch in the next CPAN release of Moose (as I understand it, the Moose CPAN dist includes ExtUtils::HasCompiler in its inc/ directory).
EUHC updated in release 2.2013.