From: "Fr. Br. George" <george@altlinux.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] I: новый rpm-build-python и питоновские модули на x86_64 Date: Sat, 9 Dec 2006 16:45:20 +0300 Message-ID: <20061209134517.GD27707@grep.po.cs.msu.su> (raw) Всем привет. Приехавший в Сизиф rpm-build-python-0.29-alt3 обладает двумя новыми свойствами: - он собирается на x86_64 так же, как и на i586 (раньше лез в /usr/lib64, несмотря на noarch) - это происходит потому, что исползуется новый макрос, появившийся в rpm: %_target_libdir %_target_libdir -- это такой %_libdir, значение которого зависит от того, был ли %_target_cpu == noarch (то есть пакет был noarch) или чему-нибудь другому. В первом случае %_target_libdir раскрывается в значение ещё одного нового макроса, %_target_libdir_noarch, то есть в /usr/lib без вариантов. Что это нам даёт: rpm-build-python-tools также попадают в правильное место при сборке на *64 макросы /etc/rpm/macros.d/python, использовавшие _libdir и приводившие к галлюциногенной сборке модулей на *64, теперь используют _target_libdir. предположительно сборка многих noarch модулей Питона под *64 выпрямится, если они: (а) Не использовали явного _libdir вместо штатного python_libdir (б) Не являлись x86_64 по сути, таская с собою .so Что можно сделать: Посмотреть спеки своих питоновских модулей на предмет наличия в них _libdir и поменять на _target_libdir (а ещё лучше -- на штатные макросы из /etc/rpm/macros.d/python). Хуже от этого никому стать не должно, за исключением (б). Если от этого возникнут какие-то баги, и вы считаете, что они -- не ваши, смело вешайте на rpm-build-python. -- George V. Kouryachy (aka Fr. Br. George) mailto:george at altlinux_ru
reply other threads:[~2006-12-09 13:45 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20061209134517.GD27707@grep.po.cs.msu.su \ --to=george@altlinux.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