[MacPorts] #68188: synfigstudio @1.4.4_1: touch: /opt/local/share/mime/packages: Operation not permitted

MacPorts noreply at macports.org
Tue Sep 19 11:23:30 UTC 2023


#68188: synfigstudio @1.4.4_1: touch: /opt/local/share/mime/packages: Operation not
permitted
---------------------------+----------------------
  Reporter:  cooljeanius   |      Owner:  mascguy
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  synfigstudio  |
---------------------------+----------------------
Changes (by mascguy):

 * port:  synfigstudio shared-mime-info => synfigstudio


Comment:

 Replying to [comment:6 mascguy]:
 > Ah, I'm able to reproduce on 10.15 too. And this is a bug in `shared-
 mime-info`, specifically script `update-mime-database`: The latter is
 supposed to accept the path via an argument, but instead is hard-coded to
 use `${prefix}/share/mime/packages`.

 Actually, this isn't the problem after all: Instead, upstream runs
 `update-mime-database` by default, via their install. And that needs to be
 disabled, via the following configure argument:

 {{{
 $ ./configure --help | ggrep "mime"
   --disable-update-mimedb disable the update-mime-database after install
 }}}

 And adding that flag fixes the issue, based on local testing.

 Ryan, can I go ahead and commit a fix for that, or would you prefer to?
 (That one additional flag is all that's needed.)

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


More information about the macports-tickets mailing list