Skip Menu |

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

Report information
The Basics
Id: 100275
Status: resolved
Worked: 10 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: ETJ [...] cpan.org
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in:
  • 7.03_01
  • 7.04



Subject: EUMM 7.02 breaks CCFLAGS handling
As of commit 88e241815c36fd7e2e0db73c93ff2ec458cddd7c Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> Date: Sat Nov 8 14:11:24 2014 +0000 Update ExtUtils-MakeMaker to CPAN version 7.02 with this compiler: $ g++ -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) I am seeing the following problem in bleadperl: $ ./miniperl -Ilib make_ext.pl MAKE=make XS-APItest g++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_BOOL_AS_CHAR -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -Wno-deprecated-declarations-Wall -ansi -Werror=declaration-after-statement -Wextra -Wwrite-strings -O3 -DVERSION=\"0.68\" -DXS_VERSION=\"0.68\" "-I../.." APItest.c cc1plus: error: unrecognized command line option "-Wno-deprecated-declarations-Wall" make: *** [APItest.o] Error 1 ext/XS-APItest/Makefile.PL includes: ($Config{gccversion} && $Config{d_attribute_deprecated} ? (CCFLAGS => $Config{ccflags} . ' -Wno-deprecated-declarations') : ()), If I add a space after ‘declarations’ the problem goes away. I haven’t looked into it further.
RT-Send-CC: jhi [...] iki.fi
On Tue Nov 11 17:24:02 2014, SPROUT wrote: Show quoted text
> As of > > commit 88e241815c36fd7e2e0db73c93ff2ec458cddd7c > Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> > Date: Sat Nov 8 14:11:24 2014 +0000 > > Update ExtUtils-MakeMaker to CPAN version 7.02 > > with this compiler: > > $ g++ -v > Using built-in specs. > Target: i686-apple-darwin11 > Configured with: /private/var/tmp/llvmgcc42/llvmgcc42- > 2336.11~182/src/configure --disable-checking --enable-werror > --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 > --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- > prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with- > slibdir=/usr/lib --build=i686-apple-darwin11 --enable- > llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst- > llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- > --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx- > include-dir=/usr/include/c++/4.2.1 > Thread model: posix > gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build > 2336.11.00) > > I am seeing the following problem in bleadperl: > > $ ./miniperl -Ilib make_ext.pl MAKE=make XS-APItest > g++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_BOOL_AS_CHAR > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -Wno-deprecated-declarations-Wall -ansi -Werror=declaration-after- > statement -Wextra -Wwrite-strings -O3 -DVERSION=\"0.68\" > -DXS_VERSION=\"0.68\" "-I../.." APItest.c > cc1plus: error: unrecognized command line option "-Wno-deprecated- > declarations-Wall" > make: *** [APItest.o] Error 1 > > ext/XS-APItest/Makefile.PL includes: > > ($Config{gccversion} && $Config{d_attribute_deprecated} ? > (CCFLAGS => $Config{ccflags} . ' -Wno-deprecated-declarations') : > ()), > > If I add a space after ‘declarations’ the problem goes away. > > I haven’t looked into it further.
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/5fb6a8d0c looks suspicious.
Subject: Re: [rt.cpan.org #100275] EUMM 7.02 breaks CCFLAGS handling
Date: Tue, 11 Nov 2014 18:12:55 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Jarkko Hietaniemi <jhi [...] iki.fi>
On Tuesday-201411-11, 17:27, Father Chrysostomos via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=100275 > > > On Tue Nov 11 17:24:02 2014, SPROUT wrote:
>> As of >> >> commit 88e241815c36fd7e2e0db73c93ff2ec458cddd7c >> Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> >> Date: Sat Nov 8 14:11:24 2014 +0000 >> >> Update ExtUtils-MakeMaker to CPAN version 7.02 >> >> with this compiler: >> >> $ g++ -v >> Using built-in specs. >> Target: i686-apple-darwin11 >> Configured with: /private/var/tmp/llvmgcc42/llvmgcc42- >> 2336.11~182/src/configure --disable-checking --enable-werror >> --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 >> --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- >> prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with- >> slibdir=/usr/lib --build=i686-apple-darwin11 --enable- >> llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst- >> llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- >> --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx- >> include-dir=/usr/include/c++/4.2.1 >> Thread model: posix >> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build >> 2336.11.00) >> >> I am seeing the following problem in bleadperl: >> >> $ ./miniperl -Ilib make_ext.pl MAKE=make XS-APItest >> g++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_BOOL_AS_CHAR >> -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include >> -Wno-deprecated-declarations-Wall -ansi -Werror=declaration-after- >> statement -Wextra -Wwrite-strings -O3 -DVERSION=\"0.68\" >> -DXS_VERSION=\"0.68\" "-I../.." APItest.c >> cc1plus: error: unrecognized command line option "-Wno-deprecated- >> declarations-Wall" >> make: *** [APItest.o] Error 1 >> >> ext/XS-APItest/Makefile.PL includes: >> >> ($Config{gccversion} && $Config{d_attribute_deprecated} ? >> (CCFLAGS => $Config{ccflags} . ' -Wno-deprecated-declarations') : >> ()), >> >> If I add a space after ‘declarations’ the problem goes away. >> >> I haven’t looked into it further.
> > https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/5fb6a8d0c looks suspicious.
Indeed. The bozo who added the line 275 obviously didn't think far enough. Show quoted text
>
Fixed in 0d1412e25091c4bfe9ca98e55a63a502ed3d30dc, released 7.03_01, full release 7.04. Closing.