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 07:15:31
Message-Id: <20200926071458.GA3785@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
33 Thanks for the information Michael. This is more complicated than I
34 thought. I have no idea what to do now.
35
36
37 emerge -pqv '=media-libs/lsp-dsp-lib-0.5.9::macro'
38 [ebuild N ] media-libs/lsp-dsp-lib-0.5.9
39
40
41 emerge --info '=media-libs/lsp-dsp-lib-0.5.9::macro'
42 Portage 3.0.4 (python 3.8.5-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.31-r6,
43 +5.6.19-rt-rt11 x86_64)
44 =================================================================
45 System Settings
46 =================================================================
47 System uname:
48 +Linux-5.6.19-rt-rt11-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-glibc2.2.5
49 KiB Mem: 3936604 total, 383664 free
50 KiB Swap: 0 total, 0 free
51 Timestamp of repository gentoo: Sat, 26 Sep 2020 00:36:22 +0000
52 Head commit of repository gentoo: 8e6455de0a243fbcf735170e615431fee9af24c9
53
54 Timestamp of repository audio-overlay: Wed, 23 Sep 2020 18:35:18 +0000
55 Head commit of repository audio-overlay: 38d215903f0a936ebfbddb6b6e302afc212630fa
56
57 Timestamp of repository brave-overlay: Tue, 22 Sep 2020 19:05:23 +0000
58 Head commit of repository brave-overlay: 1d42a89a08f8a94a864c59f2dfabf8e2e0281aab
59
60 Head commit of repository fordfrog: b2f40f59b304b012ac8b9eb7aac37ed97c773867
61
62 Head commit of repository abendbrot: ee15f9f30a7d171348c9fe19bca8e2ad6ab0b557
63
64 sh bash 5.0_p18
65 ld GNU ld (Gentoo 2.34 p6) 2.34.0
66 ccache version 3.7.11 [enabled]
67 app-shells/bash: 5.0_p18::gentoo
68 dev-java/java-config: 2.3.1::gentoo
69 dev-lang/perl: 5.30.3::gentoo
70 dev-lang/python: 2.7.18-r2::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
71 dev-util/ccache: 3.7.11::gentoo
72 dev-util/cmake: 3.16.5::gentoo
73 dev-util/pkgconfig: 0.29.2::gentoo
74 sys-apps/baselayout: 2.7::gentoo
75 sys-apps/openrc: 0.42.1::gentoo
76 sys-apps/sandbox: 2.18::gentoo
77 sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
78 sys-devel/automake: 1.16.1-r1::gentoo
79 sys-devel/binutils: 2.34-r2::gentoo
80 sys-devel/gcc: 9.3.0-r1::gentoo
81 sys-devel/gcc-config: 2.3.1::gentoo
82 sys-devel/libtool: 2.4.6-r6::gentoo
83 sys-devel/make: 4.2.1-r4::gentoo
84 sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
85 sys-libs/glibc: 2.31-r6::gentoo
86
87 #Repositories:
88
89 Installed sets: @lbry
90 ACCEPT_KEYWORDS="amd64"
91 ACCEPT_LICENSE="@FREE"
92 CBUILD="x86_64-pc-linux-gnu"
93 CFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
94 CHOST="x86_64-pc-linux-gnu"
95 CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt"
96 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf
97 +/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
98 +/etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
99 CXXFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
100 DISTDIR="/home/portage/distfiles"
101 ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX
102 +PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME
103 +XDG_RUNTIME_DIR"
104 FCFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
105 FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache
106 +config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync
107 +multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs
108 +protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn
109 +unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
110 FFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
111 GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo https://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
112 LANG="en_US.utf8"
113 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
114 MAKEOPTS="-j4 -l1"
115 PKGDIR="/var/cache/binpkgs"
116 PORTAGE_CONFIGROOT="/"
117 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress
118 +--force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles
119 +--exclude=/local --exclude=/packages --exclude=/.git"
120 PORTAGE_TMPDIR="/home/tmp/"
121 USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr
122 +cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif ffmpeg flac fortran gdbm gif gpm
123 +gtk gui iconv icu id3tag ipv6 jack jpeg lcms libglvnd libnotify libtirpc lv2 mad mmap mng mp3
124 +mp4 mpeg mtp multilib musicbrainz ncurses nls nptl ogg opengl openmp pam pango pcre pdf png
125 +policykit ppds qt5 readline replaygain sdl seccomp sharedmem smp spell split-usr ssl
126 +startup-notification svg taglib tcpd tiff truetype udev udisks unicode upower usb vorbis
127 +wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018"
128 +ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371
129 +multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs
130 +protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn
131 +unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
132 FFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
133 GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo https://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
134 LANG="en_US.utf8"
135 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
136 MAKEOPTS="-j4 -l1"
137 PKGDIR="/var/cache/binpkgs"
138 PORTAGE_CONFIGROOT="/"
139 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress
140 +--force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles
141 +--exclude=/local --exclude=/packages --exclude=/.git"
142 PORTAGE_TMPDIR="/home/tmp/"
143 USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr
144 +cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif ffmpeg flac fortran gdbm gif gpm
145 +gtk gui iconv icu id3tag ipv6 jack jpeg lcms libglvnd libnotify libtirpc lv2 mad mmap mng mp3
146 +mp4 mpeg mtp multilib musicbrainz ncurses nls nptl ogg opengl openmp pam pango pcre pdf png
147 +policykit ppds qt5 readline replaygain sdl seccomp sharedmem smp spell split-usr ssl
148 +startup-notification svg taglib tcpd tiff truetype udev udisks unicode upower usb vorbis
149 +wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018"
150 +ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371
151 +PORTAGE_RSYNC_EXTRA_OPTS
152
153 Install phase output:
154 >>> Install media-libs/lsp-dsp-lib-0.5.9 into
155 +/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image
156 make -j4 -l1 DESTDIR=/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image install
157 make lsp-common-lib.o
158 ld [lsp-dsp-lib] lsp-dsp-lib.o
159 g++ [lsp-dsp-lib] liblsp-dsp-lib-0.5.9.so
160 ar [lsp-dsp-lib] liblsp-dsp-lib-0.5.9.a
161 Installing lsp-dsp-lib
162 install
163 +/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/work/lsp-dsp-lib/.build/lsp-dsp-lib/liblsp-dsp-li
164 +b-0.5.9.so -t /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image/usr/lib
165 cp
166 +/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/work/lsp-dsp-lib/.build/lsp-dsp-lib/liblsp-dsp-li
167 +b-0.5.9.a -t /home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image/usr/lib
168 Install OK
169 >>> Completed installing media-libs/lsp-dsp-lib-0.5.9 into
170 +/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image
171
172 * Final size of build directory: 14760 KiB (14.4 MiB)
173 * Final size of installed tree: 2120 KiB ( 2.0 MiB)
174
175
176 # Copyright 2020 Gentoo Authors
177 * QA Notice: The following shared libraries lack a SONAME
178 * /usr/lib/liblsp-dsp-lib-0.5.9.so
179
180 Files matching a file type that is not allowed:
181 usr/lib/liblsp-dsp-lib-0.5.9.so
182 * ERROR: media-libs/lsp-dsp-lib-0.5.9::macro failed:
183 * multilib-strict check failed!
184 *
185 * Call stack:
186 * misc-functions.sh, line 596: Called install_qa_check
187 * misc-functions.sh, line 132: Called source 'install_symlink_html_docs'
188 * 80multilib-strict, line 46: Called multilib_strict_check
189 * 80multilib-strict, line 42: Called die
190 * The specific snippet of code:
191 * [[ ${abort} == yes ]] && die "multilib-strict check failed!"
192 *
193 * If you need support, post the output of `emerge --info
194 +'=media-libs/lsp-dsp-lib-0.5.9::macro'`,
195 * the complete build log and the output of `emerge -pqv '=media-libs/lsp-dsp-lib-0.5.9::macro'`.
196 * The complete build log is located at
197 +'/var/log/portage/media-libs:lsp-dsp-lib-0.5.9:20200926-033814.log'.
198 * For convenience, a symlink to the build log is located at
199 +'/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/temp/build.log'.
200 * The ebuild environment file is located at
201 +'/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/temp/environment'.
202 * Working directory: '/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/image'
203 * S: '/home/tmp/portage/media-libs/lsp-dsp-lib-0.5.9/work/lsp-dsp-lib'
204 !!! post install failed; exiting.