Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94844 - svgalib ebuild failes when KBUILD_OUTPUT is set
Summary: svgalib ebuild failes when KBUILD_OUTPUT is set
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-02 10:45 UTC by Myk Taylor
Modified: 2005-06-02 12:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patches various functions in kernel-mod.eclass to use KBUILD_OUTPUT instead of patches various functions in kernel-mod.eclass to use KBUILD_OUTPUT instead of hard-coded /usr/src/linux (kernel-mod.eclass.patch,1.85 KB, patch)
2005-06-02 10:46 UTC, Myk Taylor
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Myk Taylor 2005-06-02 10:45:08 UTC
emerge of media-libs/svgalib-1.9.19-r3 fails when KBUILD_OUTPUT is set.  I
tracked the problem down to hard-coding of '/usr/src/linux' instead of usage of
the value of KBUILD_OUTPUT in eclass/kernel-mod.eclass.  Patch attached.

Reproducible: Always
Steps to Reproduce:
1. set KBUILD_OUTPUT in make.conf and build a kernel with O=${KBUILD_OUTPUT}
2. build svgalib

Actual Results:  
svgalib fails immediately after checking the md5sums of the downloaded files

Expected Results:  
built and installed correctly

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 16 2005, 09:27:02)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -fforce-addr -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -fforce-addr -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox
sfperms strict userpriv"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo"
LINGUAS="en zh_TW"
MAKEOPTS="-j1"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d acpi alsa apm arts audiofile avi bash-completion berkdb
bitmap-fonts cdparanoia cdr cjk crypt cups curl dts dvd dvdr dvdread emboss
encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2
imagemagick imlib immqt ipv6 java jpeg junit kde kdeenablefinal libg++ libwww
mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nvidia offensive ogg
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
slang spell sse ssl svga symlink tcpd tiff truetype truetype-fonts type1-fonts
unicode usb vorbis win32codecs xine xml2 xmms xscreensaver xv xvid xvmc zlib
linguas_en linguas_zh_TW userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Myk Taylor 2005-06-02 10:46:39 UTC
Created attachment 60459 [details, diff]
patches various functions in kernel-mod.eclass to use KBUILD_OUTPUT instead of
patches various functions in kernel-mod.eclass to use KBUILD_OUTPUT instead of hard-coded /usr/src/linux

trivially patches the following functions to use KBUILD_OUTPUT instead of
KERNEL_DIR or a hardcoded '/usr/src/linux':
  kernel-mod_configoption_present
  kernel-mod_configoption_module
  kernel-mod_configoption_builtin
  kernel-mod_checkzlibinflate_configured
Comment 2 SpanKY gentoo-dev 2005-06-02 12:45:09 UTC
use 1.9.21 and it should work fine