Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#67941 closed defect (duplicate)

pdf2htmlex @0.11: Error: cannot locate fontforge.h

Reported by: wealthychef1 Owned by: iapain@…
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: mojca (Mojca Miklavec)
Port: pdf2htmlex

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm trying to build pdf2htmlex on MacOS Ventura.

rcook@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@MacBook-Pro-2021 (Downloads ): port -v
MacPorts 2.8.1

But it fails with an error:

port clean pdf2htmlex
--->  Cleaning pdf2htmlex
root@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.

Attachments (1)

main.log (260.9 KB) - added by wealthychef1 9 months ago.

Download all attachments as: .zip

Change History (7)

Changed 9 months ago by wealthychef1

Attachment: main.log added

comment:1 Changed 9 months ago by wealthychef1

Description: modified (diff)

comment:2 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mojca added
Description: modified (diff)
Owner: set to iapain@…
Port: pdf2htmlex added; pdf2htmex removed
Status: newassigned
Summary: pdf2htmlex does not buildpdf2htmlex @0.11: Error: cannot locate fontforge.h
Version: 2.8.1

First we should probably try to update the port. 0.11 was released in 2014. 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 hundreds of open bug reports when the project was archived; maybe one of them discusses this problem.

comment:3 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Whoops, didn't mean to change the description.

comment:4 in reply to:  2 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

We could update to 0.14.6

It looks like updating the port has been tried before and was unsuccessful.

comment:5 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

Let's handle this in that ticket.

comment:6 Changed 9 months ago by wealthychef1

Thank you for your attention.

Note: See TracTickets for help on using tickets.