Opened 5 months ago
Closed 5 months ago
#20565 closed enhancement (fixed)
Linux-PAM-1.7.0
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 12.3 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New minor version.
Change History (9)
comment:1 by , 5 months ago
comment:2 by , 5 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 5 months ago
Most configure options are unneeded with meson. It seems only --prefix, --buildtype, and -D docdir are needed.
Maybe we can add docbook-xsl-ns to generate the doc. Several other BLFS packages already need it for doc anyway.
comment:4 by , 5 months ago
The docs are a problem unless upstream releases a tarball for them. They are using docbook-5.0 and I haven't been able to generate the docs yet.
follow-up: 6 comment:5 by , 5 months ago
docbook-xml-5.0 is intended to be used with docbook-xsl-ns. I don't think it makes too much sense to keep the former in the book w/o adding the latter.
comment:6 by , 5 months ago
Replying to Xi Ruoyao:
docbook-xml-5.0 is intended to be used with docbook-xsl-ns. I don't think it makes too much sense to keep the former in the book w/o adding the latter.
That's a good point. My memory is hazy, but I think the non-ns version is needed for us to build the books with docbook-xml-4.5.
comment:7 by , 5 months ago
I will add that I tried to build the docs in a virgin LFS chroot yesterday with the docbook-xsl-ns package (from about 2018) but was unsuccessful. The error was
ERROR: Command `/usr/bin/xmlcatalog --noout /etc/xml/catalog http:// docbook.sourceforge.net/release/xsl-ns/current/html/chunk.xsl` failed with status 4.
I do have files in /usr/share/xml:
./docbook/xsl-stylesheets-1.79.2/xhtml/chunk.xsl ./docbook/xsl-stylesheets-1.79.2/xhtml5/chunk.xsl ./docbook/xsl-stylesheets-1.79.2/html/chunk.xsl ./docbook/xsl-stylesheets-1.79.2/epub3/chunk.xsl ./docbook/xsl-stylesheets-1.79.2/xhtml-1_1/chunk.xsl
But there must be something wrong with /etc/xml/catalog or /etc/xml/docbook-5.0.
If we can get the docs to build then we can create a tarball and put it on anduin.
comment:8 by , 5 months ago
I got the docs to work! In chroot I had to build:
/usr/src/icu/icu4c-74_2-src.tgz /usr/src/libxml2/libxml2-2.13.4.tar.xz /usr/src/libxslt/libxslt-1.1.41.tar.xz /usr/src/libevent/libevent-2.1.12-stable.tar.gz /usr/src/links/links-2.30.tar.bz2 I tried to symlink this to elinks, but that did not work. See below. /usr/src/unzip/unzip60.tar.gz /usr/src/docbook50/docbook-5.0.zip /usr/src/pam/Linux-PAM-1.7.0.tar.xz This was a failure, /usr/src/openjdk/OpenJDK-21.0.2+13-x86_64-bin.tar.xz /usr/src/pcre/pcre2-10.44.tar.bz2 /usr/src/python-modules/docutils-0.21.2.tar.gz /usr/src/glib/glib-2.82.2.tar.xz /usr/src/apache-ant/apache-ant-1.10.15-src.tar.xz /usr/src/which/which-2.21.tar.gz /usr/src/fop/fop-2.8-src.tar.gz One version out of date on purpose. /usr/src/docbook-xsl/docbook-xsl-1.79.2.tar.bz2 Note that this one is not in the book. /usr/src/lcms/lcms2-2.16.tar.gz /usr/src/w3m-v0.5.3+git20230121.tar.bz2 I used this instead of elinks. /usr/src/pam/Linux-PAM-1.7.0.tar.xz
The real key was to fix /etc/xml/catalog. Our configuration has:
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.79.2"/>
but I needed to change the /xsl/ to /xsl-ns/.
We don't really want to add w3m or elinks to the book so I'll bundle the man pages an upload them to anduin.
comment:9 by , 5 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Finally fixed at revision d1e1e4f420.
Noteworthy changes in Linux-PAM 1.7.0
Actually, the docs-tarball is not (yet?) available.