[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Build of the d-i manual [ Re: Release in a few days hopefully ]



Hi,

Samuel Thibault <sthibault@debian.org> wrote:
> Cyril Brulebois, le Tue 30 Dec 2014 21:57:40 +0100, a écrit :
> > Samuel Thibault <sthibault@debian.org> (2014-12-30):
> > > Cyril Brulebois, le Tue 30 Dec 2014 14:24:39 +0100, a écrit :
> > > > Building the manual on dillon with the relevant command in the crontab
> > > > still explodes with:
> > > > | d-i@dillon:~$ cd $DI/manual && svn -q up ; cd build && destination=/srv/d-i.debian.org/www/manual ./build.sh >/dev/null ; ~/bin/push-www
> > > > | Entity: line 2: parser error : Detected an entity reference loop
> > > > | <ulink url="&downloadable-file;images/orion5x/network-console/buffalo/kuroboxpro

I have found this:

The build of the d-i manual also fails on my machine here.
The line which is criticized

<ulink url="&downloadable-file;images/orion5x/network-console/buffalo/kuroboxpro

contains the entity &downloadable-file; which is in the end a chain of several 
entities:

&downloadable-file;  is  "&url-debian-installer;"
&url-debian-installer;  is  "&disturl;main/installer-&architecture;/current/"
&disturl;  is  "&url-archive;debian/dists/&releasename;/"
&url-archive;  is  "http://&archive-mirror;/";
&archive-mirror;  is  "http.us.debian.org"

If I ommit one entity level of those (no matter which one ! ) the build is 
successful again, without any warnings or errors !!!
So my best guess would be that a new version of some tool, which is used for
building the manual (don't know which one exactly), has introduced a check
for the depth of such entity chains and fails if the structure is 5 levels 
deep or more.
This would also explain, why I am also unable to build the d-i manual from 
March 2013 for example (roughly the revision which was used for the release 
of Wheezy). At release time of Wheezy the build had definitely no errors.

Anyway, applying the following patch would result in a successful build again
while leaving the output content unchanged.


Have a Happy New Year
Holger




Index: urls.ent
===================================================================
--- urls.ent	(Revision 69542)
+++ urls.ent	(Arbeitskopie)
@@ -18,7 +18,7 @@
 <!ENTITY url-debian-ftp "ftp://&ftp-debian-org;/";>
 <!-- Use http.us.debian.org as ftp.debian.org does not have all arches -->
 <!ENTITY archive-mirror "http.us.debian.org">
-<!ENTITY url-archive "http://&archive-mirror;/";>
+<!ENTITY url-archive "http://http.us.debian.org/";>
 
 <!ENTITY url-d-i "http://&www-debian-org;/devel/debian-installer/";>
 <!ENTITY url-d-i-wiki "http://&wiki-debian-org;/DebianInstaller/";>



-- 
============================================================
Created with Sylpheed 3.2.0 under
	D E B I A N   L I N U X   7 . 0   W H E E Z Y !

Registered Linux User #311290 - https://linuxcounter.net/
============================================================


Reply to: