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: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Many People
Assignee: freebsd-ruby (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2021-01-05 20:25 UTC by lfmorrison
Modified: 2023-04-13 20:45 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (ruby)
koobs: maintainer-feedback? (pkubaj)
koobs: merge-quarterly?


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.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-16 23:58:52 UTC
^Triage: Request feedback from committer of ports r524729
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2022-01-17 12:57:43 UTC
I agree that forward porting the commit from 2.6 to 2.7 should probably fix build.

However, I have deleted all 12.{1,2,3}-related setups since I moved exclusively to 13.0.

As such, I don't fix ANY regressions related the old GCC-based releases and since no one else does, you're essentially on your own.
Please upgrade to at least 13.0-RELEASE, since things pretty much work there and I regularly do bulk Poudriere builds and fix regressions.
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2023-04-13 20:45:01 UTC
FreeBSD 12.2 is long EOL, and the remaining lifetime of lang/ruby27 (if any) is questionable.