Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Devfsd won't build - udev needed?
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message

Joined: 12 Jul 2002
Posts: 45
Location: Netherlands

PostPosted: Fri Aug 03, 2007 10:11 pm    Post subject: Devfsd won't build - udev needed? Reply with quote

On my Sparc Ultra 5 I upgraded from kernel 2.4.27 to 2.6.21-r4 and after that from gcc 3.3.5 to gcc 4.1.2 (sparc-unknown-linux-gnu-4.1.2).

As mentioned in the gcc upgrade guide, I came to the point where I have to do a
emerge -e system
However, I got an error during emerging system that had to do with devfsd:
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-fs/devfsd-1.3.25-r9/work/devfsd ...
sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc -funroll-loops -pipe -fomit-frame-pointer -DHAVE_NIS -I. -I./include -Wall -DLIBNSL="\"/lib/\"" -c -o devfsd.o devfsd.c
sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc -funroll-loops -pipe -fomit-frame-pointer -DHAVE_NIS -I. -I./include -Wall -DLIBNSL="\"/lib/\"" -c -o expression.o expression.c
sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc -funroll-loops -pipe -fomit-frame-pointer -DHAVE_NIS -I. -I./include -Wall -DLIBNSL="\"/lib/\"" -c -o compat_name.o compat_name.c
devfsd.c:279:28: error: linux/devfs_fs.h: No such file or directory
devfsd.c:307:2: error: #error protocol version mismatch. Update your kernel headers
After this I get hundreds of errors and warnings, mainly about dereferencing pointer to incomplete type and error: request for member 'devname' in something not a structure or union.
I searched the forum and the internet, but I can't find a solution. The only thing I can come up with is
emerge -C devfsd
emerge udev
But I would like answers to two questions before doing that:
- will devfsd show up again in emerge -e system after unmerging devfsd and emerging udev?
- will unmerging devfsd break the system?

Can anybody anwer this?
Thanks in advance!

Below, I posted additional information that could help solve this problem.

emerge -ea system wrote:
[ebuild R ] sys-apps/portage-
[ebuild R ] sys-devel/gnuconfig-20070118
[ebuild R ] sys-devel/automake-wrapper-3-r1
[ebuild R ] sys-apps/sed-4.1.5
[ebuild R ] sys-devel/m4-1.4.9-r1
[ebuild R ] sys-devel/autoconf-wrapper-4-r3
[ebuild R ] app-misc/pax-utils-0.1.15
[ebuild R ] dev-libs/gmp-4.2.1-r1
[ebuild R ] sys-apps/setarch-2.0
[ebuild R ] sys-libs/com_err-1.39
[ebuild R ] dev-util/pkgconfig-0.21-r1
[ebuild R ] dev-util/unifdef-1.20
[ebuild R ] sys-apps/sandbox-1.2.17
[ebuild R ] dev-libs/popt-1.10.7
[ebuild R ] virtual/libiconv-0
[ebuild R ] sys-apps/findutils-4.3.7
[ebuild R ] sys-libs/timezone-data-2007f
[ebuild R ] sys-apps/debianutils-2.17.5
[ebuild R ] sys-libs/cracklib-2.8.9-r1
[ebuild R ] app-arch/gzip-1.3.12
[ebuild R ] sys-devel/flex-2.5.33-r2
[ebuild R ] sys-apps/hdparm-7.6
[ebuild R ] sys-devel/make-3.81
[ebuild R ] app-arch/bzip2-1.0.4
[ebuild R ] app-arch/tar-1.17
[ebuild R ] sys-devel/patch-2.5.9
[ebuild R ] sys-apps/busybox-1.5.1
[ebuild R ] app-arch/cpio-2.8
[ebuild R ] sys-apps/gawk-3.1.5-r3
[ebuild R ] sys-apps/kbd-1.12-r8
[ebuild R ] sys-apps/net-tools-1.60-r13
[ebuild R ] sys-kernel/linux-headers-2.6.21
[ebuild R ] net-misc/rsync-2.6.9-r2
[ebuild R ] sys-devel/bison-2.3
[ebuild R ] dev-libs/mpfr-2.2.1_p5
[ebuild R ] sys-devel/binutils-config-1.9-r4
[ebuild R ] sys-libs/ss-1.39
[ebuild R ] dev-libs/libpcre-6.6
[ebuild R ] sys-apps/mktemp-1.5
[ebuild R ] sys-devel/kgcc64-4.1.2
[ebuild R ] sys-devel/binutils-2.17
[ebuild R ] sys-apps/sysvinit-2.86-r8
[ebuild R ] sys-apps/sparc-utils-1.9-r4
[ebuild R ] sys-apps/grep-2.5.1a-r1
[ebuild R ] net-misc/iputils-20060512
[ebuild R ] virtual/init-0
[ebuild R ] sys-libs/zlib-1.2.3-r1
[ebuild R ] sys-libs/gdbm-1.8.3-r3
[ebuild R ] sys-devel/libperl-5.8.8-r1
[ebuild R ] dev-lang/perl-5.8.8-r2
[ebuild R ] sys-apps/help2man-1.36.4
[ebuild R ] perl-core/Test-Harness-2.64
[ebuild R ] perl-core/PodParser-1.35
[ebuild R ] dev-libs/expat-1.95.8
[ebuild R ] dev-lang/python-2.3.5-r3
[ebuild R ] sys-devel/gcc-config-1.3.16
[ebuild R ] app-admin/python-updater-0.2
[ebuild R ] sys-apps/baselayout-1.12.9-r2
[ebuild R ] sys-apps/module-init-tools-3.2.2-r3
[ebuild R ] sys-apps/man-pages-2.62
[ebuild R ] sys-apps/diffutils-2.8.7-r2
[ebuild R ] dev-libs/openssl-0.9.8d
[ebuild R ] app-misc/ca-certificates-20070303-r1
[ebuild R ] sys-process/procps-3.2.7
[ebuild R ] sys-devel/autoconf-2.61
[ebuild R ] sys-devel/automake-1.4_p6
[ebuild R ] sys-devel/automake-1.5
[ebuild R ] sys-devel/automake-1.6.3
[ebuild R ] sys-devel/automake-1.7.9-r1
[ebuild R ] sys-devel/automake-1.8.5-r3
[ebuild R ] net-misc/wget-1.10.2
[ebuild R ] sys-libs/ncurses-5.6-r1
[ebuild R ] sys-apps/texinfo-4.8-r5
[ebuild R ] app-shells/bash-3.2_p17
[ebuild R ] sys-libs/gpm-1.20.1-r5
[ebuild R ] sys-apps/less-394
[ebuild R ] app-editors/nano-2.0.6
[ebuild R ] sys-devel/automake-1.10
[ebuild R ] sys-devel/gcc-4.1.2
[ebuild R ] sys-fs/e2fsprogs-1.39-r2
[ebuild R ] sys-libs/readline-5.2_p4
[ebuild R ] app-admin/perl-cleaner-1.04.3
[ebuild R ] sys-devel/autoconf-2.13
[ebuild R ] sys-apps/which-2.16
[ebuild R ] sys-devel/automake-1.9.6-r2
[ebuild R ] sys-devel/libtool-1.5.23b
[ebuild R ] sys-libs/glibc-2.5-r4
[ebuild R ] sys-apps/util-linux-2.12r-r7
[ebuild R ] dev-lang/python-2.4.4-r4
[ebuild R ] sys-apps/coreutils-6.9-r1
[ebuild R ] sys-apps/groff-1.19.2-r1
[ebuild R ] sys-apps/shadow-
[ebuild R ] sys-fs/devfsd-1.3.25-r9
[ebuild R ] sys-process/psmisc-22.5
[ebuild R ] dev-python/python-fchksum-1.7.1
[ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
[ebuild R ] sys-apps/man-1.6e-r3
[ebuild R ] net-misc/openssh-4.6_p1-r2
[ebuild U ] sys-apps/file-4.21-r1 [4.21]

/var/cache/edb/virtuals wrote:
virtual/mta mail-mta/postfix
virtual/python dev-lang/python
virtual/kernel sys-kernel/linux-headers
virtual/glibc sys-libs/glibc
virtual/ssh net-misc/openssh
virtual/editor app-editors/nano
virtual/imapd net-mail/courier-imap
virtual/bootloader sys-boot/silo
virtual/cron sys-apps/dcron
virtual/dev-manager sys-fs/devfsd
virtual/php dev-php/mod_php dev-php/php
virtual/libc sys-libs/glibc
virtual/linux-sources sys-kernel/sparc-sources
virtual/lpr net-print/cups
virtual/textbrowser net-www/lynx
virtual/gzip app-arch/gzip
virtual/modutils sys-apps/module-init-tools
virtual/logger app-admin/metalog
virtual/os-headers sys-kernel/linux-headers
virtual/mda mail-mta/postfix
virtual/dhcpc net-misc/dhcp net-misc/dhcpcd

emerge --info wrote:
Portage (default-linux/sparc/sparc64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 sparc64)
System uname: 2.6.21-gentoo-r4 sparc64 sun4u
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 27 Jul 2007 22:30:01 +0000
dev-lang/python: 2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
CFLAGS="-O2 -mcpu=ultrasparc -funroll-loops -pipe -fomit-frame-pointer"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -funroll-loops -pipe -fomit-frame-pointer"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="apache2 bitmap-fonts cli cracklib cups dri fortran gdbm gpm iconv isdnlog libg++ midi mudflap mysql nptl nptlonly openmp pcre png ppds pppd reflection samba session sparc spl truetype-fonts type1-fonts vhosts xorg" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="dummy fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 suncg6 sunffb sunleo tdfx v4l voodoo"

emerge -s udev wrote:
* sys-fs/udev
Latest version available: 104-r13
Latest version installed: [ Not Installed ]
Size of files: 183 kB
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
License: GPL-2

Dutch Anime & Manga @
Back to top
View user's profile Send private message

Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Aug 03, 2007 11:07 pm    Post subject: Reply with quote

You do want to use udev. There's actually a migration guide:
That should help.
Thomas S. Howard
Back to top
View user's profile Send private message

Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Aug 04, 2007 3:01 am    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on Sparc.
_________________ || #gentoo-au
Back to top
View user's profile Send private message

Joined: 12 Jul 2002
Posts: 45
Location: Netherlands

PostPosted: Sat Aug 04, 2007 4:16 pm    Post subject: Reply with quote

I emerged udev and unmerged devfsd.
It's compiling now, i'll post here if it worked or not!
Dutch Anime & Manga @
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum