Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41418 - baselayout 1.8.6.13 has MAKEDEV errors
Summary: baselayout 1.8.6.13 has MAKEDEV errors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 14:40 UTC by Tobias Sager
Modified: 2004-05-11 01:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
MAKEDEV-irda-bug(?)-fix-proposal (MAKEDEV-irda-patch.diff,387 bytes, patch)
2004-02-16 10:56 UTC, Tobias Sager
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Sager 2004-02-12 14:40:47 UTC
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>
Comment 1 barthek 2004-02-13 04:15:21 UTC
its been already fixed in mentioned bug report, can someone please close the case?
Comment 2 Tobias Sager 2004-02-13 04:55:44 UTC
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?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-15 14:55:29 UTC
Hmm, it should be, as the 'fix' was commited.  What happens if you try to merge
it again?
Comment 4 Tobias Sager 2004-02-15 15:07:16 UTC
`emerge baselayout` now did not run MAKEDEV??!

So: no error. What do I need to change to make it run?
Comment 5 Brad House 2004-02-15 15:18:12 UTC
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
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-15 19:43:32 UTC
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

Comment 7 Tobias Sager 2004-02-16 10:54:37 UTC
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?
Comment 8 Tobias Sager 2004-02-16 10:56:11 UTC
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.
Comment 9 Tobias Sager 2004-02-16 10:56:54 UTC
Note: the patch has nothing to do with this bug as far I see.
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-19 10:58:26 UTC
I think your /proc/devices looks screwy.  Try another kernel maybe?
Comment 11 Tobias Sager 2004-05-11 01:29:36 UTC
Updated to new baselayout without any hassles (yes, I have also a new kernel).
Closing for good. Thanks anyway.