[MacPorts] #72151: neomutt @20240329 -doc: Error: No usable pkg-config

MacPorts noreply at macports.org
Fri Mar 7 18:37:38 UTC 2025


#72151: neomutt @20240329 -doc: Error: No usable pkg-config
------------------------+----------------------
  Reporter:  kprussing  |      Owner:  l2dy
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.5
Resolution:             |   Keywords:
      Port:  neomutt    |
------------------------+----------------------

Comment (by ryandesign):

 Replying to [comment:4 kprussing]:
 > After a bit more web searching for "couldn't create error file for
 command: permission denied", I came across #50867 that had some ideas. I
 took a look at the permissions:
 > {{{
 > % ls -ld /tmp
 > drwxrwxrwt  18 root  wheel  576 Mar  7 10:26 /tmp/
 > % ls -ld /private/tmp
 > drwxrwxrwt  18 root  wheel  576 Mar  7 10:11 /private/tmp/
 > }}}
 > The major difference is `/tmp` is not a symlink for me, but the
 permissions appear to be correct.

 Checking on our x86_64 macOS Sequoia machine, /tmp is still a symlink
 pointing to /private/tmp, as it has been in prior macOS versions as well:

 {{{
 % ls -ld {,/private}/tmp
 drwxrwxrwt  5 root  wheel  160 Mar  7 18:27 /private/tmp
 lrwxr-xr-x@ 1 root  wheel   11 Jan 16 09:35 /tmp -> private/tmp
 }}}

 Since that doesn't appear to be the case for you, I'd start by trying to
 fix that. Does /tmp become a symlink if you restart the computer? If not,
 can you delete /tmp and replace it with a symlink to /private/tmp?

 While your investigation and workaround involving avoiding the creation of
 the temporary files may work here, builds of all kinds will expect to be
 able to create temporary files so you're likely to run into more problems
 soon if the ability to create temporary files isn't restored.

 In MacPorts ports builds, TMPDIR is set to a directory inside the work
 directory. Some parts of some builds may however ignore that and use /tmp
 instead.

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


More information about the macports-tickets mailing list