Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843602 - sci-visualization/labplot-2.9.0-r1 fails to find /usr/lib64/libdl.so
Summary: sci-visualization/labplot-2.9.0-r1 fails to find /usr/lib64/libdl.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on: 827188 851471
Blocks:
  Show dependency tree
 
Reported: 2022-05-10 14:04 UTC by urcindalo
Modified: 2022-06-12 10:04 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,13.54 KB, text/plain)
2022-05-19 11:28 UTC, urcindalo
Details
build.log from reporting box (build.log,13.35 KB, text/plain)
2022-05-19 11:36 UTC, urcindalo
Details
grep -rsin "dl" /usr/lib64/cmake (dl_cmake.txt,52.50 KB, text/plain)
2022-06-09 08:33 UTC, urcindalo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description urcindalo 2022-05-10 14:04:15 UTC
When trying to update labplot to v2.9.0-r1, emerge fails this way:
=====
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ~] sci-visualization/labplot-2.9.0-r1:5::gentoo [2.8.2:5::gentoo] USE="fftw fits handbook hdf5 netcdf -cantor -debug -libcerf -markdown% -matio% -origin% -root -serial -telemetry -test" 20.912 KiB
.
.
.
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0_build"
ninja -v -j16 -l0
ninja: error: '/usr/lib64/libdl.so', needed by 'src/labplot2', missing and no known rule to make it
=====

This is my emerge info:
=====
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.1, glibc-2.34-r10, 5.15.32-gentoo-r1 x86_64)
=================================================================
System uname: Linux-5.15.32-gentoo-r1-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.34
KiB Mem:    32871056 total,   7844624 free
KiB Swap:   33554428 total,  32637520 free
Timestamp of repository gentoo: Tue, 10 May 2022 07:30:01 +0000
Head commit of repository gentoo: 2bc85396f4c0525a57980d891c2ea407c041729f
Timestamp of repository 4nykey: Mon, 09 May 2022 20:52:20 +0000
Head commit of repository 4nykey: ac3ca1fcfc2b3617a627349a0aaf96ba26feec7b

Timestamp of repository brave-overlay: Tue, 03 May 2022 14:03:59 +0000
Head commit of repository brave-overlay: 0af9d93b9a08739e0e02f6f12e9c90c18fc83b35

Timestamp of repository fol4: Mon, 09 May 2022 20:52:24 +0000
Head commit of repository fol4: 00a74b40701d1cefa5c2d4901e7ca9b5f335d665

Timestamp of repository torbrowser: Mon, 09 May 2022 20:52:14 +0000
Head commit of repository torbrowser: 44db024dacf4a373fc91669b120da87d19accd88

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r9::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust-bin:         1.59.0::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.4-r2::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r10::gentoo
Repositories:

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

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brave-overlay.git
    masters: gentoo

fol4
    location: /var/db/repos/fol4
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/fol4.git
    masters: gentoo

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 0

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/cxoffice/etc/cxoffice.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-march=znver2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=znver2 -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 preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver2 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/es -/usr/share/locale/es_ES -/usr/share/locale/en_US -/usr/share/locale/en /usr/share/gcc-data/x86_64-pc-linux-gnu/*/locale -/usr/share/gcc-data/x86_64-pc-linux-gnu/*/locale/es /usr/share/man/de /usr/share/man/el /usr/share/man/fr /usr/share/man/hu /usr/share/man/ja /usr/share/man/jp /usr/share/man/sk /usr/share/man/zh_TW"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es_ES es en_US en"
MAKEOPTS="-j16"
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 aalib acl acpi activities alsa amd64 amr atm bluetooth branding btrfs bzip2 cairo cdda cddb cdr cli contrib crypt cups curl daemon dbus declarative dga djvu dri dts dv dvd dvdr encode exif fbcon ffmpeg fftw flac fontconfig fortran ftp fuse gdbm geolocation gif gimp gmp gnome-keyring gphoto2 gpm grub gstreamer gtk gui iconv icu idn imagemagick imlib ipv6 jack java jbig jpeg jpeg2k kde kwallet lame lapack latex lcms libass libcaca libglvnd libkms libnotify libtirpc lm-sensors lzma lzo mad mmap mng modplug mono mp3 mp4 mpeg mtp multilib musepack nas ncurses network networkmanager nls nptl ogg openal opencl openexr opengl openmp oss pam pango pcre pdf pkcs11 plasma png policykit portaudio postscript ppds qml qt5 rar raw readline ruby samba sasl scanner sdl seccomp semantic-desktop slang smartcard spell split-usr ssl startup-notification svg syslog systemd taglib tcl theora threads tiff tk truetype twolame udev udisks unicode upnp upower usb v4l vaapi vcd vdpau vnc vorbis wavpack wayland widgets wmf wxwidgets x264 xattr xcb xml xmp xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon krita" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a 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" INPUT_DEVICES="synaptics evdev" KERNEL="linux" L10N="es-ES es en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU X86 XCore" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="epson2 hp" USERLAND="GNU" VIDEO_CARDS="radeonsi amdgpu" 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, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, 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 Andrew Ammerlaan gentoo-dev 2022-05-10 19:29:43 UTC
> ninja: error: '/usr/lib64/libdl.so', needed by 'src/labplot2', missing and no known rule to make it

Is this library present on your system? It should be provided by sys-libs/glibc
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-10 19:49:55 UTC
In glibc 2.34+, it moved. Can you run: grep -rsin "libdl" /usr/lib64/cmake?
Comment 3 urcindalo 2022-05-10 20:48:29 UTC
(In reply to Sam James from comment #2)
> In glibc 2.34+, it moved. Can you run: grep -rsin "libdl" /usr/lib64/cmake?

Sure!
No answer whatsoever. Empty. Nada.
Comment 4 urcindalo 2022-05-10 20:50:37 UTC
(In reply to Andrew Ammerlaan from comment #1)
> > ninja: error: '/usr/lib64/libdl.so', needed by 'src/labplot2', missing and no known rule to make it
> 
> Is this library present on your system? It should be provided by
> sys-libs/glibc

It is, but in so.2 version:

=====
# locate libdl.so
/lib/libdl.so.2
/lib64/libdl.so.2
#
=====
Comment 5 Andrew Ammerlaan gentoo-dev 2022-05-11 07:26:33 UTC
Upgrading glibc to version 2.35 should fix this build problem, but please be aware that downgrading glibc is non-trivial (probably best to not attempt this), so if you do accept unstable keywords for glibc you will probably be stuck on unstable glibc for a while.

To properly fix this to also build with <glibc-2.35 we are going to need some kind of patch. I'll look into this later when I have more time.
Comment 6 urcindalo 2022-05-11 10:51:46 UTC
(In reply to Andrew Ammerlaan from comment #5)
> Upgrading glibc to version 2.35 should fix this build problem, but please be
> aware that downgrading glibc is non-trivial (probably best to not attempt
> this), so if you do accept unstable keywords for glibc you will probably be
> stuck on unstable glibc for a while.
> 
> To properly fix this to also build with <glibc-2.35 we are going to need
> some kind of patch. I'll look into this later when I have more time.

Thanks for the warning. Since I don't want to compromise my system because of this, I will mask labplot-2.9.0-r1 until it is compilable with stable glibc.
Comment 7 Andrew Ammerlaan gentoo-dev 2022-05-18 14:47:08 UTC
(In reply to urcindalo from comment #6)
> Thanks for the warning. Since I don't want to compromise my system because
> of this, I will mask labplot-2.9.0-r1 until it is compilable with stable
> glibc.

Just to double check if this issue is specific to 2.9.0 or not. If you try to recompile version 2.8.2 do you get the same error with glibc-2.34?
Comment 8 urcindalo 2022-05-18 16:05:18 UTC
(In reply to Andrew Ammerlaan from comment #7)
> (In reply to urcindalo from comment #6)
> > Thanks for the warning. Since I don't want to compromise my system because
> > of this, I will mask labplot-2.9.0-r1 until it is compilable with stable
> > glibc.
> 
> Just to double check if this issue is specific to 2.9.0 or not. If you try
> to recompile version 2.8.2 do you get the same error with glibc-2.34?

You're right. I just got the same error trying to recompile V2.8.2.
Comment 9 Andrew Ammerlaan gentoo-dev 2022-05-18 16:10:49 UTC
(In reply to urcindalo from comment #8)
> You're right. I just got the same error trying to recompile V2.8.2.

Alright, thanks for checking!
Comment 10 Andreas Sturmlechner gentoo-dev 2022-05-18 17:48:46 UTC
We're still missing a full build.log from you. Please always attach one.
Comment 11 urcindalo 2022-05-19 11:28:57 UTC
Created attachment 779513 [details]
build.log

Here you are the build.log.
Comment 12 urcindalo 2022-05-19 11:36:11 UTC
Created attachment 779516 [details]
build.log from reporting box

And here you are the build.log from the box where I first saw this issue.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-08 05:25:00 UTC
- What version of sci-libs/hdf5?
- grep -rsin "dl" /usr/lib64/cmake
- grep -rsin "ldl" /var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work
- grep -rsin "libdl" /var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work
- Can you try turning off the various USE flags you have on and see which one seems to cause it, if any?
Comment 14 urcindalo 2022-06-09 08:30:20 UTC
Thanks! I'm going to answer one question at a message:

(In reply to Sam James from comment #13)
> - What version of sci-libs/hdf5?

$ eix -I hdf5
[I] sci-libs/hdf5
     Available versions:  1.10.5(0/1.10.5) 1.10.5-r1(0/1.10.5) ~1.12.1(0/1.12.1)^t ~1.12.1-r1(0/1.12.1)^t ~1.12.2-r1(0/1.12.2)^t {cxx debug doc examples fortran +hl mpi ros3 szip test threads unsupported zlib}
     Installed versions:  1.10.5-r1(0/1.10.5)(22:05:36 17/04/22)(fortran hl szip zlib -cxx -debug -examples -mpi -threads -unsupported)
Comment 15 urcindalo 2022-06-09 08:33:36 UTC
Created attachment 783722 [details]
grep -rsin "dl" /usr/lib64/cmake

grep -rsin "dl" /usr/lib64/cmake
Comment 16 urcindalo 2022-06-09 08:39:53 UTC
> - Can you try turning off the various USE flags you have on and see which
> one seems to cause it, if any?

The culprit is USE="netcdf".
* I installed labplot without any custom flags -> only fftw and handbook got selected by default -> installed perfectly
* I then added fits and hdf5 -> installed perfectly.
* I added netcdf -> problem arose.
* I removed fits and hdf5 and left only fftw and handbook (default) and netcdf -> same problem arose.

In the next messages I answer the remaining questions.
Comment 17 urcindalo 2022-06-09 08:40:31 UTC
> - grep -rsin "ldl" /var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work

# grep -rsin "ldl" /var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0_build/build.ninja:3621:  LINK_LIBRARIES = src/liblabplot2lib.a  /usr/lib64/libKF5KIOFileWidgets.so.5.92.0  /usr/lib64/libKF5Bookmarks.so.5.92.0  /usr/lib64/libKF5NewStuff.so.5.92.0  /usr/lib64/libKF5KIOWidgets.so.5.92.0  /usr/lib64/libKF5Solid.so.5.92.0  /usr/lib64/libKF5KIOGui.so.5.92.0  /usr/lib64/libKF5KIOCore.so.5.92.0  /usr/lib64/libKF5Crash.so.5.92.0  /usr/lib64/libKF5JobWidgets.so.5.92.0  /usr/lib64/libKF5WindowSystem.so.5.92.0  /usr/lib64/libX11.so  /usr/lib64/libKF5TextWidgets.so.5.92.0  /usr/lib64/libKF5Completion.so.5.92.0  /usr/lib64/libKF5SonnetUi.so.5.92.0  /usr/lib64/libKF5XmlGui.so.5.92.0  /usr/lib64/libKF5IconThemes.so.5.92.0  /usr/lib64/libKF5ConfigWidgets.so.5.92.0  /usr/lib64/libKF5WidgetsAddons.so.5.92.0  /usr/lib64/libKF5Codecs.so.5.92.0  /usr/lib64/libKF5ConfigGui.so.5.92.0  /usr/lib64/libKF5Auth.so.5.92.0  /usr/lib64/libKF5AuthCore.so.5.92.0  /usr/lib64/libKF5Service.so.5.92.0  /usr/lib64/libKF5ItemViews.so.5.92.0  /usr/lib64/libKF5NewStuffCore.so.5.92.0  /usr/lib64/libKF5Archive.so.5.92.0  /usr/lib64/libKF5ConfigCore.so.5.92.0  /usr/lib64/libQt5DBus.so.5.15.3  /usr/lib64/libKF5I18n.so.5.92.0  /usr/lib64/libKF5CoreAddons.so.5.92.0  /usr/lib64/libQt5Xml.so.5.15.3  /usr/lib64/libKF5Attica.so.5.92.0  /usr/lib64/libQt5Svg.so.5.15.3  /usr/lib64/libQt5PrintSupport.so.5.15.3  /usr/lib64/libQt5Widgets.so.5.15.3  /usr/lib64/libQt5Sql.so.5.15.3  /usr/lib64/libgsl.so  /usr/lib64/libgslcblas.so  /usr/lib64/libpoppler.so  /usr/lib64/libpoppler-qt5.so  /usr/lib64/libfftw3.so  /usr/lib64/libnetcdf.so.19  /usr/lib64/libhdf5_hl.so  /usr/lib64/libhdf5.so  /usr/lib64/libsz.so  -ldl  -lm  /usr/lib64/libcurl.so  /usr/lib64/libzip.so  -lz  /usr/lib64/libKF5SyntaxHighlighting.so.5.92.0  /usr/lib64/libQt5Network.so.5.15.3  /usr/lib64/libQt5Gui.so.5.15.3  /usr/lib64/libQt5Core.so.5.15.3
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:449:   settings.intensityThresholdLow = lowerLimit;
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:460:   settings.foregroundThresholdLow = lowerLimit;
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:471:   settings.hueThresholdLow = lowerLimit;
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:482:   settings.saturationThresholdLow = lowerLimit;
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:493:   settings.valueThresholdLow = lowerLimit;
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:565:   ssIntensity->setSpan(settings.intensityThresholdLow, settings.intensityThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:566:   ssForeground->setSpan(settings.foregroundThresholdLow, settings.foregroundThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:567:   ssHue->setSpan(settings.hueThresholdLow, settings.hueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:568:   ssSaturation->setSpan(settings.saturationThresholdLow, settings.saturationThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:569:   ssValue->setSpan(settings.valueThresholdLow, settings.valueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:570:   gvIntensity->setSpan(settings.intensityThresholdLow, settings.intensityThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:571:   gvForeground->setSpan(settings.foregroundThresholdLow, settings.foregroundThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:572:   gvHue->setSpan(settings.hueThresholdLow, settings.hueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:573:   gvSaturation->setSpan(settings.saturationThresholdLow, settings.saturationThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:574:   gvValue->setSpan(settings.valueThresholdLow, settings.valueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:625:   ssIntensity->setSpan(m_image->settings().intensityThresholdLow, m_image->settings().intensityThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:626:   ssForeground->setSpan(m_image->settings().foregroundThresholdLow, m_image->settings().foregroundThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:627:   ssHue->setSpan(m_image->settings().hueThresholdLow, m_image->settings().hueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:628:   ssSaturation->setSpan(m_image->settings().saturationThresholdLow, m_image->settings().saturationThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:629:   ssValue->setSpan(m_image->settings().valueThresholdLow, m_image->settings().valueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:630:   gvIntensity->setSpan(m_image->settings().intensityThresholdLow, m_image->settings().intensityThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:631:   gvForeground->setSpan(m_image->settings().foregroundThresholdLow, m_image->settings().foregroundThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:632:   gvHue->setSpan(m_image->settings().hueThresholdLow, m_image->settings().hueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:633:   gvSaturation->setSpan(m_image->settings().saturationThresholdLow, m_image->settings().saturationThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/kdefrontend/widgets/DatapickerImageWidget.cpp:634:   gvValue->setSpan(m_image->settings().valueThresholdLow, m_image->settings().valueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/worksheet/WorksheetElementContainer.cpp:237://       QVector<WorksheetElement*> childList = q->children<WorksheetElement>(AbstractAspect::IncludeHidden | AbstractAspect::Compress);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/worksheet/WorksheetElementContainer.cpp:238://       foreach (const WorksheetElement* elem, childList)
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/ImageEditor.cpp:327:              return pixelIsOn(value, settings.intensityThresholdLow, settings.intensityThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/ImageEditor.cpp:329:              return pixelIsOn(value, settings.foregroundThresholdLow, settings.foregroundThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/ImageEditor.cpp:331:              return pixelIsOn(value, settings.hueThresholdLow, settings.hueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/ImageEditor.cpp:333:              return pixelIsOn(value, settings.saturationThresholdLow, settings.saturationThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/ImageEditor.cpp:335:              return pixelIsOn(value, settings.valueThresholdLow, settings.valueThresholdHigh);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.h:49:             int intensityThresholdLow{20};
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.h:51:             int foregroundThresholdLow{30};
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.h:53:             int hueThresholdLow{0};
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.h:55:             int saturationThresholdLow{30};
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.h:57:             int valueThresholdLow{30};
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:90:   d->settings.foregroundThresholdLow = group.readEntry("ForegroundThresholdLow", 30);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:92:   d->settings.hueThresholdLow = group.readEntry("HueThresholdLow", 0);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:94:   d->settings.intensityThresholdLow = group.readEntry("IntensityThresholdLow", 20);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:96:   d->settings.saturationThresholdLow = group.readEntry("SaturationThresholdLow", 30);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:98:   d->settings.valueThresholdLow = group.readEntry("ValueThresholdLow", 30);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:458:  writer->writeAttribute( "foregroundThresholdLow", QString::number(d->settings.foregroundThresholdLow) );
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:460:  writer->writeAttribute( "hueThresholdLow", QString::number(d->settings.hueThresholdLow) );
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:462:  writer->writeAttribute( "intensityThresholdLow", QString::number(d->settings.intensityThresholdLow) );
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:464:  writer->writeAttribute( "saturationThresholdLow", QString::number(d->settings.saturationThresholdLow) );
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:466:  writer->writeAttribute( "valueThresholdLow", QString::number(d->settings.valueThresholdLow) );
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:608:                  READ_INT_VALUE("foregroundThresholdLow", settings.foregroundThresholdLow, int);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:610:                  READ_INT_VALUE("hueThresholdLow", settings.hueThresholdLow, int);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:612:                  READ_INT_VALUE("intensityThresholdLow", settings.intensityThresholdLow, int);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:614:                  READ_INT_VALUE("saturationThresholdLow", settings.saturationThresholdLow, int);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/datapicker/DatapickerImage.cpp:616:                  READ_INT_VALUE("valueThresholdLow", settings.valueThresholdLow, int);
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/cantorWorksheet/CantorWorksheet.cpp:51:      KPluginLoader oldLoader(QLatin1String("cantorpart"));   // old path
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/cantorWorksheet/CantorWorksheet.cpp:57:              factory = oldLoader.factory();
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/cantorWorksheet/CantorWorksheet.cpp:63:              WARN("Failed to load Cantor plugins; file name: " << STDSTRING(oldLoader.fileName()))
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/src/backend/cantorWorksheet/CantorWorksheet.cpp:64:              WARN("Error message: " << STDSTRING(oldLoader.errorString()))
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/data/datasets/DASL.json:615:                            "description": "The ranges inhabited by the Indian gharial\ncrocodile and the Australian saltwater crocodile overlap in\nBangladesh. Suppose a very large crocodile skeleton is found\nthere, and we wish to determine the species of the animal.\nWildlife scientists have measured the lengths of the heads\nand the complete bodies of several crocs (in centimeters) of\neach species.",
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0/data/datasets/DASL.json:629:                            "description": "Wildlife researchers monitor many wildlife populations by taking aerial photographs. Can they estimate the weights of alligators accurately from the air? Here are data on the Weight of alligators (in pounds) and their Length (in inches).",
Comment 18 urcindalo 2022-06-09 08:41:29 UTC
> - grep -rsin "libdl" /var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work


# grep -rsin "libdl" /var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work
/var/tmp/portage/sci-visualization/labplot-2.9.0-r1/work/labplot-2.9.0_build/build.ninja:3618:build src/labplot2: CXX_EXECUTABLE_LINKER__labplot2_relwithdebinfo src/CMakeFiles/labplot2.dir/labplot2_autogen/mocs_compilation.cpp.o src/CMakeFiles/labplot2.dir/kdefrontend/LabPlot.cpp.o | src/liblabplot2lib.a /usr/lib64/libX11.so /usr/lib64/libgsl.so /usr/lib64/libgslcblas.so /usr/lib64/libpoppler.so /usr/lib64/libpoppler-qt5.so /usr/lib64/libfftw3.so /usr/lib64/libhdf5_hl.so /usr/lib64/libhdf5.so /usr/lib64/libsz.so /usr/lib64/libdl.so /usr/lib64/libm.so /usr/lib64/libcurl.so /usr/lib64/libzip.so /usr/lib64/libz.so || src/labplot2_autogen src/labplot2_autogen_timestamp_deps src/liblabplot2lib.a /usr/lib64/libKF5KIOFileWidgets.so.5.92.0 /usr/lib64/libKF5Bookmarks.so.5.92.0 /usr/lib64/libKF5NewStuff.so.5.92.0 /usr/lib64/libKF5KIOWidgets.so.5.92.0 /usr/lib64/libKF5Solid.so.5.92.0 /usr/lib64/libKF5KIOGui.so.5.92.0 /usr/lib64/libKF5KIOCore.so.5.92.0 /usr/lib64/libKF5Crash.so.5.92.0 /usr/lib64/libKF5JobWidgets.so.5.92.0 /usr/lib64/libKF5WindowSystem.so.5.92.0 /usr/lib64/libKF5TextWidgets.so.5.92.0 /usr/lib64/libKF5Completion.so.5.92.0 /usr/lib64/libKF5SonnetUi.so.5.92.0 /usr/lib64/libKF5XmlGui.so.5.92.0 /usr/lib64/libKF5IconThemes.so.5.92.0 /usr/lib64/libKF5ConfigWidgets.so.5.92.0 /usr/lib64/libKF5WidgetsAddons.so.5.92.0 /usr/lib64/libKF5Codecs.so.5.92.0 /usr/lib64/libKF5ConfigGui.so.5.92.0 /usr/lib64/libKF5Auth.so.5.92.0 /usr/lib64/libKF5AuthCore.so.5.92.0 /usr/lib64/libKF5Service.so.5.92.0 /usr/lib64/libKF5ItemViews.so.5.92.0 /usr/lib64/libKF5NewStuffCore.so.5.92.0 /usr/lib64/libKF5Archive.so.5.92.0 /usr/lib64/libKF5ConfigCore.so.5.92.0 /usr/lib64/libQt5DBus.so.5.15.3 /usr/lib64/libKF5I18n.so.5.92.0 /usr/lib64/libKF5CoreAddons.so.5.92.0 /usr/lib64/libQt5Xml.so.5.15.3 /usr/lib64/libKF5Attica.so.5.92.0 /usr/lib64/libQt5Svg.so.5.15.3 /usr/lib64/libQt5PrintSupport.so.5.15.3 /usr/lib64/libQt5Widgets.so.5.15.3 /usr/lib64/libQt5Sql.so.5.15.3 /usr/lib64/libnetcdf.so.19 /usr/lib64/libKF5SyntaxHighlighting.so.5.92.0 /usr/lib64/libQt5Network.so.5.15.3 /usr/lib64/libQt5Gui.so.5.15.3 /usr/lib64/libQt5Core.so.5.15.3
Comment 19 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-09 08:43:33 UTC
(In reply to urcindalo from comment #16)
> > - Can you try turning off the various USE flags you have on and see which
> > one seems to cause it, if any?
> 
> The culprit is USE="netcdf".
> * I installed labplot without any custom flags -> only fftw and handbook got
> selected by default -> installed perfectly
> * I then added fits and hdf5 -> installed perfectly.
> * I added netcdf -> problem arose.
> * I removed fits and hdf5 and left only fftw and handbook (default) and
> netcdf -> same problem arose.
> 
> In the next messages I answer the remaining questions.

Big thanks! Could you try upgrading to netcdf-4.8.1-r2?
Comment 20 urcindalo 2022-06-09 10:05:44 UTC
(In reply to Sam James from comment #19)
> (In reply to urcindalo from comment #16)
> > > - Can you try turning off the various USE flags you have on and see which
> > > one seems to cause it, if any?
> > 
> > The culprit is USE="netcdf".
> > * I installed labplot without any custom flags -> only fftw and handbook got
> > selected by default -> installed perfectly
> > * I then added fits and hdf5 -> installed perfectly.
> > * I added netcdf -> problem arose.
> > * I removed fits and hdf5 and left only fftw and handbook (default) and
> > netcdf -> same problem arose.
> > 
> > In the next messages I answer the remaining questions.
> 
> Big thanks! Could you try upgrading to netcdf-4.8.1-r2?

Yes! Upgrading to netcdf-4.8.1-r2 solves the issue.
Comment 21 Andreas Sturmlechner gentoo-dev 2022-06-09 12:02:41 UTC
We'll consider this fixed then (as it was never a labplot problem).
Comment 22 Andreas Sturmlechner gentoo-dev 2022-06-12 09:37:13 UTC
Technically this bug does not care about bug 851471 since labplot is not stable.
Comment 23 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-12 09:42:16 UTC
(In reply to Andreas Sturmlechner from comment #22)
> Technically this bug does not care about bug 851471 since labplot is not
> stable.

Meh. It's closed anyway and it might be useful if someone sees it. I don't mind if you remove the dependency.
Comment 24 Andreas Sturmlechner gentoo-dev 2022-06-12 10:04:23 UTC
Nah, as you say it is closed anyway. ;)