From: Aleksey Avdeev <solo@solin.spb.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [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) Date: Tue, 19 Feb 2013 15:04:30 +0400 Message-ID: <51235C3E.9030403@solin.spb.ru> (raw) In-Reply-To: <50F934E9.3050203@kemsu.ru> [-- Attachment #1: Type: text/plain, Size: 2222 bytes --] 18.01.2013 15:41, REAL пишет: > привет! > > кто-нибудь может подсказать, что изменилось и как теперь с этим жить? См. <http://git.altlinux.org/people/ldv/packages/?p=rpm.git;a=commitdiff;h=279f487ca4461fc3cc29bc7eb9ea05a45abba4c1>. У нас сейчас в /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. ... > Package: python3-module-pycairo-1.10.1-alt3.git20120819 > Status: Sisyphus/x86_64 test rebuild failed ... > /usr/src/tmp/python3-module-pycairo-buildroot using /usr/bin/python3 > Traceback (most recent call last): > File "/usr/lib/rpm/python3.compileall.py", line 131, in <module> > exit_status = bool(main()) > File "/usr/lib/rpm/python3.compileall.py", line 128, in main > return compile_path(**dopt) > File "/usr/lib/rpm/python3.compileall.py", line 93, in compile_path > compile_all(join_prefix(prefix,item),[join_prefix(prefix,x) for x in > exclude],deep,skip_x,clean,prefix) > File "/usr/lib/rpm/python3.compileall.py", line 81, in compile_all > compile_all(p,exclude,deep-1,skip_x,clean,prefix) > File "/usr/lib/rpm/python3.compileall.py", line 81, in compile_all > compile_all(p,exclude,deep-1,skip_x,clean,prefix) > File "/usr/lib/rpm/python3.compileall.py", line 84, in compile_all > if not (skip_x and executable(p)) : > File "/usr/lib/rpm/python3.compileall.py", line 60, in executable > line = open(file).readline() > File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode > return codecs.ascii_decode(input, self.errors)[0] > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 14: > ordinal not in range(128) > error: Bad exit status from /usr/src/tmp/rpm-tmp.27184 (%install) PS: У меня оно взорвалось при переборке под python3.3. -- С уважением. Алексей. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 897 bytes --]
next prev parent reply other threads:[~2013-02-19 11:04 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 ` Aleksey Avdeev [this message] 2013-02-19 12:18 ` [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) 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 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=51235C3E.9030403@solin.spb.ru \ --to=solo@solin.spb.ru \ --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