While trying to emerge pdflib-6.0.1 I ran into the following problem ../../libtool --silent --mode=compile gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/Developer/Headers/FlatCarbon - DPDF_PLATFORM=\""Mac OS X"\" -I../../libs/pdcore -I../../libs/pdflib -I../../libs/flate pc_core.c In file included from pc_util.h:31, from pc_core.c:19: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:31, from pc_arc4.c:59: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:34, from pc_arc4.c:59: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' In file included from pc_util.h:34, from pc_core.c:19: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' make[2]: [pc_arc4.lo] Error 1 (ignored) ../../libtool --silent --mode=compile gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/Developer/Headers/FlatCarbon - DPDF_PLATFORM=\""Mac OS X"\" -I../../libs/pdcore -I../../libs/pdflib -I../../libs/flate pc_corefont.c make[2]: [pc_core.lo] Error 1 (ignored) ../../libtool --silent --mode=compile gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/Developer/Headers/FlatCarbon - DPDF_PLATFORM=\""Mac OS X"\" -I../../libs/pdcore -I../../libs/pdflib -I../../libs/flate pc_crypt.c In file included from pc_util.h:31, from pc_corefont.c:19: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:34, from pc_corefont.c:19: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' In file included from pc_util.h:31, from pc_crypt.c:19: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:34, from pc_crypt.c:19: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' make[2]: [pc_crypt.lo] Error 1 (ignored) ../../libtool --silent --mode=compile gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/Developer/Headers/FlatCarbon - DPDF_PLATFORM=\""Mac OS X"\" -I../../libs/pdcore -I../../libs/pdflib -I../../libs/flate pc_ebcdic.c make[2]: [pc_corefont.lo] Error 1 (ignored) ../../libtool --silent --mode=compile gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/Developer/Headers/FlatCarbon - DPDF_PLATFORM=\""Mac OS X"\" -I../../libs/pdcore -I../../libs/pdflib -I../../libs/flate pc_encoding.c In file included from pc_util.h:31, from pc_ebcdic.c:19: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:34, from pc_ebcdic.c:19: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' make[2]: [pc_ebcdic.lo] Error 1 (ignored) ../../libtool --silent --mode=compile gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/Developer/Headers/FlatCarbon - DPDF_PLATFORM=\""Mac OS X"\" -I../../libs/pdcore -I../../libs/pdflib -I../../libs/flate pc_file.c In file included from pc_util.h:31, from pc_encoding.c:19: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:34, from pc_encoding.c:19: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' In file included from pc_util.h:31, from pc_file.c:21: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:34, from pc_file.c:21: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' make[2]: [pc_encoding.lo] Error 1 (ignored) ../../libtool --silent --mode=compile gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/Developer/Headers/FlatCarbon - DPDF_PLATFORM=\""Mac OS X"\" -I../../libs/pdcore -I../../libs/pdflib -I../../libs/flate pc_font.c In file included from pc_util.h:31, from pc_font.c:19: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:34, from pc_font.c:19: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' make[2]: [pc_font.lo] Error 1 (ignored) ../../libtool --silent --mode=compile gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/Developer/Headers/FlatCarbon - DPDF_PLATFORM=\""Mac OS X"\" -I../../libs/pdcore -I../../libs/pdflib -I../../libs/flate pc_geom.c In file included from pc_util.h:31, from pc_geom.c:19: pc_core.h:61: error: parse error before 'pdc_off_t' pc_core.h:61: warning: data definition has no type or storage class In file included from pc_util.h:34, from pc_geom.c:19: pc_output.h:143: error: parse error before 'pdc_get_pdfstreamlength' pc_output.h:143: warning: data definition has no type or storage class pc_output.h:156: error: parse error before 'pdc_off_t' pc_output.h:162: error: parse error before 'pdc_tell_out' pc_output.h:162: warning: data definition has no type or storage class pc_output.h:165: error: parse error before 'pdc_off_t' make[2]: [pc_geom.lo] Error 1 (ignored) 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
Adding PDFlib maintainer to CC, you may also want to try with the latest PDFlib 6.0.3 that's now in the tree... Best regards, CHTEKK.
No business for PHP here now that ppc-macos moved to prefix. Try with 6.0.3.
6.0.3 in prefix works fine.