[MacPorts] #58709: prometheus @2.11.0: Unable to initialize project info

MacPorts noreply at macports.org
Sun Mar 29 19:06:18 UTC 2020


#58709: prometheus @2.11.0: Unable to initialize project info
-------------------------+-------------------------
  Reporter:  ryandesign  |      Owner:  herbygillot
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.5.4
Resolution:              |   Keywords:
      Port:  prometheus  |
-------------------------+-------------------------

Comment (by ryandesign):

 Replying to [comment:9 jmroot]:
 > There's no general requirement for USER to be set.

 Yeah I haven't heard of this being a problem for other ports. Maybe it is
 best for the prometheus port to work around this.

 > Seems like it shouldn't be that hard for upstream to fall back to `id
 -un`, but the portfile could also set `configure.env
 USER=${macportsuser}`.

 macportsuser would be "macports" but on my system (when using a root
 MacPorts installation) the USER was set to "root".

 Not sure why a build system should care what user it's being run as. Seems
 like it should be completely irrelevant.

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


More information about the macports-tickets mailing list