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

Re: Need help with Bug#217974: ttt_1.7-1(ia64/unstable): FTBFS: config.guess out of date (at least)



On Tue, Nov 04, 2003 at 07:41:31AM +0100, Thomas Scheffczyk wrote:
> Hello,
> 
> as a new (unexperienced) maintainer I need help with this error of the 
> ttt package:
> 
> >creating cache ./config.cache
> >checking host system type... Invalid configuration `ia64-linux': machine 
> >`ia64' not recognized
> >
> >checking target system type... Invalid configuration `ia64-linux': machine 
> >`ia64' not recognized
> >
> >checking build system type... Invalid configuration `ia64-linux': machine 
> >`ia64' not recognized
> 
> 
> I checked the file 'config.guess'. 'ia64' is defined and should be 
> recognized. Without access to a computer of this architecture I don't 
> know how to handle this error. Perhaps anybody of you can give me a clue.
> 

Add to your debian/rules file this target, and add a dipendency to autotools
to clean target.
Don't forget to add autotools to PHONY, and add debscripts and autotools-dev
to build deps.

# The autotools target adds forced build-time dependencies on
# autotools-dev (for /usr/share/misc/config.*) and debscripts (for dch)
# It's also a .PHONY make target.
autotools:
	OLDDATESUB=`./config.sub -t | tr -d -` ;\
	OLDDATEGUESS=`./config.guess -t | tr -d -` ;\
	NEWDATESUB=`/usr/share/misc/config.sub -t | tr -d -` ;\
	NEWDATEGUESS=`/usr/share/misc/config.guess -t | tr -d -` ;\
	if [ $$OLDDATESUB -lt $$NEWDATESUB -o \
	     $$OLDDATEGUESS -lt $$NEWDATEGUESS ]; then \
	   dch -a -p "GNU config automated update: config.sub\
	     ($$OLDDATESUB to $$NEWDATESUB), config.guess\
	     ($$OLDDATEGUESS to $$NEWDATEGUESS)" ;\
	   cp -f /usr/share/misc/config.sub config.sub ;\
	   cp -f /usr/share/misc/config.guess config.guess ;\
	   echo WARNING: GNU config scripts updated from master copies 1>&2 ;\
	fi


Bye

-- 
---------------------------------------------------------------------
|    Marco Nenciarini    | Debian/GNU Linux Developer - Plug Member |
| mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia       |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4

Attachment: pgpnEnAPQJic4.pgp
Description: PGP signature


Reply to: