Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652950 - sys-apps/util-linux-2.32-r2[nls] enables NLS support only in libraries built for native ABI
Summary: sys-apps/util-linux-2.32-r2[nls] enables NLS support only in libraries built ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-11 02:34 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-04-11 07:29 UTC (History)
0 users

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


Attachments
Patch (util-linux.patch,3.20 KB, patch)
2018-04-11 02:41 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2018-04-11 02:34:58 UTC
There is no reason to unconditionally disable NLS support in libraries built for non-native ABIs.


Results for x86-64 system with ABI_X86="32 64":


Before this patch:

# readelf -sW /lib64/libblkid.so.1 /lib64/libfdisk.so.1 /lib64/libmount.so.1 /lib64/libsmartcols.so.1 /lib64/libuuid.so.1 | grep -i gettext
    26: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (12)
    26: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (9)
    92: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcngettext@GLIBC_2.2.5 (9)
    38: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (12)
     9: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (6)
# readelf -sW /usr/lib32/libblkid.so.1 /usr/lib32/libfdisk.so.1 /usr/lib32/libmount.so.1 /usr/lib32/libsmartcols.so.1 /usr/lib32/libuuid.so.1 | grep -i gettext
# 


After this patch:

# readelf -sW /lib64/libblkid.so.1 /lib64/libfdisk.so.1 /lib64/libmount.so.1 /lib64/libsmartcols.so.1 /lib64/libuuid.so.1 | grep -i gettext
    26: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (12)
    26: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (9)
    92: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcngettext@GLIBC_2.2.5 (9)
    38: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (12)
     9: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (6)
# readelf -sW /usr/lib32/libblkid.so.1 /usr/lib32/libfdisk.so.1 /usr/lib32/libmount.so.1 /usr/lib32/libsmartcols.so.1 /usr/lib32/libuuid.so.1 | grep -i gettext
    28: 00000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.0 (12)
    27: 00000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.0 (11)
   100: 00000000     0 FUNC    GLOBAL DEFAULT  UND dcngettext@GLIBC_2.2 (18)
    41: 00000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.0 (13)
    13: 00000000     0 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.0 (7)
#
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-04-11 02:41:11 UTC
Created attachment 527126 [details, diff]
Patch

This patch applies after patch in bug #652948.
Comment 2 Larry the Git Cow gentoo-dev 2018-04-11 07:29:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=883161e04f4709b720ff0142a6990a70011dbfb7

commit 883161e04f4709b720ff0142a6990a70011dbfb7
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2018-04-11 02:37:09 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-04-11 07:28:20 +0000

    sys-apps/util-linux: Make USE="nls" enable NLS support in libraries built for non-native ABIs.
    
    Also add missing dependency on virtual/libintl.
    
    Closes: https://bugs.gentoo.org/652950

 sys-apps/util-linux/util-linux-2.32-r3.ebuild | 3 ++-
 sys-apps/util-linux/util-linux-9999.ebuild    | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)