Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23285 - emerge nvidia-kernel failed, missing makefile.
Summary: emerge nvidia-kernel failed, missing makefile.
Status: RESOLVED DUPLICATE of bug 23276
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-22 13:27 UTC by joshua kruck
Modified: 2005-07-17 13:06 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 joshua kruck 2003-06-22 13:27:29 UTC
When I try to emerge nvidia-kernel it fails. I beleive the ebuild is missing a makefile.  
 
pacific root # emerge -Ud nvidia-kernel 
>>> --upgradeonly implies --update... adding --update to options. 
Calculating dependencies 
Parent:    None 
Depstring: media-video/nvidia-kernel 
Candidates: ['media-video/nvidia-kernel'] 
ebuild: media-video/nvidia-kernel-1.0.4363-r2 
\ 
Parent:    ebuild / media-video/nvidia-kernel-1.0.4363-r2 merge 
Depstring: virtual/linux-sources >=sys-apps/portage-1.9.10 virtual/linux-sources 
>=sys-apps/portage-1.9.10 
Candidates: ['>=sys-apps/portage-1.9.10', 'virtual/linux-sources'] 
ebuild: sys-apps/portage-2.0.48-r1 
|ebuild: sys-kernel/gentoo-sources-2.4.20-r5 
/Exiting... ebuild / media-video/nvidia-kernel-1.0.4363-r2 merge 
Exiting... None 
 ...done! 
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4363-r2 to / 
+ /usr/sbin/ebuild.sh clean 
+ dyn_clean 
+ rm -rf /var/tmp/portage/nvidia-kernel-1.0.4363-r2/image 
+ rm -rf /var/tmp/portage/nvidia-kernel-1.0.4363-r2/build-info 
+ has keeptemp sandbox ccache fixpackes 
+ local x 
+ local me 
+ me=keeptemp 
+ shift 
+ '[' sandbox = keeptemp ']' 
+ '[' ccache = keeptemp ']' 
+ '[' fixpackes = keeptemp ']' 
+ return 1 
+ rm -rf /var/tmp/portage/nvidia-kernel-1.0.4363-r2/temp/eclass-debug.log 
/var/tmp/portage/nvidia-kernel-1.0.4363-r2/temp/environment 
+ has keepwork sandbox ccache fixpackes 
+ local x 
+ local me 
+ me=keepwork 
+ shift 
+ '[' sandbox = keepwork ']' 
+ '[' ccache = keepwork ']' 
+ '[' fixpackes = keepwork ']' 
+ return 1 
+ rm -rf /var/tmp/portage/nvidia-kernel-1.0.4363-r2/.compiled 
+ rm -rf /var/tmp/portage/nvidia-kernel-1.0.4363-r2/.unpacked 
+ rm -rf /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work 
+ '[' -f /var/tmp/portage/nvidia-kernel-1.0.4363-r2/.unpacked ']' 
+ true 
+ set +x 
>>> md5 src_uri ;-) NVIDIA_kernel-1.0-4363.tar.gz 
+ /usr/sbin/ebuild.sh setup 
+ dyn_setup 
+ '[' '' '!=' yes ']' 
+ '[' -L /lib/cpp -o '!' -e /lib/cpp ']' 
+ '[' -L /usr/bin/cc -o '!' -e /usr/bin/cc ']' 
+ pkg_setup 
+ '[' '!' -f /proc/mtrr ']' 
+ '[' '!' -f //usr/src/linux/include/linux/version.h ']' 
+ set +x 
+ dyn_unpack 
+ trap abort_unpack SIGINT SIGQUIT 
+ local newstuff=no 
+ '[' -e /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work ']' 
+ '[' -e /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work ']' 
+ install -m0700 -d /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work 
+ '[' -d /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work ']' 
+ cd /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work 
+ echo '>>> Unpacking source...' 
>>> Unpacking source... 
+ src_unpack 
+ unpack NVIDIA_kernel-1.0-4363.tar.gz 
+ local x 
+ local y 
+ local myfail 
+ myfail=failure unpacking NVIDIA_kernel-1.0-4363.tar.gz 
++ pwd 
+ echo '>>> Unpacking NVIDIA_kernel-1.0-4363.tar.gz to 
/var/tmp/portage/nvidia-kernel-1.0.4363-r2/work' 
>>> Unpacking NVIDIA_kernel-1.0-4363.tar.gz to 
/var/tmp/portage/nvidia-kernel-1.0.4363-r2/work 
++ echo NVIDIA_kernel-1.0-4363.tar.gz 
++ sed 's:.*\.\(tar\)\.[a-zA-Z0-9]*:\1:' 
+ y=tar 
+ '[' tar == tar ']' 
+ tar xz --no-same-owner -f /usr/portage/distfiles/NVIDIA_kernel-1.0-4363.tar.gz 
+ get_KV_info 
++ awk '/UTS_RELEASE/ { gsub("\"", "", $3); print $3 }' //usr/src/linux/include/linux/version.h 
+ export KV_full=2.4.20-gentoo-r5 
+ KV_full=2.4.20-gentoo-r5 
++ echo 2.4.20-gentoo-r5 
++ cut -d. -f1 
+ export KV_major=2 
+ KV_major=2 
++ echo 2.4.20-gentoo-r5 
++ cut -d. -f2 
+ export KV_minor=4 
+ KV_minor=4 
++ echo 2.4.20-gentoo-r5 
++ cut -d. -f3 
++ sed -e 's:[^0-9].*::' 
+ export KV_micro=20 
+ KV_micro=20 
+ cd /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work/NVIDIA_kernel-1.0-4363 
+ einfo 'Linux kernel 2.4.20' 
+ '[' no '!=' yes ']' 
+ echo -e ' * Linux kernel 2.4.20' 
 * Linux kernel 2.4.20 
+ return 0 
+ is_2_5_kernel 
+ get_KV_info 
++ awk '/UTS_RELEASE/ { gsub("\"", "", $3); print $3 }' //usr/src/linux/include/linux/version.h 
+ export KV_full=2.4.20-gentoo-r5 
+ KV_full=2.4.20-gentoo-r5 
++ echo 2.4.20-gentoo-r5 
++ cut -d. -f1 
+ export KV_major=2 
+ KV_major=2 
++ echo 2.4.20-gentoo-r5 
++ cut -d. -f2 
+ export KV_minor=4 
+ KV_minor=4 
++ echo 2.4.20-gentoo-r5 
++ cut -d. -f3 
++ sed -e 's:[^0-9].*::' 
+ export KV_micro=20 
+ KV_micro=20 
+ '[' 2 -eq 2 -a 4 -eq 5 ']' 
+ return 1 
+ ln -snf Makefile.nvidia Makefile 
+ touch /var/tmp/portage/nvidia-kernel-1.0.4363-r2/.unpacked 
+ echo '>>> Source unpacked.' 
>>> Source unpacked. 
+ cd /var/tmp/portage/nvidia-kernel-1.0.4363-r2 
+ trap SIGINT SIGQUIT 
+ set +x 
+ dyn_compile 
+ trap abort_compile SIGINT SIGQUIT 
+ export CFLAGS CXXFLAGS LIBCFLAGS LIBCXXFLAGS 
+ has noauto sandbox ccache fixpackes 
+ cd /var/tmp/portage/nvidia-kernel-1.0.4363-r2 
+ '[' '!' -e build-info ']' 
+ mkdir build-info 
+ cp /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.4363-r2.ebuild 
build-info/nvidia-kernel-1.0.4363-r2.ebuild 
+ '[' /var/tmp/portage/nvidia-kernel-1.0.4363-r2/.compiled -nt 
/var/tmp/portage/nvidia-kernel-1.0.4363-r2/work ']' 
+ '[' -d /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work/NVIDIA_kernel-1.0-4363 ']' 
+ cd /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work/NVIDIA_kernel-1.0-4363 
+ export S D 
+ export PWORKDIR=/var/tmp/portage/nvidia-kernel-1.0.4363-r2/work 
+ PWORKDIR=/var/tmp/portage/nvidia-kernel-1.0.4363-r2/work 
+ export TMP=/var/tmp/portage/nvidia-kernel-1.0.4363-r2/temp 
+ TMP=/var/tmp/portage/nvidia-kernel-1.0.4363-r2/temp 
+ export TMPDIR=/var/tmp/portage/nvidia-kernel-1.0.4363-r2/temp 
+ TMPDIR=/var/tmp/portage/nvidia-kernel-1.0.4363-r2/temp 
+ src_compile 
+ check_KV 
+ '[' x2.4.20-gentoo-r5 = x ']' 
+ make IGNORE_CC_MISMATCH=yes KERNDIR=/usr/src/linux clean nvidia.o 
make: Makefile: No such file or directory 
make: *** No rule to make target `Makefile'.  Stop. 
+ diefunc src_compile 109 2 
+ local funcname=src_compile lineno=109 exitcode=2 
+ shift 3 
+ echo 
 
+ echo '!!! ERROR: media-video/nvidia-kernel-1.0.4363-r2 failed.' 
!!! ERROR: media-video/nvidia-kernel-1.0.4363-r2 failed. 
+ echo '!!! Function src_compile, Line 109, Exitcode 2' 
!!! Function src_compile, Line 109, Exitcode 2 
+ echo '!!! (no error message)' 
!!! (no error message) 
+ echo 
 
+ exit 1 
 

Reproducible: Always
Steps to Reproduce:
1. emerge nvidia-kernel or emerge world..  
2. 
3. 
Actual Results:  
see script output in detials. The emerge fails and complains about a missing makefile.  

Expected Results:  
The emerge should have succedded.  

pacific root # emerge info 
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1800+ 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
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/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss apm crypt encode gif libg++ mikmod ncurses nls pdflib png xml2 xv zlib gdbm 
berkdb slang readline tetex bonobo svga tcltk guile sdl gpm tcpd pam libwww esd imlib motif cdr 
X gtk -gnome -alsa 3dnow arts avi -cups dvd java jikes jpeg kde mmx mozilla mpeg mysql 
nocardbus opengl oggvorbis perl python qt quicktime ruby samba spell ssl sse truetype usb 
Xaw3d xmms" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -O3 -pipe" 
CXXFLAGS="-march=athlon-xp -O3 -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache fixpackes"
Comment 1 Dale K Dicks 2003-06-22 15:34:02 UTC
Why is this even unmasked??????
Comment 2 SpanKY gentoo-dev 2003-06-22 15:48:31 UTC
side note ... you misspelled 'fixpackages' in FEATURES 

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