ports/87704: lang/ruby18 - Build fails, WITH_ONIGURUMA & BATCH seem mutually exclusive
parv at pair.com
parv at pair.com
Thu Oct 20 06:50:12 UTC 2005
>Number: 87704
>Category: ports
>Synopsis: lang/ruby18 - Build fails, WITH_ONIGURUMA & BATCH seem mutually exclusive
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 20 06:50:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Parv
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD holestein.holy.cow 5.4-STABLE FreeBSD 5.4-STABLE #6: Wed Oct 19 16:22:40 EDT 2005 root at holestein.holy.cow:/work/obj/misc/src-5/sys/BOVINE-T42 i386
ports updated as of 2005.10.20.01.41.27.
>Description:
WITH_ONIGURUMA & BATCH options seem to be mutually exclusive. When
trying to build ruby18 ...
make build -DBATCH -DWITH_ONIGURUMA
... it fails (full log is available on request) ...
===> Vulnerability check disabled, database not found
===> Extracting for ruby+oniguruma-1.8.2_4
...
===> Patching for oniguruma-2.3.1
===> Returning to build of ruby+oniguruma-1.8.2_4
===> Configuring for ruby+oniguruma-1.8.2_4
cd `cd /misc/ports/devel/oniguruma; make -V WRKSRC`; ./configure; make -f Makefile 18 RUBYDIR=/work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2
checking for gcc... gcc
...
checking for variable length prototypes and stdarg.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
...
cp -p ./oniggnu.h /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2/regex.h
test -d /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2/enc || mkdir /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2/enc
cp -p ./enc/ascii.c /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2/enc/ascii.c
cp -p ./enc/utf8.c /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2/enc/utf8.c
cp -p ./enc/euc_jp.c /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2/enc/euc_jp.c
cp -p ./enc/sjis.c /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2/enc/sjis.c
patch -d /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2 -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 succeeded at 593 (offset 42 lines).
Hunk #4 succeeded at 803 (offset 106 lines).
Hunk #5 succeeded at 813 (offset 42 lines).
done
/usr/bin/touch /work/ports/misc/ports-current/lang/ruby18/work/ruby-1.8.2/configure
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5
checking host system type... i386-portbld-freebsd5
checking target system type... i386-portbld-freebsd5
...
checking whether st_ino is huge... no
checking stack growing direction... (cached) -1
checking whether ELF binaries are produced... yes
checking whether OS depend dynamic link works... yes
checking for nroff... /usr/bin/nroff
creating config.h
configure: creating ./config.status
config.status: creating Makefile
===> Building for ruby+oniguruma-1.8.2_4
cc -O -pipe -march=pentiumpro -fPIC -I. -I. -c main.c
cc -O -pipe -march=pentiumpro -fPIC -I. -I. -c dmyext.c
...
cc -O -pipe -march=pentiumpro -fPIC -I. -I. -c version.c
cc -O -pipe -march=pentiumpro -fPIC -I. -I. -c parse.c
ar rcu libruby18-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o
cc -O -pipe -march=pentiumpro -fPIC -rpath=/usr/lib:/misc/local/lib -rdynamic main.o dmyext.o libruby18-static.a -lcrypt -lm -pthread -o miniruby
cc -shared -Wl,-soname,libruby18.so.18 array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o -lcrypt -lm -pthread -o libruby18.so.18
compiling bigdecimal
make: don't know how to make WITH_ONIGURUMA. Stop
*** Error code 1
1 error
*** Error code 2
Stop in /misc/ports-current/lang/ruby18.
... however, there were no errors in build-ing when only one of
WITH_ONIGURUMA & BATCH options was used.
>How-To-Repeat:
cd /usr/ports/lang/ruby18
make build -DBATCH -DWITH_ONIGURUMA
... see that fail, but not ...
cd /usr/ports/lang/ruby18
make build -DWITH_ONIGURUMA
... or ...
cd /usr/ports/lang/ruby18
make build -DBATCH
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list