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

Bug#45599: dpkg: Fails to compile on Alpha



On Mon, 20 Sep 1999, Christopher C Chimelis wrote:

> 
> On 20 Sep 1999, John Goerzen wrote:
> 
> > Package: dpkg
> > Version: 1.4.1.9
> > Severity: important
> > 
> > This package refuses to build on Alpha.  The error message is:
> > 
> > checking system architecture... configure: error: failed: use --with-arch= or --target=
> > make: *** [/home/buildd/build/dpkg-1.4.1.9/debian/build/config.status] Error 1
> 
> Just an addendum to this, John and I know how to work around this, but I
> can submit a patch if needed to eliminate this.  It only happens when
> using an Alpha that isn't older.  For instance, running config.guess on my
> Alpha (164SX) returns alphapca56-unknown-linux-gnu.  The quick fix while
> compiling things is to add --host=alpha-debian-linux-gnu to the configure
> line in rules, but it's much better to change the config.sub to recognise
> "alpha*" rather than just "alpha" (or just add a few machine type names to
> it).
> 
> Again, if you'd like, I can submit a patch for this.  I'll work on
> generating one right now just in case...

I've done the patch.  It's a simple one to archtable that adds all
of the known Alphas to it.  This should also close the weird bug
that a previous alpha user had with dpkg printing the actual machine 
type rather than just "alpha".  Here's the patch:

diff -ruN dpkg-1.4.1.9/archtable dpkg-patched/archtable
--- dpkg-1.4.1.9/archtable	Sun Nov  1 11:01:27 1998
+++ dpkg-patched/archtable	Mon Sep 20 16:03:37 1999
@@ -20,6 +20,11 @@
 pentium	i386	i486
 sparc	sparc	sparc
 alpha	alpha	alpha
+alphaev4	alpha	alpha
+alphaev5	alpha	alpha
+alphaev56	alpha	alpha
+alphaev6	alpha	alpha
+alphapca56	alpha	alpha
 m68k	m68k	m68k
 arm	arm	arm
 ppc	powerpc	powerpc



Reply to: