Hi,

I'm trying to install libnotify but I was having trouble getting passed the
XML verification. It kept saying :

FAILED: docs/notification-spec.html
/usr/bin/xmlto xhtml-nochunks -m /tmp/libnotify-0.7.8/docs/config.xsl -o
docs ../docs/notification-spec.xml
xmlto: /tmp/libnotify-0.7.8/build/../docs/notification-spec.xml does not
validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/tmp/libnotify-0.7.8/build/../docs/notification-spec.xml:2: warning: failed
to load external entity "
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
cBook XML V4.1.2//EN" "
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";

When I went to that site I've noticed that it had an "https" instead of an
"http" in the beginning of the address. After changing each "http" to
"https" for the oasis-open.org sites in /etc/xml/{catalog,docbook} and
creating a simple patch, I was able to build without any errors. I couldn't
find any mention of it in the errata but perhaps I've missed something.

I've attached both the patch and the log files for reference.
libnotify- 0.7.8
6
mkdir: created directory '/tmp/libnotify-0.7.8'
libnotify-0.7.8/AUTHORS
libnotify-0.7.8/COPYING
libnotify-0.7.8/ChangeLog
libnotify-0.7.8/Makefile.am
libnotify-0.7.8/NEWS
libnotify-0.7.8/README
libnotify-0.7.8/SPECIFICATION
libnotify-0.7.8/autogen.sh
libnotify-0.7.8/config.h.meson
libnotify-0.7.8/configure.ac
libnotify-0.7.8/docs/
libnotify-0.7.8/docs/ChangeLog
libnotify-0.7.8/docs/Makefile.am
libnotify-0.7.8/docs/config.xsl
libnotify-0.7.8/docs/meson.build
libnotify-0.7.8/docs/notification-spec.xml
libnotify-0.7.8/docs/reference/
libnotify-0.7.8/docs/reference/Makefile.am
libnotify-0.7.8/docs/reference/libnotify-docs.sgml
libnotify-0.7.8/docs/reference/libnotify-overrides.txt
libnotify-0.7.8/docs/reference/libnotify-sections.txt
libnotify-0.7.8/docs/reference/libnotify.types
libnotify-0.7.8/docs/reference/meson.build
libnotify-0.7.8/docs/releases/
libnotify-0.7.8/docs/releases/notification-spec-0.3.xml
libnotify-0.7.8/docs/releases/notification-spec-0.4.xml
libnotify-0.7.8/docs/releases/notification-spec-0.6.xml
libnotify-0.7.8/docs/releases/notification-spec-0.7.xml
libnotify-0.7.8/docs/releases/notification-spec-0.9.xml
libnotify-0.7.8/docs/releases/notification-spec-1.0.xml
libnotify-0.7.8/git.mk
libnotify-0.7.8/libnotify/
libnotify-0.7.8/libnotify/Makefile.am
libnotify-0.7.8/libnotify/internal.h
libnotify-0.7.8/libnotify/libnotify.map
libnotify-0.7.8/libnotify/meson.build
libnotify-0.7.8/libnotify/notification.c
libnotify-0.7.8/libnotify/notification.h
libnotify-0.7.8/libnotify/notify-features.h.in
libnotify-0.7.8/libnotify/notify-marshal.list
libnotify-0.7.8/libnotify/notify.c
libnotify-0.7.8/libnotify/notify.h
libnotify-0.7.8/libnotify/notifynotification.xml
libnotify-0.7.8/libnotify.doap
libnotify-0.7.8/libnotify.pc.in
libnotify-0.7.8/meson.build
libnotify-0.7.8/meson_options.txt
libnotify-0.7.8/tests/
libnotify-0.7.8/tests/Makefile.am
libnotify-0.7.8/tests/applet-critical.png
libnotify-0.7.8/tests/dewdop_leaf.jpg
libnotify-0.7.8/tests/meson.build
libnotify-0.7.8/tests/test-action-icons.c
libnotify-0.7.8/tests/test-basic.c
libnotify-0.7.8/tests/test-default-action.c
libnotify-0.7.8/tests/test-error.c
libnotify-0.7.8/tests/test-gir.py
libnotify-0.7.8/tests/test-image.c
libnotify-0.7.8/tests/test-markup.c
libnotify-0.7.8/tests/test-multi-actions.c
libnotify-0.7.8/tests/test-persistence.c
libnotify-0.7.8/tests/test-removal.c
libnotify-0.7.8/tests/test-replace-widget.c
libnotify-0.7.8/tests/test-replace.c
libnotify-0.7.8/tests/test-resident.c
libnotify-0.7.8/tests/test-rtl.c
libnotify-0.7.8/tests/test-server-info.c
libnotify-0.7.8/tests/test-size-changes.c
libnotify-0.7.8/tests/test-transient.c
libnotify-0.7.8/tests/test-urgency.c
libnotify-0.7.8/tests/test-xy-actions.c
libnotify-0.7.8/tests/test-xy-stress.c
libnotify-0.7.8/tests/test-xy.c
libnotify-0.7.8/tools/
libnotify-0.7.8/tools/Makefile.am
libnotify-0.7.8/tools/meson.build
libnotify-0.7.8/tools/notify-send.c
The Meson build system
Version: 0.53.1
Source dir: /tmp/libnotify-0.7.8
Build dir: /tmp/libnotify-0.7.8/build
Build type: native build
Project name: libnotify
Project version: 0.7.8
C compiler for the host machine: cc (gcc 9.2.0 "cc (GCC) 9.2.0")
C linker for the host machine: cc GNU ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency gdk-pixbuf-2.0 found: YES 2.40.0
Run-time dependency glib-2.0 found: YES 2.62.4
Run-time dependency gio-2.0 found: YES 2.62.4
Run-time dependency gtk+-3.0 found: YES 3.24.13
Configuring config.h using configuration
Configuring notify-features.h using configuration
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Program xmlto found: YES (/usr/bin/xmlto)
Build targets in project: 31

Found ninja-1.10.0 at /usr/bin/ninja
[1/55] Generating notification-spec.html with a custom command.
FAILED: docs/notification-spec.html 
/usr/bin/xmlto xhtml-nochunks -m /tmp/libnotify-0.7.8/docs/config.xsl -o docs ../docs/notification-spec.xml
xmlto: /tmp/libnotify-0.7.8/build/../docs/notification-spec.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/tmp/libnotify-0.7.8/build/../docs/notification-spec.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
cBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
                                                                               ^
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
Document /tmp/libnotify-0.7.8/build/../docs/notification-spec.xml does not validate
[2/55] Generating notify-marshal_h with a custom command.
INFO: Reading ../libnotify/notify-marshal.list...
[3/55] Generating notify-marshal_c with a custom command.
INFO: Reading ../libnotify/notify-marshal.list...
[4/55] Generating notify-enum-types.h with a meson_exe.py custom command.
[5/55] Generating notify-enum-types.c with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
[1/52] Compiling C object 'libnotify/0f67df4@@notify@sha/meson-generated_.._notify-marshal.c.o'.
[2/52] Compiling C object 'libnotify/0f67df4@@notify@sha/meson-generated_.._notify-enum-types.c.o'.
[3/52] Compiling C object 'libnotify/0f67df4@@notify@sha/notify.c.o'.
[4/52] Compiling C object 'libnotify/0f67df4@@notify@sha/notification.c.o'.
[5/52] Generating notification-spec.html with a custom command.
FAILED: docs/notification-spec.html 
/usr/bin/xmlto xhtml-nochunks -m /tmp/libnotify-0.7.8/docs/config.xsl -o docs ../docs/notification-spec.xml
xmlto: /tmp/libnotify-0.7.8/build/../docs/notification-spec.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/tmp/libnotify-0.7.8/build/../docs/notification-spec.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
cBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
                                                                               ^
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";
Document /tmp/libnotify-0.7.8/build/../docs/notification-spec.xml does not validate
[6/52] Compiling C object 'tools/f9d35d4@@notify-send@exe/notify-send.c.o'.
[7/52] Linking target libnotify/libnotify.so.4.0.0.
[8/52] Compiling C object 'tests/59830eb@@test-replace@exe/test-replace.c.o'.
[9/52] Compiling C object 'tests/59830eb@@test-server-info@exe/test-server-info.c.o'.
[10/52] Compiling C object 'tests/59830eb@@test-replace-widget@exe/test-replace-widget.c.o'.
ninja: build stopped: subcommand failed.
No libraries to strip. Skipping.

Slackware package maker, version 3.141593.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/libnotify-0.7.8-x86_64-1bsr.tgz

./
usr/
usr/doc/
usr/doc/libnotify-0.7.8/
usr/doc/libnotify-0.7.8/NEWS
usr/doc/libnotify-0.7.8/libnotify.SlackBuild
usr/doc/libnotify-0.7.8/COPYING
usr/doc/libnotify-0.7.8/README
usr/doc/libnotify-0.7.8/ChangeLog
install/
install/slack-desc.libnotify
WARNING:  zero length file usr/doc/libnotify-0.7.8/README

Slackware package /tmp/libnotify-0.7.8-x86_64-1bsr.tgz created.

Verifying package libnotify-0.7.8-x86_64-1bsr.tgz.
Installing package libnotify-0.7.8-x86_64-1bsr.tgz:
PACKAGE DESCRIPTION:
Package libnotify-0.7.8-x86_64-1bsr.tgz installed.


real	0m2.050s
user	0m3.354s
sys	0m0.588s
--- docs/notification-spec.xml.old	2020-05-02 17:37:46.898445395 +0000
+++ docs/notification-spec.xml	2020-05-02 17:38:03.104445876 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "https://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";>
 <article id="index">
  <articleinfo>
   <title>Desktop Notifications Specification</title>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to