[MacPorts] #38683: port pdfgrep failed: package 'poppler-cpp' not found
#38683: port pdfgrep failed: package 'poppler-cpp' not found ----------------------------+-------------------------------- Reporter: macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ----------------------------+-------------------------------- Installation of "pdfgrep" using variant "unac" failed: {{{ # port install pdfgrep +unac ---> Computing dependencies for pdfgrep ---> Dependencies to be installed: unac ---> Fetching archive for unac ---> Attempting to fetch unac-1.8.0_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/unac ---> Attempting to fetch unac-1.8.0_0.darwin_12.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/unac ---> Installing unac @1.8.0_0 ---> Activating unac @1.8.0_0 ---> Cleaning unac ---> Fetching archive for pdfgrep ---> Attempting to fetch pdfgrep-1.3.0_1+unac.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/pdfgrep ---> Attempting to fetch pdfgrep-1.3.0_1+unac.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/pdfgrep ---> Attempting to fetch pdfgrep-1.3.0_1+unac.darwin_12.x86_64.tbz2 from http://packages.macports.org/pdfgrep ---> Fetching distfiles for pdfgrep ---> Attempting to fetch pdfgrep-1.3.0.tar.gz from http://freefr.dl.sourceforge.net/pdfgrep ---> Verifying checksum(s) for pdfgrep ---> Extracting pdfgrep ---> Configuring pdfgrep Error: org.macports.configure for port pdfgrep returned: configure failure: command execution failed Please see the log file for port pdfgrep for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdfgrep/pdfgrep/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port pdfgrep failed }}} The log basically states that configure failed to find "poppler_cpp": {{{ :notice:configure ---> Configuring pdfgrep :debug:configure Using compiler 'Mac OS X clang' :debug:configure Executing org.macports.configure (pdfgrep) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLO YMENT_TARGET='10.8' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdfgrep/pdfgrep/work/.CC_PR INT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS ='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdfgrep/pdfgrep/work/pdfgrep-1.3.0" && ./configure - -prefix=/opt/local --with-unac' ... :info:configure checking for poppler_cpp... no :info:configure configure: error: Package requirements (poppler-cpp) were not met: :info:configure :info:configure No package 'poppler-cpp' found :info:configure :info:configure Consider adjusting the PKG_CONFIG_PATH environment variable if you :info:configure installed software in a non-standard prefix. :info:configure :info:configure Alternatively, you may set the environment variables poppler_cpp_CFLAGS :info:configure and poppler_cpp_LIBS to avoid the need to call pkg-config. :info:configure See the pkg-config man page for more details. :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdfgrep/pdfgrep/work/pdfgrep-1.3.0" && ./configure --prefix=/opt/local --with-unac :info:configure Exit code: 1 :error:configure org.macports.configure for port pdfgrep returned: configure failure: command execution failed }}} I don't have program called "poppler-cpp". Do I have to install the port "poppler" or "poppler-data" first? -- Ticket URL: <https://trac.macports.org/ticket/38683> MacPorts <http://www.macports.org/> Ports system for OS X
#38683: port pdfgrep failed: package 'poppler-cpp' not found -----------------------------+-------------------------------- Reporter: macports.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | -----------------------------+-------------------------------- Comment (by macports.org@…): '''I installed port "poppler"''' (which installed "poppler-data" as a dependency) {{{ bash-3.2# port install poppler +quartz }}} Installation for "poppler" finished successfully. Now port "pdfgrep" installs without problem: {{{ bash-3.2# port install pdfgrep +unac ---> Computing dependencies for pdfgrep ---> Configuring pdfgrep ---> Building pdfgrep ---> Staging pdfgrep into destroot ---> Installing pdfgrep @1.3.0_1+unac ---> Activating pdfgrep @1.3.0_1+unac ---> Cleaning pdfgrep ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}} Obviously configure's Package requirements "poppler-cpp" are now satisfied (although no program "poppler-cpp" got installed). '''Is "pdfgrep" missing a dependency here?''' -- Ticket URL: <https://trac.macports.org/ticket/38683#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38683: pdfgrep: package 'poppler-cpp' not found -----------------------------+---------------------- Reporter: macports.org@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: pdfgrep | -----------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => raimue@… * port: => pdfgrep Comment: I don't know how it was possible for you to attempt to install pdfgrep without already having poppler installed, since pdfgrep clearly does declare a dependency on poppler already, and always has: {{{ $ port deps pdfgrep Full Name: pdfgrep @1.3.0_1 Build Dependencies: pkgconfig Library Dependencies: poppler }}} -- Ticket URL: <https://trac.macports.org/ticket/38683#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38683: pdfgrep: package 'poppler-cpp' not found -----------------------------+---------------------- Reporter: macports.org@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: pdfgrep | -----------------------------+---------------------- Comment (by ryandesign@…): Perhaps you had poppler installed, but it was broken. What do you get for: {{{ port -v installed poppler }}} -- Ticket URL: <https://trac.macports.org/ticket/38683#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38683: pdfgrep: package 'poppler-cpp' not found -----------------------------+---------------------- Reporter: macports.org@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: pdfgrep | -----------------------------+---------------------- Comment (by macports.org@…): {{{ # port -v installed poppler The following ports are currently installed: poppler @0.22.2_0+quartz (active) platform='darwin 12' archs='x86_64' }}} -- Ticket URL: <https://trac.macports.org/ticket/38683#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38683: pdfgrep: package 'poppler-cpp' not found -----------------------------+---------------------- Reporter: macports.org@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: pdfgrep | -----------------------------+---------------------- Comment (by macports.org@…): The dependency to "poppler" is not enforced on my system. MacPorts does not refuse to uninstall poppler: {{{ # port uninstall poppler ---> Deactivating poppler @0.22.2_0+quartz ---> Cleaning poppler ---> Uninstalling poppler @0.22.2_0+quartz ---> Cleaning poppler }}} Of course this breaks "pdfgrep": {{{ $ pdfgrep dyld: Library not loaded: /opt/local/lib/libpoppler-cpp.0.dylib Referenced from: /opt/local/bin/pdfgrep Reason: image not found Trace/BPT trap: 5 }}} -- Ticket URL: <https://trac.macports.org/ticket/38683#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38683: pdfgrep +unac: package 'poppler-cpp' not found -----------------------------+---------------------- Reporter: macports.org@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: pdfgrep | -----------------------------+---------------------- Comment (by jmr@…): The unac variant overwrites the port:poppler dependency with port:unac. Presumably it should append instead. -- Ticket URL: <https://trac.macports.org/ticket/38683#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38683: pdfgrep +unac: package 'poppler-cpp' not found -----------------------------+---------------------- Reporter: macports.org@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: pdfgrep | -----------------------------+---------------------- Changes (by raimue@…): * status: new => closed * resolution: => fixed Comment: Thanks for the report. Fixed in r105031. -- Ticket URL: <https://trac.macports.org/ticket/38683#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts