Subject: | t/autocrop.t, t/findfill.t: test failures on FreeBSD-11.0 |
In preparation for the release of perl-5.28.0 in May 2018, I have been testing a selected subset of CPAN distributions against monthly development releases in the perl-5.27.* series.
Today I attempted to install this distribution against perl-5.27.10 on FreeBSD-11.0 using 'cpanm' as the installer and clang-3.8.0 as the compiler. (I first installed 'pkg install imlib2'.) I got errors in two test files. Please see the attachment for an excerpt of the cpanm build.log. Please see the other attachment for relevant 'perl -V' information.
Other CPAN distributions depend on Image-Imlib2. We cannot assess their perl-5.28-readiness until we can install Image-Imlib2. So a new, corrected CPAN release will be appreciated.
Thank you very much.
Jim Keenan
Subject: | LBROCARD.Image-Imlib2-2.03.log.txt |
{
author => "LBROCARD",
dist => "Image-Imlib2",
distname => "Image-Imlib2-2.03",
distversion => 2.03,
grade => "FAIL",
prereqs => undef,
test_output => [
"Building and testing Image-Imlib2-2.03",
"Building Image-Imlib2",
"cc -I./lib/Image -I/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/CORE -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -DPIC -fPIC -DX_DISPLAY_MISSING -I/usr/local/include -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector -fno-strict-aliasing -o lib/Image/Imlib2.o lib/Image/Imlib2.c",
"In file included from lib/Image/Imlib2.xs:5:",
"./lib/Image/ppport.h:43:38: warning: '/*' within block comment [-Wcomment]",
" perl -x ppport.h *.c *.h *.xs foo/*.c [etc]",
" ^",
"1 warning generated.",
"ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Image/Imlib2/Imlib2.bs')",
"cc -shared -L/usr/local/lib -fstack-protector-strong -o blib/arch/auto/Image/Imlib2/Imlib2.so lib/Image/Imlib2.o -L/usr/local/lib -lImlib2",
"",
"# Failed test 'undef isa 'Image::Imlib2''",
"# at t/autocrop.t line 8.",
"# undef isn't defined",
"Can't call method \"autocrop_dimensions\" on an undefined value at t/autocrop.t line 9.",
"# Looks like your test exited with 255 just after 2.",
"t/autocrop.t ...... ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 7/8 subtests ",
"t/cache.t ......... ok",
"t/data.t .......... ok",
"Can't call method \"width\" on an undefined value at t/findfill.t line 8.",
"# Looks like your test exited with 255 just after 1.",
"t/findfill.t ...... ",
"Dubious, test returned 255 (wstat 65280, 0xff00)",
"Failed 11/12 subtests ",
"t/pod.t ........... ok",
"t/pod_coverage.t .. ok",
"t/simple.t ........ ok",
"",
"Test Summary Report",
"-------------------",
"t/autocrop.t (Wstat: 65280 Tests: 2 Failed: 1)",
" Failed test: 2",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 8 tests but ran 2.",
"t/findfill.t (Wstat: 65280 Tests: 1 Failed: 0)",
" Non-zero exit status: 255",
" Parse errors: Bad plan. You planned 12 tests but ran 1.",
"Files=7, Tests=109, 2 wallclock secs ( 0.03 usr 0.03 sys + 0.49 cusr 0.15 csys = 0.70 CPU)",
"Result: FAIL",
],
via => "App::cpanminus::reporter 0.17 (1.7043)",
}
Subject: | freebsd-11.0.perl-5.27.10_V.txt |
Summary of my perl5 (revision 5 version 27 subversion 10) configuration:
Platform:
osname=freebsd
osvers=11.0-release-p1
archname=amd64-freebsd-thread-multi
uname='freebsd kid51-freebsd-11-install-3 11.0-release-p1 freebsd 11.0-release-p1 #0 r306420: thu sep 29 01:43:23 utc 2016 root@releng2.nyi.freebsd.org:usrobjusrsrcsysgeneric amd64 '
config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing -Uversiononly -Dman1dir=none -Dman3dir=none -Dprefix=/home/jkeenan/prep528/testing/perl-5.27.10'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2'
optimize='-O2 -pipe -fstack-protector -fno-strict-aliasing'
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags ='-pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib /usr/bin/../lib/clang/3.8.0/lib /usr/lib
libs=-lpthread -lgdbm -lm -lcrypt -lutil
perllibs=-lpthread -lm -lcrypt -lutil
libc=
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags=' '
cccdlflags='-DPIC -fPIC'
lddlflags='-shared -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_DEVEL
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
Built under freebsd
Compiled at Mar 21 2018 12:59:59
%ENV:
PERL2DIR="/home/jkeenan/gitwork/perl2"
PERL_WORKDIR="/home/jkeenan/gitwork/perl"
@INC:
lib/5.27.10/amd64-freebsd-thread-multi
lib/5.27.10
lib
/home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi
/home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10
/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi
/home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10