Re: Current list of serious problems related to Hurd
[please cc when replying]
Wichert wrote:
"Previously Marcus Brinkmann wrote:
> * #68783: dpkg should call exec with full path in argv[0]
> STRATEGY: Includes a working patch which shows what has to be done.
> REASON: Prevents configuration of debconf, which a lot of packages depend
> on, screwing up even the most basic installations.
I still consider this a bug in HURD, but I'll add the workaround."
If you feel better about it use #ifdef __GNU__.
"> * #31620: dpkg: don't use hard coded ENOENT
> STRATEGY: Use Errno.pm ENOENT which is in perl-5.005-base.
> [See also fixed bug report #47204, but note that perl-5.6 gets it wrong
> again!!! I am reopening it and reassigning to perl-5.6-base.]
> REASON: We have thread based errno's, which are different (in the upper
> bits).
Is POSIX::ENOENT finally in perl-base now? I've seen 2 or 3 promised for
that to happen but never any action afaik."
It's as I wrote above. perl-5.005 has it, perl-5.6 had it not. The next
version of perl-5.6 should have it, I reminded Darren.
"> * #76941: dpkg: [hurd] configure gets the architecture wrong
> STRATEGY: Loosen pattern matching against archtable.
> REASON: Gnu config.guess is i386-gnu0.2, which doesn't match i386-gnu.
> This prevents any native build.
A quick peek in configure.in shows no pattern matching code at all.."
That's the problem. You use awk + "==" operator where you need pattern
matching. It's this patch from
http://lists.debian.org/debian-dpkg-0011/msg00017.html
I am talking about. It's the same situation on freebsd systems.
@@ -58,11 +82,11 @@
AC_PREFIX_DEFAULT(/usr)
dpkg_archset=''
AC_MSG_CHECKING(Debian architecture)
-dpkg_archset="`awk '$1 == "'$target_cpu-$target_os'" { print $2 }' $srcdir/archtable"
+dpkg_archset="`awk '$1 && index ("'$target_cpu-$target_os'",$1) == 1 { 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
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
Reply to: