rxvt-unicode fails build 9 stable i386

Guido Falsi madpilot at FreeBSD.org
Sat Jul 28 08:07:09 UTC 2012


On 07/28/12 04:27, Robert wrote:
> On Fri, 27 Jul 2012 11:10:23 +0200
> Guido Falsi <madpilot at FreeBSD.org> 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 <madpilot at FreeBSD.org>


More information about the freebsd-ports mailing list