Bug#598126: FTBFS on !linux

2010-09-26 Thread Joey Hess
Package: debootstrap Version: 1.0.25 Severity: normal debootstrap cannot currently be built on debian kfreebsd or hurd. While build dep makedev is installable there, it is a no-op. So, the devices.tar.gz creation code will make an empty tarball, and a check I've just added will cause the build to

Bug#598126: FTBFS on !linux

2010-09-26 Thread Joey Hess
Joey Hess wrote: Assuming we want debootstrap to remain an arch-all package, which is convenient as it allows updating debootstrap very quickly, we need some way to build the linux-specific devices.tar.gz in a cross-platform way. One way would be to add a switch or environment variable that

Bug#598126: FTBFS on !linux

2010-09-26 Thread Otavio Salvador
Hello Joey, On Sun, Sep 26, 2010 at 2:09 PM, Joey Hess jo...@debian.org wrote: Alternatively, debootstrap could stop including the device tarball, and bind mounting /dev. (It already does something similar on kfreebsd.) However, this would mean a debootstrapped chroot would need to have its

Bug#598126: FTBFS on !linux

2010-09-26 Thread Joey Hess
Otavio Salvador wrote: Hello Joey, On Sun, Sep 26, 2010 at 2:09 PM, Joey Hess jo...@debian.org wrote: Alternatively, debootstrap could stop including the device tarball, and bind mounting /dev. (It already does something similar on kfreebsd.) However, this would mean a debootstrapped

Bug#598126: FTBFS on !linux

2010-09-26 Thread Otavio Salvador
On Sun, Sep 26, 2010 at 6:36 PM, Joey Hess jo...@debian.org wrote: Otavio Salvador wrote: This looks to be the best alternative IMO. We need to do that for /proc and /sys so /dev won't be a problem et all. Except that eg. pbuilder will mount /proc, but not /dev when using the chroot. Yes

Bug#598126: FTBFS on !linux

2010-09-26 Thread Joey Hess
Otavio Salvador wrote: On Sun, Sep 26, 2010 at 6:36 PM, Joey Hess jo...@debian.org wrote: Otavio Salvador wrote: This looks to be the best alternative IMO. We need to do that for /proc and /sys so /dev won't be a problem et all. Except that eg. pbuilder will mount /proc, but not /dev

Bug#598126: FTBFS on !linux

2010-09-26 Thread Otavio Salvador
Hello Joey, On Sun, Sep 26, 2010 at 8:55 PM, Joey Hess jo...@debian.org wrote: Otavio Salvador wrote: On Sun, Sep 26, 2010 at 6:36 PM, Joey Hess jo...@debian.org wrote: Otavio Salvador wrote: This looks to be the best alternative IMO. We need to do that for /proc and /sys so /dev won't be