From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 20 06:50:12 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D16F816A41F for ; Thu, 20 Oct 2005 06:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A27D43D6E for ; Thu, 20 Oct 2005 06:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9K6oBsb056406 for ; Thu, 20 Oct 2005 06:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9K6oB1f056405; Thu, 20 Oct 2005 06:50:11 GMT (envelope-from gnats) Resent-Date: Thu, 20 Oct 2005 06:50:11 GMT Resent-Message-Id: <200510200650.j9K6oB1f056405@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, parv@pair.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99F9D16A41F; Thu, 20 Oct 2005 06:45:17 +0000 (GMT) (envelope-from parv@chvlva.adelphia.net) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B776643D5A; Thu, 20 Oct 2005 06:45:16 +0000 (GMT) (envelope-from parv@chvlva.adelphia.net) Received: from default.chvlva.adelphia.net ([69.160.76.67]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051020064515.OCGA16334.mta10.adelphia.net@default.chvlva.adelphia.net>; Thu, 20 Oct 2005 02:45:15 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 8AB3FB59E; Thu, 20 Oct 2005 02:45:24 -0400 (EDT) Message-Id: <20051020064524.8AB3FB59E@default.chvlva.adelphia.net> Date: Thu, 20 Oct 2005 02:45:24 -0400 (EDT) From: parv@pair.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: knu@FreeBSD.org Subject: ports/87704: lang/ruby18 - Build fails, WITH_ONIGURUMA & BATCH seem mutually exclusive X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 06:50:12 -0000 >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@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: