Bug 177150 - lang/ruby18 When configured with onigurama attempts to fetch files during configure phase.
Summary: lang/ruby18 When configured with onigurama attempts to fetch files during con...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 18:40 UTC by Chris Dukes
Modified: 2013-12-20 19:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dukes 2013-03-20 18:40:00 UTC
When attempting to build ruby with onigurama enabled under poudriere it fails during the configure phase because it attempts to fetch files when there is no networking available to the jail.
TO make matters worse, it does not check if the file is already in distfiles.

---Begin OPTIONS List---
===> The following configuration options are available for ruby+oniguruma-1.8.7.371,1:
     DEBUG=on: Compile-in debug info
     ONIGURUMA=on: Build with oniguruma regular expressions lib
     RDOC=on: Build and install Rdoc indexes
===> Use 'make config' to modify these settings
---End OPTIONS List---
..
=======================<phase: configure    >==========================
===>   ruby+oniguruma-1.8.7.371,1 depends on file: /nonexistent - not found
===>    Verifying patch for /nonexistent in /usr/ports/devel/oniguruma
===>   oniguruma-2.5.8 depends on file: /usr/local/sbin/pkg - found
=> onigd2_5_8.tar.gz doesn't seem to exist in /portdistfiles/ruby.
=> Attempting to fetch http://www.geocities.jp/kosako3/oniguruma/archive/onigd2_5_8.tar.gz
fetch: http://www.geocities.jp/kosako3/oniguruma/archive/onigd2_5_8.tar.gz: No address record
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/onigd2_5_8.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/onigd2_5_8.tar.gz: No address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/ruby and try again.
*** [do-fetch] Error code 1

Stop in /usr/ports/devel/oniguruma.
*** [build-depends] Error code 1

Stop in /usr/ports/lang/ruby18.
===>  Cleaning for ruby+oniguruma-1.8.7.371,1
build of /usr/ports/lang/ruby18 ended at Wed Mar 20 14:28:25 EDT 2013
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-20 18:40:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer freebsd_triage 2013-07-19 14:05:22 UTC
Responsible Changed
From-To: ruby->swills

I'll take it.
Comment 3 Steve Wills freebsd_committer freebsd_triage 2013-12-20 19:49:00 UTC
State Changed
From-To: open->closed

Ruby 1.8 is gone and 1.9 and 2.0 don't have the onigurama option so 
shouldn't have the issue