Hi On Wed, Nov 6, 2013 at 3:54 PM, Raphael Hertzog <hert...@debian.org> wrote:
> Hello, > > On Wed, 06 Nov 2013, Petr Vanek wrote: > > publican create --name New_Book > > > > No such file or directory at /usr/lib/perl5/XML/Parser/Expat.pm line 470. > > at line 123, column 0, byte 4432 > > Handler couldn't resolve external entity at line 123, column 0, byte 4432 > > error in processing external entity reference at line 123, column 0, > byte 4432 > > error in processing external entity reference at line 3, column 1, byte > 163 at /usr/lib/perl5/XML/Parser.pm line 187. > > I have the same error. Running with strace gives more clue: > > open("/usr/share/xml/docbook/schema/dtd/4.5/dbcentx.mod", O_RDONLY) = 7 > ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff1b1d5700) = -1 ENOTTY > (Inappropriate ioctl for device) > lseek(7, 0, SEEK_CUR) = 0 > fstat(7, {st_mode=S_IFREG|0644, st_size=11048, ...}) = 0 > fcntl(7, F_SETFD, FD_CLOEXEC) = 0 > read(7, "<!-- ..........................."..., 8192) = 8192 > read(7, "/xml-iso-entities-8879.1986/ISOg"..., 8192) = 2856 > read(7, "", 8192) = 0 > open("/usr/share/xml/docbook/schema/dtd/4.5//usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent", > O_RDONLY) = -1 ENOENT (No such file or directory) > [...] > > So the problem is actually that XML::Parser is trying to load > “/usr/share/xml/docbook/schema/dtd/4.5//usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent” > instead of “/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent”. > > Nice find. i have installed fresh debian in chroot now. testing (jessie) has the same version of publican and shows no issue. This confirms my tests today with downgrading the package - the problem is not with publican per se. So i upgaded the chroot instalation to debian unstable and the issue came up. Here is the list of upgraded packages, obviously one of these is causing the miss-configuration: at-spi2-core dbus dbus-x11 debconf debconf-i18n dpkg gvfs gvfs-daemons gvfs-libs hostname icedtea-7-jre-jamvm ifupdown init-system-helpers libatspi2.0-0 libboost-iostreams1.49.0 libboost-iostreams1.53.0 libboost-iostreams1.54.0 libdatetime-timezone-perl libdb5.1 libdbi-perl libdbus-1-3 libelf1 libfile-homedir-perl libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhtml-format-perl libllvm3.3 libpam-runtime libpango-1.0-0 libpango1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0 libpopt0 librsvg2-2 librsvg2-bin librsvg2-common libselinux1 libsepol1 libssl1.0.0 openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib openssl tar I am yet to test more. Petr