Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10340

Summary: xfree-4.2.1 ebuild fails during emerge -u world
Product: Gentoo Linux Reporter: Joe McMahon <mcmahon>
Component: Current packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joe McMahon 2002-11-06 14:25:23 UTC
Here's the tail end of the emerge:

making all in programs/Xserver/Xext...
make[4]: Entering directory
`/var/tmp/portage/xfree-4.2.1-r1/work/xc/programs/Xserver/Xext'
rm -f xf86vmode.o
gcc -c -O2 -pipe -mcpu=7400 -fsigned-char    -I. -I../include
-I../../../exports/include/X11 -I../../../include/extensions 	
-I../../../include/fonts -I../mi -I../render
-I../../../programs/Xserver/hw/xfree86/common -I../../../include/fonts  		 
-I../../.. -I../../../exports/include   -Dlinux -D__powerpc__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP
-DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX 
-DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA
-DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension 
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_BIG_ENDIAN
-DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO   -DMITMISC -DXTEST -DXTRAP -DXSYNC
-DXCMISC -DXRECORD  -DMITSHM  -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE
-DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DXF86DRI
-DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA  -DFONTCACHE  -DRES  
xf86vmode.c
In file included from ../../../programs/Xserver/hw/xfree86/common/xf86.h:17,
                 from xf86vmode.c:47:
../../../programs/Xserver/hw/xfree86/common/xf86str.h:621: parse error before `.'
../../../programs/Xserver/hw/xfree86/common/xf86str.h:1010: warning: This file
contains more `}'s than `{'s.
In file included from xf86vmode.c:47:
../../../programs/Xserver/hw/xfree86/common/xf86.h:399: warning: This file
contains more `}'s than `{'s.
make[4]: *** [xf86vmode.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/xfree-4.2.1-r1/work/xc/programs/Xserver/Xext'
make[3]: *** [Xext] Error 2
make[3]: Leaving directory
`/var/tmp/portage/xfree-4.2.1-r1/work/xc/programs/Xserver'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r1/work/xc'
make: *** [install] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 379, Exitcode 2
!!! (no error message)

Portage 2.0.43, gcc 2.95.3-r7. Haven't gotten into it to see if I can
patche it yet. X takes *so* long to build.
Comment 1 Joe McMahon 2002-11-06 16:33:38 UTC
I finally managed to get everythign loaded; my error.

bash-2.05b$ sudo /sbin/lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            46324   0  (unused)
snd-mixer-oss          13392   0  [snd-pcm-oss]
snd-hwdep               4672   0  (unused)
snd-pcm                67184   0  [snd-pcm-oss]
snd-timer              12816   0  [snd-pcm]
snd                    29964   0  [snd-pcm-oss snd-mixer-oss snd-hwdep snd-pcm
snd-timer]
soundcore               4504   0  [snd]
serial                 52760   0  (autoclean) (unused)
bash-2.05b$ 

However, I still have no /dev/mixer, /dev/dsp/, or /dev/audio.

devfsd.conf looks OK:
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 666
REGISTER        snd/.*       PERMISSIONS root.audio 666

What do I have to do with /etc/modules.d/alsa if I have only Mac 
internal sound? I can't find any driver in /lib/modules except the 
snd-powermac one which I think is OSS, not ALSA.
Comment 2 Joe McMahon 2002-11-06 16:34:32 UTC
NUTS. This last comment should be on a different bug. Please ignore.
Comment 3 SpanKY gentoo-dev 2002-11-07 01:23:16 UTC

*** This bug has been marked as a duplicate of 10271 ***