Bug 252448 - lang/ruby27 fails to build on FreeBSD 12.2-RELEASE 32-bit powerpc
Summary: lang/ruby27 fails to build on FreeBSD 12.2-RELEASE 32-bit powerpc
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-05 20:25 UTC by lfmorrison
Modified: 2021-01-05 20:25 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.