Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317913 - sys-libs/readline-6.1_p2 fails to patch on OS X 10.5.8 PPC
Summary: sys-libs/readline-6.1_p2 fails to patch on OS X 10.5.8 PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 17:09 UTC by Sri Gupta
Modified: 2010-04-30 18:35 UTC (History)
0 users

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


Attachments
build log (build.log,3.20 KB, text/plain)
2010-04-30 17:11 UTC, Sri Gupta
Details
ebuild environment file (environment,121.06 KB, text/plain)
2010-04-30 17:12 UTC, Sri Gupta
Details
patch output (readline-6.1-freebsd.patch.out,2.57 KB, text/plain)
2010-04-30 17:12 UTC, Sri Gupta
Details
fixing build (readline-6.1_p2.diff,433 bytes, patch)
2010-04-30 18:15 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sri Gupta 2010-04-30 17:09:12 UTC
Attempting to emerge -u system in the bootstrapping process, merge dies on readline with an epatch failure.  

Reproducible: Always

Actual Results:  
 * Failed Patch: readline-6.1-freebsd.patch !
 *  ( /Volumes/Gentoo/usr/portage/sys-libs/readline/files/readline-6.1-freebsd.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /Volumes/Gentoo/var/tmp/portage/sys-libs/readline-6.1_p2/temp/readline-6.1-freebsd.patch.out
 * ERROR: sys-libs/readline-6.1_p2 failed:
 *   Failed Patch: readline-6.1-freebsd.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called call-ebuildshell 'src_unpack'
 *   environment, line  544:  Called src_unpack
 *   environment, line 3289:  Called epatch '/Volumes/Gentoo/usr/portage/sys-libs/readline/files/readline-6.1-freebsd.patch'
 *   environment, line 1846:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =sys-libs/readline-6.1_p2',
 * the complete build log and the output of 'emerge -pqv =sys-libs/readline-6.1_p2'.
 * The complete build log is located at '/Volumes/Gentoo/var/tmp/portage/sys-libs/readline-6.1_p2/temp/build.log'.
 * The ebuild environment file is located at '/Volumes/Gentoo/var/tmp/portage/sys-libs/readline-6.1_p2/temp/environment'.
 * S: '/Volumes/Gentoo/var/tmp/portage/sys-libs/readline-6.1_p2/work/readline-6.1'


Expected Results:  
unpack, patch, compile, install, merge!

powerpc-apple-darwin9, OS X 10.5.8, bootstrapping portage on a case sensitive HFS+ partition.

bash-3.2$ emerge --info
Portage 2.2.00.15842-prefix (prefix/darwin/macos/10.5/ppc, gcc-4.2.1, unavailable, 9.8.0 Power Macintosh)
=================================================================
System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Fri, 30 Apr 2010 15:37:45 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r1
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
ACCEPT_KEYWORDS="~ppc-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-apple-darwin9"
CFLAGS=""
CHOST="powerpc-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS=""
DISTDIR="/Volumes/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/Volumes/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Volumes/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Volumes/Gentoo/var/tmp"
PORTDIR="/Volumes/Gentoo/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua coreaudio cracklib cxx modules ncurses objc objc++ ppc-macos prefix readline ssl zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Sri Gupta 2010-04-30 17:11:05 UTC
Created attachment 229813 [details]
build log
Comment 2 Sri Gupta 2010-04-30 17:12:01 UTC
Created attachment 229815 [details]
ebuild environment file
Comment 3 Sri Gupta 2010-04-30 17:12:20 UTC
Created attachment 229817 [details]
patch output
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-30 18:15:07 UTC
Created attachment 229823 [details, diff]
fixing build

thats because
        epatch "${FILESDIR}"/${PN}-6.1-rlfe-freebsd.patch # 301508
is identical with 
        epatch "${FILESDIR}"/${PN}-6.1-freebsd.patch

Best regards,
Kacper Kowalik
Comment 5 Sri Gupta 2010-04-30 18:23:22 UTC
Fixed ebuild works great!  Thank you.
Comment 6 Fabian Groffen gentoo-dev 2010-04-30 18:35:48 UTC
thanks, fixed in the tree now