Package: gaphor
Version: 0.12.4-2
Severity: serious
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy
Tags: patch

Gaphor 0.12.4-2 FTBFS in an up-to-date amd64 sid sbuild, although I'm
very happy to report it working properly when built.  Thank you very
much for the update.

Build output:
...
running clean
find gaphor utils -name \*.pyc -exec rm -f {} \;
rm -f gaphor.1
rm -fr build
rm -f ez_setup.pyc
dh_clean
 debian/rules build
xsltproc -''-nonet
/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
debian/gaphor.xml
make: xsltproc: Command not found
make: *** [gaphor.1] Error 127
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20080117-0823
FAILED [dpkg-buildpackage died]

The following patch to debian/control addresses this and a couple
follow-on errors:

diff -u gaphor-0.12.4/debian/control gaphor-0.12.4/debian/control
--- gaphor-0.12.4/debian/control
+++ gaphor-0.12.4/debian/control
@@ -3,9 +3,10
 Priority: optional
 Maintainer: Cédric Delfosse <[EMAIL PROTECTED]>
 Build-Depends: python, python-support (>= 0.6), debhelper (>= 5)
+Build-Depends-Indep:  python-setuptools, xsltproc, docbook-xsl
 Standards-Version: 3.7.3

 Package: gaphor
 Architecture: all

    Also, the package relies on access to the internet at build-time,
which may impact some autobuilders.  This can be resolved by adding
python-nose to Build-Depends-Indep: and applying the following patch
to setup.py.  Note that I haven't tested without the patch: it may be
the case that use_setuptools will automatically detect a sufficient
version of python-nose, and not attempt to download a newer version.

--- gaphor-0.12.4.orig/setup.py
+++ gaphor-0.12.4/setup.py
@@ -13,9 +13,9 @@
 import sys
 sys.path.insert(0, '.')

-from ez_setup import use_setuptools
+#from ez_setup import use_setuptools

-use_setuptools()
+#use_setuptools()

 from setuptools import setup, find_packages
 from distutils.cmd import Command

-- 
Emmet HIKORY

Reply via email to