Opened 13 years ago

Last modified 13 years ago

#34384 closed defect

qpdf @2.3.0, Revision 1 does not build on PPC Leopard Mac OS X 10.5.8 because "‘pcre_info’ was not declared in this scope" — at Initial Version

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: haspatch Cc: dojo@…
Port: qpdf

Description

The build fails in a fashion similar to that of [32095]:

/bin/sh ./libtool --mode=link /usr/bin/g++-4.0 -O2 -arch ppc -Wall -o libqpdf/build/libqpdf.la libqpdf/build/BitStream.lo libqpdf/build/BitWriter.lo libqpdf/build/Buffer.lo libqpdf/build/MD5.lo libqpdf/build/PCRE.lo libqpdf/build/Pipeline.lo libqpdf/build/Pl_AES_PDF.lo libqpdf/build/Pl_ASCII85Decoder.lo libqpdf/build/Pl_ASCIIHexDecoder.lo libqpdf/build/Pl_Buffer.lo libqpdf/build/Pl_Count.lo libqpdf/build/Pl_Discard.lo libqpdf/build/Pl_Flate.lo libqpdf/build/Pl_LZWDecoder.lo libqpdf/build/Pl_MD5.lo libqpdf/build/Pl_PNGFilter.lo libqpdf/build/Pl_QPDFTokenizer.lo libqpdf/build/Pl_RC4.lo libqpdf/build/Pl_StdioFile.lo libqpdf/build/QPDF.lo libqpdf/build/QPDFExc.lo libqpdf/build/QPDFObject.lo libqpdf/build/QPDFObjectHandle.lo libqpdf/build/QPDFTokenizer.lo libqpdf/build/QPDFWriter.lo libqpdf/build/QPDFXRefEntry.lo libqpdf/build/QPDF_Array.lo libqpdf/build/QPDF_Bool.lo libqpdf/build/QPDF_Dictionary.lo libqpdf/build/QPDF_Integer.lo libqpdf/build/QPDF_Name.lo libqpdf/build/QPDF_Null.lo libqpdf/build/QPDF_Real.lo libqpdf/build/QPDF_Stream.lo libqpdf/build/QPDF_String.lo libqpdf/build/QPDF_encryption.lo libqpdf/build/QPDF_linearization.lo libqpdf/build/QPDF_optimization.lo libqpdf/build/QTC.lo libqpdf/build/QUtil.lo libqpdf/build/RC4.lo libqpdf/build/qpdf-c.lo libqpdf/build/rijndael.lo -lpcre -lz  -L/opt/local/lib -arch ppc -rpath /opt/local/lib -version-info 7:0:4
libtool: link: `libqpdf/build/PCRE.lo' is not a valid libtool object
make: *** [libqpdf/build/libqpdf.la] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-2.3.0'

but the actual error happens much earlier:

bin/sh ./libtool --quiet --mode=compile /usr/bin/g++-4.0 -O2 -arch ppc -Wall -MD -MF libqpdf/build/PCRE.tdep -MP -Iinclude -Ilibqpdf -I/opt/local/include -c libqpdf/PCRE.cc -o libqpdf/build/PCRE.o; sed -e 's/\.o:/.lo:/' < libqpdf/build/PCRE.tdep > libqpdf/build/PCRE.dep
libqpdf/PCRE.cc: In constructor ‘PCRE::PCRE(const char*, int)’:
libqpdf/PCRE.cc:147: error: ‘pcre_info’ was not declared in this scope

which does not produce

/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-2.3.0/libqpdf/build/PCRE.lo

because obviously I now have installed:

  pcre @8.30_0 (active)

Change History (1)

Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

Note: See TracTickets for help on using tickets.