Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353017 - PREFIX bootstrap at Mac OS X fails at emerging "sys-apps/man-1.6g" while "emerge -u system" additionaly "emerge -e system" fails at emerging "dev-lang/perl-5.12.2-r6"
Summary: PREFIX bootstrap at Mac OS X fails at emerging "sys-apps/man-1.6g" while "eme...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: High major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 09:10 UTC by Thomas Scheller
Modified: 2011-01-30 01:15 UTC (History)
0 users

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


Attachments
man-1.6e-bsdish.patch.out (man-1.6e-bsdish.patch.out,3.04 KB, text/plain)
2011-01-28 09:13 UTC, Thomas Scheller
Details
perl-5.10.1-stack-protector-check.patch.out (perl-5.10.1-stack-protector-check.patch.out,4.04 KB, text/plain)
2011-01-28 09:13 UTC, Thomas Scheller
Details
help2man build.log (build.log,2.11 KB, text/plain)
2011-01-28 22:42 UTC, Thomas Scheller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Scheller 2011-01-28 09:10:40 UTC
After following this guide:
http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml

everything works fine till "Code Listing 1.14: emerge system".
USE=-git emerge -u system

emerge fails at applying the patch "man-1.6e-bsdish.patch"

If I try "emerge -e system" I get an error at emerging "dev-lang/perl-5.12.2-r6" while applying patch "perl-5.10.1-stack-protector-check.patch"

Please find ".patch.out" logfiles attached

Reproducible: Always

Steps to Reproduce:
A1. Follow the prefix bootstrap guide for Mac OS X
A2. Issue appears at Listing 1.14
A3. emerge -u system
B4. emerge -e system
Actual Results:  
Failed Patch: man-1.6e-bsdish.patch !
 *  ( /Users/amiga/Library/Gentoo/usr/portage/sys-apps/man/files/man-1.6e-bsdish.patch )

------------

* Failed Patch: perl-5.10.1-stack-protector-check.patch !
 *  ( /Users/amiga/Library/Gentoo/usr/portage/dev-lang/perl/files/perl-5.10.1-stack-protector-check.patch )


Expected Results:  
Complete system update without error

My Computer is MacBook Pro 13" Intel Core 2 Duo @ 2.4GHz with Mac OS X 10.6.6 and XCode 3.2.5

$ emerge --info
Portage 2.2.01.17693-prefix (prefix/darwin/macos/10.6/x64, gcc-4.2.1, unavailable, 10.6.0 i386)
=================================================================
System uname: Darwin-10.6.0-i386-64bit
Timestamp of tree: Thu, 27 Jan 2011 22:11:26 +0000
distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.7.1-r00.1
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin10"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-apple-darwin10"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/portage /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/Users/amiga/Library/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
PKGDIR="/Users/amiga/Library/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/amiga/Library/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="/Users/amiga/Library/Gentoo/var/tmp"
PORTDIR="/Users/amiga/Library/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua coreaudio cracklib cxx mmx mmxext modules ncurses nls objc objc++ prefix readline sse sse2 ssl unicode x64-macos 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" 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, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Scheller 2011-01-28 09:13:06 UTC
Created attachment 260897 [details]
man-1.6e-bsdish.patch.out
Comment 2 Thomas Scheller 2011-01-28 09:13:55 UTC
Created attachment 260898 [details]
perl-5.10.1-stack-protector-check.patch.out
Comment 3 Fabian Groffen gentoo-dev 2011-01-28 12:05:43 UTC
perl fixed
man fixed

thanks!

Please resync in an hour from now and try to continue.
Comment 4 Thomas Scheller 2011-01-28 22:41:40 UTC
man and perl are fine now, thank you.

But during "emerge -e system" help2man fails: Cannot find $EPATCH_SOURCE!

>>> Emerging (28 of 106) sys-apps/help2man-1.38.4
 * help2man-1.38.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                   [ ok ]
 * Package:    sys-apps/help2man-1.38.4
 * Repository: gentoo_prefix
 * Maintainer: base-system@gentoo.org
 * USE:        elibc_Darwin kernel_Darwin nls prefix userland_GNU x64-macos
 * FEATURES:   nostrip preserve-libs
>>> Unpacking source...
>>> Unpacking help2man-1.38.4.tar.gz to /Users/amiga/Library/Gentoo/var/tmp/portage/sys-apps/help2man-1.38.4/work
>>> Source unpacked in /Users/amiga/Library/Gentoo/var/tmp/portage/sys-apps/help2man-1.38.4/work
>>> Preparing source in /Users/amiga/Library/Gentoo/var/tmp/portage/sys-apps/help2man-1.38.4/work/help2man-1.38.4 ...
 * Applying help2man-1.36.4-respect-LDFLAGS.patch ...                                                                                                                       [ ok ]

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /Users/amiga/Library/Gentoo/usr/portage/sys-apps/help2man/files/help2man-1.38.4-linguas.patch
 *   ( help2man-1.38.4-linguas.patch )

 * ERROR: sys-apps/help2man-1.38.4 failed:
 *   Cannot find $EPATCH_SOURCE!
 * 
 * Call stack:
 *     ebuild.sh, line   62:  Called src_prepare
 *   environment, line 2377:  Called epatch '/Users/amiga/Library/Gentoo/usr/portage/sys-apps/help2man/files/help2man-1.38.4-linguas.patch'
 *   environment, line 1047:  Called die
 * The specific snippet of code:
 *               die "Cannot find \$EPATCH_SOURCE!";


$ emerge -pqv =sys-apps/help2man-1.38.4
[ebuild     U ] sys-apps/help2man-1.38.4 [1.38.2] USE="nls*" 


Comment 5 Thomas Scheller 2011-01-28 22:42:37 UTC
Created attachment 260959 [details]
help2man build.log
Comment 6 Fabian Groffen gentoo-dev 2011-01-29 16:12:12 UTC
fixed once again, thanks
Comment 7 Thomas Scheller 2011-01-30 01:15:16 UTC
Works fine now :-) Bootstrap complete. Thanks for quick help