From owner-freebsd-ports@FreeBSD.ORG Sat May 5 23:50:48 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 979AA16A401 for ; Sat, 5 May 2007 23:50:48 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 591C813C45D for ; Sat, 5 May 2007 23:50:48 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so35189and for ; Sat, 05 May 2007 16:50:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=LyEUpsac6oLJ/K6V3OtP0aKydz3MD8zMFXKR+xF22/VRVmq2xCh0BweYD8pQegQcpLEjsR1zWq0/HIlJ9DU7a7HwHv85porbSM15g06HW/7k5n0H50g9J23U1UiZKZZC2INP0aq95oyI2wn03IiGvUDgDZPfRoEWczv4GNqvbTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=W43IKVeKy0d5kSI2Ew2Zm5e1jnkmgMX7pWMU3ho7Lc5kFaYhgSV0jVpzepzCs2+LAORkNtWA96Mam0aRgff3S8FVYaC5kmqWgywPcpiIJTVqmyRvnxrodbK+segOx4fpTIUEuLCMDA6qZg3QxXMDpg34NU9NaEfd+aqnBh+FCLg= Received: by 10.114.180.1 with SMTP id c1mr1613666waf.1178407523960; Sat, 05 May 2007 16:25:23 -0700 (PDT) Received: from ?10.1.1.51? ( [71.227.220.29]) by mx.google.com with ESMTP id y11sm6420515pod.2007.05.05.16.25.22; Sat, 05 May 2007 16:25:22 -0700 (PDT) Message-ID: <463D1275.1060305@gmail.com> Date: Sat, 05 May 2007 16:25:41 -0700 From: Kian Mohageri User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: net/rrdtool fails to build when ruby is installed? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 23:50:48 -0000 Hi guys, I'm running into an error (seen below) when attempting to build the latest net/rrdtool when Ruby is installed. I updated all of the dependencies first to make sure they weren't stale, but the problem persists. Ruby support is built by default if Ruby is installed. I removed Ruby, and the build finishes. Strangely, it seems the problem only happens with gmake, which the port prefers. Running 'make' in the offending directory manually results in RRD.so being built correctly. Any advice would be much appreciated... I wouldn't be surprised if I somehow screwed up, but I'm not sure how. Kian -- snip -- gmake[4]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/perl-shared' cd ruby && /usr/local/bin/ruby extconf.rb && gmake EPREFIX=/usr/local sitedir=/usr/local/lib/ruby checking for rrd_create() in -lrrd... yes creating Makefile gmake[4]: Entering directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/ruby' Makefile:144: Commands were specified for file `RRD.so' at Makefile:114, Makefile:144: but `RRD.so' is now considered the same file as `/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so'. Makefile:144: Commands for `/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so' will be ignored in favor of those for `RRD.so'. gmake[4]: Circular /usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so <- /usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so dependency dropped. cc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6 -I. -I../../src -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -c main.c /usr/bin/install -c -o root -g wheel -m 0755 RRD.so /usr/local/lib/ruby/1.8/i386-freebsd6 install: RRD.so: No such file or directory gmake[4]: *** [/usr/local/lib/ruby/1.8/i386-freebsd6/RRD.so] Error 71 gmake[4]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings/ruby' gmake[3]: *** [ruby] Error 2 gmake[3]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/rrdtool/work/rrdtool-1.2.23' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/rrdtool. *** Error code 1 Stop in /usr/ports/net/rrdtool. --