develooper Front page | perl.perl5.porters | Postings from June 2010

Time::Piece g++ build failure

Thread Next
From:
George Greer
Date:
June 29, 2010 19:45
Subject:
Time::Piece g++ build failure
Message ID:
alpine.LFD.2.00.1006292137180.10316@ein.m-l.org
$ ./Configure -des -Dusedevel -Dcc=g++ && make
[...]
Making all in cpan/Time-Piece
  make all PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=dynamic
make[1]: Entering directory `/home/tivrusky/t/p5/cpan/Time-Piece'
cp Seconds.pm ../../lib/Time/Seconds.pm
cp Piece.pm ../../lib/Time/Piece.pm
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp 
-typemap ../../lib/ExtUtils/typemap  Piece.xs > Piece.xsc && mv Piece.xsc 
Piece.c
g++ -c   -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.20_01\" 
-DXS_VERSION=\"1.20_01\" -fPIC "-I../.."   Piece.c
Piece.xs: In function ¡char* _strptime(const char*, const char*, tm*)¢:
Piece.xs:906: error: invalid conversion from ¡void*¢ to ¡char*¢
make[1]: *** [Piece.o] Error 1
make[1]: Leaving directory `/home/tivrusky/t/p5/cpan/Time-Piece'
Unsuccessful make(cpan/Time-Piece): code=512 at make_ext.pl line 449.
make: *** [lib/auto/Time/Piece/Piece.so] Error 25

$ git describe
v5.13.2-115-ga5c4fdf

PS - My Ubuntu Linux smoker will be under maintenance for a couple days 
while I figure out how to usefully make Test::Smoke run "test.valgrind" 
instead and then have my script rsync the reports to my web server. 
Also, I'm dropping gcc smoking in the interest of time and since everybody 
else probably does that anyway, while keeping g++ and clang.

-- 
George Greer
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About