Skip Menu |

This queue is for tickets about the CPP-panda-lib CPAN distribution.

Report information
The Basics
Id: 130142
Status: rejected
Priority: 0/
Queue: CPP-panda-lib

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

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



Subject: Wrong "C++ compiler does not support -std=c++14" errors? (1.2.3)
On a fedora 28 system with self-compiled 5.28.2 the build fails: ... Output from '/opt/perl-5.28.2/bin/perl5.28.2 Makefile.PL': OS unsupported: C++ compiler does not support -std=c++14 ... However, on the very same host with a different perl the build is successful. So I think that there must be another error, not the one printed here. I can do some debugging if you point me into the right direction.
This works like this: A module (CPP::panda::lib in this case) says in its Makefile.PL that it requires C++14 write_makefile( ... CPLUS => 14, ); The work is actualy done by XS::Install in lib/XS/Install.pm sub _get_cplusplus it runs $cpp -c -std=c++$minstd -o $outfile $tmpfile 2>&1 with "int main () { return 0; }" in $tmpfile It would be great if you run perl -d Makefile.PL in CPP::panda::lib's package folder and then c XS::Install::_get_cplusplus and then debug what is wrong with running `$cpp -c -std=c++$minstd -o $outfile $tmpfile 2>&1`; maybe your different perls compiled with different compilers? because EUMM use the compiler perl was build with Пнд Июл 22 13:08:16 2019, SREZIC писал: Show quoted text
> On a fedora 28 system with self-compiled 5.28.2 the build fails: > > ... > Output from '/opt/perl-5.28.2/bin/perl5.28.2 Makefile.PL': > > OS unsupported: C++ compiler does not support -std=c++14 > ... > > However, on the very same host with a different perl the build is > successful. So I think that there must be another error, not the one > printed here. > > I can do some debugging if you point me into the right direction.
On 2019-07-22 15:00:00, SYBER wrote: Show quoted text
> This works like this: > > A module (CPP::panda::lib in this case) says in its Makefile.PL that > it requires C++14 > > write_makefile( > ... > CPLUS => 14, > ); > > The work is actualy done by XS::Install > > in lib/XS/Install.pm > > sub _get_cplusplus > > it runs > $cpp -c -std=c++$minstd -o $outfile $tmpfile 2>&1 > > with "int main () { return 0; }" in $tmpfile > > It would be great if you run > perl -d Makefile.PL > in CPP::panda::lib's package folder > and then > c XS::Install::_get_cplusplus > and then debug what is wrong with running `$cpp -c -std=c++$minstd -o > $outfile $tmpfile 2>&1`; > > maybe your different perls compiled with different compilers? because > EUMM use the compiler perl was build with > > Пнд Июл 22 13:08:16 2019, SREZIC писал:
> > On a fedora 28 system with self-compiled 5.28.2 the build fails: > > > > ... > > Output from '/opt/perl-5.28.2/bin/perl5.28.2 Makefile.PL': > > > > OS unsupported: C++ compiler does not support -std=c++14 > > ... > > > > However, on the very same host with a different perl the build is > > successful. So I think that there must be another error, not the one > > printed here. > > > > I can do some debugging if you point me into the right direction.
It seems that I was misreading the test report --- it was created on a centos7 system, which probably indeed does not have a c++14 capable compiler. So there's no problem. Sorry for the noise.
Subject: Re: [rt.cpan.org #130142] Wrong "C++ compiler does not support -std=c++14" errors? (1.2.3)
Date: Tue, 23 Jul 2019 11:21:16 +0300
To: bug-CPP-panda-lib [...] rt.cpan.org
From: Олег Пронин <syber.rus [...] gmail.com>
Test вт, 23 июля 2019 г. в 8:24, Slaven_Rezic via RT < bug-CPP-panda-lib@rt.cpan.org>: Show quoted text
> Queue: CPP-panda-lib > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130142 > > > On 2019-07-22 15:00:00, SYBER wrote:
> > This works like this: > > > > A module (CPP::panda::lib in this case) says in its Makefile.PL that > > it requires C++14 > > > > write_makefile( > > ... > > CPLUS => 14, > > ); > > > > The work is actualy done by XS::Install > > > > in lib/XS/Install.pm > > > > sub _get_cplusplus > > > > it runs > > $cpp -c -std=c++$minstd -o $outfile $tmpfile 2>&1 > > > > with "int main () { return 0; }" in $tmpfile > > > > It would be great if you run > > perl -d Makefile.PL > > in CPP::panda::lib's package folder > > and then > > c XS::Install::_get_cplusplus > > and then debug what is wrong with running `$cpp -c -std=c++$minstd -o > > $outfile $tmpfile 2>&1`; > > > > maybe your different perls compiled with different compilers? because > > EUMM use the compiler perl was build with > > > > Пнд Июл 22 13:08:16 2019, SREZIC писал:
> > > On a fedora 28 system with self-compiled 5.28.2 the build fails: > > > > > > ... > > > Output from '/opt/perl-5.28.2/bin/perl5.28.2 Makefile.PL': > > > > > > OS unsupported: C++ compiler does not support -std=c++14 > > > ... > > > > > > However, on the very same host with a different perl the build is > > > successful. So I think that there must be another error, not the one > > > printed here. > > > > > > I can do some debugging if you point me into the right direction.
> > It seems that I was misreading the test report --- it was created on a > centos7 system, which probably indeed does not have a c++14 capable > compiler. So there's no problem. Sorry for the noise. >