mate-desktop / mate-session-manager

MATE session manager
https://mate-desktop.org
GNU General Public License v2.0
28 stars 35 forks source link

Dbus documentation error at build (tries to load from www), build finishes OK #176

Open lukefromdc opened 5 years ago

lukefromdc commented 5 years ago

Expected behaviour

Build completes with no errors reported in dbus and no attempt to download anything from the web

Actual behaviour

Build completes successfully, but this error in /doc/dbus is shown, looks like the build system expects to find something that would have to be downloaded from the web due to the "www" reference. This is documentation so should not affect the binaries at all:


Making all in dbus
make[3]: Entering directory '/home/luke/Desktop/Development/MATE_Development_Work/mate-session-manager_1.21.0+git20181211/doc/dbus'
  GEN      org.gnome.SessionManager.ref.xml
  GEN      org.gnome.SessionManager.Client.ref.xml
  GEN      org.gnome.SessionManager.ClientPrivate.ref.xml
  GEN      org.gnome.SessionManager.Inhibitor.ref.xml
  GEN      org.gnome.SessionManager.Presence.ref.xml
error : Unknown IO error
../../mate-session/org.gnome.SessionManager.Presence.xml:2: warning: failed to load external entity "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
spection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
                                                                               ^
error : Unknown IO error
../../mate-session/org.gnome.SessionManager.Client.xml:2: warning: failed to load external entity "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
spection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
                                                                               ^
error : Unknown IO error
../../mate-session/org.gnome.SessionManager.Inhibitor.xml:2: warning: failed to load external entity "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
spection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
                                                                               ^
error : Unknown IO error
../../mate-session/org.gnome.SessionManager.xml:2: warning: failed to load external entity "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
spection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
                                                                               ^
error : Unknown IO error
../../mate-session/org.gnome.SessionManager.ClientPrivate.xml:2: warning: failed to load external entity "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
spection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"

Steps to reproduce the behaviour

build mate-session-manager from git master after the "migrate from dbus-glib to gdbus" commits (not sure which one) did not notice if similar issues existed before

Build options used (these are my boilerplate plus the --enable-systemd): ./autogen.sh --prefix=/usr libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --enable-shared=yes --disable-maintainer-mode --disable-schemas-compile --enable-systemd

MATE general version

1.21 from git master

Package version

local build of mate-session-manager 1.21.0 from git master pulled 12-11-2018

Linux Distribution

Debian Unstable with local builds of GTK 3.24.1 and glib 2.58.1

Link to downstream report of your Distribution

None as this is a local build

yetist commented 4 years ago

@lukefromdc

I think you should report this bug to freedesktop, after they use gitlab, the url show 404.

rbuj commented 4 years ago

@lukefromdc You should have a local copy of introspect.dtd on your system. This file is provided by dbus-devel package on Fedora.

$ rpm -qf /usr/share/xml/dbus-1/introspect.dtd
dbus-devel-1.12.16-5.fc33.x86_64
lukefromdc commented 4 years ago

file /usr/share/xml/dbus-1/introspect.dtd exists on my Debian system, yet I still get this non-fatal error, with build finishing

Build options are

./autogen.sh --prefix=/usr libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --enable-shared=yes --enable-static=no --disable-maintainer-mode --disable-schemas-compile

(code and other editor options not being displayed today for some reason)