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

Allowing a FTBFS-free qhull package into testing



The qhull package currently FTBFS on hppa [1].  I investigated the issue
closely and found that the culprit is the eperl package [2] which hangs on
hppa.  It seems that problems with eperl started to happen after version
2.2.14-15.1+b1 was uploaded, which was built against perl 5.10 (according to
the Debian changelog, on May 2, 2008).  Indeed, version 2003.1-9 of qhull
built correctly [3] on penalosa on April 21, 2008, against eperl version
2.2.14-15.1.

I prepared a new package for qhull that differs minimally from the version
currently in testing (2003.1-9) and would like to know whether it is
possible to upload it to testing-proposed-updates.  I did this because the
version currently in unstable (2003.1-10lenny1, this is a misnomer, sorry)
has extra changes from 2003.1-9.

Anyway, the debdiff between 2003.1-9 and 2003.1-9lenny1 is attached below.
It is extremely thin, with the essential change being only one line in
debian/rules.  Sed is used instead of eperl for building the manpages
lacking upstream.  I put the package in a repository on people.d.o [4], for
your appreciation.

Please, consider allowing this version into testing-proposed-updates.

[1] http://buildd.debian.org/fetch.cgi?pkg=qhull&arch=hppa&ver=2003.1-10lenny1&stamp=1217730801&file=log&as=raw
[2] http://bugs.debian.org/eperl/494191
[3] http://buildd.debian.org/fetch.cgi?pkg=qhull;ver=2003.1-9;arch=hppa;stamp=1208763064
[4] http://people.debian.org/~rafael/qhull

Thanks,

-- 
Rafael
diff -u qhull-2003.1/debian/changelog qhull-2003.1/debian/changelog
--- qhull-2003.1/debian/changelog
+++ qhull-2003.1/debian/changelog
@@ -1,3 +1,17 @@
+qhull (2003.1-9lenny1) testing-proposed-updates; urgency=low
+
+  * debian/rules: Use sed instead of eperl to generate the man pages.
+    Eperl is buggy on hppa (see Bug#49419) and the package FTBFS there.
+  * debian/manpage.in: Adapt for using sed
+  * debian.control:
+    + Drop build-dependency on eperl
+    + Build-depends on docbook-xml.  This avoid timeouts due to the failed
+    attempt to load the external entity docbookx.dtd (needed for the
+    Debian-provided man pages) when network connection is not available.
+    + Bump Standards-Version to 3.8.0 (no changes needed)
+
+ -- Rafael Laboissiere <rafael@debian.org>  Thu, 07 Aug 2008 21:25:19 +0200
+
 qhull (2003.1-9) unstable; urgency=low
 
   * debian/manpage.in:
diff -u qhull-2003.1/debian/manpage.in qhull-2003.1/debian/manpage.in
--- qhull-2003.1/debian/manpage.in
+++ qhull-2003.1/debian/manpage.in
@@ -10,11 +10,11 @@
   <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
   <!ENTITY dhemail     "<email>rafael@debian.org</email>">
   <!ENTITY dhusername  "Rafael Laboissiere">
-  <!ENTITY dhucpackage "<refentrytitle><:=$command:></refentrytitle>">
-  <!ENTITY dhpackage   "<:=$command:>">
+  <!ENTITY dhucpackage "<refentrytitle>#command#</refentrytitle>">
+  <!ENTITY dhpackage   "#command#">
 
   <!ENTITY debian      "<productname>Debian</productname>">
-  <!ENTITY docfile     "/usr/share/doc/libqhull-dev/html/<:=$command:>.htm">
+  <!ENTITY docfile     "/usr/share/doc/libqhull-dev/html/#command#.htm">
 ]>
 
 <!-- Template manual page for the Qhull commands, DocBook source file
@@ -45,7 +45,7 @@
   <refnamediv>
     <refname>&dhpackage;</refname>
 
-    <refpurpose><:=$purpose:></refpurpose>
+    <refpurpose>#purpose#</refpurpose>
   </refnamediv>
   <refsynopsisdiv>
     <cmdsynopsis>
diff -u qhull-2003.1/debian/rules qhull-2003.1/debian/rules
--- qhull-2003.1/debian/rules
+++ qhull-2003.1/debian/rules
@@ -24,7 +24,7 @@
 	      comm=`echo  $$info | cut -d: -f1` ;			\
 	      purp=`echo  $$info | cut -d: -f2` ;			\
 	      echo -n Building man page for $$comm... ;			\
-	      eperl -d command=$$comm -d purpose="$$purp"		\
+	      sed "s/#command#/$$comm/;s/#purpose#/$$purp/"		\
 	          manpage.in > $$comm.xml ;				\
 	      docbook2x-man $$comm.xml ;				\
 	      echo " done" ;						\
diff -u qhull-2003.1/debian/control qhull-2003.1/debian/control
--- qhull-2003.1/debian/control
+++ qhull-2003.1/debian/control
@@ -3,9 +3,9 @@
 Priority: optional
 Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel@lists.alioth.debian.org>
 Uploaders: Rafael Laboissiere <rafael@debian.org>
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 Build-Depends: debhelper (>= 5), docbook2x (>= 0.8.8-3), xsltproc,
- eperl, cdbs, quilt
+ docbook-xml, cdbs, quilt
 Homepage: http://www.qhull.org
 Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/qhull/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/qhull/

Reply to: