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

Bug 29557

Summary: xfree-drm emerge for matrox says "no rule to make target mga.o"
Product: Gentoo Linux Reporter: Michael Spiceland <mike>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Spiceland 2003-09-24 20:54:49 UTC
I have a Matrox G400, export VIDEO_CARDS="matrox", and tried to emerge
xfree-drm.  I get:

gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE
-I../../../../../../include -I../../../../../../../../include
-I../../../../../../../../programs/Xserver/hw/xfree86/common -I. -I../../..
-I../../../../../../../../lib/X11 dristat.c -o dristat
xf86drm.c:1170: warning: `drm_unlock_callback' defined but not used
 
>>> Install xfree-drm-4.3.0-r6 into /var/tmp/portage/xfree-drm-4.3.0-r6/image/
category x11-base
 * installing DRM...
make: *** No rule to make target `mga.o', needed by `install'.  Stop.
 
!!! ERROR: x11-base/xfree-drm-4.3.0-r6 failed.
!!! Function src_install, Line 148, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. Have a Matrox G400
2. export VIDEO_CARDS="matrox"
3. emerge xfree-drm

Actual Results:  
[root@Wed Sep 24 22:22:24 ~]
$emerge -k xfree-drm
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-base/xfree-drm-4.3.0-r6 to /
>>> md5 src_uri ;-) linux-drm-4.3.0-kernelsource-20030714.tar.gz
>>> md5 src_uri ;-) xfree-drm-4.3.0-r6-gentoo-0.4.tar.bz2
>>> Unpacking source...
>>> Unpacking linux-drm-4.3.0-kernelsource-20030714.tar.gz to
/var/tmp/portage/xfree-drm-4.3.0-r6/work
>>> Unpacking xfree-drm-4.3.0-r6-gentoo-0.4.tar.bz2 to
/var/tmp/portage/xfree-drm-4.3.0-r6/work
 * Applying xfree-drm-4.3.0-r6-gentoo-Makefile-fixup.patch...             [ ok ]
* Applying xfree-drm-4.3.0-r6-dristat.patch...                           [ ok ]
* Detected rmap enabled kernel.
 * Applying rmap patch...                                                 [ ok
]>>> Source unpacked.
 * Building DRM...
make: *** No rule to make target `mga.o'.  Stop.
gcc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -Wpointer-arith -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE
-I../../../../../../include -I../../../../../../../../include
-I../../../../../../../../programs/Xserver/hw/xfree86/common -I. -I../../..
-I../../../../../../../../lib/X11 dristat.c -o dristat
xf86drm.c:1170: warning: `drm_unlock_callback' defined but not used
 
>>> Install xfree-drm-4.3.0-r6 into /var/tmp/portage/xfree-drm-4.3.0-r6/image/
category x11-base
 * installing DRM...
make: *** No rule to make target `mga.o', needed by `install'.  Stop.
 
!!! ERROR: x11-base/xfree-drm-4.3.0-r6 failed.
!!! Function src_install, Line 148, Exitcode 2
!!! (no error message)


Expected Results:  
installed fine
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2003-09-25 09:46:12 UTC

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