Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31556 - xfree-drm wrongly checks for 'make bzImage' instead of 'make dep'
Summary: xfree-drm wrongly checks for 'make bzImage' instead of 'make dep'
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-19 17:35 UTC by Christopher DeMarco
Modified: 2003-10-20 00:03 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 Christopher DeMarco 2003-10-19 17:35:28 UTC
Can't emerge against the gentoo-sources-2.4.20-r6.ebuild.  The
xfree-drm-4.3.0-r6.ebuild contains lines 90-93:

[code]         
# Is this necessary with the fixed Makefile?
if [ ! -f /usr/src/linux/include/config/MARKER ] ; then
   die "Please compile kernel sources."
fi
[/code] 

but the kernel tree never contains this.

Commented these lines out, and it emerges just fine.

Reproducible: Always
Steps to Reproduce:
[code]
emerge gentoo-sources
make clean ; make mrproper ; make clean
cp /etc/kernels/config-2.4.20-cmd5 ./.config
make menuconfig ( no changes )
make dep

emerge xfree-drm
[/code]
Actual Results:  
[code]
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...

!!! ERROR: x11-base/xfree-drm-4.3.0-r6 failed.
!!! Function src_unpack, Line 92, Exitcode 0
!!! Please compile kernel sources. 
[/code]


FWIW: 
[code]
milkthousand root # emerge --info
Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-cmd5)
=================================================================
System uname: 2.4.20-cmd5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod
mpeg ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gdbm berkdb slang
readline arts svga ggi tcltk java sdl gpm tcpd pam ssl perl python esd imlib
oggvorbis gnome gtk qt kde motif opengl mozilla ppds cups X aalib gtk2 truetype
radeon -sis -rage128 -matrox -3dfx -gamma -i8x0"
[/code]
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-19 23:12:14 UTC
I believe the MARKER file shows up once you've made a bzImage. Do you have
any better test that a 'make dep' was done?
Comment 2 Christopher DeMarco 2003-10-19 23:50:06 UTC
Well I'll be a monkey's ugly paternal grandfather.  It works, by George.
 I'm full of epithets... perhaps a note in either the ebuild about that might
be in order? (the make bzImage, not my being full of epithets)

Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-20 00:03:27 UTC
That's a temporary solution, but I honestly would rather find a way to just
test for a make dep, instead of forcing a bzImage. 

Ideas are welcome. Until one comes up, I'm going to mark this CANTFIX.