Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#58388 closed defect (fixed)

libwmf @0.2.8.4_8: dependency on obsolete port mkfontdir - build failure

Reported by: majoc-at-astro (majoc-at-astro) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: libwmf

Description

From the logfile for gimp2:

--->  Configuring mkfontdir
Error: mkfontdir has been replaced by mkfontscale; please install that instead.
Error: Failed to configure mkfontdir: obsolete port

I enclose the obvious patch file to remove the dependency of libwmf on mkfontdir. This fix has been working in production for some weeks.

Please see also ticket:58187. This is a sneaky one: a bin:-style dependency on mkfontdir doesn't always throw an error (and may require a grep of the Portfiles to track down), and I presume there are Reasons for not using a port:-style dependency instead.

Thanks in advance, and apologies for not having submitted this as a pull request, esp as libwmf is a nomaintainer port.

Attachments (1)

libwmf.Portfile.diff (443 bytes) - added by majoc-at-astro (majoc-at-astro) 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by majoc-at-astro (majoc-at-astro)

Attachment: libwmf.Portfile.diff added

comment:1 Changed 6 years ago by mf2k (Frank Schima)

It seems to me that it should be a direct port dependency, not a bin dependency.

port:mkfontscale

Last edited 6 years ago by mf2k (Frank Schima) (previous) (diff)

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Port: gimp2 removed

Submitting a PR is always preferred and has nothing to do with whether a port has a maintainer or not.

comment:3 Changed 6 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 41e4543ecc66cc50bf54758ad5f07da00f144a62/macports-ports (master):

libwmf: fix deps with +x11

Closes: #58388

comment:4 in reply to:  1 Changed 6 years ago by majoc-at-astro (majoc-at-astro)

Replying to mf2k:

It seems to me that it should be a direct port dependency, not a bin dependency.

port:mkfontscale

Not necessarily on systems (like ours) where Macports has been told to defer to MacTeX. But support for that is admitted to be incomplete, and the size and time deltas in this case are small, so I won't argue.

Note: See TracTickets for help on using tickets.