public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/files/eblits/
Date: Fri, 16 Oct 2015 18:26:33 +0000 (UTC)	[thread overview]
Message-ID: <1445019984.ce18a6065c124e7509d90b804fe9bc0f570d355b.vapier@gentoo> (raw)

commit:     ce18a6065c124e7509d90b804fe9bc0f570d355b
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 16:15:18 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 18:26:24 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce18a606

sys-libs/glibc: ignore locale settings in preinst test

When upgrading to a new version, the localedata format might have
changed, which means the test programs may crash inside of glibc
when trying to parse it.  Since this test is not for verifying
localedata (which we'll be rebuilding anyways), clear the active
locale settings.

 sys-libs/glibc/files/eblits/pkg_preinst.eblit | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-libs/glibc/files/eblits/pkg_preinst.eblit b/sys-libs/glibc/files/eblits/pkg_preinst.eblit
index 9160aaf..cb8f461 100644
--- a/sys-libs/glibc/files/eblits/pkg_preinst.eblit
+++ b/sys-libs/glibc/files/eblits/pkg_preinst.eblit
@@ -29,6 +29,9 @@ glibc_sanity_check() {
 		*"statically linked"*) continue;;
 		*"ASCII text"*) continue;;
 		esac
+		# We need to clear the locale settings as the upgrade might want
+		# incompatible locale data.  This test is not for verifying that.
+		LC_ALL=C \
 		./ld-*.so --library-path . ${x} > /dev/null \
 			|| die "simple run test (${x}) failed"
 	done


             reply	other threads:[~2015-10-16 18:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-16 18:26 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-12-30 20:40 [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/files/eblits/ Mike Frysinger
2016-01-16  8:17 Mike Frysinger
2016-06-02  8:08 Benda XU
2016-06-02 13:26 Benda XU
2016-06-06 13:28 Benda XU
2016-06-19 23:19 Benda XU
2016-09-03 11:06 Michał Górny
2016-11-25  5:50 Mike Frysinger
2016-12-07  7:03 Mike Frysinger
2017-01-07 13:49 Benda XU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445019984.ce18a6065c124e7509d90b804fe9bc0f570d355b.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox