'I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd'

David Wolfskill david at catwhisker.org
Mon Oct 27 01:15:15 UTC 2014


After migrating a machine from stable/9 @r272934 to stable/10
@r273272 last week (and installing misc/compat9x and re-installing
dns/bind99, since the machine is an authoritative nameserver), this
morning I updated the OS to stable/10 @r272934 (which was pretty
much a non-event).

I then decided to bid a fairly fond farewell to stable/9 and rebuild
all of the ports under stable/10; the ports tree is @r371498.

The system in question only gets ypdated weekly (vs., e.g., my laptop,
which is updated daily) -- and after updating the OS, it is my usual
practice to "refresh" the ports (that is, ensure that all installed
ports are up-to-date).  For the last several years, I have been using
portmaster to do this, as I want the installed ports to reflect my local
private mirror of the FreeBSD SVN ports repository (which is updated
every night) -- and I don't have the time to rebuild all installed ports
every week (let alone every day, for my laptop).

The machine runs an X11 server (and has done so for ... years).  Because
I had problems some time ago with hal & dbus, I have a stanza in xorg.conf:

Section "ServerFlags"
        Option      "AutoAddDevices" "False"
EndSection

and while hal and dbus get built and installed as dependencies of
xorg, I don't enable them, so they don't run.  My feelings would
not be hurt if I never saw either of them again.

This ... exacerbates ... my annoyance that in the attempt to build ports
I actually want to use, dbus gets dragged in, and then fails to build:

...
===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/dbus-glib from ports
===>>> Launching child to install devel/dbus

===>>> x11-drivers/xf86-video-intel 1/31 >> x11-servers/xorg-server >> sysutils/hal >> sysutils/consolekit >> devel/dbus-glib >> devel/dbus (5/129)

===>>> Port directory: /usr/ports/devel/dbus

===>>> Starting check for build dependencies
===>>> Gathering dependency list for devel/dbus from ports
===>>> Dependency check complete for devel/dbus

===>>> x11-drivers/xf86-video-intel 1/31 >> x11-servers/xorg-server >> sysutils/hal >> sysutils/consolekit >> devel/dbus-glib >> devel/dbus (5/129)

===>  Cleaning for dbus-1.8.8
...
Bus.TestSuiteNoService.service
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

                    D-Bus 1.8.8
                  ==============

        prefix:                   /usr/local
        exec_prefix:              ${prefix}
        libdir:                   /usr/local/lib
        libexecdir:               /usr/local/libexec
        bindir:                   /usr/local/bin
        sysconfdir:               /usr/local/etc
        localstatedir:            /var
        datadir:                  /usr/local/share
        source code location:     .
        compiler:                 cc
        cflags:                    -Wall -Wextra -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wno-address -Wfloat-equal -Wdeclaration-after-statement -Wno-unused-label -Wno-missing-field-initializers -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign -Wno-type-limits -fno-common -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing
        cppflags:                 -I/usr/local/include
        cxxflags:                 -O2 -pipe -fno-strict-aliasing 
        64-bit int:               long long
        32-bit int:               int
        16-bit int:               short
        Doxygen:                  no
        xmlto:                    /usr/local/bin/xmlto

        Rebuilding generated files: yes
        gcc coverage profiling:   no
        Building embedded tests:  no
        Building modular tests:   auto
            - with GLib:          yes
            - with dbus-glib:     no
        Building verbose mode:    no
        Building assertions:      no
        Building checks:          yes
        Building bus stats API:   no
        Building SELinux support: no
        Building inotify support: no
        Building kqueue support:  yes
        Building systemd support: no
        Building X11 code:        yes
        Building Doxygen docs:    no
        Building XML docs:        yes
        Building launchd support: no
        Init scripts style:       none
        Abstract socket names:    no
        System bus socket:        /var/run/dbus/system_bus_socket
        System bus address:       unix:path=/var/run/dbus/system_bus_socket
        System bus PID file:      /var/run/dbus/dbus.pid
        Session bus listens on:   unix:tmpdir=/tmp
        Session clients connect to: autolaunch:
        Console auth dir:         /var/run/console/
        Console owner file:       no
        Console owner file path:  
        System bus user:          messagebus
        Session bus services dir: /usr/local/share/dbus-1/services
        'make check' socket dir:  /tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work


===>  Building for dbus-1.8.8
gmake[2]: Entering directory '/tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8'
...
  CCLD     dbus-run-session
  CCLD     dbus-uuidgen
gmake[4]: Leaving directory '/tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8/tools'
Making all in doc
gmake[4]: Entering directory '/tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8/doc'
/usr/local/bin/xmlto man dbus-cleanup-sockets.1.xml
/usr/local/bin/xmlto man dbus-daemon.1.xml
xmlto: /tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8/doc/dbus-cleanup-sockets.1.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
Catalog error : Detected recursion in catalog (null)
Catalog error : Detected recursion in catalog (null)
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
/tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8/doc/dbus-cleanup-sockets.1.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
                   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
                                                                            ^
Catalog error : Detected recursion in catalog (null)
Catalog error : Detected recursion in catalog (null)
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
Document /tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8/doc/dbus-cleanup-sockets.1.xml does not validate
xmlto: /tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8/doc/dbus-daemon.1.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
Makefile:764: recipe for target 'dbus-cleanup-sockets.1' failed
gmake[4]: *** [dbus-cleanup-sockets.1] Error 13
gmake[4]: *** Waiting for unfinished jobs....
Catalog error : Detected recursion in catalog (null)
Catalog error : Detected recursion in catalog (null)
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
/tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8/doc/dbus-daemon.1.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
                   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
                                                                            ^
Catalog error : Detected recursion in catalog (null)
Catalog error : Detected recursion in catalog (null)
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
gmake[3]: Leaving directory '/tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8'
Makefile:523: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/tmp/.amd_mnt/howland/host/c/ports/devel/dbus/work/dbus-1.8.8'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /.amd_mnt/howland/host/c/ports/devel/dbus
*** Error code 1

Stop.
make: stopped in /.amd_mnt/howland/host/c/ports/devel/dbus

===>>> make build failed for devel/dbus
===>>> Aborting update

===>>> Update for devel/dbus failed
===>>> Aborting update

===>>> Update for devel/dbus-glib failed
===>>> Aborting update

===>>> Update for sysutils/consolekit failed
===>>> Aborting update

===>>> Update for sysutils/hal failed
===>>> Aborting update

===>>> Update for x11-servers/xorg-server failed
===>>> Aborting update

===>>> Update for x11-drivers/xf86-video-intel failed
===>>> Aborting update
....


So.  Message says:

I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd

If it's whining about inability to acquire
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd", I'm unclear on
just what the basis for that complaint is:

albert(10.1-P)[80] /usr/bin/time -p fetch 'http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd'
docbookx.dtd                                  100% of 5796  B 3494 kBps 00m00s
real 0.81
user 0.02
sys 0.05
albert(10.1-P)[81] echo $?
0
albert(10.1-P)[82] 

So apparently I don't know what is meant by "Attempt to load network
entity" in this context.

Thus, I have no clue what kind of evasive action would be appropriate.

Help...?

Thanks...

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20141026/7d1ae41e/attachment.sig>


More information about the freebsd-x11 mailing list