Re: ruby20 & ruby22 hardcode gmkdir, ginstall, and grep at buildtime if present

Daniel Johnson <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
> On Mar 14, 2016, at 11:03 PM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> ruby20 and ruby22 hardcode the coreutils executables gmkdir and ginstall into rbconfig.rb if present at buildtime. Fink's grep gets the same treatment. This then leads to buildtime failures of some ruby gems if coreutils (or grep) has been removed:
> 
> make "DESTDIR=" install
> make: /sw/bin/gmkdir: Command not found
> Makefile:195: recipe for target '.RUBYARCHDIR.time' failed
> make: *** [.RUBYARCHDIR.time] Error 127
> 
> make install failed, exit code 2
> 
> Adding "ac_cv_path_mkdir=/bin/mkdir ac_cv_path_install=/usr/bin/install ac_cv_path_GREP=/usr/bin/grep" to ruby22's configure parameters hardcodes the system files.
> 
> The paths are hardcoded into /sw/lib/ruby/2.2/x86_64-darwin/rbconfig.rb to verify.
> 
> Hanspeter

Sorry for the delay. I just added this to all rubys.

Thanks
Daniel

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJXCQVFAAoJEHIZ9WxpsAjhOl0QAJdR5LpzTR/sWwxrsw7Jf6Us
EqAUarK/KmRkGA6ggqU+Fygb6VWSVUPLrIoPgn4M80s86V4AlVxpc3/OHlO1TEfz
BPRPXqmfW2nlIWKbNtcDHfdN3U91+Xrxz+NFW/N1/dwRVWOeg4MSjKWqgsleUwux
u2PwM+Bc4drBxj99Z810obB4iiU2D7/umFDeNbdWSX/ij6960eS+HiyTelf2OX//
K618nTNSzz3kkzysQYCyEPfzvEFeTAb/IcNYo3ME+rMcmodX4iE/h6XLZqAD2hJd
WNfHQM7vYcqHJbwxoPyTt/OAoSRNjJ5cLbmuBuhFpi7EvWm54PJgY3EoofdDVUnO
BwBuL8JhPxHtmGMA9zaP9ObpY6JgVD0WTyqKUir7t4WPMf8casuxEj4gCOJVU4Te
QjSC4ZfL6jCWiUA/zfhjpBxO4TyUf9s/1N+9bSzYbxQ2XeO0K3RaQvQlmchXmHCn
Y97m9WQoEzeCX/UiuudzHary54Q5PjsvmEQv0o+Jr16/rSOuRbaJ/1JneVpfb84E
rephyczZkFOfxHvVpYmODUY6nw8bkJ8hLJKfMTEwuGZ0qu5eBL6pBr8nGf4vfpOv
TUEoRC9DZNUql76VY3UDBB8mK/zkfSIIGt1jMyPXKKQxJFoAecbDNrndJv7FwsMp
01cEHPb57W4ZaZTNJWrP
=MdoR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.