From owner-freebsd-ports@FreeBSD.ORG Tue May 7 17:27:29 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9231AD67 for ; Tue, 7 May 2013 17:27:29 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 5B82C6A9 for ; Tue, 7 May 2013 17:27:28 +0000 (UTC) Received: from p5dc3fecf.dip0.t-ipconnect.de ([93.195.254.207] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UZlfh-0008PO-FL; Tue, 07 May 2013 19:27:25 +0200 Message-ID: <5189397D.7050300@gwdg.de> Date: Tue, 07 May 2013 19:27:25 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130505 Thunderbird/17.0.5 MIME-Version: 1.0 To: Christoph Moench-Tegeder Subject: Re: astro/gpsd fails to build on CURRENT References: <51892984.4050301@gwdg.de> <20130507164745.GA2066@elch.exwg.net> In-Reply-To: <20130507164745.GA2066@elch.exwg.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2013 17:27:29 -0000 On 07.05.2013 18:47 (UTC+2), Christoph Moench-Tegeder wrote: > ## Rainer Hurling (rhurlin@gwdg.de): > >> When I try to build astro/gpsd on 10.0-CURRENT it fails with the >> following messages (devel/scons should be up to date): > > The root cause of this is the interaction between scons and > ncurses5-config (from devel/ncurses) - scons mis-parses the > output of the (autotools-generated) ncurses5-config: > : cmt@elch:~$ ncurses5-config --libs > : -L/usr/local/lib -rpath /usr/local/lib -lncurses -ltinfo > > The argument to -rpath is not recognized as such but instead taken > as a file argument and objectified as such. > I enden up "fixing" this by adding a "=" after -rpath in ncurses5-config, > which is valid syntax for gcc/ld and keeps scons of that "/usr/local/lib". > I'm quite sure that there should be a better solution. > > Regards, > Christoph > Christoph, Thanks for your answer. I am wondering, if this could have something to do with the simultaneous presence of libncurses in base system and ports? ldconfig -r | grep libncurses 29:-lncursesw.8 => /lib/libncursesw.so.8 30:-lncurses.8 => /lib/libncurses.so.8 1127:-lncursesw.5 => /usr/local/lib/libncursesw.so.5 1277:-lncurses.5 => /usr/local/lib/libncurses.so.5 In astro/gpsd file 'SConstruct', lines 450--465 it seems, they try to test for the right version of ncurses ...