* [devel] конфликт tetex и texlive @ 2008-11-25 21:53 Grigory Batalov 2008-11-25 22:06 ` Led 2008-11-26 6:46 ` Alexey Tourbin 0 siblings, 2 replies; 9+ messages in thread From: Grigory Batalov @ 2008-11-25 21:53 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 716 bytes --] Здравствуйте! Я собираю texlive в хэшере с ключом --no-contents-indices, чтобы по contents_index_* не появилась автоматическая зависимость на tetex-core. Все предоставляемые tetex-core (и требуемые) файлы есть и у меня, но в других texlive-* пакетах. Однако, в incoming этот ключ, скорее всего, не используется, из-за чего я получу-таки зависимость на tetex-core, и установка texlive вообще станет невозможна уже из-за конфликта файлов с tetex-core. Так что у меня два вопроса: 1) как избежать зависимости от tetex-core 2) как обеспечить сосуществование в Сизифе двух похожих семейств пакетов tetex-* и texlive-* ? P.S. texlive в хэшер ставится командой $ hsh-install <hasherdir> texlive-base-bin tetex-core- [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [devel] конфликт tetex и texlive 2008-11-25 21:53 [devel] конфликт tetex и texlive Grigory Batalov @ 2008-11-25 22:06 ` Led 2008-11-25 22:07 ` Grigory Batalov 2008-11-26 6:46 ` Alexey Tourbin 1 sibling, 1 reply; 9+ messages in thread From: Led @ 2008-11-25 22:06 UTC (permalink / raw) To: ALT Linux Team development discussions On Tuesday, 25 November 2008 23:53:27 Grigory Batalov wrote: > Здравствуйте! > > Я собираю texlive в хэшере с ключом --no-contents-indices, чтобы > по contents_index_* не появилась автоматическая зависимость на > tetex-core. Все предоставляемые tetex-core (и требуемые) файлы > есть и у меня, но в других texlive-* пакетах. > > Однако, в incoming этот ключ, скорее всего, не используется, из-за > чего я получу-таки зависимость на tetex-core, и установка texlive > вообще станет невозможна уже из-за конфликта файлов с tetex-core. > > Так что у меня два вопроса: > 1) как избежать зависимости от tetex-core Убрать костыль в rpm > 2) как обеспечить сосуществование в Сизифе двух похожих семейств > пакетов tetex-* и texlive-* > ? > > P.S. texlive в хэшер ставится командой > $ hsh-install <hasherdir> texlive-base-bin tetex-core- -- Led ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [devel] конфликт tetex и texlive 2008-11-25 22:06 ` Led @ 2008-11-25 22:07 ` Grigory Batalov 2008-11-25 22:12 ` Led 0 siblings, 1 reply; 9+ messages in thread From: Grigory Batalov @ 2008-11-25 22:07 UTC (permalink / raw) To: ALT Linux Team development discussions On Wed, Nov 26, 2008 at 12:06:16AM +0200, Led wrote: > > Так что у меня два вопроса: > > 1) как избежать зависимости от tetex-core > > Убрать костыль в rpm Не дошло. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [devel] конфликт tetex и texlive 2008-11-25 22:07 ` Grigory Batalov @ 2008-11-25 22:12 ` Led 0 siblings, 0 replies; 9+ messages in thread From: Led @ 2008-11-25 22:12 UTC (permalink / raw) To: ALT Linux Team development discussions On Wednesday, 26 November 2008 00:07:24 Grigory Batalov wrote: > On Wed, Nov 26, 2008 at 12:06:16AM +0200, Led wrote: > > > Так что у меня два вопроса: > > > 1) как избежать зависимости от tetex-core > > > > Убрать костыль в rpm > > Не дошло. $ grep tetex /usr/lib/rpm/0common-files.req.list /etc/tex-fonts.d tetex-core -- Led ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [devel] конфликт tetex и texlive 2008-11-25 21:53 [devel] конфликт tetex и texlive Grigory Batalov 2008-11-25 22:06 ` Led @ 2008-11-26 6:46 ` Alexey Tourbin 2008-11-26 13:56 ` Grigory Batalov 1 sibling, 1 reply; 9+ messages in thread From: Alexey Tourbin @ 2008-11-26 6:46 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 359 bytes --] On Wed, Nov 26, 2008 at 12:53:27AM +0300, Grigory Batalov wrote: > Я собираю texlive в хэшере с ключом --no-contents-indices, чтобы > по contents_index_* не появилась автоматическая зависимость на > tetex-core. Все предоставляемые tetex-core (и требуемые) файлы > есть и у меня, но в других texlive-* пакетах. Надо рассмотреть конкретные зависимости. [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [devel] конфликт tetex и texlive 2008-11-26 6:46 ` Alexey Tourbin @ 2008-11-26 13:56 ` Grigory Batalov 2008-11-26 16:28 ` Alexey Tourbin 0 siblings, 1 reply; 9+ messages in thread From: Grigory Batalov @ 2008-11-26 13:56 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 620 bytes --] On Wed, 26 Nov 2008 09:46:11 +0300 Alexey Tourbin wrote: > > Я собираю texlive в хэшере с ключом --no-contents-indices, чтобы > > по contents_index_* не появилась автоматическая зависимость на > > tetex-core. Все предоставляемые tetex-core (и требуемые) файлы > > есть и у меня, но в других texlive-* пакетах. > > Надо рассмотреть конкретные зависимости. > Например, "rpm -q --requires tetexlive-base-bin" говорит: ... /usr/bin/otp2ocp /usr/bin/pltotf /usr/bin/vptovf ... Недавно мне казалось, что такие зависимости превращаются в tetex-core, однако, после сегодняшней пересборки не превратились, так что уже не знаю. [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [devel] конфликт tetex и texlive 2008-11-26 13:56 ` Grigory Batalov @ 2008-11-26 16:28 ` Alexey Tourbin 2008-11-28 11:59 ` Grigory Batalov 0 siblings, 1 reply; 9+ messages in thread From: Alexey Tourbin @ 2008-11-26 16:28 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 808 bytes --] On Wed, Nov 26, 2008 at 04:56:25PM +0300, Grigory Batalov wrote: > > > Я собираю texlive в хэшере с ключом --no-contents-indices, чтобы > > > по contents_index_* не появилась автоматическая зависимость на > > > tetex-core. Все предоставляемые tetex-core (и требуемые) файлы > > > есть и у меня, но в других texlive-* пакетах. > > > > Надо рассмотреть конкретные зависимости. > > Например, "rpm -q --requires tetexlive-base-bin" говорит: > ... > /usr/bin/otp2ocp > /usr/bin/pltotf > /usr/bin/vptovf > ... > Недавно мне казалось, что такие зависимости превращаются в tetex-core, > однако, после сегодняшней пересборки не превратились, так что уже не знаю. Там нетривиальная логика порождения зависимостей -- см. /usr/lib/rpm/find-package, а также отладочный вывод "rpm -bl -vv" в хешере. [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [devel] конфликт tetex и texlive 2008-11-26 16:28 ` Alexey Tourbin @ 2008-11-28 11:59 ` Grigory Batalov 2008-11-28 12:55 ` Alexey Tourbin 0 siblings, 1 reply; 9+ messages in thread From: Grigory Batalov @ 2008-11-28 11:59 UTC (permalink / raw) To: ALT Linux Team development discussions On Wed, Nov 26, 2008 at 07:28:29PM +0300, Alexey Tourbin wrote: > > > > Я собираю texlive в хэшере с ключом --no-contents-indices, чтобы > > > > по contents_index_* не появилась автоматическая зависимость на > > > > tetex-core. Все предоставляемые tetex-core (и требуемые) файлы > > > > есть и у меня, но в других texlive-* пакетах. > > > > > > Надо рассмотреть конкретные зависимости. > > > > /usr/bin/vptovf > > ... > > Недавно мне казалось, что такие зависимости превращаются в tetex-core, > > однако, после сегодняшней пересборки не превратились, так что уже не знаю. > > Там нетривиальная логика порождения зависимостей -- см. > /usr/lib/rpm/find-package, а также отладочный вывод "rpm -bl -vv" > в хешере. Ладно, возьмём другой пример. Пакет texlive-lang-cyrillic: shell.req: /usr/src/tmp/texlive-lang-buildroot/usr/share/texmf-dist/tex/plain/cyrplain/makefmts.sh: pdftex -> /usr/bin/pdftex -> tetex-core (via contents_index_bin) shell.req: /usr/src/tmp/texlive-lang-buildroot/usr/share/texmf-dist/tex/plain/cyrplain/makefmts.sh: tex -> /usr/bin/tex -> tetex-core (via contents_index_bin) /usr/bin/pdftex и /usr/bin/tex есть в пакете texlive-base-bin, на момент сборки он лежал в локальном хэшере. Допустим, я захочу выложить свои пакеты в Сизиф. Для начала нужно обновить contents_index_* ? Кажется, из него удаляются файлы, предоставляемые несколькими пакетами. Если я выложу сначала texlive-base-bin, достаточно ли будет дождаться, пока он появится на ftp? Отдельный вопрос, как не помешать пользователям tetex =). Не хотелось бы, чтобы при очередном обновлении они установили половину пакетов от tetex, а вторую - от texlive. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [devel] конфликт tetex и texlive 2008-11-28 11:59 ` Grigory Batalov @ 2008-11-28 12:55 ` Alexey Tourbin 0 siblings, 0 replies; 9+ messages in thread From: Alexey Tourbin @ 2008-11-28 12:55 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 2484 bytes --] On Fri, Nov 28, 2008 at 02:59:08PM +0300, Grigory Batalov wrote: > On Wed, Nov 26, 2008 at 07:28:29PM +0300, Alexey Tourbin wrote: > > > > > Я собираю texlive в хэшере с ключом --no-contents-indices, чтобы > > > > > по contents_index_* не появилась автоматическая зависимость на > > > > > tetex-core. Все предоставляемые tetex-core (и требуемые) файлы > > > > > есть и у меня, но в других texlive-* пакетах. > > > > > > > > Надо рассмотреть конкретные зависимости. > > > > > > /usr/bin/vptovf > > > ... > > > Недавно мне казалось, что такие зависимости превращаются в tetex-core, > > > однако, после сегодняшней пересборки не превратились, так что уже не знаю. > > > > Там нетривиальная логика порождения зависимостей -- см. > > /usr/lib/rpm/find-package, а также отладочный вывод "rpm -bl -vv" > > в хешере. > > Ладно, возьмём другой пример. Пакет texlive-lang-cyrillic: > > shell.req: /usr/src/tmp/texlive-lang-buildroot/usr/share/texmf-dist/tex/plain/cyrplain/makefmts.sh: pdftex -> /usr/bin/pdftex -> tetex-core (via contents_index_bin) > shell.req: /usr/src/tmp/texlive-lang-buildroot/usr/share/texmf-dist/tex/plain/cyrplain/makefmts.sh: tex -> /usr/bin/tex -> tetex-core (via contents_index_bin) > > /usr/bin/pdftex и /usr/bin/tex есть в пакете texlive-base-bin, на момент > сборки он лежал в локальном хэшере. Содержимое локального хешера здесь не учитывается. Это прокол в нашей технологии сборки. Когда в сизиф придёт новый апт, то это будет такое чудное знамение, что прокол вскоре после этого будет ликвидирован. Примета времени. Короче, сейчас проще всего отправить texlive-base-bin в сизиф. Тогда будет - pdftex -> /usr/bin/pdftex -> tetex-core + pdftex -> /usr/bin/pdftex -> /usr/bin/pdftex Если после этого убрать tetex-core, то станет - pdftex -> /usr/bin/pdftex -> /usr/bin/pdftex + pdftex -> /usr/bin/pdftex -> texlive-base-bin > Допустим, я захочу выложить свои пакеты в Сизиф. Для начала нужно > обновить contents_index_* ? Кажется, из него удаляются файлы, > предоставляемые несколькими пакетами. Не удаляются, а заменяются на соответствие вида '/path -> /path'. > Если я выложу сначала > texlive-base-bin, достаточно ли будет дождаться, пока он появится на ftp? Да. Тогда из-за дупа зависимость будет сам путь. > Отдельный вопрос, как не помешать пользователям tetex =). Не хотелось бы, > чтобы при очередном обновлении они установили половину пакетов от tetex, > а вторую - от texlive. [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-11-28 12:55 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-11-25 21:53 [devel] конфликт tetex и texlive Grigory Batalov 2008-11-25 22:06 ` Led 2008-11-25 22:07 ` Grigory Batalov 2008-11-25 22:12 ` Led 2008-11-26 6:46 ` Alexey Tourbin 2008-11-26 13:56 ` Grigory Batalov 2008-11-26 16:28 ` Alexey Tourbin 2008-11-28 11:59 ` Grigory Batalov 2008-11-28 12:55 ` Alexey Tourbin
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