Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674010 - sys-apps/util-linux-2.33[python] installs two copies of libmount.so.1.1.0 and libblkid.so.1.1.0
Summary: sys-apps/util-linux-2.33[python] installs two copies of libmount.so.1.1.0 and...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 16:23 UTC by Michał Bartoszkiewicz
Modified: 2019-07-02 07:36 UTC (History)
0 users

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


Attachments
Build log (util-linux-2.33-20181229-181850.log.gz,80.12 KB, application/gzip)
2018-12-29 18:32 UTC, Michał Bartoszkiewicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Bartoszkiewicz 2018-12-29 16:23:10 UTC
There is one libmount.so.1.1.0 in /lib64 and another in /usr/lib64.
Similarly for libblkid.so.1.1.0.

$ ls -l {,/usr}/lib64/lib{mount,blkid}.so*
lrwxrwxrwx 1 root root     17 11-25 01:11 /lib64/libblkid.so.1 -> libblkid.so.1.1.0
-rwxr-xr-x 1 root root 342904 11-25 01:12 /lib64/libblkid.so.1.1.0
lrwxrwxrwx 1 root root     17 11-25 01:11 /lib64/libmount.so.1 -> libmount.so.1.1.0
-rwxr-xr-x 1 root root 379256 11-25 01:12 /lib64/libmount.so.1.1.0
lrwxrwxrwx 1 root root     17 11-25 01:11 /usr/lib64/libblkid.so -> libblkid.so.1.1.0
lrwxrwxrwx 1 root root     17 11-25 01:11 /usr/lib64/libblkid.so.1 -> libblkid.so.1.1.0
-rwxr-xr-x 1 root root 342904 11-25 01:12 /usr/lib64/libblkid.so.1.1.0
lrwxrwxrwx 1 root root     17 11-25 01:11 /usr/lib64/libmount.so -> libmount.so.1.1.0
lrwxrwxrwx 1 root root     17 11-25 01:11 /usr/lib64/libmount.so.1 -> libmount.so.1.1.0
-rwxr-xr-x 1 root root 379256 11-25 01:12 /usr/lib64/libmount.so.1.1.0


Portage[mgorny] 2.3.51.1 (python 3.6.6-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-8.2.0, glibc-2.28-r4, 4.20.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.0-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.6
KiB Mem:    32714048 total,   6800852 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Sat, 29 Dec 2018 09:24:05 +0000
Head commit of repository gentoo: e57bd3a5ff3cc381f53ae9b4a01d744b42cdf4e5

sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.13.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.14::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-r3::gentoo
sys-devel/gcc:            4.7.4-r2::gentoo, 4.8.5-r2::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r4::gentoo
Repositories:

gentoo
    location: /var/cache/repos/gentoo
    sync-type: git
    sync-uri: git://fraktal.berep.pl/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

embe
    location: /var/cache/repos/embe
    sync-type: laymansync
    sync-uri: https://git.bzium.org/embe/overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x Google-TOS google-chrome GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb -fno-plt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-march=native -O2 -pipe -ggdb -fno-plt"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y --quiet-build 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="-march=native -O2 -pipe -ggdb -fno-plt"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg cgroup clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -ggdb -fno-plt"
GENTOO_MIRRORS="https://mirror.dkm.cz/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/etc/rmt /var/run /etc/xinetd.d /var/lock /var/mail /var/spool/mail /etc/skel /usr/share/man/cat*"
LANG="C.UTF-8"
LC_ALL="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now"
LINGUAS="en en_US pl pl_PL"
MAKEOPTS="-j8"
PKGDIR="/var/cache/packages"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="--best"
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="/tmp"
USE="R X a52 aac aacplus acl acpi adns alsa amd64 android archive ass avahi avx bazaar bluetooth brotli bzip2 cairo caps cdb cdda cddb cdr chromecast cli clutter colord conntrack crypt cryptsetup cups curl cvs cxx dbus dconf device-mapper dirac djvu dri dts dvb dvd dvdr dvi eds egl elfutils emboss encode evdev evo exif fam fat ffmpeg fftw flac fontconfig fortran fuse gadu gd gdbm gegl geoclue gif gimp git glamor gmp gnome gnome-keyring gnome-online-accounts gnuplot gpg gphoto2 graphicsmagick graphviz gsl gstreamer gtk gtk3 gtkstyle guile harfbuzz http2 iconv icu id3tag idn introspection iproute2 ipv6 java jit jpeg jpeg2k lame lapack latex lcms libass libkms libnotify libproxy libsamplerate libsecret libtirpc live llvm lua lzma lzo mad maildir man matroska mercurial metalink metric mms mmxext mng modemmanager mp3 mp4 mpeg mtp multilib musepack nautilus ncurses netlink networkmanager nls nptl obex offensive ogg openal openexr opengl openmp opus osmesa pam pango pcap pch pcre pdf pgf playlist plotutils png policykit postproc postscript ppds pulseaudio python raw rdp readline rtmp rubberband samba sdl seccomp sftp sip smartcard smi smp snappy speex spell spice sqlite sse3 sse4 sse41 sse4_1 ssl ssse3 startup-notification subversion svg syslog systemd theora tiff tls tracker truetype udev udisks unicode upnp upnp-av upower urandom usb user-session uuid v4l vaapi vala vdpau vim-syntax vlc vorbis vpx vte webp wifi wxwidgets x264 xattr xcb xinerama xml xmp xmpp xv xvid zeroconf zlib zsh-completion" ABI_X86="32 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul 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="pc efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LLVM_TARGETS="AMDGPU BPF X86" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi r600 amdgpu intel i915 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/util-linux-2.33::gentoo was built with the following:
USE="caps ncurses nls pam python readline suid systemd udev unicode -build -cramfs -fdformat -kill (-selinux) -slang -static-libs -test -tty-helpers" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_4 -python3_5"
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-12-29 17:58:21 UTC
no, files in /usr/lib64 are not libraries
Comment 2 Michał Bartoszkiewicz 2018-12-29 18:08:26 UTC
I'm pretty sure they are libraries. In the ls output from the description you can see that the files in /lib64 and /usr/lib64 are the same size.

Also:
$ file /usr/lib64/libmount.so.1.1.0 /lib64/libmount.so.1.1.0 
/usr/lib64/libmount.so.1.1.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
/lib64/libmount.so.1.1.0:     ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

What's also interesting is that, despite being the same size, they are different:
c520bc1bcdf46292b1832a31e67aa8ee504dfd6725787dd07d61a62a237c9c38  /usr/lib64/libmount.so.1.1.0
e49b417815a7c6e80ee3b8a0385ec65f92d2cc208a2a19e1ea0945d4a8163fd1  /lib64/libmount.so.1.1.0
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-12-29 18:12:35 UTC
(In reply to Michał Bartoszkiewicz from comment #2)
> I'm pretty sure they are libraries. In the ls output from the description
> you can see that the files in /lib64 and /usr/lib64 are the same size.
> 
> Also:
> $ file /usr/lib64/libmount.so.1.1.0 /lib64/libmount.so.1.1.0 
> /usr/lib64/libmount.so.1.1.0: ELF 64-bit LSB shared object, x86-64, version
> 1 (SYSV), dynamically linked, stripped
> /lib64/libmount.so.1.1.0:     ELF 64-bit LSB shared object, x86-64, version
> 1 (SYSV), dynamically linked, stripped
> 
> What's also interesting is that, despite being the same size, they are
> different:
> c520bc1bcdf46292b1832a31e67aa8ee504dfd6725787dd07d61a62a237c9c38 
> /usr/lib64/libmount.so.1.1.0
> e49b417815a7c6e80ee3b8a0385ec65f92d2cc208a2a19e1ea0945d4a8163fd1 
> /lib64/libmount.so.1.1.0

no, they are not, run file on it
Comment 4 Michał Bartoszkiewicz 2018-12-29 18:14:22 UTC
(In reply to Mikle Kolyada from comment #3)
> (In reply to Michał Bartoszkiewicz from comment #2)
> > I'm pretty sure they are libraries. In the ls output from the description
> > you can see that the files in /lib64 and /usr/lib64 are the same size.
> > 
> > Also:
> > $ file /usr/lib64/libmount.so.1.1.0 /lib64/libmount.so.1.1.0 
> > /usr/lib64/libmount.so.1.1.0: ELF 64-bit LSB shared object, x86-64, version
> > 1 (SYSV), dynamically linked, stripped
> > /lib64/libmount.so.1.1.0:     ELF 64-bit LSB shared object, x86-64, version
> > 1 (SYSV), dynamically linked, stripped
> > 
> > What's also interesting is that, despite being the same size, they are
> > different:
> > c520bc1bcdf46292b1832a31e67aa8ee504dfd6725787dd07d61a62a237c9c38 
> > /usr/lib64/libmount.so.1.1.0
> > e49b417815a7c6e80ee3b8a0385ec65f92d2cc208a2a19e1ea0945d4a8163fd1 
> > /lib64/libmount.so.1.1.0
> 
> no, they are not, run file on it

I *did*, in the comment you are replying to!
$ file /usr/lib64/libmount.so.1.1.0 /lib64/libmount.so.1.1.0     
/usr/lib64/libmount.so.1.1.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
/lib64/libmount.so.1.1.0:     ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
Comment 5 Mike Gilbert gentoo-dev 2018-12-29 18:16:47 UTC
I don't see these files in /usr/lib64. Please attach a build log.
Comment 6 Mike Gilbert gentoo-dev 2018-12-29 18:19:51 UTC
Oh, I see the issue; it's due to USE=python.
Comment 7 Michał Bartoszkiewicz 2018-12-29 18:32:20 UTC
Created attachment 558872 [details]
Build log
Comment 8 Larry the Git Cow gentoo-dev 2018-12-29 18:49:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12cbec31c5df89959bb1f983b9cbf8bf9a0b9aef

commit 12cbec31c5df89959bb1f983b9cbf8bf9a0b9aef
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-12-29 18:47:57 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-12-29 18:49:52 +0000

    sys-apps/util-linux: move gen_usr_ldscript after python install
    
    Closes: https://bugs.gentoo.org/674010
    Package-Manager: Portage-2.3.53, Repoman-2.3.12_p31
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../{util-linux-2.33.ebuild => util-linux-2.33-r1.ebuild}         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)