ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] U: Безусловный LC_ALL=C в /usr/lib/rpm/functions
Date: Tue, 19 Feb 2013 23:25:37 +0400
Message-ID: <20130219192536.GA23799@altlinux.org> (raw)
In-Reply-To: <512385D8.2000209@solin.spb.ru>

[-- Attachment #1: Type: text/plain, Size: 1465 bytes --]

On Tue, Feb 19, 2013 at 06:02:00PM +0400, Aleksey Avdeev wrote:
> 19.02.2013 15:04, Aleksey Avdeev пишет:
> > 18.01.2013 15:41, REAL пишет:
> >> привет!
> >>
> >> кто-нибудь может подсказать, что изменилось и как теперь с этим жить?
> > 
> >   См.
> > <http://git.altlinux.org/people/ldv/packages/?p=rpm.git;a=commitdiff;h=279f487ca4461fc3cc29bc7eb9ea05a45abba4c1>.

Я же ясно там написал: "A lot of code relies on C collation, C messages
and so on.  Do not pretend it is expected to work with a non-C locale."
Скажите, пожалуйста, какая часть этого комментария недостаточно понятна?

> >   У нас сейчас в /usr/lib/rpm/functions выставляется безусловный
> > LC_ALL=C. Т. е. выставленное в спеке LC_ALL=en_US.UTF-8 не добирается до
> > потребителя (/usr/bin/python3) вызываемого в скрипте
> > /usr/lib/rpm/brp.d/096-bytecompile_python3.brp, т. к. перекрывается аж в
> > двух вызовах /usr/lib/rpm/functions (в /usr/lib/rpm/brp-alt и самом
> > /usr/lib/rpm/brp.d/096-bytecompile_python3.brp).
> > 
> >   Похоже, нужна ручка для запрета перекрыия правильного LC_ALL в
> > /usr/lib/rpm/functions.
> 
>   И такая ручка у нас есть (цитирую
> /usr/share/doc/rpm-4.0.4/README.ALT-ru_RU.UTF-8):
> 
> Управление процессом сборки.
> ...
>    %_build_lang:
>           значение переменных LANG, LANGUAGE и LC_ALL;

Надо убрать этот %_build_lang подальше, его включение ломает скрипты,
совсем недавно кто-то на это опять наступил.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-02-19 19:25 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 11:41 ` [devel] Fwd: python3-module-pycairo-1.10.1-alt3.git20120819: Sisyphus/x86_64 test rebuild failed REAL
2013-01-18 11:43   ` REAL
2013-01-18 11:11     ` Sergei Epiphanov
2013-01-18 12:18       ` REAL
2013-01-18 11:17     ` Dmitry V. Levin
2013-02-19 11:04   ` [devel] U: Безусловный LC_ALL=C в /usr/lib/rpm/functions (was: Fwd: python3-module-pycairo-1.10.1-alt3.git20120819: Sisyphus/x86_64 test rebuild failed) Aleksey Avdeev
2013-02-19 12:18     ` Ivan A. Melnikov
2013-02-19 12:41       ` [devel] U: Безусловный LC_ALL=C в /usr/lib/rpm/functions Aleksey Avdeev
2013-02-19 13:50     ` REAL
2013-02-19 14:02     ` Aleksey Avdeev
2013-02-19 19:25       ` Dmitry V. Levin [this message]
2013-02-19 19:46         ` Aleksey Avdeev
2013-02-19 20:02           ` Aleksey Avdeev
2013-02-20  6:25             ` Ivan A. Melnikov
2013-02-20 15:42               ` Aleksey Avdeev
2013-02-22  6:07                 ` Ivan A. Melnikov
2013-02-22  7:13                   ` REAL
2013-02-22  6:20                     ` Ivan A. Melnikov
2013-02-22  9:12                       ` Aleksey Avdeev
2013-02-22  9:32                         ` Aleksey Avdeev
2013-02-22 21:47                       ` Dmitry V. Levin
2013-02-22  6:21                     ` Ivan A. Melnikov
2013-02-22  9:40                   ` Aleksey Novodvorsky
2013-02-22 10:32                     ` Aleksey Avdeev
2013-02-20  5:02           ` REAL
2013-02-20  6:11             ` Aleksey Avdeev
2013-02-21 14:16     ` [devel] U: [rpm-build-python3] LC_ALL=en_US.utf8 для python3.compileall.py (was: Безусловный LC_ALL=C в /usr/lib/rpm/functions) Aleksey Avdeev
2013-02-21 17:27       ` [devel] U: [rpm-build-python3] LC_ALL=en_US.utf8 для python3.compileall.py Aleksey Avdeev

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=20130219192536.GA23799@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git