Following the bootstrap instructions, the gcc-apple build fails with an automake error. emerge --oneshot gcc-apple builds a working autotools toolchain and then proceeds to build gcc-apple without any trouble. If nothing else, the docs should reflect this. Unfortunately when I got gcc-apple to correctly build and merge it wiped out my fail logs. Will attempt to reproduce in a fresh prefix later this weekend. Reproducible: Always Steps to Reproduce: 1. follow instructions for OS X bootstrap on 10.5.8 powerpc 2. gcc-apple fails to build
please do try and get logs so we can get this issue resolved (hopefully)
and spare the --nodeps (or are they really fulfilled?)
I don't follow- the bootstrap instructions say to use --oneshot --nodeps. If you don't use --nodeps, it works just fine. Since my main portage prefix is currently blocked on a readline patch bug, I'm bootstrapping a new prefix now to get some fail logs. See ya in an hour or so...
(In reply to comment #2) > and spare the --nodeps (or are they really fulfilled?) i was just lectured that i've overseen the bootstrapping macosx guide. my apologies and please forget about my comment.
Sris-Power-Mac-G4:testprefix admin$ emerge --info Portage 2.2.00.15842-prefix (prefix/darwin/macos/10.5/ppc, gcc-4.0.1, unavailable, 9.8.0 Power Macintosh) ================================================================= System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit Timestamp of tree: Tue, 27 Apr 2010 21:37:36 +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 sys-devel/gcc-config: 1.4.1-r00.2 ACCEPT_KEYWORDS="~ppc-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-apple-darwin9" CFLAGS="" CHOST="powerpc-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CPPFLAGS="-I/Volumes/Gentoo/testprefix//usr/include" CXXFLAGS="" DISTDIR="/Volumes/Gentoo/testprefix/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="-Wl,-search_paths_first -L/Volumes/Gentoo/testprefix//usr/lib -L/Volumes/Gentoo/testprefix//lib" PKGDIR="/Volumes/Gentoo/testprefix/usr/portage/packages" PORTAGE_CONFIGROOT="/Volumes/Gentoo/testprefix/" 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/testprefix/var/tmp" PORTDIR="/Volumes/Gentoo/testprefix/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua coreaudio cracklib cxx modules ncurses objc objc++ ppc-macos prefix readline 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" Unset: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 229827 [details] build log
Created attachment 229829 [details] ebuild environment file
Created attachment 229831 [details] Correct build log (sorry!)
Created attachment 229833 [details] Correct ebuild environment file (sorry!)
ahhh... hmmmm
and this is step 1.7, I presume?
Correct, last command in step 1.7. Again, the quick fix is emerge --oneshot gcc-apple instead of emerge --oneshot --nodeps gcc-apple. I don't know if it's easier to change the docs or change the deps in the ebuild..
how many dependencies are pulled in (do you still have the list?) if you remove --nodeps?
Sris-Power-Mac-G4:~ admin$ emerge -pv --oneshot gcc-apple These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-devel/gnuconfig-20100403 0 kB [ebuild N ] sys-libs/zlib-1.2.3-r01.1 0 kB [ebuild N ] sys-libs/ncurses-5.7-r3 USE="cxx (-ada) -debug -doc (-gpm) -minimal -profile -trace -unicode" 0 kB [ebuild N ] sys-devel/autoconf-wrapper-8 0 kB [ebuild N ] app-arch/bzip2-1.0.5-r1 USE="-static" 0 kB [ebuild N ] sys-devel/automake-wrapper-5 0 kB [ebuild N ] dev-libs/gmp-4.3.1 USE="-nocxx" 0 kB [ebuild N ] dev-libs/mpfr-2.4.2_p3 0 kB [ebuild N ] sys-devel/libperl-5.10.1-r00.1 0 kB [ebuild N ] dev-lang/perl-5.10.1 USE="-berkdb -build -debug -doc -gdbm -ithreads" 0 kB [ebuild N ] app-admin/perl-cleaner-2.0 0 kB [ebuild N ] sys-apps/help2man-1.37.1 USE="-nls" 0 kB [ebuild N ] sys-apps/texinfo-4.13 USE="-nls -static" 0 kB [ebuild N ] sys-devel/autoconf-2.65 USE="-emacs" 0 kB [ebuild N ] sys-devel/automake-1.11.1 0 kB [ebuild N ] sys-devel/libtool-2.2.6b USE="-test -vanilla" 0 kB [ebuild N ] sys-devel/gcc-apple-4.2.1_p5647 USE="objc objc++ openmp -fortran -multislot -nls -nocxx -nptl -test" 0 kB Total: 17 packages (17 new), Size of downloads: 0 kB
are you still in the position to try if emerging --nodeps automake is enough?
Fails on configure. Attaching the config log. * ERROR: sys-devel/automake-1.11.1 failed: * econf failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 5796: Called econf '--docdir=/Volumes/Gentoo/testprefix/usr/share/doc/automake-1.11.1' 'HELP2MAN=true' * ebuild.sh, line 546: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =sys-devel/automake-1.11.1', * the complete build log and the output of 'emerge -pqv =sys-devel/automake-1.11.1'. * The complete build log is located at '/Volumes/Gentoo/testprefix/var/tmp/portage/sys-devel/automake-1.11.1/temp/build.log'. * The ebuild environment file is located at '/Volumes/Gentoo/testprefix/var/tmp/portage/sys-devel/automake-1.11.1/temp/environment'. * S: '/Volumes/Gentoo/testprefix/var/tmp/portage/sys-devel/automake-1.11.1/work/automake-1.11.1'
Created attachment 229837 [details] automake build log
Created attachment 229839 [details] automake config log
ok, so that would be autoconf + automake. Can you emerge --oneshot --nodeps autoconf ?
Created attachment 229843 [details] Autoconf build log Autoconf fails on QA concerns? This is kinda fun.. * ERROR: sys-devel/autoconf-2.65 failed: * Aborting due to QA concerns: invalid shebangs found * * Call stack: * misc-functions.sh, line 1487: Called install_qa_check * misc-functions.sh, line 94: Called install_qa_check_prefix * misc-functions.sh, line 657: Called die * The specific snippet of code: * die "Aborting due to QA concerns: invalid shebangs found" * * If you need support, post the output of 'emerge --info =sys-devel/autoconf-2.65', * the complete build log and the output of 'emerge -pqv =sys-devel/autoconf-2.65'. * The complete build log is located at '/Volumes/Gentoo/testprefix/var/tmp/portage/sys-devel/autoconf-2.65/temp/build.log'. * The ebuild environment file is located at '/Volumes/Gentoo/testprefix/var/tmp/portage/sys-devel/autoconf-2.65/temp/environment'. * S: '/Volumes/Gentoo/testprefix/var/tmp/portage/sys-devel/autoconf-2.65/work/autoconf-2.65'
ok, thanks. It seems you would end up with this: 42 # needed for autoconf 43 emerge --oneshot --nodeps perl || exit 44 # both needed for automake 45 emerge --oneshot --nodeps autoconf || exit 46 emerge --oneshot --nodeps autoconf-wrapper || exit 47 # needed for gcc-apple 48 emerge --oneshot --nodeps help2man || exit 49 emerge --oneshot --nodeps texinfo || exit 50 emerge --oneshot --nodeps automake || exit 51 emerge --oneshot --nodeps automake-wrapper || exit 52 emerge --oneshot --nodeps gcc-config || exit 53 emerge --oneshot --nodeps "<gcc-apple-4.2.1_p5646" || exit
There is actually no need for eautoconf while bootstrapping so I made them conditional on USE=bootstrap. I committed the fixes, tomorrow's bootstrap snapshot should make it then. Thanks for the efforts in trying to find a way to get around the issue!
(In reply to comment #22) > There is actually no need for eautoconf while bootstrapping so I made them > conditional on USE=bootstrap. I committed the fixes, tomorrow's bootstrap > snapshot should make it then. > > Thanks for the efforts in trying to find a way to get around the issue! > Current snapshot is still 0502. Just so we don't forget.
snapshot bumped