[MacPorts] #34384: 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"
MacPorts
noreply at macports.org
Wed May 9 15:36:56 PDT 2012
#34384: 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"
--------------------------------------+-------------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: qpdf
--------------------------------------+-------------------------------------
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)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34384>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list