Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896088 - net-analyzer/monitoring-plugins-2.3.2-r1[gnutls] -- undefined reference to `SSL_CTX_use_certificate_chain_file'
Summary: net-analyzer/monitoring-plugins-2.3.2-r1[gnutls] -- undefined reference to `S...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on: 893232
Blocks:
  Show dependency tree
 
Reported: 2023-02-23 20:08 UTC by Gary E. Miller
Modified: 2023-02-24 00:10 UTC (History)
3 users (show)

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


Attachments
build log (net-analyzer:monitoring-plugins-2.3.2-r1:20230223-192204.log,131.19 KB, text/plain)
2023-02-23 20:11 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2023-02-23 20:08:57 UTC
Fails to emerge.

/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -DNP_VERSION='"2.3.2"' -O2 -pipe -march=haswell -fcommon -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu,--enable-new-dtags -L. -o check_mrtgtraf check_mrtgtraf.o libnpcommon.a ../lib/libmonitoringplug.a ../gl/libgnu.a -lpthread -ldl 
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: libnpcommon.a(sslutils.o): in function `np_net_ssl_init_with_hostname_version_and_cert':
sslutils.c:(.text+0xfe): undefined reference to `SSL_CTX_use_certificate_chain_file'
collect2: error: ld returned 1 exit status


Reproducible: Always

Steps to Reproduce:
1. emerge net-analyzer/monitoring-plugins
2.
3.
Actual Results:  
as above

Expected Results:  
Emerge success

dilbert ~ # emerge -pqv '=net-analyzer/monitoring-plugins-2.3.2-r1::gentoo
> 
> ^C
dilbert ~ # emerge -pqv '=net-analyzer/monitoring-plugins-2.3.2-r1::gentoo'
[ebuild  N    ] acct-group/nagios-0-r1 
[ebuild  N    ] acct-user/nagios-0-r1 
[ebuild  N    ] dev-perl/Crypt-DES-2.70.0-r2  USE="-test" 
[ebuild  N    ] dev-perl/Crypt-Rijndael-1.160.0  USE="-test" 
[ebuild  N    ] virtual/perl-Math-BigInt-1.999.830 
[ebuild  N    ] dev-libs/uriparser-0.9.7  USE="doc qt5 unicode -test" 
[ebuild  N    ] dev-perl/Net-SNMP-6.0.1-r3  USE="-examples -minimal -test" 
[ebuild  N    ] net-analyzer/monitoring-plugins-2.3.2-r1  USE="curl ipv6 snmp ssh ssl -dns -fping -game -gnutls -ldap -mysql -postgres -radius -samba" 
dilbert ~ # emerge --info '=net-analyzer/monitoring-plugins-2.3.2-r1::gentoo'
Portage 3.0.44 (python 3.11.2-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r7, 6.2.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.2.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-glibc2.36
KiB Mem:    32719224 total,  11115520 free
KiB Swap:   32767996 total,  32767996 free
Timestamp of repository gentoo: Thu, 23 Feb 2023 18:15:01 +0000
Head commit of repository gentoo: eceb20461be19188894dd5d1edb54ddf73aacc2c
Head commit of repository brother-overlay: 0d059637b01926488e1eedfa078323f6e48a6130

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p2) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.9.16_p1::gentoo, 3.10.10_p1::gentoo, 3.11.2_p1::gentoo
dev-lang/rust:             1.67.1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24

brother-overlay
    location: /var/lib/layman/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

guru
    location: /var/lib/layman/guru
    sync-type: webrsync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50
    volatile: True

vifino-overlay
    location: /var/lib/layman/vifino-overlay
    sync-type: webrsync
    sync-uri: https://github.com/vifino/vifino-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --with-bdeps=y --backtrack=15"
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_HOME"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j3 -l4"
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=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi adns aio alsa alsa-plugin amd64 appindicator blake2 bluetooth bluray bpf branding bs2b bzip2 cairo calf capstone cdda cdr chromecast cli corefonts cpudetection cron crypt cups curl dav1d dbus dri dri3 drm dts dv dvb dvd dvdr elogind encode equalizer exif extra faac faad fdk fdt ffmpeg ffmpegthumbnailer fingerprint flac fontconfig fontforge fortran fuse gbm gdal gdbm geos gif gimp gles2 glib gpg gpm gstreamer gtk gtk3 gui harfbuzz hddtemp http2 iconv icu introspection io-uring ipp_autosetup ipv6 jemalloc jpeg keybinder ladspa lastfm lcms libcanberra libdrm libglvnd libmpeg2 libmpv libnotify libtirpc libuvc lm_sensors lto lv2 lvm lz4 lzma lzo mad matroska md5sum mda-lv2 mng mp3 mp4 mpeg mtp multilib ncurses nfs nfsv41 nls nptl nvenc offensive ogg openal opengl openmp opus pam pango pcap pcre pcre32 pdf pgo plugins png policykit postproc ppds projectm pulseaudio pvr python qml qt5 qtaudio rav1e readline realtime rtc rtmp rubberband screencast sctp sdl sdl-image seccomp sftp slirp sna snappy snmp sound sox spandsp spell spice split-usr sqlite ssh ssl startup-notification svg svt-av1 system-llvm system-png test-rust theora threads tiff tools truetype twolame udev udisks unicode update_drivedb upnp upower usb usbredir uxa v4l v4lutils vaapi vde vdpau vdr vim vim-syntax virgl vlc vmaf vorbis vpx vulkan webp wg-quick widgets wifi wxwidgets x264 x265 xa xattr xcb xft xinerama xml xrandr xv xvid zamaudio zeroconf zimg zink zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core 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 words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 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_PLATFORMS="efi-64" INPUT_DEVICES="roccat_savu libinput joystick" KERNEL="linux" L10N="en en-US" 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="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_11 python3_9" RUBY_TARGETS="ruby30 ruby31" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia iris nouveau" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Gary E. Miller 2023-02-23 20:11:24 UTC
Created attachment 854198 [details]
build log

build log
Comment 2 Gary E. Miller 2023-02-23 20:16:52 UTC
This works:

spidey ~ # USE='-gnutls' emerge -1a net-analyzer/monitoring-plugins
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-24 00:10:45 UTC
Fixed in 2.3.3 (see bug 880211). Let's say this one depends on the stablereq.