Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30735 - alsa-driver-0.9.7-r1 fails to emerge error: Parallel Make Failed
Summary: alsa-driver-0.9.7-r1 fails to emerge error: Parallel Make Failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-09 01:17 UTC by Craig Main
Modified: 2003-10-09 05:33 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 Craig Main 2003-10-09 01:17:49 UTC
Kernel: linux-2.4.23_pre6-gss-r1

Error on emerge alsa-driver with ALSA_CARDS="intel8x0" in /etc/make.conf:

laptop src # emerge alsa-driver
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-driver-0.9.7-r1 to /
>>> md5 src_uri ;-) alsa-driver-0.9.7a.tar.bz2
>>> Unpacking source...
>>> Unpacking alsa-driver-0.9.7a.tar.bz2 to
/home/portage/portage/alsa-driver-0.9.7-r1/work
 * Applying makefile.patch...                                             [ ok
]>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory...
/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 2.4.23_pre6-gss-r1
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 3.3.1
20030916 (Gentoo Linux 3.3.1-r4, propolice)
 
*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.
 
*** Please make sure that the same compiler version was used for building kernel.
 
checking to modify of kernel linux/kmod.h... "no"
Removing a dummy linux/kmod.h.
checking for kernel linux/compiler.h... "yes"
Removing a dummy linux/compiler.h.
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
Removing a dummy linux/irq.h.
checking for kernel linux/threads.h... "yes"
Removing a dummy linux/threads.h.
checking for kernel linux/rwsem.h... "yes"
Removing a dummy linux/rwsem.h.
checking for kernel linux/gameport.h... "yes"
Removing a dummy linux/gameport.h.
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
Removing a dummy linux/highmem.h.
checking for kernel linux/workqueue.h... "no"
checking for kernel asm/hw_irq.h... "yes"
Removing a dummy asm/hw_irq.h.
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
Removing a dummy linux/adb.h.
checking for kernel linux/cuda.h... "yes"
Removing a dummy linux/cuda.h.
checking for kernel linux/pmu.h... "yes"
Removing a dummy linux/pmu.h.
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules...
/lib/modules/2.4.23_pre6-gss-r1/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i386
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "no"
checking for Kernel ISA-PnP module support... "yes"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
Removing local linux/isapnp.h.
checking for driver version... 0.9.7a
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "no"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... intel8x0
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
make dep
make[1]: Entering directory
`/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make[2]: Entering directory
`/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/support'
make  -C pnp fastdep
make[3]: Entering directory
`/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/support/pnp'
/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/include/sndversions.h
was updated
gcc -D__KERNEL__ -DMODULE=1
-I/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/include 
-I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i386 -DLINUX
-Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -DALSA_BUILD  -E -D__GENKSYMS__ pnp.c
| /sbin/genksyms -k 2.4.23  >
/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/include/modules/support-pnp__pnp.ver.tmp
mv
/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/include/modules/support-pnp__pnp.ver.tmp
/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/include/modules/support-pnp__pnp.ver
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1
-I/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/include 
-I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i386 -DLINUX
-Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -DALSA_BUILD  pnp.c > .depend
pnp.c:35:31: linux/modversions.h: No such file or directory
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory
`/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/support/pnp'
make[2]: *** [_sfdep_pnp] Error 2
make[2]: Leaving directory
`/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a/support'
make[1]: *** [dep] Error 1
make[1]: Leaving directory
`/home/portage/portage/alsa-driver-0.9.7-r1/work/alsa-driver-0.9.7a'
make: *** [include/sndversions.h] Error 2
 
!!! ERROR: media-sound/alsa-driver-0.9.7-r1 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! Parallel Make Failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




laptop src # emerge info
Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.23_pre6-gss-r1)
=================================================================
System uname: 2.4.23_pre6-gss-r1 i686 Intel(R) Pentium(R) III Mobile CPU     
1133MHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -march=pentium3 -O3 -pipe -Wall -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/mnt/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/mnt/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gtkhtml gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java
guile mysql postgres sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis
gtk qt motif opengl mozilla ldap cdr X gtk2 gnome alsa kde nls video_cards_radeon"
Comment 1 SpanKY gentoo-dev 2003-10-09 04:55:58 UTC
pnp.c:35:31: linux/modversions.h: No such file or directory

do you have module support in your kernel ?  did you `make dep` in your kernel
tree before emerging the package ?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-09 05:33:06 UTC
make modules solves this