while trying to emerge new-1.3.2 I ran into the following problem /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -g -Wall - DGLOBAL_TEMPLATE_DIR=\"/usr/share/new/templates\" -DGLOBAL_PROJECT_DIR=\"/usr/share/new/ projects\" -c fmt_ptrn.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -g -Wall - DGLOBAL_TEMPLATE_DIR=\"/usr/share/new/templates\" -DGLOBAL_PROJECT_DIR=\"/usr/share/new/ projects\" -c modifiers.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -g -Wall -DGLOBAL_TEMPLATE_DIR=\"/usr/share/new/ templates\" -DGLOBAL_PROJECT_DIR=\"/usr/share/new/projects\" -c fmt_ptrn.c -fno-common -DPIC -o .libs/fmt_ptrn.lo rm -f .libs/modifiers.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -g -Wall -DGLOBAL_TEMPLATE_DIR=\"/usr/share/new/ templates\" -DGLOBAL_PROJECT_DIR=\"/usr/share/new/projects\" -c modifiers.c -fno-common -DPIC -o .libs/modifiers.lo fmt_ptrn.c:77: error: conflicting types for 'stack_t' /usr/include/sys/signal.h:364: error: previous declaration of 'stack_t' was here modifiers.c: In function 'apply_upper': modifiers.c:37: warning: operation on 'ptr' may be undefined make[2]: *** [fmt_ptrn.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... modifiers.c: In function 'apply_lower': modifiers.c:46: warning: operation on 'ptr' may be undefined gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -g -Wall -DGLOBAL_TEMPLATE_DIR=\"/usr/share/new/ templates\" -DGLOBAL_PROJECT_DIR=\"/usr/share/new/projects\" -c modifiers.c -o modifiers.o >/ dev/null 2>&1 mv -f .libs/modifiers.lo modifiers.lo make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r3 (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" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin8" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin8" 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 aalib emboss gdbm gif imagemagick libwww nls ogg opengl png ppc-macos qt sdl slang tiff vorbis userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
redefining stack_t in src/fmt_ptrn.c into something which doesn't likely conflict did the trick. added in prefix, thanks.