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

Bug#219589: t1lib: FTBFS on s390

On Fri, Nov 07, 2003 at 03:28:12PM +0100, Artur R. Czechowski wrote:
> Package: t1lib
> Version: 1.3.1-4
> ./configure on s390 shows a warning:
> checking build system type... Invalid configuration `s390-linux': machine `s390' not recognized
> Files config.guess and config.sub in the package come from the latest
> autotools-dev package (20031007.1).

That is because your ./configure invokes config.{sub,guess} in the
ac-tools subdirectory instead of the ones that you /added/ in the
toplevel-dir. Probably dh-make stupidity.

Minimal change:
--- debian/rules
+++ debian/rules
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-        cp -f /usr/share/misc/config.sub config.sub
+        cp -f /usr/share/misc/config.sub ac-tools/config.sub
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-        cp -f /usr/share/misc/config.guess config.guess
+        cp -f /usr/share/misc/config.guess ac-tools/config.guess

However I think blindly copying is bad, check
 /usr/share/doc/autotools-dev/README.Debian.gz for better alternatives.
              cu andreas

Reply to: