From my update to baselayout-1.8.6.13 See older http://bugs.gentoo.org/show_bug.cgi?id=31184 <snip> * Making device nodes (this could take a minute or so...) * Using generic-i386 to make device nodes... /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found chmod: failed to get attributes of `ptyb1-': No such file or directory /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found /var/tmp/portage/baselayout-1.8.6.13/image//sbin/MAKEDEV: line 1: major_ircomm%d=161: command not found </snip> <snip> Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.2.5-r2,2.3.2-r9, 2.4.22-gentoo-r2) ================================================================= System uname: 2.4.22-gentoo-r2 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox userpriv" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apm avi berkdb bonobo cdr crypt cups dga directfb dvd encode esd ethereal fbcon foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl png pnp python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype trusted usb x86 xface xfs xml xml2 xmms xv zlib" </snip>
its been already fixed in mentioned bug report, can someone please close the case?
This is not fixed with baselayout-1.8.6.13 on my above mentioned system. I only mentioned the bug report because it SHOULD be fixed. Or do you confirm this as WORKSFORME, barthek?
Hmm, it should be, as the 'fix' was commited. What happens if you try to merge it again?
`emerge baselayout` now did not run MAKEDEV??! So: no error. What do I need to change to make it run?
makedev should only run if 'build' or 'bootstrap' is in the USE flags if I remember correctly ... so only on a stage1->stage2 and for building stages with catalyst ... normally it shouldn't run though. -Brad
Oh yeah, forgot about that one. Just do a: # mkdir foo; cd foo; MAKEDEV generic-i386 sg scd rtc hde hdf hdg hdh input audio video
I located the problem. It's in my /proc/devices file. <snip> Character devices: 1 mem 2 pty/m%d 3 pty/s%d 4 tts/%d 5 cua/%d 6 lp 7 vcs 10 misc 13 input 14 sound 21 sg 29 fb 108 ppp 128 ptm 136 pts/%d 161 ircomm%d </snip> Imho there either has to be a slash before "%d" or no "%d" at all. This is from my modules.devfs: <snip> # Irda devices alias /dev/ircomm ircomm-tty alias /dev/ircomm* /dev/ircomm </snip> Any comments?
Created attachment 25724 [details, diff] MAKEDEV-irda-bug(?)-fix-proposal Attached a patch that fixes a possible bug. Please check. Code seems to be inconsistent without patch.
Note: the patch has nothing to do with this bug as far I see.
I think your /proc/devices looks screwy. Try another kernel maybe?
Updated to new baselayout without any hassles (yes, I have also a new kernel). Closing for good. Thanks anyway.