Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2005 08:12:41 -0500
From:      "J. W. Ballantine" <jwb@homer.att.com>
To:        ports@freebsd.org
Subject:   Ruby/ruby+oniguruma build failure
Message-ID:  <200511141312.IAA13523@hera.homer.att.com>

next in thread | raw e-mail | index | archive | help

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??

Thanks

Jim Ballantine

** Detected a package name change: ruby (lang/ruby18) -> 'ruby+oniguruma' 
(lang/ruby18)
--->  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 
/usr/ports/lang/ruby18/work/ruby-1.8.3/bin/
===>  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/ports/lang/ruby18/work/ruby-1.8.3/configure
/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 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/iconv 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/tcltklib 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.3/ext/tk 
/usr/ports/lang/ruby18/work/
===>   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 
/usr/ports/lang/ruby18/work/ruby-1.8.3/regex.c.ruby_orig
cp -p /usr/ports/lang/ruby18/work/ruby-1.8.3/regex.h 
/usr/ports/lang/ruby18/work/ruby-1.8.3/regex.h.ruby_orig
cp -p /usr/ports/lang/ruby18/work/ruby-1.8.3/re.c    
/usr/ports/lang/ruby18/work/ruby-1.8.3/re.c.ruby_orig
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 
/usr/ports/lang/ruby18/work/ruby-1.8.3/enc
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
done
*** Error code 1

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

Stop in /usr/ports/lang/ruby18.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511141312.IAA13523>