Package: curl
Version: 7.13.2-1
Severity: important

This package currently fails to build from source on the hurd-i386
architecture. The build log is like this:

[...]
dh_installman
dh_installexamples
dh_installchangelogs CHANGES
dh_link
dh_strip --dbg-package=libcurl3
dh_compress
dh_fixperms
dh_makeshlibs -plibcurl3 -V "libcurl3 (>= 7.13.1-1)"
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: error: current build architecture hurd-i386 does not appear in
package's list (alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 
sparc)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1

This is very bad because there are around 40 packages that build-depend on
libcurl3-dev, so those may not be built on hurd-i386 either.

The debian/rules file tries to conditionalize the creation of the
libcurl3-gssapi package for hurd-i386 using these lines:

DO_GSSAPI=no
ifneq (${DEB_BUILD_ARCH},hurd-i386)
DO_GSSAPI=yes
endif

Unfortunately, dh_gencontrol tries to generate a control file for
every package, including libcurl3-gssapi, and it fails because of its
Architecture field.

Proposed patch:

diff -ru curl-7.13.2.orig/debian/rules curl-7.13.2/debian/rules
--- curl-7.13.2.orig/debian/rules       2005-04-09 21:22:56.000000000 +0200
+++ curl-7.13.2/debian/rules    2005-04-09 21:52:56.000000000 +0200
@@ -131,9 +131,15 @@
        dh_makeshlibs -plibcurl3 -V "libcurl3 (>= 7.13.1-1)"
        dh_installdeb
        dh_shlibdeps
-       dh_gencontrol
+       dh_gencontrol -pcurl -plibcurl3 -plibcurl3-dbg -plibcurl3-dev
+ifeq (${DO_GSSAPI},yes)
+       dh_gencontrol -plibcurl3-gssapi 
+endif
        dh_md5sums
-       dh_builddeb
+       dh_builddeb -pcurl -plibcurl3 -plibcurl3-dbg -plibcurl3-dev
+ifeq (${DO_GSSAPI},yes)
+       dh_builddeb -plibcurl3-gssapi
+endif
 
 binary: binary-indep binary-arch
 
Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to