Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686750 - app-office/libalkimia: stores incorrect path to libgmp or libmpir in LibAlkimia5Targets.cmake (was: app-office/kmymoney-5.0.4: error: '/usr/lib/libgmp.so', needed by 'lib/libkmm_mymoney.so.5.0.4', missing)
Summary: app-office/libalkimia: stores incorrect path to libgmp or libmpir in LibAlkim...
Status: RESOLVED DUPLICATE of bug 644538
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: solution: rebuild app-office/libalkimia
Keywords:
: 692296 699634 (view as bug list)
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2019-05-25 16:02 UTC by boxcars
Modified: 2020-07-01 22:04 UTC (History)
6 users (show)

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


Attachments
build log (app-office:kmymoney-5.0.4:20190525-153029.log,11.16 KB, text/x-log)
2019-05-25 16:02 UTC, boxcars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boxcars 2019-05-25 16:02:16 UTC
Created attachment 577788 [details]
build log

$ emerge -pqv '=app-office/kmymoney-5.0.4::gentoo'
[ebuild     U ] app-office/kmymoney-5.0.4 [5.0.3] USE="activities calendar handbook hbci ofx -addressbook -debug -holidays -quotes -test -webkit (-weboob)" PYTHON_TARGETS="python2_7" 

$ emerge --info '=app-office/kmymoney-5.0.4::gentoo'
Portage 2.3.66 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-8.3.0, glibc-2.29-r2, 4.19.44-gentoo-mlc x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.44-gentoo-mlc-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.6
KiB Mem:     8073920 total,   2899636 free
KiB Swap:    8191996 total,   8108080 free
Timestamp of repository gentoo: Sat, 25 May 2019 14:15:01 +0000
Head commit of repository gentoo: ff5b913bff4536cc0e2037505ba3d14ed8d57e53
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r6::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

grub2-themes
    location: /var/lib/layman/grub2-themes
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

local-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    masters: gentoo
    priority: 500

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: 9999
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --jobs=8 --load-average 11.2 --with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.lug.udel.edu/pub/gentoo/ http://mirror.leaseweb.com/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="--jobs=8 --load-average=11.2"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac aalib acl acpi activities alsa amd64 archive audiofile bat bluetooth branding bzip2 cairo calendar canlock cargo cdda cddb cdparanoia cdr chromaprint clang cli compiler-rt consolekit crypt cups curl cxx dbus declarative dga distinct-l dri dts dvd dvdr emboss eme-free encode exif extended extensions extra-cardsets fam fbcon ffmpeg flac fluidsynth fontconfig fontforge fortran ftp gdbm gif glamor gmp gnutls gold gpm graphviz gstreamer gtk hbci hddtemp hostonly hpn htmlsingle htmlthumbs hwaccel iconv icu id3tag idn imagemagick initramfs int-quality ipv6 isag ithreads javascript jit jpeg json jumbo-build kde kipi lame lcms leaps_timezone legacy-systray libass libkms libnotify libsoxr libtirpc libvisual lm_sensors lz4 lzma mad man marble matroska mdnsresponder-compat mediaplayer midi mikmod mjpeg mng mod modemmanager modern-top modplug moodbar mp3 mp4 mpeg mpfr mplayer multilib musepack musicbrainz mysql nano-syntax natspec ncurses nls nntp nptl nsplugin nss offensive office offlinehelp ofx ogg okular opencl openexr opengl openmp openssl opus pam pango pcre pdf pdfimport pgo phonon plasma plotutils pm-utils png podcast policykit postproc ppds printsupport projectm qml qt5 quesoglc quicktime readline recode replaygain required-use rtc sanitize sasl scanner sctp sdl sdl-image seccomp secure-delete security semantic-desktop sensord shorten signalfd skia skins smime smp snappy sound spell sqlite ssl ssse3 startup-notification static-analyzer streaming svc svg syslog system-jpeg system-libevent systray taglib tcpd terminal text theora thinkpad threads thumbnail tidy tiff tk touchpad tremor truetype tty-helpers udev udisks unicode update_drivedb upower usb uudeview v4l vaapi vamp vcd vcdx vdpau verify-file vlm vorbis vpx webchannel webengine widgets wifi wireless wxwidgets x264 xcb xcomposite xface xml xosd xpm xscreensaver xv xvfb xvid xvmc zeroconf zip zlib zstd" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="author braindump flow karbon kexi krita plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock 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="evdev mouse keyboard synaptics" KERNEL="linux" L10N="en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="intel i965 v4l vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 boxcars 2019-05-27 15:48:30 UTC
I have dev-libs/gmp-6.1.2 installed, with USE flags: asm cxx -doc -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"

$ equery f dev-libs/gmp | grep libgmp.so | xargs file
/usr/lib64/libgmp.so:        symbolic link to libgmp.so.10.3.2
/usr/lib64/libgmp.so.10:     symbolic link to libgmp.so.10.3.2
/usr/lib64/libgmp.so.10.3.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
Comment 2 Jack 2019-05-30 18:47:02 UTC
I've filed an upstream bug: https://bugs.kde.org/show_bug.cgi?id=408131
Given that ccmake correctly finds libgmp, is it possible that there is something wrong with either how ccmake sets up $libdir stuff in the ninja files, or how ninja uses that info?
Comment 3 Andreas Sturmlechner gentoo-dev 2019-06-11 05:44:24 UTC
Please rebuild libalkimia.
Comment 4 boxcars 2019-06-11 13:38:09 UTC
(In reply to Andreas Sturmlechner from comment #3)

Thanks. After rebuilding libalkimia (and a few more of kmymoney's dependencies which I had depcleaned), kmymoney builds fine.
Comment 5 Jack 2019-06-21 16:24:32 UTC
I had forgotten about this but - but just tried to compile KMyMoney from the 5.0 branch git head, and got 

ninja: error: '/usr/lib/libmpir.so', needed by 'lib/libkmm_mymoney.so.5.0.4', missing and no known rule to make it.

mpir seems fine, with the .h file in /usr/include and all the .so files in /usr/lib64.  Re-emerging mpir makes no difference, so I still think there is a problem with either cmake or ninja, or perhaps (less likely?) how kmymoney uses either of them.

Should the bug title be changed to reflect this new failure, or be made more generic?

Also, I updated the upstream bug with this info.
Comment 6 Andreas Sturmlechner gentoo-dev 2019-06-21 16:25:47 UTC
Just rebuild libalkimia. This is simply the result of the profile switch.
Comment 7 Jack 2019-06-21 16:39:13 UTC
What confuses me a bit is why recompiling libalkimia helps a problem not finding libmpir.so.  Is it just that it is really alkimia which pulls in mpir, and not kmymoney itself?
Comment 8 Andreas Sturmlechner gentoo-dev 2019-06-23 21:45:39 UTC
libalkimia has libmpir.so in its INTERFACE_LINK_LIBRARIES, and when you built it under profile 17.0 the path to it stored by cmake was /usr/lib/libmpir.so when it should have been /usr/lib64/libmpir.so. It seems to be a cmake issue (find_library behaviour).
Comment 9 Andreas Sturmlechner gentoo-dev 2019-08-16 15:21:00 UTC
*** Bug 692296 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Sturmlechner gentoo-dev 2019-11-08 19:24:35 UTC
*** Bug 699634 has been marked as a duplicate of this bug. ***
Comment 11 Andreas Sturmlechner gentoo-dev 2020-07-01 22:03:53 UTC
It is probably time to consolidate this with the parent bug.

*** This bug has been marked as a duplicate of bug 644538 ***