Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103835 - readline-5.0 failed patching
Summary: readline-5.0 failed patching
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-26 08:44 UTC by Stephane
Modified: 2005-08-29 16:00 UTC (History)
1 user (show)

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 Stephane 2005-08-26 08:44:07 UTC
Sorry i'm newbie but i have a problem with the readline ebuild



>>> Unpacking readline-5.0.tar.gz to /var/tmp/portage/readline-5.0-r2/work
 * Applying readline50-001 ...

 * Failed Patch: readline50-001 !
 *  ( /usr/portage/distfiles/readline50-001 )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/readline-5.0-r2/temp/readline50-001-26027.out


!!! ERROR: sys-libs/readline-5.0-r2 failed.
!!! Function epatch, Line 359, Exitcode 0
!!! Failed Patch: readline50-001!
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Stian Skjelstad 2005-08-26 15:55:23 UTC
have you tried to sync your portage tree? You might have got a partially 
updated portage tree.

emerge sync
Comment 2 SpanKY gentoo-dev 2005-08-26 20:11:33 UTC
neglected to post `emerge info` or attach the output like the error message told
you to
Comment 3 Stephane 2005-08-27 11:36:33 UTC
Gentoo fain # emerge -uDN world
Calculating world dependencies ...done!
>>> emerge (1 of 80) sys-libs/readline-5.0-r2 to /
!!! Cannot create log... No write access / Does not exist
!!! PORT_LOGDIR: /var/log/portage
!!! Cannot create log... No write access / Does not exist
!!! PORT_LOGDIR: /var/log/portage
>>> md5 files   ;-) readline-4.3-r5.ebuild
>>> md5 files   ;-) readline-4.3-r6.ebuild
>>> md5 files   ;-) readline-5.0-r2.ebuild
>>> md5 files   ;-) files/readline-5.0-self-insert.patch
>>> md5 files   ;-) files/bash-3.0-etc-inputrc.patch
>>> md5 files   ;-) files/digest-readline-4.3-r5
>>> md5 files   ;-) files/digest-readline-4.3-r6
>>> md5 files   ;-) files/digest-readline-5.0-r2
>>> md5 files   ;-) files/macos.patch
>>> md5 files   ;-) files/readline-5.0-no_rpath.patch
>>> md5 files   ;-) files/readline-5.0-del-backspace-policy.patch
>>> md5 files   ;-) files/readline-5.0-solaris.patch
>>> md5 files   ;-) files/readline-5.0-darwin.patch
>>> md5 files   ;-) files/readline-5.0-parallel.patch
>>> md5 src_uri ;-) readline-5.0.tar.gz
>>> md5 src_uri ;-) readline50-001
>>> md5 src_uri ;-) readline50-002
>>> md5 src_uri ;-) readline50-003
>>> md5 src_uri ;-) readline50-004
>>> md5 src_uri ;-) readline50-005
>>> Unpacking source...
>>> Unpacking readline-5.0.tar.gz to /var/tmp/portage/readline-5.0-r2/work
 * Applying readline50-001 ...

 * Failed Patch: readline50-001 !
 *  ( /usr/portage/distfiles/readline50-001 )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/readline-5.0-r2/temp/readline50-001-7616.out


!!! ERROR: sys-libs/readline-5.0-r2 failed.
!!! Function epatch, Line 359, Exitcode 0
!!! Failed Patch: readline50-001!
!!! If you need support, post the topmost build error, NOT this status message.



I have the last version of portage : emerge --sync


the emerge --info

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/distfiles/ 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ 
http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.inode.at/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode
fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde
libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl spell ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 4 SpanKY gentoo-dev 2005-08-27 11:56:41 UTC
you still havent posted the
/var/tmp/portage/readline-5.0-r2/temp/readline50-001-7616.out file like the
error message told you to
Comment 5 Stephane 2005-08-27 13:08:42 UTC
Here the file sorry


***** readline50-001 *****

==========================

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/usr/portage/distfiles/readline50-001

==========================
patch: **** Only garbage was found in the patch input.
==========================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/usr/portage/distfiles/readline50-001

==========================
patch: **** Only garbage was found in the patch input.
==========================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/usr/portage/distfiles/readline50-001

==========================
patch: **** Only garbage was found in the patch input.
==========================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/usr/portage/distfiles/readline50-001

==========================
patch: **** Only garbage was found in the patch input.
==========================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/usr/portage/distfiles/readline50-001

==========================
patch: **** Only garbage was found in the patch input.
Comment 6 SpanKY gentoo-dev 2005-08-27 23:51:42 UTC
try deleting the patches and re-emerging
rm /usr/portage/distfiles/readline*
Comment 7 Stephane 2005-08-29 11:10:21 UTC
I have delete the files but i can't download it again there not found in the web
Comment 8 SpanKY gentoo-dev 2005-08-29 16:00:36 UTC
you can find them here:
ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/