Ruby/ruby+oniguruma build failure

J. W. Ballantine jwb at
Mon Nov 14 05:12:44 PST 2005

I'm trying to do a portupgrade on a new 6-RELEASE, and I'm getting a
patch error on Ruby/ruby+oniguruma.  I blew away the devel/onigurmuna
port and re-cvsup'ed on Sunday AM and I'm still getting the error.

What am I missing??


Jim Ballantine

** Detected a package name change: ruby (lang/ruby18) -> 'ruby+oniguruma' 
--->  Upgrading 'ruby-1.8.2_4' to 'ruby+oniguruma-1.8.3' (lang/ruby18)
--->  Building '/usr/ports/lang/ruby18'
===>  Cleaning for oniguruma-2.3.1
===>  Cleaning for ruby+oniguruma-1.8.3
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for ruby-1.8.3
===>  Extracting for ruby+oniguruma-1.8.3
=> MD5 Checksum OK for ruby/ruby-1.8.3.tar.gz.
=> No SHA256 checksum recorded for ruby/ruby-1.8.3.tar.gz.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/dl/h2rb 
===>  Patching for ruby+oniguruma-1.8.3
===>  Applying distribution patches for ruby+oniguruma-1.8.3
===>  Applying FreeBSD patches for ruby+oniguruma-1.8.3
/usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g'  
/usr/bin/find /usr/ports/lang/ruby18/work/ruby-1.8.3 -name '*.orig' -delete
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/Win32API
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/gdbm 
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/iconv 
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/tcltklib 
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/tk 
===>   ruby+oniguruma-1.8.3 depends on file: /nonexistent - not found
===>    Verifying patch for /nonexistent in /usr/ports/devel/oniguruma
===>  Vulnerability check disabled, database not found
===>  Extracting for oniguruma-2.3.1
=> MD5 Checksum OK for ruby/onigd2_3_1.tar.gz.
=> No SHA256 checksum recorded for ruby/onigd2_3_1.tar.gz.
===>  Patching for oniguruma-2.3.1
===>   Returning to build of ruby+oniguruma-1.8.3
===>  Configuring for ruby+oniguruma-1.8.3
cd `cd /usr/ports/devel/oniguruma; make -V WRKSRC`;  ./configure;  make -f 
Makefile 18 RUBYDIR=/usr/ports/lang/ruby18/work/ruby-1.8.3
 *** CHECKING FOR's removed
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
cp -p /usr/ports/lang/ruby18/work/ruby-1.8.3/regex.c 
cp -p /usr/ports/lang/ruby18/work/ruby-1.8.3/regex.h 
cp -p /usr/ports/lang/ruby18/work/ruby-1.8.3/re.c    
cp -p ./regex.c     /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./regerror.c  /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./regparse.c  /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./regcomp.c   /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./regexec.c   /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./reggnu.c    /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./regenc.c    /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./regint.h    /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./regparse.h  /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./regenc.h    /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./oniguruma.h /usr/ports/lang/ruby18/work/ruby-1.8.3
cp -p ./oniggnu.h   /usr/ports/lang/ruby18/work/ruby-1.8.3/regex.h
test -d /usr/ports/lang/ruby18/work/ruby-1.8.3/enc || mkdir 
cp -p ./enc/ascii.c  /usr/ports/lang/ruby18/work/ruby-1.8.3/enc/ascii.c
cp -p ./enc/utf8.c   /usr/ports/lang/ruby18/work/ruby-1.8.3/enc/utf8.c
cp -p ./enc/euc_jp.c /usr/ports/lang/ruby18/work/ruby-1.8.3/enc/euc_jp.c
cp -p ./enc/sjis.c   /usr/ports/lang/ruby18/work/ruby-1.8.3/enc/sjis.c
patch -d /usr/ports/lang/ruby18/work/ruby-1.8.3 -p0 < ./re.c.181.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
|--- re.c.ruby_orig	2003-11-04 18:13:57.000000000 +0900
|+++ re.c	2004-04-26 12:05:31.000000000 +0900
Patching file re.c using Plan A...
Hunk #1 succeeded at 483 (offset 42 lines).
Hunk #2 succeeded at 581 (offset 40 lines).
Hunk #3 failed at 591.
Hunk #4 succeeded at 807 (offset 110 lines).
Hunk #5 succeeded at 811 (offset 40 lines).
1 out of 5 hunks failed--saving rejects to re.c.rej
*** Error code 1

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

Stop in /usr/ports/lang/ruby18.

More information about the freebsd-ports mailing list