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

Re: Installation report on CDROM-less machine



Cameron Patrick wrote:
> This seems to be because busybox wget doesn't write any progress output
> to stderr for debootstrap to read; debootstrap interprets this as wget
> failing to download, so it retries again and again.

Hmm, I think that explains many previous reports of strange package
download problems.

I notice that the statusbar is on for all udebs except the i386 one,
too..

> It also seems that busybox-cvs doesn't build properly; gcc choked on
> fdisk.c:
> 	util-linux/fdisk.c: In function `get_geometry':
> 	util-linux/fdisk.c:4060: error: subscripted value is neither array nor pointer
> The line in question doesn't seem to contain any kind of array
> subscript, so I've no idea what's causing this.

According to Bastian, the "new" (circa early November) libc broke it.
BLKGETSIZE64 is defined in that file using the _IOR macro. Apparently
that macro has changed so the third argument is expected to be a type,
not just a size, and busybox uses an 8. Seems u64 would be the right
type, but that type is not available (only in kernel space). If I put in
unsigned long long, it at least builds; not knowing a great deal about C
type sizes, I dunno if it will work on all arches.

I've put up udebs with this and some other fixes at
http://kitenet.net/~joey/tmp/bb/

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: