[MacPorts] #57038: ruby25 @2.5.1_1+doc+gmp: needs GNU make > 3.80
MacPorts
noreply at macports.org
Sun Aug 26 18:25:51 UTC 2018
#57038: ruby25 @2.5.1_1+doc+gmp: needs GNU make > 3.80
---------------------+--------------------
Reporter: xstnztk | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Keywords: tiger | Port: ruby25
---------------------+--------------------
Building ruby25 on OSX Tiger 10.4.11 fails because the default
/usr/bin/make on Tiger is version 3.80 which is too old for the ruby
makefile:
{{{
---> Building ruby25
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby25/ruby25/work/ruby-2.5.1"
&& /usr/bin/make -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby25/ruby25/work/ruby-2.5.1'
defs/gmake.mk:67: *** unterminated call to function `foreach': missing
`)'. Stop.
}}}
The reported location in the makefile uses a multi-line function call with
foreach and eval. I assume that one or both of these functions are not
supported in GNU make 3.80 because I was able to work around this problem
by installing the current GNU make from MacPorts (version 4.2.1) and
passing build.cmd=/opt/local/bin/gmake on the port install command line.
I assume that ruby25 needs a build dependency on a newer GNU make version.
Unfortunately I was not able to find out when foreach and eval were added
to GNU make. I also did not see anything in the Ruby build documentation
about a minimum GNU make version.
--
Ticket URL: <https://trac.macports.org/ticket/57038>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list