develooper Front page | perl.perl5.porters | Postings from August 2019

[perl #134393] GDBM test fails on Debian 10

Thread Previous
From:
Diab Jerius
Date:
August 30, 2019 20:35
Subject:
[perl #134393] GDBM test fails on Debian 10
Message ID:
rt-4.0.24-11115-1567197322-1844.134393-75-0@perl.org
# New Ticket Created by  Diab Jerius 
# Please include the string:  [perl #134393]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=134393 >



This is a bug report for perl from djerius@cpan.org,
generated with the help of perlbug 1.41 running under perl 5.28.1.


-----------------------------------------------------------------
[Please describe your issue here]

After compiling perl5.28.1 on a fresh install of Debian 10, a single
test, 'ext/GDBM_File/t/fatal.t' fails.	Here's the error:

export LD_LIBRARY_PATH=`pwd`
./perl -Ilib ext/GDBM_File/t/fatal.t 
1..8
ok 1 - use GDBM_File;
ok 2 - Can find next available file descriptor
ok 3 - Check that we cannot open fileno 3. $! is Bad file descriptor
ok 4 - An object of class 'GDBM_File' isa 'GDBM_File'
ok 5 - dup fileno 3
ok 6 - close fileno 3, out from underneath the GDBM_File
not ok 7 - Trapped error when attempting to write to knobbled GDBM_File
#   Failed test 'Trapped error when attempting to write to knobbled GDBM_File'
#   at ext/GDBM_File/t/fatal.t line 37.
#	   got: '1'
#     expected: undef
not ok 8 - expected error message from GDBM_File
#   Failed test 'expected error message from GDBM_File'
#   at ext/GDBM_File/t/fatal.t line 46.
#		    ''
#     doesn't match '(?^: at .*\bfatal\.t line \d+\.\n\z)'
# Looks like you failed 2 tests of 8.


and here's what's installed for gdbm:

gdbm-l10n	      1.18.1-4
libgdbm-compat4:amd64 1.18.1-4
libgdbm-dev:amd64     1.18.1-4
libgdbm6:amd64	      1.18.1-4





[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=medium
    module=GDBM_File
---
Site configuration information for perl 5.28.1:

Configured by dj at Fri Aug 30 14:46:26 EDT 2019.

Summary of my perl5 (revision 5 version 28 subversion 1) configuration:
   
  Platform:
    osname=linux
    osvers=4.19.0-5-amd64
    archname=x86_64-linux_debian-10-thread-multi
    uname='linux macabre 4.19.0-5-amd64 #1 smp debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 gnulinux '
    config_args='-de -Dprefix=/proj/axaf/ots/x86_64-linux_debian-10 -Uinstallusrbinperl -Dperladmin=none -Dlocincpth=/proj/axaf/ots/include -Darchname=x86_64-linux_debian-10 -Dusethreads -Dotherlibdirs=/proj/axaf/simul/lib/perl5:/proj/axaf/simul/x86_64-linux_debian-10/lib/perl5'
    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 ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/proj/axaf/ots/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    optimize='-O2'
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/proj/axaf/ots/include'
    ccversion=''
    gccversion='8.3.0'
    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 =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64
    libs=-lpthread -lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.28.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.28'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'


---
@INC for perl 5.28.1:
    lib
    /proj/axaf/ots/x86_64-linux_debian-10/lib/perl5/site_perl/5.28.1/x86_64-linux_debian-10-thread-multi
    /proj/axaf/ots/x86_64-linux_debian-10/lib/perl5/site_perl/5.28.1
    /proj/axaf/ots/x86_64-linux_debian-10/lib/perl5/5.28.1/x86_64-linux_debian-10-thread-multi
    /proj/axaf/ots/x86_64-linux_debian-10/lib/perl5/5.28.1
    /proj/axaf/simul/lib/perl5
    /proj/axaf/simul/x86_64-linux_debian-10/lib/perl5

---
Environment for perl 5.28.1:
    HOME=/home/axafbin
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/tmp/axafbin/perl-5.28.1
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Previous


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