Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911625 - dev-perl/IO-Socket-SSL-2.83.0: Can't locate auto/Net/SSLeay/DTLS1_VERSI.al
Summary: dev-perl/IO-Socket-SSL-2.83.0: Can't locate auto/Net/SSLeay/DTLS1_VERSI.al
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-02 16:33 UTC by Tomáš Mózes
Modified: 2023-08-02 16:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2023-08-02 16:33:59 UTC
After upgrading to dev-perl/IO-Socket-SSL-2.83.0, the Nagios check script at https://github.com/HariSekhon/Nagios-Plugins/blob/master/check_redis_clients.pl started to fail:

CRITICAL: Can't locate auto/Net/SSLeay/DTLS1_VERSI.al in @INC (@INC contains: lib/HariSekhon/.. ./lib /etc/perl /usr/local/lib64/perl5/5.36/x86_64-linux /usr/local/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.36/x86_64-linux /usr/lib64/perl5/vendor_perl/5.36 /usr/lib64/perl5/5.36/x86_64-linux /usr/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.30.1) at /usr/lib64/perl5/vendor_perl/5.36/IO/Socket/SSL.pm line 3525.

Checking SSL.pm on line 3525 gives:
 0 my %trace_constants = map { $_ => eval { Net::SSLeay->$_ } || -1 } qw(
 1     SSL2_VERSION
 2     SSL3_VERSION
 3     TLS1_VERSION
 4     TLS1_1_VERSION
 5     TLS1_2_VERSION
 6     TLS1_3_VERSION
 7     DTLS1_VERSION
 8     DTLS1_2_VERSION
 9     DTLS1_BAD_VER
10     SSL3_RT_INNER_CONTENT_TYPE
11     SSL3_RT_CHANGE_CIPHER_SPEC
12     SSL3_RT_ALERT
13     SSL3_RT_HEADER
14     SSL3_RT_HANDSHAKE
15     SSL3_RT_APPLICATION_DATA
16     SSL2_MT_ERROR
17     SSL2_MT_CLIENT_HELLO
18     SSL2_MT_CLIENT_MASTER_KEY
19     SSL2_MT_CLIENT_FINISHED
20     SSL2_MT_SERVER_HELLO
21     SSL2_MT_SERVER_VERIFY
22     SSL2_MT_SERVER_FINISHED
23     SSL2_MT_REQUEST_CERTIFICATE
24     SSL2_MT_CLIENT_CERTIFICATE
25     SSL3_MT_HELLO_REQUEST
26     SSL3_MT_CLIENT_HELLO
27     SSL3_MT_SERVER_HELLO
28     SSL3_MT_NEWSESSION_TICKET
29     SSL3_MT_CERTIFICATE
30     SSL3_MT_SERVER_KEY_EXCHANGE
31     SSL3_MT_CLIENT_KEY_EXCHANGE
32     SSL3_MT_CERTIFICATE_REQUEST
33     SSL3_MT_SERVER_DONE
34     SSL3_MT_CERTIFICATE_VERIFY
35     SSL3_MT_FINISHED
36     SSL3_MT_CERTIFICATE_STATUS
37     SSL3_MT_ENCRYPTED_EXTENSIONS
38     SSL3_MT_SUPPLEMENTAL_DATA
39     SSL3_MT_END_OF_EARLY_DATA
40     SSL3_MT_KEY_UPDATE
41     SSL3_MT_NEXT_PROTO
42     SSL3_MT_MESSAGE_HASH
43 );

It works again if all except TLS is removed:

0 my %trace_constants = map { $_ => eval { Net::SSLeay->$_ } || -1 } qw(
1     TLS1_VERSION
2     TLS1_1_VERSION
3     TLS1_2_VERSION
4     TLS1_3_VERSION
5 );

The other solution is to downgrade to =dev-perl/IO-Socket-SSL-2.74.0
Comment 1 Tomáš Mózes 2023-08-02 16:35:19 UTC
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.37-r3, 5.15.122-gentoo x86_64)
=================================================================
System uname: Linux-5.15.122-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_@_2.20GHz-with-glibc2.37
KiB Mem:    16377920 total,  15013228 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 02 Aug 2023 11:45:01 +0000
Head commit of repository gentoo: db48d515084bfc2e16295f2fafba8463446e7cf3

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.36.1-r3::gentoo
dev-lang/python:           3.11.4::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HO
ME"
FCFLAGS="-mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preser
ve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mtune=native -O2 -pipe"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.gi
t"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nptl openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_c
ore socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir 
disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets word
s" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512bw avx512cd avx512dq avx512f avx512vl f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD
_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATF
ORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="l
ua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa
 dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAK
EFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS