Bug 142444 - building lang/ruby18 with oniguruma fails.
Summary: building lang/ruby18 with oniguruma fails.
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: Stanislav Sedov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 23:10 UTC by TsurutaniNaoki
Modified: 2010-01-08 00:20 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (4.66 KB, patch)
2010-01-07 23:10 UTC, TsurutaniNaoki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2010-01-07 23:10:01 UTC
	building lang/ruby18 with "WITH_ONIGURUMA=1" fails.

Fix: ruby187p72-oniguruma.patch cannot be applied to the current
	ruby source.
	here is a patch to devel/oniguruma:
How-To-Repeat: 	% cd /usr/ports/lang/ruby18
	% make WITH_ONIGURUMA=1
	...
	--------------------------
	|diff -ruN gc.c gc.c
	|--- gc.c       2008-08-04 07:24:26.000000000 +0400
	|+++ gc.c       2009-02-12 18:40:36.000000000 +0300
	--------------------------
	Patching file gc.c using Plan A...
	Hunk #1 succeeded at 1058 (offset 46 lines).
	Hmm...  The next patch looks like a unified diff to me...
	The text leading up to this was:
	--------------------------
	|diff -ruN re.c re.c
	|--- re.c       2008-06-06 14:39:57.000000000 +0400
	|+++ re.c       2009-02-12 18:43:31.000000000 +0300
	--------------------------
	Patching file re.c using Plan A...
	Hunk #1 succeeded at 485.
	Hunk #2 succeeded at 625.
	Hunk #3 succeeded at 636.
	Hunk #4 succeeded at 681.
	Hunk #5 succeeded at 707 (offset 8 lines).
	Hunk #6 succeeded at 857 (offset 4 lines).
	Hunk #7 succeeded at 936 (offset 8 lines).
	Hunk #8 succeeded at 958 (offset 4 lines).
	Hunk #9 succeeded at 1200 (offset 18 lines).
	Hunk #10 succeeded at 1232 (offset 4 lines).
	Hunk #11 succeeded at 2145 (offset 24 lines).
	Hunk #12 succeeded at 2141 (offset 4 lines).
	Hunk #13 succeeded at 2176 (offset 24 lines).
	Hunk #14 succeeded at 2433 (offset 4 lines).
	Hmm...  The next patch looks like a unified diff to me...
	The text leading up to this was:
	--------------------------
	|diff -ruN re.h re.h
	|--- re.h       2007-02-13 02:01:19.000000000 +0300
	|+++ re.h       2009-02-12 18:40:36.000000000 +0300
	--------------------------
	Patching file re.h using Plan A...
	Hunk #1 failed at 24.
	1 out of 1 hunks failed--saving rejects to re.h.rej
	Hmm...  The next patch looks like a unified diff to me...
	The text leading up to this was:
	--------------------------
	|diff -ruN string.c string.c
	|--- string.c   2008-07-17 16:33:59.000000000 +0400
	|+++ string.c   2009-02-12 18:40:36.000000000 +0300
	--------------------------
	Patching file string.c using Plan A...
	Hunk #1 succeeded at 2039 (offset 14 lines).
	Hunk #2 succeeded at 2164 (offset 14 lines).
	done
	*** Error code 1

	Stop in /usr/ports/devel/oniguruma/work/oniguruma.
	*** Error code 1

	Stop in /usr/ports/lang/ruby18.
	*** Error code 1

	Stop in /usr/ports/lang/ruby18.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-01-07 23:10:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-01-08 00:14:24 UTC
stas        2010-01-08 00:14:15 UTC

  FreeBSD ports repository

  Modified files:
    devel/oniguruma      Makefile distinfo 
  Log:
  - Fix ruby build with oniguruma.
  
  PR:             ports/142444
  Reported by:    Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
  
  Revision  Changes    Path
  1.40      +2 -2      ports/devel/oniguruma/Makefile
  1.31      +3 -3      ports/devel/oniguruma/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Stanislav Sedov freebsd_committer freebsd_triage 2010-01-08 00:14:39 UTC
State Changed
From-To: open->closed

Fixed.