Bug 205767 - lang/ruby21: Fails to configure on armv6: configure: error: _setjmp is not available
Summary: lang/ruby21: Fails to configure on armv6: configure: error: _setjmp is not av...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2015-12-31 20:44 UTC by mmitchel
Modified: 2016-12-05 20:49 UTC (History)
3 users (show)

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


Attachments
poudriere bulk build log (31.84 KB, text/plain)
2015-12-31 20:44 UTC, mmitchel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mmitchel 2015-12-31 20:44:12 UTC
Created attachment 164913 [details]
poudriere bulk build log

checking for strip... strip
checking for __builtin_setjmp... no
checking for setjmp type... configure: error: _setjmp is not available
===>  Script "configure" failed unexpectedly.
Please report the problem to ruby@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/lang/ruby21/work/ruby-2.1.8/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/ruby21
====>> Cleaning up wrkdir

poudriere armv6 jail build
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2016-01-02 07:18:30 UTC
Hi,

Thank you for all your reports :) It would be really helpful if you could provide patches, as most of us dont have a system to fix armv6.

Martin
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2016-01-02 09:13:41 UTC
It seems that the quaterly branch 2015Q4 is missing this commit:
https://svnweb.freebsd.org/ports/head/lang/ruby21/Makefile?r1=402110&r2=402109&pathrev=402110
Comment 3 Steve Wills freebsd_committer freebsd_triage 2016-01-04 17:51:59 UTC
There is this in lang/ruby21/Makefile:

 99 .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf"
100 CONFIGURE_ARGS+=        --with-setjmp-type=_setjmp
101 CONFIGURE_ENV+= ac_cv_func__setjmp=yes
102 .endif

Building under qemu, the issue you report doesn't seem to happen for me. Can you tell me if you're doing this on natively on arm hardware? And if so, what hardware? And can you send the config.log?
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2016-01-04 18:02:18 UTC
I believe we can close that, according to (In reply to mikael.urankar from comment #2) he used 2015q4 branch, which is outdated for now. Also 2.1 worked for me on head armv6 head :)
Comment 5 Steve Wills freebsd_committer freebsd_triage 2016-12-05 20:49:43 UTC
Closing, issue is no longer a problem.