You are not logged in.

#1 2014-02-06 22:37:27

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[solved] a2x man page error when building compton-git

Hello there,

I face a strange issue related to the man pages when building compton-git.

The build error is as follows:

==> Starting build()...
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall   -I/usr/include/libdrm  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -c src/compton.c
In file included from src/compton.c:11:0:
src/compton.h: In function ‘set_tgt_clip’:
src/compton.h:687:3: warning: enumeration value ‘NUM_BKEND’ not handled in switch [-Wswitch]
   switch (ps->o.backend) {
   ^
src/compton.c: In function ‘win_paint_win’:
src/compton.c:1645:5: warning: enumeration value ‘NUM_BKEND’ not handled in switch [-Wswitch]
     switch (ps->o.backend) {
     ^
src/compton.c: In function ‘init_filters’:
src/compton.c:6247:5: warning: enumeration value ‘NUM_BKEND’ not handled in switch [-Wswitch]
     switch (ps->o.backend) {
     ^
src/compton.c: At top level:
src/compton.c:2571:1: warning: ‘win_upd_run’ defined but not used [-Wunused-function]
 win_upd_run(session_t *ps, win *w, win_upd_t *pupd) {
 ^
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall   -I/usr/include/libdrm  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -c src/opengl.c
src/opengl.c:1426:1: warning: ‘glx_render_color’ defined but not used [-Wunused-function]
 glx_render_color(session_t *ps, int dx, int dy, int width, int height, int z,
 ^
src/opengl.c:1464:1: warning: ‘glx_render_dots’ defined but not used [-Wunused-function]
 glx_render_dots(session_t *ps, int dx, int dy, int width, int height, int z,
 ^
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall   -I/usr/include/libdrm  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -c src/dbus.c
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall   -I/usr/include/libdrm  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -c src/c2.c
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -o compton compton.o opengl.o dbus.o c2.o -lGL -lm -lrt -lpcre -lXcomposite -lXdamage -lXfixes -lXrender -lX11 -lXext -lXrandr -lXinerama -lconfig -ldbus-1 
a2x --format manpage man/compton.1.asciidoc
a2x: ERROR: "xmllint" --nonet --noout --valid "/home/orschiro/compton-git/compton-git/src/compton/man/compton.1.xml" returned non-zero exit status 4
Makefile:121: recipe for target 'man/compton.1' failed
make: *** [man/compton.1] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

I never faced a man page issue when building a package. Does anyone have an idea what is causing the issue?

Thanks!

Last edited by orschiro (2014-02-07 15:19:17)

Offline

#2 2014-02-06 22:44:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] a2x man page error when building compton-git

Have you read the latest comments on https://aur.archlinux.org/packages/compton-git/ ? I think WorMzy is asking if you have all the prerequisites installed.

Offline

#3 2014-02-06 22:48:30

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] a2x man page error when building compton-git

@karol

Yes, I do:

libconfig 1.4.9-2
libdbus 1.8.0-1
mesa-libgl 10.0.3-1
libxcomposite 0.4.4-1
libxdamage 1.1.4-1
libxinerama 1.1.3-2
libxrandr 1.4.2-2
pcre 8.34-2

His last comment refers to another comment from another user which as been removed.

Offline

#4 2014-02-06 22:53:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] a2x man page error when building compton-git

orschiro wrote:

His last comment refers to another comment from another user which as been removed.

It does indeed look a little disjointed.

I've just installed compton-git on my 32-bit Arch w/o a problem:

==> Retrieving sources...
  -> Cloning compton git repo...
Cloning into bare repository '/home/karol/test/compton-git/compton'...
remote: Reusing existing pack: 1766, done.
remote: Counting objects: 72, done.
remote: Compressing objects: 100% (60/60), done.
remote: Total 1838 (delta 15), reused 57 (delta 8)
Receiving objects: 100% (1838/1838), 1.09 MiB | 622.00 KiB/s, done.
Resolving deltas: 100% (1001/1001), done.
Checking connectivity... done.
==> Validating source files with md5sums...
    compton ... Skipped
==> Extracting sources...
  -> Creating working copy of compton git repo...
Cloning into 'compton'...
done.
==> Starting pkgver()...
==> Starting build()...
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall   -I/usr/include/libdrm  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -c src/compton.c
In file included from src/compton.c:11:0:
src/compton.h: In function ‘set_tgt_clip’:
src/compton.h:687:3: warning: enumeration value ‘NUM_BKEND’ not handled in switch [-Wswitch]
   switch (ps->o.backend) {
   ^
src/compton.c: In function ‘win_paint_win’:
src/compton.c:1645:5: warning: enumeration value ‘NUM_BKEND’ not handled in switch [-Wswitch]
     switch (ps->o.backend) {
     ^
src/compton.c: In function ‘init_filters’:
src/compton.c:6247:5: warning: enumeration value ‘NUM_BKEND’ not handled in switch [-Wswitch]
     switch (ps->o.backend) {
     ^
src/compton.c: At top level:
src/compton.c:2571:1: warning: ‘win_upd_run’ defined but not used [-Wunused-function]
 win_upd_run(session_t *ps, win *w, win_upd_t *pupd) {
 ^
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall   -I/usr/include/libdrm  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -c src/opengl.c
src/opengl.c:1426:1: warning: ‘glx_render_color’ defined but not used [-Wunused-function]
 glx_render_color(session_t *ps, int dx, int dy, int width, int height, int z,
 ^
src/opengl.c:1464:1: warning: ‘glx_render_dots’ defined but not used [-Wunused-function]
 glx_render_dots(session_t *ps, int dx, int dy, int width, int height, int z,
 ^
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall   -I/usr/include/libdrm  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -c src/dbus.c
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall   -I/usr/include/libdrm  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -c src/c2.c
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG  -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-16-gaeda148-2014-01-21\"" -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -o compton compton.o opengl.o dbus.o c2.o -lGL -lm -lrt -lpcre -lXcomposite -lXdamage -lXfixes -lXrender -lX11 -lXext -lXrandr -lXinerama -lconfig -ldbus-1 
a2x --format manpage man/compton.1.asciidoc
a2x --format manpage man/compton-trans.1.asciidoc
asciidoc man/compton.1.asciidoc
asciidoc man/compton-trans.1.asciidoc
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "compton-git"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: compton-git 2014.01.21.gaeda148-1 (Thu Feb  6 23:52:04 CET 2014)
==> Installing package compton-git with pacman -U...
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1):

Name         New Version            Net Change

compton-git  2014.01.21.gaeda148-1    0.24 MiB

Total Installed Size:   0.24 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                  [###################################] 100%
(1/1) checking package integrity                                [###################################] 100%
(1/1) loading package files                                     [###################################] 100%
(1/1) checking for file conflicts                               [###################################] 100%
(1/1) checking available disk space                             [###################################] 100%
(1/1) installing compton-git                                    [###################################] 100%
Optional dependencies for compton-git
    xorg-xprop: for compton-trans [installed]
    xorg-xwininfo: for compton-trans

Last edited by karol (2014-02-06 22:54:17)

Offline

#5 2014-02-06 22:57:41

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] a2x man page error when building compton-git

Can you post the output of

type a2x

and

pacman -Qkk asciidoc
orschiro wrote:

His last comment refers to another comment from another user which as been removed.

Yeah, I'm gonna remove that, haha.

Last edited by WorMzy (2014-02-06 22:58:25)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2014-02-07 06:06:00

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] a2x man page error when building compton-git

@WorMzy

Thanks for supporting my issue here!

a2x is /usr/bin/a2x
pacman -Qkk asciidoc
asciidoc: 118 total files, 0 altered files

Can there be indeed some old leftover files (from my currently installed old version of compton) somewhere that hinder the building process?

pacman -Q compton 
compton 0.1_beta2-1

Last edited by orschiro (2014-02-07 06:09:10)

Offline

#7 2014-02-07 13:51:26

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] a2x man page error when building compton-git

That looks fine, how about:

type xmllint
pacman -Qkk libxml2

Posting the output from manually running a2x in verbose mode might help shed some light too:

a2x -v -v --format manpage /home/orschiro/compton-git/src/compton/man/compton.1.asciidoc

Can there be indeed some old leftover files (from my currently installed old version of compton) somewhere that hinder the building process?

I doubt it, I was confused why you were getting an error about xml files, when neither the raw source nor the post compilation source has any reference to xml files, so I thought you might be using some old source files which did have xml files. I've since looked at a2x and see that it creates the xml files itself, then converts them into manpages, then deletes the xml files.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2014-02-07 14:00:05

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] a2x man page error when building compton-git

xmllint is /usr/bin/xmllint
~ » pacman -Qkk libxml2                                               
libxml2: 353 total files, 0 altered files

Interesting, validation failed error:

~/compton-git/compton-git » a2x -v -v --format manpage /home/orschiro/compton-git/compton-git/src/compton/man/compton.1.asciidoc                                  
a2x: args: ['-v', '-v', '--format', 'manpage', '/home/orschiro/compton-git/compton-git/src/compton/man/compton.1.asciidoc']
a2x: resource files: []
a2x: resource directories: ['/etc/asciidoc/images', '/etc/asciidoc/stylesheets']
a2x: executing: "/usr/bin/asciidoc.py" --backend docbook -a "a2x-format=manpage"  --doctype manpage --verbose  --out-file "/home/orschiro/compton-git/compton-git/src/compton/man/compton.1.xml" "/home/orschiro/compton-git/compton-git/src/compton/man/compton.1.asciidoc"

asciidoc: reading: /etc/asciidoc/asciidoc.conf
asciidoc: reading: /home/orschiro/compton-git/compton-git/src/compton/man/compton.1.asciidoc
asciidoc: reading: /etc/asciidoc/docbook45.conf
asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf
asciidoc: reading: /etc/asciidoc/filters/source/source-highlight-filter.conf
asciidoc: reading: /etc/asciidoc/filters/code/code-filter.conf
asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-filter.conf
asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf
asciidoc: reading: /etc/asciidoc/lang-en.conf
asciidoc: writing: /home/orschiro/compton-git/compton-git/src/compton/man/compton.1.xml

a2x: executing: "xmllint" --nonet --noout --valid "/home/orschiro/compton-git/compton-git/src/compton/man/compton.1.xml"

I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
/home/orschiro/compton-git/compton-git/src/compton/man/compton.1.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
                                                                               ^
/home/orschiro/compton-git/compton-git/src/compton/man/compton.1.xml:5: validity error : Validation failed: no DTD found !
<refentry lang="en">
                   ^

a2x: ERROR: "xmllint" --nonet --noout --valid "/home/orschiro/compton-git/compton-git/src/compton/man/compton.1.xml" returned non-zero exit status 4

Offline

#9 2014-02-07 15:02:10

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] a2x man page error when building compton-git

How bizarre, --nonet should stop xmllint from trying to use remote dtd files. neutral

Can you post your /etc/xml/catalog as well as the permissions that it has.

You may also want to see if reinstalling docbook-xml fixes the problem.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2014-02-07 15:19:00

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] a2x man page error when building compton-git

Awesome!

Thanks a bunch WorMzy!

Reinstalling docbook-xml indeed fixed the issue. smile

Any ideas what went wrong with the package?

~ ❯ cat /etc/xml/catalog     
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.78.1" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.78.1"/>
  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.78.1" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.78.1"/>
  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.78.1"/>
  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.78.1"/>
  <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML" catalog="file:///etc/xml/docbook-xml"/>
  <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///etc/xml/docbook-xml"/>
  <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/" catalog="file:///etc/xml/docbook-xml"/>
  <delegateURI uriStartString="http://www.oasis-open.org/docbook/" catalog="file:///etc/xml/docbook-xml"/>
</catalog>
-rw-r--r-- 1 root root 1283 2014-02-07 16:15:27.928346112 +0100 /etc/xml/catalog

Offline

#11 2014-02-07 15:40:04

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] a2x man page error when building compton-git

Is that the catalog file from before or after you reinstalled docbook-xml? Because it looks okay to me.

Since /etc/xml/catalog isn't owned by any package (instead it gets generated/updated during the installation of packages that make use of it), I suspect a package just blindly overwrote it at some point, and you lost your docbook-xml entries.

Either that, or your /etc/xml/docbook-xml file got corrupted/modified and you lost the prefix rewrite statement that changes "http://www.oasis-open.org/docbook/xml/4.5" to "file:///usr/share/xml/docbook/xml-dtd-4.5".

Unfortunately the docbook-xml package pre-dates mtree files, so you wouldn't have been able to check it's integrity with pacman -Qkk. sad


Glad it's working now. smile


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#12 2014-02-07 15:46:28

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] a2x man page error when building compton-git

So indeed some other package must have changed the catalog file. The one above is the reinstalled one. Below the old one:

https://github.com/orschiro/etckeeper/tree/master/xml

Offline

#13 2014-02-07 16:02:52

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] a2x man page error when building compton-git

Those entries are added by docbook-xsl, but the install script checks for an existing catalog file first, and only creates a new one if one doesn't already exist.

The history of that file shows a lot of changes in the last few months. For example, the docbook-xml lines were there on Dec 23, 2013, then the docbook-xsl lines were gone on Dec 24, 2013, then the file was apparently deleted on Jan 11, 2014, then the file came back on Feb 04, 2014 with just the docbook-xsl lines. I don't know if you should be worried or not, but I'd keep an eye on it.

EDIT: I don't suppose you actively clean up any files not tracked by pacman, do you?

Last edited by WorMzy (2014-02-07 16:04:19)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#14 2014-02-07 16:09:11

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] a2x man page error when building compton-git

Your last EDIT applies. I carefully cleaned up files not tracked by pacman using lostfiles. In this case, /etc/xml/catalog should be a clear exception and not touched. Thanks for the advice!

Offline

#15 2014-02-07 16:18:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] a2x man page error when building compton-git

You might want to let graysky know that it should be treated as a false positive. As we've found, it can cause a lot of confusion if it's not there, or has been modified. smile


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#16 2014-02-07 16:26:46

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] a2x man page error when building compton-git

Offline

Board footer

Powered by FluxBB