From owner-freebsd-ports@FreeBSD.ORG Sat Nov 17 13:35:08 2012 Return-Path: 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 8D548AB; Sat, 17 Nov 2012 13:35:08 +0000 (UTC) (envelope-from taguchi@ff.iij4u.or.jp) Received: from mo.iij4u.or.jp (mo10.iij4u.or.jp [210.138.174.78]) by mx1.freebsd.org (Postfix) with ESMTP id 36E7A8FC08; Sat, 17 Nov 2012 13:35:07 +0000 (UTC) DKIM-Signature: v=1;a=rsa-sha256;c=relaxed/simple;d=ff.iij4u.or.jp;h= Message-ID:Date:From:MIME-Version:To:CC:References:In-Reply-To:Content-Type: Content-Transfer-Encoding;i=taguchi@ff.iij4u.or.jp;s=20120530.iij4u;t= 1353159300; x=1354368900; bh=HzDScrhk+0CKHLDF9RMZsC6HJ48xHwP4zJM0kFEKsZY=; b=lgB HpAU7a+cwI/bKDXOCfHxms/ex7P5RSpSL5wb28pSjBJqQXoLtNZDzeGbG35yy1hxasUZPod8etPQM 83CNWqOL6Iy+/02RxB6IcNkweMgOWPMLC1KGtrWemwsDLkSbE1girZ9u9Ssejd938+nfqvqB09QUJ 5v1v0MVDcZEP98=; Received: by mo.iij4u.or.jp (mo10) id qAHDZ0Mc025491; Sat, 17 Nov 2012 22:35:00 +0900 Received: from [10.0.1.129] (12.178.30.125.dy.iij4u.or.jp [125.30.178.12]) by mbox.iij4u.or.jp (mbox10) id qAHDZ0rm003768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 17 Nov 2012 22:35:00 +0900 Message-ID: <50A79287.4050503@ff.iij4u.or.jp> Date: Sat, 17 Nov 2012 22:35:03 +0900 From: Takeshi Taguchi User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Matthias Andree Subject: Re: [patch] databases/db42 clang -fPIC issue References: <50A4D79E.8090906@ff.iij4u.or.jp> <50A57642.3080504@FreeBSD.org> In-Reply-To: <50A57642.3080504@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 17 Nov 2012 13:35:08 -0000 Hi, Matthias. I'd svn checkouted in rev.243144, and I'd only buildworld/buildkernel using same make.conf/src.conf/KERNCONF. Then I could compile databases/db42! I could not find out why I had a probrem ....;-( I still think hard-corded LIBTOOL may be probrem, But it's seem work fine. Offcause, I should use $localbase raher than $prefix. I'd confused. Thanks. -- T.T. (2012/11/16 8:09), Matthias Andree wrote: > (List post, with a courtesy copy to Takeshi.) > > Am 15.11.2012 12:53, schrieb Takeshi Taguchi: >> Hi, >> In CURRENT, clang can not compile database/db42. >> here is a error message: > > Hi Takeshi, > > I am the maintainer of said port, and I can confirm that your bug report > is in the database, but the web interface is currently not being > updated. Sorry for that. > > Also sorry for the build issues the port gave you on 10-CURRENT. > > > However, I cannot reproduce the problem on FreeBSD 9 amd64 with clang, > and I also have other reports on that the > build succeeds on a recent 10-CURRENT, and that -fPIC remains inside the > build arguments on clang++ command lines. Said FreeBSD system was at > SVN revision r242852, built on amd64 with a GENERIC kernel on Nov 10. > > Can you try to figure out the differences in the build logs, and > possibly update your world and retry? > > How exactly have you configured your system to use clang(++)? > Is there anything in /etc/make.conf or /etc/src.conf? > > Can you send me your config.log file OFF-LIST (send directly to my > address), from .../databases/db42/work/db-4.2.52/build_unix/ ? > (This is $WRKSRC/config.log, try: make -V WRKSRC -C /usr/ports/*/db42 > to obtain the WRKSRC path.) > > > Reviewing your patch, the replacement could be improved to use > ${LIBTOOL} rather than something you have derived from $prefix; > furthermore, we use $prefix for a package we are about to install, and > $localbase for packages that we expect to already be installed (like > dependencies). > > > I need to understand better why we would need to patch things, before I > go into that. We may need to patch something else, elsewhere (because > it needs to be more generic than for just the db42 port). > > Thank you and best regards > Matthias Andree > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >