pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53119: Checking for missing run-time failed due to locale



Le 2018-03-22 20:27, Joerg Sonnenberger a écrit :
On Wed, Mar 21, 2018 at 11:55:01AM +0000, triaxx%NetBSD.org@localhost wrote:
>Fix:
Quick hack, no idea to delocalized binary tools.

Index: mk/check/check-shlibs-elf.awk

Wrong place, if anywhere, it should be in CHECK_SHLIBS_NATIVE_ENV.

Right.

cvs diff: Diffing mk/check
Index: mk/check/check-shlibs.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/check/check-shlibs.mk,v
retrieving revision 1.30
diff -u -r1.30 check-shlibs.mk
--- mk/check/check-shlibs.mk	3 May 2017 13:46:53 -0000	1.30
+++ mk/check/check-shlibs.mk	23 Mar 2018 05:47:58 -0000
@@ -65,6 +65,7 @@
 CHECK_SHLIBS_NATIVE=		${PKGSRCDIR}/mk/check/check-shlibs-elf.awk
 CHECK_SHLIBS_NATIVE_ENV+=	PLATFORM_RPATH=${_OPSYS_SYSTEM_RPATH:Q}
 CHECK_SHLIBS_NATIVE_ENV+=	READELF=${TOOLS_PATH.readelf:Q}
+CHECK_SHLIBS_NATIVE_ENV+=	LANG=C # Avoid l10n of awk-parsed messages
 .  elif ${OBJECT_FMT} == "Mach-O"
 CHECK_SHLIBS_NATIVE=		${PKGSRCDIR}/mk/check/check-shlibs-macho.awk
 .  endif

Is that ok?


Home | Main Index | Thread Index | Old Index