Hi,

I experienced a problem while trying to cross-compile libpaper 1.1.14-5 for ARM.

There was a problem in the debian/rules files, with the usage of
DEB_HOST_GNU_TYPE variable.

A patch was provided in the bug-report #285426, but although this bug
was closed, the patched had not been applied :(

here is the patch provided in the bugreport

--- libpaper-1.1.14/debian/rules        2004-01-20 13:35:04.000000000 +0900
+++ libpaper-1.1.14/debian/rules        2004-12-13 15:30:00.000000000 +0900
@@ -15,9 +15,9 @@
        --sysconfdir=/etc \
        --mandir=$(share)/man \
        --infodir=$(share)/info \
-       --build $(DEB_HOST_GNU_TYPE)
+       --build=$(DEB_BUILD_GNU_TYPE)
 ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
-config_flags   += --host $(DEB_HOST_GNU_TYPE)
+config_flags   += --host=$(DEB_HOST_GNU_TYPE)
 endif

 cflags := -g -Wall


And here is the 'interesting' part of the debian/rules files in the
source package (from libpaper_1.1.14-5.tar.gz, got by apt-get source)

config_flags    := --prefix=/usr \
        --sysconfdir=/etc \
        --mandir=$(share)/man \
        --infodir=$(share)/info \
        --build=$(DEB_HOST_GNU_TYPE)
ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
config_flags    += --host=$(DEB_HOST_GNU_TYPE)
endif


We clearly see that the patch is not applied, and so the cross-compile
can't work.

Thanks by advance, and have a nice day.

--
Pierre-Francois HUGUES

Reply via email to