From owner-freebsd-ports@FreeBSD.ORG Thu Nov 15 23:09:55 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [8.8.178.135]) by hub.freebsd.org (Postfix) with ESMTP id 505BB6FB; Thu, 15 Nov 2012 23:09:55 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by apollo.emma.line.org (Postfix) with ESMTP id 7DF9123CEAE; Fri, 16 Nov 2012 00:09:54 +0100 (CET) Message-ID: <50A57642.3080504@FreeBSD.org> Date: Fri, 16 Nov 2012 00:09:54 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: [patch] databases/db42 clang -fPIC issue References: <50A4D79E.8090906@ff.iij4u.or.jp> In-Reply-To: <50A4D79E.8090906@ff.iij4u.or.jp> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Takeshi Taguchi 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: Thu, 15 Nov 2012 23:09:55 -0000 (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