新しいblogに移行しました

新ブログ "All Yout Bugs Are Belong To Ass" に移行しました!

2009-10-01

[Perl:テスト]B-OPCheck-0.29

以下の環境でコケました。

# uname -a
Linux cent5server 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
CentOS release 5.3 (Final)


現在の最新版 (0.29)の場合。

cpan[1]> install B::OPCheck

### 中略 ###

CPAN.pm: Going to build F/FL/FLORA/B-OPCheck-0.29.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for B::OPCheck
cp lib/B/OPCheck.pm blib/lib/B/OPCheck.pm
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/B/Utils/Install/typemap OPCheck.xs > OPCheck.xsc && mv OPCheck.xsc OPCheck.c
gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/B/Utils/Install -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" OPCheck.c
OPCheck.xs:16: error: redefinition of typedef ‘Perl_check_t’
ppport.h:3976: error: previous declaration of ‘Perl_check_t’ was here
make: *** [OPCheck.o] Error 1
FLORA/B-OPCheck-0.29.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
FLORA/B-OPCheck-0.29.tar.gz : make NO


0.28の場合。

http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/B-OPCheck-0.28.tar.gz
cpan[2]> install F/FL/FLORA/B-OPCheck-0.28.tar.gz

### 中略 ###

CPAN.pm: Going to build F/FL/FLORA/B-OPCheck-0.28.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for B::OPCheck
cp lib/B/OPCheck.pm blib/lib/B/OPCheck.pm
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/B/Utils/Install/typemap OPCheck.xs > OPCheck.xsc && mv OPCheck.xsc OPCheck.c
gcc -c -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/B/Utils/Install -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" OPCheck.c
OPCheck.xs:16: error: redefinition of typedef ‘Perl_check_t’
ppport.h:3976: error: previous declaration of ‘Perl_check_t’ was here
make: *** [OPCheck.o] Error 1
FLORA/B-OPCheck-0.28.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
FLORA/B-OPCheck-0.28.tar.gz : make NO


0.27だと入ります。

http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/B-OPCheck-0.27.tar.gz
cpan[3]> install N/NU/NUFFIN/B-OPCheck-0.27.tar.gz

### 中略 ###

CPAN.pm: Going to build N/NU/NUFFIN/B-OPCheck-0.27.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for B::OPCheck
cp lib/B/OPCheck.pm blib/lib/B/OPCheck.pm
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap OPCheck.xs > OPCheck.xsc && mv OPCheck.xsc OPCheck.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.27\" -DXS_VERSION=\"0.27\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" OPCheck.c
OPCheck.c: In function ‘XS_B__OPCheck_enterscope’:
OPCheck.c:210: warning: unused variable ‘mode’
OPCheck.xs: In function ‘XS_B__OPCheck_leavescope’:
OPCheck.xs:231: warning: suggest parentheses around assignment used as truth value
OPCheck.c:241: warning: unused variable ‘mode’
Running Mkbootstrap for B::OPCheck ()
chmod 644 OPCheck.bs
rm -f blib/arch/auto/B/OPCheck/OPCheck.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic OPCheck.o -o blib/arch/auto/B/OPCheck/OPCheck.so \
\

chmod 755 blib/arch/auto/B/OPCheck/OPCheck.so
cp OPCheck.bs blib/arch/auto/B/OPCheck/OPCheck.bs
chmod 644 blib/arch/auto/B/OPCheck/OPCheck.bs
Manifying blib/man3/B::OPCheck.3pm
NUFFIN/B-OPCheck-0.27.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/entersub.t .. ok
All tests successful.
Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.03 cusr 0.02 csys = 0.09 CPU)
Result: PASS
NUFFIN/B-OPCheck-0.27.tar.gz
/usr/bin/make test -- OK
Running make install
Prepending /root/.cpan/build/B-OPCheck-0.27-jY3Jix/blib/arch /root/.cpan/build/B-OPCheck-0.27-jY3Jix/blib/lib to PERL5LIB for 'install'
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/B/OPCheck/OPCheck.bs
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/B/OPCheck/OPCheck.so
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/B/OPCheck.pm
Installing /usr/share/man/man3/B::OPCheck.3pm
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
NUFFIN/B-OPCheck-0.27.tar.gz
/usr/bin/make install -- OK


2010-01-13 追記
現在も上記の状況が続いております。

0 件のコメント: