From owner-freebsd-ports@FreeBSD.ORG Fri May 25 19:23:04 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 7C1B916A469 for ; Fri, 25 May 2007 19:23:04 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id D21F213C48A for ; Fri, 25 May 2007 19:23:03 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 36B0E22275E; Fri, 25 May 2007 15:23:03 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 25 May 2007 15:23:03 -0400 X-Sasl-enc: jgvvl2CrfwG2e0a+7JHhiYndDMaIemYS/KOFaVDFSiYt 1180120982 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id BDB711DDB7; Fri, 25 May 2007 15:23:02 -0400 (EDT) In-Reply-To: <1180086697.2242.1.camel@samanka.umc8.mai.ru> References: <1180086697.2242.1.camel@samanka.umc8.mai.ru> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1CEAC045-4CF3-43B5-9C7E-A790AC801016@goldmark.org> Content-Transfer-Encoding: 7bit From: Jeffrey Goldberg Date: Fri, 25 May 2007 14:23:01 -0500 To: Alexey Lebedev X-Mailer: Apple Mail (2.752.2) Cc: ports@freebsd.org, demon@FreeBSD.org Subject: Re: Can't build net/rrdtool 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: Fri, 25 May 2007 19:23:04 -0000 On May 25, 2007, at 4:51 AM, Alexey Lebedev wrote: > Hello! > > This is the output of make: > > ===> Building for rrdtool-1.2.23 > gmake all-recursive > [...] > rrdtoolmodule.c:378: warning: passing arg 2 of `PyErr_SetString' makes > pointer from integer without a cast > rrdtoolmodule.c:379: warning: nested extern declaration of > `rrd_clear_error' > rrdtoolmodule.c: In function `PyRRD_info': > rrdtoolmodule.c:397: error: syntax error before "rrd" > rrdtoolmodule.c:405: error: `rrd' undeclared (first use in this > function) > rrdtoolmodule.c:406: warning: nested extern declaration of > `rrd_get_error' > rrdtoolmodule.c:406: warning: passing arg 2 of `PyErr_SetString' makes > pointer from integer without a cast > rrdtoolmodule.c:407: warning: nested extern declaration of > `rrd_clear_error' > rrdtoolmodule.c:448: error: `DS_mrhb_cnt' undeclared (first use in > this > function) > rrdtoolmodule.c:449: error: `DS_min_val' undeclared (first use in this > function) > rrdtoolmodule.c:450: error: `DS_max_val' undeclared (first use in this > function) > rrdtoolmodule.c:452: error: `PDP_val' undeclared (first use in this > function) > rrdtoolmodule.c:453: error: `PDP_unkn_sec_cnt' undeclared (first > use in > this function) > rrdtoolmodule.c:469: error: `RRA_cdp_xff_val' undeclared (first use in > this function) > rrdtoolmodule.c:481: error: `CDP_val' undeclared (first use in this > function) > rrdtoolmodule.c:483: error: `CDP_unkn_pdp_cnt' undeclared (first > use in > this function) > rrdtoolmodule.c: In function `PyRRD_fetch': > rrdtoolmodule.c:156: warning: statement with no effect > error: command 'cc' failed with exit status 1 > gmake[3]: *** [python] Error 1 > gmake[3]: Leaving directory > `/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > `/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/var/tmp/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. > avl@samanka:/usr/ports/net/rrdtool$ There appear to be several problem reports filed about this. I don't know whether the maintainer is responding at all. (Though I am cc'ing this to the port maintainer, damon@freebsd.org) I have found that I can get rrdtool to build if I disable ruby and python support. Use make config to disable those (maybe just one at a time to see what works). Of course this work around doesn't work if you need python or ruby support. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/