potato MAKEDEV broken? (can't compile debootstrap)
[510] [snoopy:bam] ~/tmp/debootstrap-0.1.1 >fakeroot debian/rules binary
dh_testdir
# Add here commands to configure the package.
# Need to be root to make devices, so build is done in install target
dh_testdir
dh_testroot
/usr/bin/make
make[1]: Entering directory `/home/bam/tmp/debootstrap-0.1.1'
gcc -Wall -W -c -o pkgdetails.o pkgdetails.c
gcc -o pkgdetails pkgdetails.o
rm -rf dev
mkdir -p dev
(cd dev && /sbin/MAKEDEV generic-i386 isdn-io eda edb sonycd mcd mcdx \
cdu535 lmscd sbpcd aztcd bpcd dac960 ida)
/sbin/MAKEDEV: major_ptym%d=2: command not found
/sbin/MAKEDEV: major_ptys%d=3: command not found
/sbin/MAKEDEV: major_tts%d=4: command not found
/sbin/MAKEDEV: major_cua%d=5: command not found
/sbin/MAKEDEV: major_pts%d=136: command not found
/sbin/MAKEDEV: major_ptym%d=2: command not found
/sbin/MAKEDEV: major_ptys%d=3: command not found
/sbin/MAKEDEV: major_tts%d=4: command not found
/sbin/MAKEDEV: major_cua%d=5: command not found
/sbin/MAKEDEV: major_pts%d=136: command not found
/sbin/MAKEDEV: major_ptym%d=2: command not found
/sbin/MAKEDEV: major_ptys%d=3: command not found
/sbin/MAKEDEV: major_tts%d=4: command not found
/sbin/MAKEDEV: major_cua%d=5: command not found
/sbin/MAKEDEV: major_pts%d=136: command not found
make[1]: *** [devices.tar.gz] Interrupt
make: *** [install] Interrupt
There is a bug #78018 on this, the "solution" being not to do anything
if devfs is mounted.
However, this "fix" will break packages like the above, which doesn't
create devices under /dev, but $srcdir/dev. (why should devfs affect
this?)
Comments? Is debootstrap broken? Or is MAKEDEV broken? Or a
combination of the above?
I think both are seriously broken:
debootstrap: IMHO, should create the devices when running the program,
not when the package is being created.
MAKEDEV: Still may be required even if /dev is devfs, for instance for
NFS systems, where you may need to populate devices in
/nfsroot/root/dev, for instance.
--
Brian May <bam@debian.org>
Reply to: