#34384 closed defect (fixed)
qpdf: ‘pcre_info’ was not declared in this scope
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | haspatch | Cc: | wlipa (Bill Lipa), amadeus24 |
Port: | qpdf |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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)
Attachments (3)
Change History (7)
Changed 13 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | haspatch added |
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Summary: | 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" → qpdf: ‘pcre_info’ was not declared in this scope |
This problem and its fix were already reported to the developer qpdf who has said he will include the fix in the next version of qpdf.
Here is a patch to update qpdf to 2.3.1 and include this patch. It builds for me. @dojo: May I commit it?
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | qpdf-2.3.1.diff added |
---|
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-pcre-8.30.diff added |
---|
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ag@… added |
---|
Has duplicate #34422.
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
main.log