[MacPorts] #67941: pdf2htmlex @0.11: Error: cannot locate fontforge.h (was: pdf2htmlex does not build)

MacPorts noreply at macports.org
Thu Aug 10 21:09:51 UTC 2023


#67941: pdf2htmlex @0.11: Error: cannot locate fontforge.h
---------------------------+----------------------
  Reporter:  wealthychef1  |      Owner:  iapain@…
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  pdf2htmlex    |
---------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: mojca (added)
 * version:   => 2.8.1
 * owner:  (none) => iapain@…
 * port:  pdf2htmex => pdf2htmlex


Old description:

> I'm trying to build pdf2htmlex on MacOS Ventura.
>
> {{{
> rcook at MacBook-Pro-2021 (Downloads ): uname -a
> Darwin MacBook-Pro-2021.local 22.5.0 Darwin Kernel Version 22.5.0: Thu
> Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64
> rcook at MacBook-Pro-2021 (Downloads ): port -v
> MacPorts 2.8.1
> }}}
>
> But it fails with an error:
>

> {{{
> port clean pdf2htmlex
> --->  Cleaning pdf2htmlex
> root at MacBook-Pro-2021 (Downloads ): port install pdf2htmlex
> --->  Computing dependencies for pdf2htmlex
> --->  Fetching archive for pdf2htmlex
> --->  Attempting to fetch pdf2htmlex-0.11_23.darwin_22.arm64.tbz2 from
> https://packages.macports.org/pdf2htmlex
> --->  Attempting to fetch pdf2htmlex-0.11_23.darwin_22.arm64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/pdf2htmlex
> --->  Attempting to fetch pdf2htmlex-0.11_23.darwin_22.arm64.tbz2 from
> http://mirror.fcix.net/macports/packages/pdf2htmlex
> --->  Fetching distfiles for pdf2htmlex
> --->  Verifying checksums for pdf2htmlex
> --->  Extracting pdf2htmlex
> --->  Applying patches to pdf2htmlex
> --->  Configuring pdf2htmlex
> Error: Failed to configure pdf2htmlex: configure failure: command
> execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdf2htmlex/pdf2htmlex/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port pdf2htmlex failed
>
> }}}
>

> The log file shows this:
> {{{
> :info:configure CMake Error at CMakeLists.txt:97 (message):
> :info:configure   Error: cannot locate fontforge.h
> :info:configure -- Configuring incomplete, errors occurred!
> }}}
>
> Log attached.

New description:

 I'm trying to build pdf2htmlex on MacOS Ventura.

 {{{
 rcook at MacBook-Pro-2021 (Downloads ): uname -a
 Darwin MacBook-Pro-2021.local 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun
 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64
 rcook at MacBook-Pro-2021 (Downloads ): port -v
 MacPorts 2.8.1
 }}}

 But it fails with an error:


 {{{
 port clean pdf2htmlex
 --->  Cleaning pdf2htmlex
 root at MacBook-Pro-2021 (Downloads ): port install pdf2htmlex
 --->  Computing dependencies for pdf2htmlex
 --->  Fetching archive for pdf2htmlex
 --->  Attempting to fetch pdf2htmlex-0.11_23.darwin_22.arm64.tbz2 from
 https://packages.macports.org/pdf2htmlex
 --->  Attempting to fetch pdf2htmlex-0.11_23.darwin_22.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/pdf2htmlex
 --->  Attempting to fetch pdf2htmlex-0.11_23.darwin_22.arm64.tbz2 from
 http://mirror.fcix.net/macports/packages/pdf2htmlex
 --->  Fetching distfiles for pdf2htmlex
 --->  Verifying checksums for pdf2htmlex
 --->  Extracting pdf2htmlex
 --->  Applying patches to pdf2htmlex
 --->  Configuring pdf2htmlex
 Error: Failed to configure pdf2htmlex: configure failure: command
 execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdf2htmlex/pdf2htmlex/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port pdf2htmlex failed

 }}}


 The log file shows this:
 {{{
 :info:configure CMake Error at CMakeLists.txt:97 (message):
 :info:configure
 :info:configure -- Configuring incomplete, errors occurred!
 }}}

 Log attached.

--

Comment:

 First we should probably try to update the port. 0.11 was released in
 2014. [https://github.com/coolwanglu/pdf2htmlEX/tags We could update to
 0.14.6] which was released in 2015. That is the last version available,
 however, and the project was archived in 2018, so if that doesn't work,
 we'll have to dig in to try to find the cause. There were
 [https://github.com/coolwanglu/pdf2htmlEX/issues hundreds of open bug
 reports] when the project was archived; maybe one of them discusses this
 problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/67941#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list