pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53119: Checking for missing run-time failed due to locale
>Number: 53119
>Category: pkg
>Synopsis: Checking for missing run-time failed due to locale
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 21 11:55:01 +0000 2018
>Originator: Frédéric Fauberteau
>Release: pkgsrc-HEAD
>Organization:
>Environment:
Linux guardian 4.15.10-1-ARCH #1 SMP PREEMPT Thu Mar 15 12:24:34 UTC 2018 x86_64 GNU/Linu
>Description:
===> Installing for digest-20160304
[...]
=> Checking for missing run-time search paths in digest-20160304
ERROR: bin/digest: missing library: 0x0000000000000001 (NEEDED) Bibliothèque partagée: [libc.so.6
*** Error code 1
>How-To-Repeat:
cd pkgtools/digest && bmake install
>Fix:
Quick hack, no idea to delocalized binary tools.
Index: mk/check/check-shlibs-elf.awk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/check/check-shlibs-elf.awk,v
retrieving revision 1.15
diff -u -r1.15 check-shlibs-elf.awk
--- mk/check/check-shlibs-elf.awk 3 May 2017 13:46:53 -0000 1.15
+++ mk/check/check-shlibs-elf.awk 21 Mar 2018 11:43:14 -0000
@@ -102,7 +102,7 @@
}
function checkshlib(DSO, needed, rpath, found, dso_rpath, got_rpath, nrpath) {
- cmd = readelf " -Wd " shquote(DSO) " 2> /dev/null"
+ cmd = "LANG= " readelf " -Wd " shquote(DSO) " 2> /dev/null"
while ((cmd | getline) > 0) {
if ($2 == "(RPATH)" || $2 == "(RUNPATH)") {
sub("^[[:space:]]*0[xX][[:xdigit:]]+[[:space:]]+\\(RU?N?PATH\\)[[:space:]]+Library ru?n?path: \\[", "")
Home |
Main Index |
Thread Index |
Old Index