Subject: | 804.033 tests doesn't build with Test::Pod installed under x86_64 |
Date: | Sun, 22 Feb 2015 13:36:24 +0800 |
To: | bug-Tk [...] rt.cpan.org |
From: | Felix Yan <felixonmars [...] archlinux.org> |
Hi,
I am getting a problem when trying to build 804.033 tests with Test::Pod
installed. When Test::Pod was not present, the build went well. This problem
also doesn't exist when building under i686.
Environment:
Arch Linux x86_64
perl 5.20.2
Test::Pod 1.48
gcc 4.9.2
Below I'll paste the logs for "make test":
Running Mkbootstrap for Tk ()
cc -c -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-
strict-aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -
pipe -fstack-protector-strong --param=ssp-buffer-size=4 -
DVERSION=\"804.033\" -DXS_VERSION=\"804.033\" -fPIC "-
I/usr/lib/perl5/core_perl/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-
unused -D__USE_FIXED_PROTOTYPES__ tixGlue.c
cc -c -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-
strict-aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -
pipe -fstack-protector-strong --param=ssp-buffer-size=4 -
DVERSION=\"804.033\" -DXS_VERSION=\"804.033\" -fPIC "-
I/usr/lib/perl5/core_perl/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-
unused -D__USE_FIXED_PROTOTYPES__ tkGlue_f.c
cd pTk && make DEFINE="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-
march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-
buffer-size=4" PREFIX="/usr" PASTHRU_DEFINE="" PASTHRU_INC=""
chmod 644 Tk.bs
make[1]: Entering directory '/build/perl-tk/src/Tk-804.033/PNG'
Running Mkbootstrap for Tk::PNG ()
make[1]: Entering directory '/build/perl-tk/src/Tk-804.033/pTk'
chmod 644 PNG.bs
/usr/bin/perl "-I../t" "-MTkTest" "-e" "checked_test_harness('../xt', 0,
'../blib/lib', '../blib/arch')" t/*.t
make[1]: Leaving directory '/build/perl-tk/src/Tk-804.033/pTk'
make[1]: Entering directory '/build/perl-tk/src/Tk-804.033/pTk'
make[1]: Leaving directory '/build/perl-tk/src/Tk-804.033/pTk'
make[1]: Entering directory '/build/perl-tk/src/Tk-804.033/pod'
rm -f blib/arch/auto/Tk/Tk.so
LD_RUN_PATH="/usr/lib" cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro
-L/usr/local/lib -fstack-protector Tk.o chnGlue.o encGlue.o evtGlue.o
objGlue.o tixGlue.o tkGlue.o tkGlue_f.o tkWin32Dll.o -o
blib/arch/auto/Tk/Tk.so pTk/libpTk.a \
-L/usr/lib -lXft -lX11 -L/usr/local/lib -lfontconfig -lnsl -lm \
Can't locate loadable object for module Tk in @INC (@INC contains:
/build/perl-tk/src/Tk-804.033/PNG/../blib/lib /build/perl-
tk/src/Tk-804.033/PNG/../blib/arch ../t /usr/lib/perl5/site_perl
/usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl
/usr/share/perl5/core_perl .) at t/basic.t line 4.
Compilation failed in require at t/basic.t line 4.
BEGIN failed--compilation aborted at t/basic.t line 4.
t/basic.t ..
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
make[1]: Leaving directory '/build/perl-tk/src/Tk-804.033/pod'
make[1]: Entering directory '/build/perl-tk/src/Tk-804.033/demos'
Can't load '/build/perl-tk/src/Tk-804.033/PNG/../blib/arch/auto/Tk/Tk.so' for
module Tk: /build/perl-tk/src/Tk-804.033/PNG/../blib/arch/auto/Tk/Tk.so: file
too short at /usr/lib/perl5/core_perl/DynaLoader.pm line 193.
at t/crash.t line 11.
Compilation failed in require at t/crash.t line 11.
BEGIN failed--compilation aborted at t/crash.t line 11.
t/crash.t ..
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Regards,
Felix Yan
Message body not shown because it is not plain text.