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

Bug#445279: gcc-defaults: FTBFS on hurd-i386: libgcj-bc needs to be added to no_packages



Package: gcc-defaults
Version: 1.61
Severity: important
Tags: patch

Hi,

dh_builddeb expects libgcj-bc to be built as .deb, but it is excluded as
part of gcj/gij not yet being available on hurd-i386.  This leads to the
following error:

> dpkg-deb: building package `libgcj-common' in
> `../libgcj-common_4.2-20070303-3_hurd-i386.deb'.
> dpkg-deb: failed to open package info file
> `debian/libgcj-bc/DEBIAN/control' for reading: No such file or
> directory
> dh_builddeb: command returned error code 512
> make: *** [binary-arch] Error 1

The attached patch fixes this, but maybe libgcj-common shouldn't be
built either?  Though I guess it doesn't hurt much on the other hand.


thanks,

Michael
--- gcc-defaults-1.61/debian/rules      2007-09-02 22:46:50.430000000 +0000
+++ gcc-defaults-1.61+hurd.1/debian/rules       2007-10-04 10:00:10.140000000 +0000
@@ -186,7 +186,7 @@

 ifeq ($(DEB_HOST_ARCH),hurd-i386)
     OS_NAME    := Hurd
-    no_packages += gnat gcj gij
+    no_packages += gnat gcj gij libgcj-bc
 endif

 ifeq ($(DEB_HOST_ARCH),ia64)

Reply to: