Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109458 - problem while emerge app-text/media-libs/pdflib
Summary: problem while emerge app-text/media-libs/pdflib
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-16 05:02 UTC by Dirk Schoenberger
Modified: 2007-03-03 19:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schoenberger 2005-10-16 05:02:29 UTC
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
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2006-06-28 16:35:31 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-03 18:12:36 UTC
No business for PHP here now that ppc-macos moved to prefix. Try with 6.0.3.
Comment 3 Fabian Groffen gentoo-dev 2007-03-03 19:08:51 UTC
6.0.3 in prefix works fine.