While trying to emerge zoo I ran into the following problem gcc -c -O3 -DSYS_V -DANSI_HDRS -DHAVE_MKDIR -DBIG_MEM -DNDEBUG getfile.c gcc -c -O3 -DSYS_V -DANSI_HDRS -DHAVE_MKDIR -DBIG_MEM -DNDEBUG lzc.c gcc -c -O3 -DSYS_V -DANSI_HDRS -DHAVE_MKDIR -DBIG_MEM -DNDEBUG lzd.c gcc -c -O3 -DSYS_V -DANSI_HDRS -DHAVE_MKDIR -DBIG_MEM -DNDEBUG machine.c In file included from machine.c:52: sysv.c:66: error: 'timezone' redeclared as different kind of symbol /usr/include/time.h:149: error: previous declaration of 'timezone' was here make[1]: *** [machine.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [linux] Error 2 !!! ERROR: app-arch/zoo-2.10 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.52-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh) =============================================================== == System uname: 8.2.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc emboss imagemagick nls png ppc-macos sdl userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I get: # emerge -uDN world Calculating world dependencies ...done! >>> emerge (1 of 4) app-arch/zoo-2.10-r1 to / >>> md5 files ;-) zoo-2.10.ebuild >>> md5 files ;-) zoo-2.10-r1.ebuild >>> md5 files ;-) files/digest-zoo-2.10-r1 >>> md5 files ;-) files/digest-zoo-2.10 >>> md5 files ;-) files/zoo-security-fix.patch >>> md5 src_uri ;-) zoo-2.10pl1.tar.gz >>> md5 src_uri ;-) zoo-2.10-gcc33-issues-fix.patch >>> Unpacking source... >>> Unpacking zoo-2.10pl1.tar.gz to /var/tmp/portage/zoo-2.10-r1/work * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /var/tmp/portage/zoo-2.10-r1/work/zoo-2.10-gcc33-issues-fix.patch * ( zoo-2.10-gcc33-issues-fix.patch ) !!! ERROR: app-arch/zoo-2.10-r1 failed. !!! Function epatch, Line 207, Exitcode 0 !!! Cannot find $EPATCH_SOURCE! !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-hardened-r5 i686) ================================================================= System uname: 2.6.14-hardened-r5 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 apache2 avi bash-completion berkdb bitmap-fonts bzip2 crypt curl devfs26 eds emboss encode expat foomaticdb gd gdbm gif gstreamer hardened hardenedphp idn imagemagick imap imlib jpeg kde libg++ mbox memlimit mhash mmx mmx2 motif mp3 mpm-prefork ncurses nls nopop3d ogg oggvorbis pam pcre php png posix quicktime rtc sasl sse sse2 ssl tcpd tiff truetype truetype-fonts type1 type1-fonts udev vhosts vorbis xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
This package is a hell. I won't fix it for Darwin.