#292 t/pic_16bit.t subtest fails

closed-fixed
other (94)
5
2012-10-06
2012-01-17
David Mertens
No

Ingo Schmid reports:

I updated the ebuild from 2.4.7 to install the current release (2.4.9_993). So far it looks good, 1 test failed. For details see the build log. I tested my most complex program, MRI reconstruction, and that ran fine.

here is the gentoo bug report https://bugs.gentoo.org/show_bug.cgi?id=399091

Best
Ingo

The issue lies in the t/pic_16bit.t test #4.

===================system details===================

$: uname -mpi
x86_64 Intel(R) Xeon(R) CPU W3520 @ 2.67GHz GenuineIntel

$perldl -V
perlDL shell v1.354_001
PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see
the same file for details.

Summary of my PDL configuration

VERSION: PDL v2.4.9_993 (supports bad values)

$%PDL::Config = {
'BADVAL_PER_PDL' => '0',
'WITH_PROJ' => '0',
'PDL_CONFIG_VERSION' => '0.005',
'POSIX_THREADS_INC' => undef,
'FFTW_TYPE' => 'double',
'PDL_BUILD_DIR' => '/var/tmp/portage/dev-perl/PDL-2.4.10_rc3/work/PDL-2.4.9_993',
'FFTW_LIBS' => undef,
'WITH_FFTW' => '1',
'GSL_LIBS' => undef,
'WITH_IO_BROWSER' => '0',
'PROJ_INC' => undef,
'WHERE_PLPLOT_INCLUDE' => undef,
'HTML_DOCS' => '1',
'SKIP_KNOWN_PROBLEMS' => '0',
'WHERE_PLPLOT_LIBS' => undef,
'WITH_3D' => '0',
'WITH_POSIX_THREADS' => '1',
'POGL_VERSION' => '0.65',
'FFTW_INC' => undef,
'HIDE_TRYLINK' => '1',
'HDF_INC' => undef,
'WITH_HDF' => '0',
'POGL_WINDOW_TYPE' => 'glut',
'WITH_GD' => '1',
'WITH_BADVAL' => '1',
'FITS_LEGACY' => '1',
'WITH_SLATEC' => '1',
'BADVAL_USENAN' => '0',
'WITH_DEVEL_REPL' => '1',
'TEMPDIR' => '/var/tmp/portage/dev-perl/PDL-2.4.10_rc3/temp',
'PROJ_LIBS' => undef,
'USE_POGL' => '0',
'PDL_BUILD_VERSION' => '2.4.9_993',
'GD_LIBS' => undef,
'GSL_INC' => undef,
'GD_INC' => undef,
'WITH_GSL' => '1',
'OPTIMIZE' => undef,
'PDLDOC_IGNORE_AUTOLOADER' => '0',
'HDF_LIBS' => undef,
'POSIX_THREADS_LIBS' => undef,
'MALLOCDBG' => {},
'WITH_MINUIT' => '1',
'WITH_PLPLOT' => '1',
'MINUIT_LIB' => undef
};
Summary of my perl5 (revision 5 version 12 subversion 4) configuration:

Platform:
osname=linux, osvers=3.0.1-gentoo, archname=x86_64-linux-thread-multi
uname='linux riococo 3.0.1-gentoo #1 smp fri aug 12 18:27:13 cest 2011 x86_64 intel(r) xeon(r) cpu w3520 @ 2.67ghz genuineintel gnulinux '
config_args='-des -Duseshrplib -Darchname=x86_64-linux-thread -Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-O2 -pipe -march=core2 -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib64/perl5/5.12.4 -Darchlib=/usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi -Dsitelib=/usr/lib64/perl5/site_perl/5.12.4 -Dsitearch=/usr/lib64/perl5/site_perl/5.12.4/x86_64-linux-thread-multi -Dvendorlib=/usr/lib64/perl5/vendor_perl/5.12.4 -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.12.4/x86_64-linux-thread-multi -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.12.4 -Dlocincpth= -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=none -Dinc_version_list=5.12.3/x86_64-linux-thread-multi 5.12.3 5.12.2/x86_64-linux-thread-multi 5.12.2 5.12.1/x86_64-linux-thread-multi 5.12.1 5.12.0/x86_64-linux-thread-multi 5.12.0 -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='x86_64-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -pipe -march=core2 -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -mcx16 -msahf',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe'
ccversion='', gccversion='4.5.3', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='x86_64-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed'
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.13.so, so=so, useshrplib=true, libperl=libperl.so.5.12.4
gnulibc_version='2.13'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -pipe -march=core2 -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -Wl,-O1 -Wl,--as-needed'

Discussion

  • Chris Marshall
    Chris Marshall
    2012-01-18

    • milestone: 101029 -->
    • summary: Tests for PDL::IO::Pic fails --> t/pic_16bit.t subtest fails
    • status: open --> open-accepted
     
  • Chris Marshall
    Chris Marshall
    2012-01-18

    This appears to be a problem with the pnmtopng or pngtopnm
    conversion on this platform. I don't know why other platforms
    don't report the problem. I've added this ticket to the Known_problems
    list for PDL-2.4.10. Fixes welcome.

     
  • Chris Marshall
    Chris Marshall
    2012-02-13

    Ingo, do you still see this problem with PDL-2.4.10?

     
  • Chris Marshall
    Chris Marshall
    2012-09-02

    Ingo, do you still see this problem with PDL-2.4.11?

    If so, please attach the log of the failing test here rather than a link to another trouble ticket. Thanks.

     
  • Chris Marshall
    Chris Marshall
    2012-09-02

    Please check the latest git with fixes for 16bit and higher raw PNM format file IO.

     
  • Chris Marshall
    Chris Marshall
    2012-09-02

    Bug fixed in Git.
    Thanks for reporting the problem!

     
  • Chris Marshall
    Chris Marshall
    2012-09-02

    • assigned_to: nobody --> marshallch
    • status: open-accepted --> pending-accepted
     
  • Chris Marshall
    Chris Marshall
    2012-10-06

    • status: pending-accepted --> closed-fixed
     
  • Chris Marshall
    Chris Marshall
    2012-10-06

    Bug fixed in Git.
    Thanks for reporting the problem!