[MacPorts] #44737: Fail to upgrade poppler
#44737: Fail to upgrade poppler -------------------------+-------------------------------- Reporter: papachoco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: install | Port: poppler -------------------------+-------------------------------- My installation of poppler fail to upgrade. Log attached Thanks a lot Carlos -- Ticket URL: <https://trac.macports.org/ticket/44737> MacPorts <http://www.macports.org/> Ports system for OS X
#44737: poppler @0.26.4_0: build fails, cannot find "opj_stdint.h" --------------------------+---------------------- Reporter: papachoco@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: poppler | --------------------------+---------------------- Changes (by larryv@…): * keywords: install => * owner: macports-tickets@… => devans@… * cc: devans@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/44737#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44737: poppler @0.26.4_0: build fails, cannot find "opj_stdint.h" --------------------------+---------------------- Reporter: papachoco@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: poppler | --------------------------+---------------------- Changes (by devans@…): * status: new => assigned Comment: There's something wrong with your installation of openjpeg15. The error from your log file is {{{ 705 :info:build libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../goo -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno- common -pipe -Os -arch x86_64 -stdlib=libc++ -D_THREAD_SAFE -pthread -MT CurlPDFDocBuilder.lo -MD -MP -MF .deps/CurlPDFDocBuilder.Tpo -c CurlPDFDocBuilder.cc -fno-common -DPIC -o .libs/CurlPDFDocBuilder.o 706 :info:build In file included from JPEG2000Stream.cc:15: 707 :info:build In file included from ./JPEG2000Stream.h:19: 708 :info:build /opt/local/include/openjpeg.h:115:10: fatal error: 'opj_stdint.h' file not found 709 :info:build #include "opj_stdint.h" 710 :info:build ^ 711 :info:build 1 error generated. }}} openjpeg15 does install /opt/local/include/openjpeg.h but its version does not include any reference to opj_stdint.h. openjpeg (version 2.1) on the other hand installs its include file at /opt/local/include/openjpeg-2.1/openjpeg.h and THAT openjpeg.h DOES reference opj_stdint.h (installed at /opt/local/include/openjpeg-2.1/opj_stdint.h) at line 115. So it looks like you have the openjpeg version of openjpeg.h installed where the openjpeg15 version should be. I suggest reinstalling openjpeg15 and then try upgrading poppler again. {{{ sudo port -n upgrade --force openjpeg15 sudo port upgrade poppler }}} -- Ticket URL: <https://trac.macports.org/ticket/44737#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44737: poppler @0.26.4_0: build fails, cannot find "opj_stdint.h" --------------------------+---------------------- Reporter: papachoco@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: poppler | --------------------------+---------------------- Comment (by papachoco@…): Indeed my /opt/local/include/openjpeg.h was pointing to openjpeg-2.1//openjpeg.h. I had changed it previously b/c I was installing ImageMagick @6.8.9-7 outside macports. Thanks a lot for the tip. as soon as I changed my openjpeg.h link to openjpeg-1.5/openjpeg.h poppler upgraded w/o any problem Carlos -- Ticket URL: <https://trac.macports.org/ticket/44737#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44737: poppler @0.26.4_0: build fails, cannot find "opj_stdint.h" --------------------------+---------------------- Reporter: papachoco@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: Port: poppler | --------------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/44737#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts