[MacPorts] #32095: qpdf @2.2.2 - build failure
#32095: qpdf @2.2.2 - build failure -------------------------------+-------------------------------------------- Reporter: ranga@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qpdf -------------------------------+-------------------------------------------- qpdf version 2.2.2 fails to build. The build exits with the following error: {{{ :info:build libtool: link: `libqpdf/build/QPDF.lo' is not a valid libtool object :info:build make: *** [libqpdf/build/libqpdf.la] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-2.2.2' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-2.2.2" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) }}} The complete build log is attached. qpdf version 2.3.0 builds properly. A patch to the qpdf Portfile is attached. -- Ticket URL: <https://trac.macports.org/ticket/32095> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32095: qpdf @2.2.2 build failure; update to 2.3.0 -------------------------------+-------------------------------------------- Reporter: ranga@… | Owner: dojo@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: qpdf -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch * cc: ranga@… (removed) * cc: ryandesign@… (added) * owner: macports-tickets@… => dojo@… -- Ticket URL: <https://trac.macports.org/ticket/32095#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32095: qpdf @2.2.2 build failure; update to 2.3.0 -------------------------------+-------------------------------------------- Reporter: ranga@… | Owner: dojo@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch clang | Port: qpdf -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * keywords: haspatch => haspatch clang Comment: ranga, the log you attached is incomplete, but I see you're using Lion and clang. FYI 2.2.2 builds fine for me on Snow Leopard with gcc-4.2. So does 2.3.0. dojo, is it ok if I update the port? -- Ticket URL: <https://trac.macports.org/ticket/32095#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32095: qpdf @2.2.2 build failure; update to 2.3.0 -------------------------------+-------------------------------------------- Reporter: ranga@… | Owner: dojo@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch clang | Port: qpdf -------------------------------+-------------------------------------------- Comment(by ranga@…): You are right - I'm running Lion (10.7.2) with clang / Xcode 4.2. Sorry about the incomplete log - I can rerun the build for qpdf 2.2.2 and attach complete log, if needed. -- Ticket URL: <https://trac.macports.org/ticket/32095#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32095: qpdf @2.2.2 build failure; update to 2.3.0 -------------------------------+-------------------------------------------- Reporter: ranga@… | Owner: dojo@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch clang | Port: qpdf -------------------------------+-------------------------------------------- Comment(by mr.kamu@…): I ran into the same problem with Lion 10.7.2 with the latest Xcode. I applied the provided patch and it worked perfectly. Thanks Ranga. -- Ticket URL: <https://trac.macports.org/ticket/32095#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32095: qpdf @2.2.2 build failure; update to 2.3.0 --------------------------------+------------------------------------------- Reporter: ranga@… | Owner: dojo@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch clang Port: qpdf | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Maintainer timeout. Updated port in r88432. -- Ticket URL: <https://trac.macports.org/ticket/32095#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32095: qpdf @2.2.2 build failure; update to 2.3.0 --------------------------------+------------------------------------------- Reporter: ranga@… | Owner: dojo@… Type: update | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: haspatch clang Port: qpdf | --------------------------------+------------------------------------------- Changes (by gnwiii@…): * status: closed => reopened * resolution: fixed => Comment: With qpdf 2.2.2_0 installed, {{{sudo port upgrade outdated}}} fails to build qpdf @2.3.0 on Snow Leopard: {{{ :info:build /bin/sh ./libtool --quiet --mode=compile /usr/bin/g++-4.2 -I/opt/loc al/include -pipe -O2 -arch x86_64 -Wall -MD -MF libqpdf/build/QPDFObjectHandle.tdep \ -MP -Iinclude -Ilibqpdf -c libqpdf/QPDFObjectHandle.cc \ -o libqpdf/build/QPDFObjectHandle.o; \ sed -e 's/\.o:/.lo:/' < libqpdf/build/QPDFObjectHandle.tdep > \ libqpdf/build/QPDFObjectHandle.dep:info:build libqpdf/QPDF.cc: In member function \ ‘void QPDF::parse(const char*)’::info:build libqpdf/QPDF.cc:408: \ error: no matching function for call to \ ‘PointerHolder<char>::PointerHolder(bool, char*&)’:info:build \ /opt/local/include/qpdf/PointerHolder.hh:86: \ note: candidates are: PointerHolder<T>::PointerHolder(const PointerHolder<T>&) [with T = char]\ :info:build /opt/local/include/qpdf/PointerHolder.hh:82: note: \ PointerHolder<T>::PointerHolder(T*, bool) [with T = char]:info:build \ /bin/sh ./libtool --quiet --mode=compile /usr/bin/g++-4.2 -I/opt/local/include -pipe -O2 \ -arch x86_64 -Wall -MD -MF libqpdf/build/QPDFTokenizer.tdep -MP -Iinclude -Ilibqpdf -c \ libqpdf/QPDFTokenizer.cc -o libqpdf/build/QPDFTokenizer.o; \ sed -e 's/\.o:/.lo:/' < libqpdf/build/QPDFTokenizer.tdep > \ libqpdf/build/QPDFTokenizer.dep:info:build libqpdf/QPDF.cc: At global scope:\ :info:build libqpdf/QPDF.cc:1890: error: no ‘void QPDF::replaceObject(int, int, QPDFObjectHandle)’ \ member function declared in class ‘QPDF’:info:build libqpdf/QPDF.cc:1909: \ error: no ‘void QPDF::swapObjects(int, int, int, int)’ member function declared in class ‘QPDF’ }}} This looks like incompatible headers being found from {{{/opt/local/include}}}. Deactivating the old version before building the new version worked for me. -- Ticket URL: <https://trac.macports.org/ticket/32095#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32095: qpdf @2.2.2 build failure; update to 2.3.0 --------------------------------+------------------------------------------- Reporter: ranga@… | Owner: dojo@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch clang Port: qpdf | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: gnwiii@… (added) * status: reopened => closed * resolution: => fixed Comment: Replying to [comment:7 gnwiii@…]:
With qpdf 2.2.2_0 installed, {{{sudo port upgrade outdated}}} fails to build qpdf @2.3.0 on Snow Leopard:
Fixed in r88461 and r88462. Reported to the developers [https://sourceforge.net/tracker/?func=detail&aid=3468860&group_id=224196&ati... here]. In the future please open new tickets for new problems; don't re-open old resolved tickets. -- Ticket URL: <https://trac.macports.org/ticket/32095#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts