Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build

From: Benjamin Kaduk <kaduk_at_MIT.EDU>
Date: Sat, 10 Dec 2011 18:50:57 -0500 (EST)
[-questions to bcc]

On Sat, 10 Dec 2011, O. Hartmann wrote:

> On 12/07/11 07:11, Steve Kargl wrote:
>> On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote:
>>> config.status: creating ada/Makefile
>>> config.status: creating auto-host.h
>>> config.status: executing default commands
>>> gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build'
>>> gmake[1]: *** [stage1-bubble] Error 2
>>> gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
>>> gmake: *** [bootstrap-lean] Error 2
>>> *** Error code 1
>>>
>>> Stop in /usr/ports/lang/gcc46.
>>> *** Error code 1
>>>
>>> Stop in /usr/ports/lang/gcc46.
>>>
>>> ===>>> make failed for lang/gcc46
>>> ===>>> Aborting update
>>>
>>
>> See if setting DISABLE_MAKE_JOBSi helps.
>>
>
> This doesn't work, either.

The end of the build log from that case should be more enlightening than 
the one you originally posted, as it is more likely to actually contain 
the actual error (which is not present in the snippet above).

>
> In /etc/src.conf, I use WITH_ICONV=YES and _WITH_BSD_GREP=YES. Switching
> off WITH_ICONV seems to solve the problem on FreeBSD 10.0-CURRENT/amd64.
>
> I do not know whether OS versions below 10.0 do support the WITH_ICONV knob.
>
> This maybe is a hint to the problem.

iconv was only added to base in
r219019 | gabor | 2011-02-24 19:04:39 -0500 (Thu, 24 Feb 2011)
so it will first appear in the imminent 9.0 release.

Assuming that the error remains reproducible with an up-to-date tree, the 
end of the build log from the DISABLE_MAKE_JOBS case would be useful to 
see.  I've added gabor as a cc, since he seems to be doing most of the 
iconv work.

-Ben Kaduk
Received on Sat Dec 10 2011 - 22:51:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC