From owner-freebsd-ports@FreeBSD.ORG Sat Jul 28 08:07:09 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 2D295106564A for ; Sat, 28 Jul 2012 08:07:09 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id C85228FC12 for ; Sat, 28 Jul 2012 08:07:08 +0000 (UTC) Received: from megatron.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id 3Wkflb70cJz2lG; Sat, 28 Jul 2012 10:07:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at madpilot.net Received: from megatron.madpilot.net ([127.0.0.1]) by megatron.madpilot.net (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rvqrGGG0cGPU; Sat, 28 Jul 2012 10:07:06 +0200 (CEST) Received: from marvin.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP; Sat, 28 Jul 2012 10:07:06 +0200 (CEST) Message-ID: <50139DA9.7030604@FreeBSD.org> Date: Sat, 28 Jul 2012 10:07:05 +0200 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120727 Thunderbird/14.0 MIME-Version: 1.0 To: Robert References: <20120726191748.5fa39af3@vaio9bsd> <20120727091023.GB22954@megatron.madpilot.net> <20120727192724.09f82cca@dell64> In-Reply-To: <20120727192724.09f82cca@dell64> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-ports@freebsd.org" Subject: Re: rxvt-unicode fails build 9 stable i386 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, 28 Jul 2012 08:07:09 -0000 On 07/28/12 04:27, Robert wrote: > On Fri, 27 Jul 2012 11:10:23 +0200 > Guido Falsi wrote: > >> On Thu, Jul 26, 2012 at 07:17:48PM -0700, Robert wrote: >>> >>> Greetings >>> >>> I have been unable to build rxvt-unicode since updating perl to >>> 5.16. I thought I saw an email that someone else had this problem >>> but I cannot find it. >> >> It happened to me on -current. There I worked around it by forcing >> clang as compiler for rxvt-unicode. This should do the trick: >> >> cd /usr/ports/x11/rxvt-unicode && make clean && make CC=clang >> CXX=clang++ CPP=clang-cpp install >> >> Not sure what the cause is. >> > Thanks for this information. This worked as you said. > > If I put this clang information into /etc/make.conf will I need to > rebuild all of my installed ports? > The ports system is not ready to use clang as the only compiler. If you want to add this hack to your make.conf it's better if you do it conditionally only for this port like: .if ${.CURDIR:M*x11/rxvt-unicode*} CC= clang CXX= clang++ CPP= clang-cpp .endif Binaries and library generated with gcc and clang should be compatible with each other, so, if you just compile a few ports with clang, no need to rebuild everything. -- Guido Falsi