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

Re: dpkg 1.16.1 configure



Hi!

On Thu, 2011-09-29 at 08:54:53 +0200, Gabor Z. Papp wrote:
> * Neil Williams <codehelp@debian.org>:
> | [...] So it should be entirely possible to build dpkg
> | without having dpkg installed (it would make it impossible to
> | bootstrap new architectures otherwise).

Well not impossible, just slightly more complicated. But in any case,
yes that's something that should not be required.

> So, what is failing?
> 
> (cd $srcdir/scripts; PERL5LIB=$(pwd) $PERL dpkg-architecture.pl -t$host -qDEB_HOST_ARCH 2>/dev/null)
> 
> Let me remove 2>/dev/null:
> 
> checking dpkg architecture name... Can't exec "dpkg": No such file or directory at /home/gzp/src/dpkg-1.16.1/scripts/Dpkg/Arch.pm line 52.
> dpkg-architecture.pl: error: dpkg --print-architecture failed: No such file or directory
> configure: error: cannot determine host dpkg architecture
> 
> Without installed dpkg I can't configure 1.16.1

Ineed, sorry I had forgotten about that. This is a known current
limitation as noted by the comment in the code in get_raw_build_arch()
“# FIXME: Handle bootstrapping”. I'll try to fix this for my next
push.

thanks,
guillem


Reply to: