From: "Anton D. Kachalov" <mouse@altlinux.org> To: devel@altlinux.ru Subject: [devel] Что-то не то с docbook-dtds/sgml-common... Date: Sun, 3 Jul 2005 15:29:15 +0400 Message-ID: <20050703112915.GA7223@basalt.office.altlinux.org> (raw) [-- Attachment #1: Type: text/plain, Size: 2093 bytes --] Вот возникла (давно) проблема при сборке документации в libusb под x86_64. Кусок лога: <лог> make[2]: Entering directory `/usr/src/RPM/BUILD/libusb-0.1.8/doc' rm -rf html mkdir html jade -t sgml -d ./website.dsl\#html ./manual.sgml jade:./functions.sgml:9:30:E: character "_" is not allowed in the value of attri bute "ID" jade:./functions.sgml:26:30:E: character "_" is not allowed in the value of attr ibute "ID" <скип...бла-бла-бла> jade:./functions.sgml:151:30:E: character "_" is not allowed in the value of att ribute "ID" make[2]: *** [html/index.html] Error 1 </лог> Различия в содержимом /etc/sgml/* для i586/x86_64 в аттаче. Кусок post-скриптa в docbook-dtds: <кусь> UpdateCentralized() /usr/bin/xmlcatalog --sgml --noout --add \ /etc/sgml/sgml-docbook-$1.cat \ /usr/share/sgml/docbook/dtd/$1/catalog ||: /usr/bin/xmlcatalog --sgml --noout --add \ /etc/sgml/sgml-docbook-$1.cat \ /usr/share/sgml/sgml-iso-entities-8879.1986/catalog ||: </кусь> Если сравнить,например, /etc/sgml/sgml-docbook-4.3.cat для i586 и x86_64: <дифф> -CATALOG "/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" CATALOG "/usr/share/sgml/docbook/dtd/4.3/catalog" +CATALOG "/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" CATALOG "/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog" CATALOG "/usr/share/sgml/openjade-1.3.2/catalog" </дифф> Как видно, sgml-iso-entities-8879.1986 на x86_64 добавились после /usr/share/xml/docbook/dtd/4.3/catalog, как и прописано в функции пост-скрипта UpdateCentralized(). Кстати, в UpdateCentralizedXML добавляется %sgmlentitiesdir/catalog вместо %xmlentitiesdir/catalog -- это нормально? Я изменил последовательность добавления в каталог в функциях UpdateCentralized и UpdateCentralizedXML, но это не помогло, т.е.кто-то всё-таки меняет последовательность добавления. Но кто? install-catalog просто тупо добавляет то, что ему сказали ровно в той последовательности, в которой попросили. Больше всего непонятня разница в /etc/sgml/catalog -- там вообще почти всё разъехалось. Кто виноват? И как оно работает на i586? Rgds, Anton [-- Attachment #2: sgml.diff --] [-- Type: text/plain, Size: 2383 bytes --] diff -Naur sgml/catalog sgml.amd64/catalog --- sgml/catalog 2005-07-03 14:07:59 +0400 +++ sgml.amd64/catalog 2005-07-03 13:48:36 +0400 @@ -1,12 +1,12 @@ -CATALOG "/etc/sgml/sgml-docbook-4.1.cat" -CATALOG "/etc/sgml/sgml-docbook-3.1.cat" CATALOG "/etc/sgml/xml-docbook-4.3.cat" -CATALOG "/etc/sgml/xml-docbook-4.4.cat" CATALOG "/etc/sgml/sgml-docbook-3.0.cat" -CATALOG "/etc/sgml/sgml-docbook-4.0.cat" -CATALOG "/etc/sgml/sgml-docbook-4.2.cat" CATALOG "/etc/sgml/sgml-docbook-4.3.cat" +CATALOG "/etc/sgml/xml-docbook-4.2.cat" +CATALOG "/etc/sgml/sgml-docbook-4.2.cat" CATALOG "/etc/sgml/sgml-docbook-4.4.cat" +CATALOG "/etc/sgml/sgml-docbook-4.0.cat" +CATALOG "/etc/sgml/sgml-docbook-4.1.cat" +CATALOG "/etc/sgml/xml-docbook-4.4.cat" +CATALOG "/etc/sgml/sgml-docbook-3.1.cat" CATALOG "/etc/sgml/xml-docbook-4.1.2.cat" -CATALOG "/etc/sgml/xml-docbook-4.2.cat" CATALOG "/etc/sgml/dsssl-1.3.2.cat" diff -Naur sgml/sgml-docbook-3.1.cat sgml.amd64/sgml-docbook-3.1.cat --- sgml/sgml-docbook-3.1.cat 2005-07-03 14:07:59 +0400 +++ sgml.amd64/sgml-docbook-3.1.cat 2005-07-03 13:48:36 +0400 @@ -1,4 +1,4 @@ -CATALOG "/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" CATALOG "/usr/share/sgml/docbook/dtd/3.1/catalog" +CATALOG "/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" CATALOG "/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog" CATALOG "/usr/share/sgml/openjade-1.3.2/catalog" diff -Naur sgml/sgml-docbook-4.3.cat sgml.amd64/sgml-docbook-4.3.cat --- sgml/sgml-docbook-4.3.cat 2005-07-03 14:07:59 +0400 +++ sgml.amd64/sgml-docbook-4.3.cat 2005-07-03 13:48:36 +0400 @@ -1,4 +1,4 @@ -CATALOG "/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" CATALOG "/usr/share/sgml/docbook/dtd/4.3/catalog" +CATALOG "/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" CATALOG "/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog" CATALOG "/usr/share/sgml/openjade-1.3.2/catalog" diff -Naur sgml/xml-docbook-4.4.cat sgml.amd64/xml-docbook-4.4.cat --- sgml/xml-docbook-4.4.cat 2005-07-03 14:07:59 +0400 +++ sgml.amd64/xml-docbook-4.4.cat 2005-07-03 13:48:36 +0400 @@ -1,4 +1,4 @@ -CATALOG "/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" CATALOG "/usr/share/xml/docbook/dtd/4.4/catalog" +CATALOG "/usr/share/sgml/sgml-iso-entities-8879.1986/catalog" CATALOG "/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog" CATALOG "/usr/share/sgml/openjade-1.3.2/catalog"
next reply other threads:[~2005-07-03 11:29 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-07-03 11:29 Anton D. Kachalov [this message] 2005-07-03 20:43 ` Anton D. Kachalov 2005-07-05 10:15 ` Mikhail Zabaluev 2005-07-05 10:23 ` Anton D. Kachalov
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=20050703112915.GA7223@basalt.office.altlinux.org \ --to=mouse@altlinux.org \ --cc=devel@altlinux.ru \ /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