Hello folks,
I think I might have found a bug with OpenBSD 7.1 (7.1 GENERIC.MP#465
amd64) default perl, but first I would like to at least investigate a
bit further.
During a execution of a CPAN Smoker, I got this error:
perl:/home/goku/perl5/lib/perl5/amd64-openbsd/auto/Compress/Bzip2/Bzip2.so:
undefined symbol 'BZ2_bzlibVersion'
ld.so: perl: lazy binding failed!
Killed
The Compress::Bzip2 module was being installing as part of the Smoker
setup with the cpan client, so I'm not sure which module required it.
Anyway, I never experienced such error before, although there is a
registered failed test (from me!) in the past
(https://www.cpantesters.org/cpan/report/e3330890-c9e5-11ea-992b-d0f4c78c3247),
but I never the smoker process was being killed.
I tried to repeat installing Compress::Bzip2 from the cpan client, but
results are quite the same of those reported in the link I provided above.
On the other hand there is a package for this module (p5-Compress-Bzip2,
and with the same - latest - version available in CPAN) in the standard
repository, so after installing, everything seems to be fine.
Now I'm trying to figure if there is any global configuration I need to
do to compile Compress::Bzip2 or the package is created through a
particular patch applied by the people responsible for the package.
Any directions on how to properly proceed would be appreciated. I
provided at the end of this e-mail all the details from the perl used
for reference.
Thanks in advance,
Alceu
===========
[goku@cpan-smoker-openbsd:~]$ perl -V
Summary of my perl5 (revision 5 version 32 subversion 1) configuration:
Platform:
osname=openbsd
osvers=7.1
archname=amd64-openbsd
uname='openbsd'
config_args='-dse -Dopenbsd_distribution=defined -Dmksymlinks'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE
-fno-strict-aliasing -fno-delete-null-pointer-checks -pipe
-fstack-protector-strong -I/usr/local/include'
optimize='-O2'
cppflags='-DBIG_TIME -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE
-fno-strict-aliasing -fno-delete-null-pointer-checks -pipe
-fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='OpenBSD Clang 13.0.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 ='-Wl,-E -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/lib /usr/lib/clang/13.0.0/lib /usr/lib
libs=-lm -lc
perllibs=-lm -lc
libc=/usr/lib/libc.so.96.1
so=so
useshrplib=true
libperl=libperl.so.22.0
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-R/usr/libdata/perl5/amd64-openbsd/CORE'
cccdlflags='-DPIC -fpic '
lddlflags='-shared -fpic -fstack-protector-strong -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_CTYPE
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Built under openbsd
%ENV:
PERL5LIB="/home/goku/perl5/lib/perl5"
PERL_EXTUTILS_AUTOINSTALL="1"
PERL_LOCAL_LIB_ROOT="/home/goku/perl5"
PERL_MB_OPT="--install_base "/home/goku/perl5""
PERL_MM_OPT="INSTALL_BASE=/home/goku/perl5"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/goku/perl5/lib/perl5/amd64-openbsd
/home/goku/perl5/lib/perl5
/usr/local/libdata/perl5/site_perl/amd64-openbsd
/usr/local/libdata/perl5/site_perl
/usr/libdata/perl5/amd64-openbsd
/usr/libdata/perl5
No comments:
Post a Comment