[MacPorts] #60881: Portindex: "Failed to locate 'gnumake' in path" when faking the platform on Linux

MacPorts noreply at macports.org
Mon Jul 20 14:21:48 UTC 2020


#60881: Portindex: "Failed to locate 'gnumake' in path" when faking the platform on
Linux
-------------------------+--------------------
 Reporter:  arjunsalyan  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  base         |    Version:  2.6.2
 Keywords:               |       Port:
-------------------------+--------------------
 Portindex fails to parse around 32 ports on Linux, with the following
 error:

 {{{
 Failed to parse file devel/xxdiff/Portfile: can't read "build.cmd": Failed
 to locate 'gnumake' in path:
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
 MacPort
 s configuration time location, did you move it?
 }}}

 I was trying to fake the platform,
 {{{
 portindex -p macosx_19_i386
 }}}

 "gnumake" is probably not available on Linux. I am not sure but there
 should be some backup in case "gnumake" is not found. Creating a symlink
 "/usr/bin/gnumake" with "/usr/bin/make" fixes the error. Can this be
 handled automatically by MacPorts?

-- 
Ticket URL: <https://trac.macports.org/ticket/60881>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list