Bug 252448

Summary: lang/ruby27 fails to build on FreeBSD 12.2-RELEASE 32-bit powerpc
Product: Ports & Packages Reporter: lfmorrison
Component: Individual Port(s)Assignee: freebsd-ruby (Nobody) <ruby>
Status: New ---    
Severity: Affects Only Me CC: powerpc
Priority: --- Flags: bugzilla: maintainer-feedback? (ruby)
Version: Latest   
Hardware: powerpc   
OS: Any   

Description lfmorrison 2021-01-05 20:25:52 UTC
Symptoms are strikingly similar to what was described in Bug 242630 for lang/ruby26. Specifically, miniruby is built and linked, and then in the next step it is used to try to autogenerate a header file leading to abnormal termination. (This time it's Signal 10)

The solution also seems to be similar: When compiling ruby27 on FreeBSD 12 on 32-bit powerpc, the base system gcc 4.2 should be used. The build completes normally.

Specifically, the final patch which was proposed for that bug (https://svnweb.freebsd.org/ports/head/lang/ruby26/Makefile?r1=524729&r2=524728&pathrev=524729) also applies for this port.