Bug 195536 - lang/ruby20 fails to build on powerpc64
Summary: lang/ruby20 fails to build on powerpc64
Status: Closed FIXED
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: 2014-11-30 19:55 UTC by Justin Hibbits
Modified: 2015-08-05 22:33 UTC (History)
1 user (show)

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


Attachments
poudriere failure log for lang/ruby20 (46.92 KB, text/x-log)
2014-11-30 19:55 UTC, Justin Hibbits
no flags Details
patch to disable dtrace on non x86 archs (509 bytes, patch)
2014-12-01 02:09 UTC, Steve Wills
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer freebsd_triage 2014-11-30 19:55:00 UTC
Created attachment 150044 [details]
poudriere failure log for lang/ruby20

When building lang/ruby20 for powerpc64, I see linker errors such as the following:

array.c:(.text+0x2cc): undefined reference to `__dtraceenabled_ruby___array__create'

I've included the complete log from poudriere.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-30 19:55:00 UTC
Auto-assigned to maintainer ruby@FreeBSD.org
Comment 2 Steve Wills freebsd_committer freebsd_triage 2014-12-01 02:09:37 UTC
Created attachment 150054 [details]
patch to disable dtrace on non x86 archs

This should fix it for now, just disables dtrace on non x86 ARCHs. Though if you want to try to figure out how to make it work, that would be cool too.
Comment 3 Justin Hibbits freebsd_committer freebsd_triage 2014-12-02 17:32:11 UTC
That does make it build.  I'd say go ahead and commit it.  I'll look later at getting dtrace support actually working in ruby for powerpc.
Comment 4 Justin Hibbits freebsd_committer freebsd_triage 2015-08-05 22:33:12 UTC
This was fixed a while back, around the time of the the bug filing.