Gentoo Archives: gentoo-user

From: urpion@×××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Shared libraries lack a SONAME
Date: Sat, 26 Sep 2020 04:51:14
Message-Id: <20200926045036.GA7865@imap.gmx.com:993>
In Reply to: Re: [gentoo-user] Shared libraries lack a SONAME by Michael Orlitzky
1 On Fri, Sep 25, 2020 at 10:25:30AM -0400, Michael Orlitzky wrote:
2 > On 2020-09-25 01:39, urpion@×××.com wrote:
3 > >
4 > > # Copyright 2020 Gentoo Authors
5 > > * QA Notice: The following shared libraries lack a SONAME
6 > > * /usr/lib/liblsp-dsp-lib-0.5.9.so
7 >
8 > This is just a warning, I think? Regardless, it's not something you can
9 > fix yourself.
10 >
11 > The short explanation is that libraries can have their own version
12 > separate from the larger package. The library version is what people use
13 > to track compatibility, and is often how Gentoo decides when to do
14 > subslot rebuilds. A library without a SONAME is a library without a
15 > "version," but the upstream authors would need to figure out the
16 > versioning scheme (and commit to it in the future) before fixing this.
17 >
18 > Some references:
19 >
20 > * https://autotools.io/libtool/version.html
21 > * https://www.gnu.org/software/libtool/manual/libtool.html#Versioning
22 >
23 >
24 > > Files matching a file type that is not allowed:
25 > > usr/lib/liblsp-dsp-lib-0.5.9.so
26 > >
27 >
28 > I think you have some other problem that's killing your install. A "QA
29 > Notice" won't do it.
30 >
31 >
32 Thanks for the information Michael. This is more complicated than I
33 thought. I have no idea what to do now.
34
35
36 emerge -pqv '=media-libs/lsp-dsp-lib-0.5.9::macro'
37 [ebuild N ] media-libs/lsp-dsp-lib-0.5.9
38
39
40 emerge --info '=media-libs/lsp-dsp-lib-0.5.9::macro'
41 Portage 3.0.4 (python 3.8.5-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.31-r6, 5.6.19-rt-rt11 x86_64)
42 =================================================================
43 System Settings
44 =================================================================
45 System uname: Linux-5.6.19-rt-rt11-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-glibc2.2.5
46 KiB Mem: 3936604 total, 383664 free
47 KiB Swap: 0 total, 0 free
48 Timestamp of repository gentoo: Sat, 26 Sep 2020 00:36:22 +0000
49 Head commit of repository gentoo: 8e6455de0a243fbcf735170e615431fee9af24c9
50
51 Timestamp of repository audio-overlay: Wed, 23 Sep 2020 18:35:18 +0000
52 Head commit of repository audio-overlay: 38d215903f0a936ebfbddb6b6e302afc212630fa
53
54 Timestamp of repository brave-overlay: Tue, 22 Sep 2020 19:05:23 +0000
55 Head commit of repository brave-overlay: 1d42a89a08f8a94a864c59f2dfabf8e2e0281aab
56
57 Head commit of repository fordfrog: b2f40f59b304b012ac8b9eb7aac37ed97c773867
58
59 Head commit of repository abendbrot: ee15f9f30a7d171348c9fe19bca8e2ad6ab0b557
60
61 sh bash 5.0_p18
62 ld GNU ld (Gentoo 2.34 p6) 2.34.0
63 ccache version 3.7.11 [enabled]
64 app-shells/bash: 5.0_p18::gentoo
65 dev-java/java-config: 2.3.1::gentoo
66 dev-lang/perl: 5.30.3::gentoo
67 dev-lang/python: 2.7.18-r2::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
68 dev-util/ccache: 3.7.11::gentoo
69 dev-util/cmake: 3.16.5::gentoo
70 dev-util/pkgconfig: 0.29.2::gentoo
71 sys-apps/baselayout: 2.7::gentoo
72 sys-apps/openrc: 0.42.1::gentoo
73 sys-apps/sandbox: 2.18::gentoo
74 sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
75 sys-devel/automake: 1.16.1-r1::gentoo
76 sys-devel/binutils: 2.34-r2::gentoo
77 sys-devel/gcc: 9.3.0-r1::gentoo
78 sys-devel/gcc-config: 2.3.1::gentoo
79 sys-devel/libtool: 2.4.6-r6::gentoo
80 sys-devel/make: 4.2.1-r4::gentoo
81 sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
82 sys-libs/glibc: 2.31-r6::gentoo
83
84 #Repositories:
85
86 Installed sets: @lbry
87 ACCEPT_KEYWORDS="amd64"
88 ACCEPT_LICENSE="@FREE"
89 CBUILD="x86_64-pc-linux-gnu"
90 CFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
91 CHOST="x86_64-pc-linux-gnu"
92 CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt"
93 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"
94 CXXFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
95 DISTDIR="/home/portage/distfiles"
96 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"
97 FCFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
98 FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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"
99 FFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
100 GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo https://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
101 LANG="en_US.utf8"
102 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
103 MAKEOPTS="-j4 -l1"
104 PKGDIR="/var/cache/binpkgs"
105 PORTAGE_CONFIGROOT="/"
106 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"
107 PORTAGE_TMPDIR="/home/tmp/"
108 USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif ffmpeg flac fortran gdbm gif gpm gtk gui iconv icu id3tag ipv6 jack jpeg lcms libglvnd libnotify libtirpc lv2 mad mmap mng mp3 mp4 mpeg mtp multilib musicbrainz ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline replaygain sdl seccomp sharedmem smp spell split-usr ssl startup-notification svg taglib tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx f16c pclmul popcnt 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="libinput mtrack" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_7 python3_8" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" 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"
109 Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
110
111 Install phase output:
112 >>> Install media-libs/lsp-dsp-lib-0.5.9 into /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image
113 make -j4 -l1 DESTDIR=/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image install
114 make lsp-common-lib.o
115 ld [lsp-dsp-lib] lsp-dsp-lib.o
116 g++ [lsp-dsp-lib] liblsp-dsp-lib-0.5.9.so
117 ar [lsp-dsp-lib] liblsp-dsp-lib-0.5.9.a
118 Installing lsp-dsp-lib
119 install /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/work/lsp-dsp-lib/.build/lsp-dsp-lib/liblsp-dsp-lib-0.5.9.so -t /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image/usr/lib
120 cp /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/work/lsp-dsp-lib/.build/lsp-dsp-lib/liblsp-dsp-lib-0.5.9.a -t /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image/usr/lib
121 Install OK
122 >>> Completed installing media-libs/lsp-dsp-lib-0.5.9 into /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image
123
124 * Final size of build directory: 14760 KiB (14.4 MiB)
125 * Final size of installed tree: 2120 KiB ( 2.0 MiB)
126
127
128 # Copyright 2020 Gentoo Authors
129 * QA Notice: The following shared libraries lack a SONAME
130 * /usr/lib/liblsp-dsp-lib-0.5.9.so
131
132 Files matching a file type that is not allowed:
133 usr/lib/liblsp-dsp-lib-0.5.9.so
134 * ERROR: media-libs/lsp-dsp-lib-0.5.9::macro failed:
135 * multilib-strict check failed!
136 *
137 * Call stack:
138 * misc-functions.sh, line 596: Called install_qa_check
139 * misc-functions.sh, line 132: Called source 'install_symlink_html_docs'
140 * 80multilib-strict, line 46: Called multilib_strict_check
141 * 80multilib-strict, line 42: Called die
142 * The specific snippet of code:
143 * [[ ${abort} == yes ]] && die "multilib-strict check failed!"
144 *
145 * If you need support, post the output of `emerge --info '=media-libs/lsp-dsp-lib-0.5.9::macro'`,
146 * the complete build log and the output of `emerge -pqv '=media-libs/lsp-dsp-lib-0.5.9::macro'`.
147 * The complete build log is located at '/var/log/portage/media-libs:lsp-dsp-lib-0.5.9:20200926-033814.log'.
148 * For convenience, a symlink to the build log is located at '/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/temp/build.log'.
149 * The ebuild environment file is located at '/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/temp/environment'.
150 * Working directory: '/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image'
151 * S: '/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/work/lsp-dsp-lib'
152 !!! post install failed; exiting.