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

Bug 38263

Summary: sys-kernel/ppc-sources-2.4.24.ebuild does not apply benh patch due to some typo
Product: Gentoo Linux Reporter: Olivier Castan <castan.o>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Olivier Castan 2004-01-15 00:52:07 UTC
Source URIs as referenced in the ebuild :
SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
                mirror://gentoo/patch-${KV}.bz2
                http://dev.gentoo.org/~trance/stuff/patch-${KV}.bz2"

[...] and applying the patch :
bzcat ${DISTDIR}/patches-${KV}.bz2 | patch -p1 || die "patch failed"

bzcat report :
>>> Unpacking source...
>>> Unpacking linux-2.4.24.tar.bz2 to /home/portage/tmp/portage/ppc-sources-2.4.24/work
bzcat: Can't open input file /home/portage/distfiles/patches-2.4.24-benh0.bz2: No such file or directory.

and the ebuild does not fail since it only tests patch return value.
(There's another small typo in the variable DESCRIPTION telling it's a 2.6 kernel)

Reproducible: Always
Steps to Reproduce:
emerge sys-kernel/ppc-sources-2.4.24
Actual Results:  
Non patched vanilla kernel

Expected Results:  
Benh patched kernel

# emerge info
Portage 2.0.50_pre16 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-ben2)
=================================================================
System uname: 2.4.22-ben2 ppc 7455, altivec supported
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/home/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://128.213.5.34/gentoo/
http://gentoo.inode.at/ http://ds.thn.htu.se/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X X509 aalib alsa altivec arts berkdb bonobo cdr crypt cups dga dillo
directfb dv dvd dvdr encode esd faad fbcon ffmpeg flash foomaticdb gd gdbm ggi
gif gnome gnome-libs gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib
java javascript jpeg libwww mad matroska mitshm motif mozilla mpeg mpeg4 ncurses
nls odbc offensive oggvorbis opengl oss pam pdflib perl pg-hier png ppc ppds
python quicktime radeon readline sdl slang spell ssl tcpd tiff truetype wmf
xface xine xmms xv xvid zlib"
Comment 1 Kevyn Shortell (RETIRED) gentoo-dev 2004-01-15 01:21:46 UTC
wierd the old version of my testing ebuild. fixed. thanks for the bug =) Should hit the rsync server within an hour