Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133183 - x86/no-nptl/2.4 profile should default to sys-fs/devfsd
Summary: x86/no-nptl/2.4 profile should default to sys-fs/devfsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Other
: High trivial (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-13 03:31 UTC by Marek Krolikowski
Modified: 2006-05-13 16:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Krolikowski 2006-05-13 03:31:14 UTC
Portage 2.0.54-r2 (default-linux/x86/no-nptl/2.4, gcc-3.4.5, glibc-2.3.6-r3, 2.4.31 i686)
=================================================================
System uname: 2.4.31 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://ftp.du.se/pub/os/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://www.gigaload.org/gentoo.org/"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 autofs berkdb bidi bitmap-fonts bzip2 cli crypt devfs doc dri eds emboss encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk2 isdnlog jpeg libg++ mad md5sum mikmod motif mp3 ncurses nls ogg pam pcre pdflib perl perlsuid php png pppd python readline reflection ruby samba sasl session spell spl sse ssl tcpd truetype-fonts type1-fonts vorbis xml xml2 xorg zlib linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

-=STAGE 1=-
1. boostrap
2. emerge -e system

Why emerge -e system compile udev for profile 2.4 ?
i find in handbook:
(For those using 2.4.x kernels with a stage 3 install)
# emerge --unmerge udev
# emerge devfsd

But i use stage 1 and i must give too: emerge --unmerge udev && emerge devfsd 
There is a problem in file:
/usr/portage/profiles/default-linux/x86/no-nptl/2.4/use.mask

# Copyright 2006 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/no-nptl/2.4/use.mask,v 1.2 2006/05/01 12:40:43 wolf31o2 Exp $

# All of these require 2.6 kernels/headers
udev

Please change this for 2.4 not 2.6!!! :-)
Greets
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-13 03:35:40 UTC
Eh? It's correct.
Comment 2 Marek Krolikowski 2006-05-13 03:41:08 UTC
But why in profile 2.4 compile udev :>??
I think 2.4 not support udev. Only support devfsd....
look this is log from emerge -e system (stage 1)

stage1 ~ # cat /var/log/emerge.log |grep udev
1147469241:  >>> emerge (57 of 118) sys-fs/udev-087 to /
1147476910:  >>> emerge (57 of 118) sys-fs/udev-087 to /
1147476910:  === (57 of 118) Cleaning (sys-fs/udev-087::/usr/portage/sys-fs/udev/udev-087.ebuild)
1147476910:  === (57 of 118) Compiling/Merging (sys-fs/udev-087::/usr/portage/sys-fs/udev/udev-087.ebuild)
1147476935:  === (57 of 118) Post-Build Cleaning (sys-fs/udev-087::/usr/portage/sys-fs/udev/udev-087.ebuild)


I think this is wrong ;>??
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-13 03:44:02 UTC
(In reply to comment #2)
> But why in profile 2.4 compile udev :>??
> I think 2.4 not support udev. Only support devfsd....
> look this is log from emerge -e system (stage 1)

You don't understand what use.mask is used for. USE="udev" makes no sense on 2.4 profiles, so it's use.masked. See man portage.
Comment 4 Marek Krolikowski 2006-05-13 03:49:45 UTC
So tell me why 2.4 profile compile udev?
Comment 5 Marek Krolikowski 2006-05-13 03:53:20 UTC
This is a quotation of handbook:
"If you are using a 2.4 kernel, you need to select /dev file system as 2.4 kernels do not support udev."

My question is:
Why profile 2.4 compile udev if 2.4 kernels do not support udev??
This is no sens....
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-13 04:05:45 UTC
Because it's the default virtual for virtual/dev-manager... That's why the handbook says to unmerge it and emerge devfsd. I'll tell you what - don't use the damned stage1 if you don't understand what you are doing, we don't support it.
Comment 7 -=MaTeJ=- 2006-05-13 04:16:47 UTC
Portage 2.0.54-r2 (default-linux/x86/no-nptl/2.4, gcc-3.4.5, glibc-2.3.6-r3, 2.4.31 i686)
=================================================================
System uname: 2.4.31 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 autofs berkdb bidi bitmap-fonts bzip2 cli crypt devfs doc dri eds emboss encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk2 isdnlog jpeg libg++ mad md5sum mikmod motif mp3 ncurses nls ogg pam pcre pdflib perl perlsuid php png pppd python readline reflection ruby samba sasl session spell spl sse ssl tcpd truetype-fonts type1-fonts vorbis xml xml2 xorg zlib linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

I had the same problem after 
1. boostrap
2. emerge -e system
My system reported the same ERROR
When I unemerged udev and emerged devfsd my problem was fix.

THX ;))
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-13 16:10:02 UTC
OK.  The reason why udev is built is because udev is already in the stage.  You *have* to unmerge udev before devfs will install.  There's nothing that I can do about it, at all.  See, the way that virtuals work is that if something that provides the virtual is already installed, even if it is not the default, then it satisfies the virtual.

wolf31o2@vertigo /var/cvsroot/gentoo-x86/profiles/default-linux/x86/no-nptl/2.4
$ grep devfs *
virtuals:virtual/dev-manager            sys-fs/devfsd

As you can see, devfsd already *is* the default.  We cannot be responsible for users not following instructions.  As I said, there's nothing that I can do, as everything is correct.  This isn't a bug.  It is a known feature of portage that allows you to select a package to satisfy a virtual that isn't the default.  Also, as Jakub said, use.mask has nothing to do with what packages are installed.

At any rate, I've added udev to package.mask on the 2.4 profiles for alpha and x86.