[MacPorts] #69327: meson @1.3.1: Missing primary meson command

MacPorts noreply at macports.org
Mon Feb 12 23:03:01 UTC 2024


#69327: meson @1.3.1: Missing primary meson command
--------------------------------+----------------------
  Reporter:  Dave-Allured       |      Owner:  SoapZA
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  meson py312-meson  |
--------------------------------+----------------------

Comment (by ryandesign):

 From [attachment:py312-meson.0212e.reinstall.log​ your re-run log], this
 line is where the portgroup would create the symlink that you're missing:
 {{{
 DEBUG: Executing proc-post-org.macports.destroot-destroot-0
 }}}
 Unfortunately the portgroup doesn't log anything when it does or does not
 create the symlink. You could try adding some logging code there to see
 what's happening.

 Replying to [comment:8 Dave-Allured]:
 > > symlink to something else?
 >
 > Yes.  I had never noticed that.  It is a shared mac within a server
 room.  in /Users, there are a bunch of sym links to physical user home
 directories.

 From [attachment:py312-meson.0212c.port-contents.txt your port contents]
 we can see that some parts of MacPorts are evidently resolving that
 symlink:

 {{{
 Port py312-meson contains:
   /Users/dallured/port/291/share/py312-meson/bash-
 completion/completions/meson
 }}}

 while other parts aren't:

 {{{
 /Volumes/RM1_Homes/dallured/port/291/Library/Frameworks/Python.framework/Versions/3.12/bin/meson
 }}}

 I don't know if that's the source of the problem but you could try
 reinstalling MacPorts base with
 `--prefix=/Volumes/RM1_Homes/dallured/port/291` instead of
 `--prefix=/Users/dallured/port/291`, and similarly changing
 `applications_dir` and `frameworks_dir` if you've customized them. If
 reinstalling py312-meson after doing that fixes the problem, then you
 could use `port contents` on your installed ports to locate those that
 mention paths in in /Users/dallured/port/291 and then rebuild those ports.

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


More information about the macports-tickets mailing list