Bug#39227: arch-table issue
Hi,
the arch table issue us the longest out-standing bug against apt. The
discussion with Jason did not lead to a satisfying result on either side,
however, it is probably not necessary to revive it.
buildlib/archtable says:
# This file is mirrored from dpkg.
The CVS dpkg of today (and earlier) has a different setup which makes it
work with the Hurd. It looks like this:
i386-linux-gnu i386 i486
i386-gnu hurd-i386 undefined
The full file is attached.
It also uses a slightly different configure check, of course. Here it is:
dpkg_archset=''
AC_MSG_CHECKING(Debian architecture)
dpkg_archset="`awk '$1 == "'$target_cpu-$target_os'" { print $2 }' $srcdir/archtable`"
# Finish off
if test "x$dpkg_archset" = "x"; then
AC_MSG_RESULT([$target_cpu-$target_os, but not found in archtable])
dpkg_archset=$target_cpu-$target_os
else
AC_MSG_RESULT($dpkg_archset)
fi
AC_DEFINE_UNQUOTED(ARCHITECTURE, "${dpkg_archset}")
It would be nice if you could make these changes so apt will run on the Hurd
as well. An alternative solution is to set --with-arch=$(DEB_HOST_ARCH) in
debian/rules (see dpkg-architecture documentation). This is also very
acceptable (maybe the preferable solution even).
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
Marcus.Brinkmann@ruhr-uni-bochum.de, marcus@gnu.org PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ brinkmd@debian.org
Reply to: