On 15/03/2018 10:26, Dimitry Andric wrote:
> On 14 Mar 2018, at 23:07, Dimitry Andric <d...@freebsd.org> wrote:
>>
>> On 14 Mar 2018, at 14:46, tech-lists <tech-li...@zyxst.net> wrote:
> ...
>>> In file included from
>>> /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/genpreds.c:26:
>>> In file included from ./tm.h:17:
>>> ./options.h:5327:3: error: redefinition of enumerator 'OPT_C'
>>> OPT_C = 127,                               /* -C */
>>> ^
>>
>> Try building the port with LANG=C in your environment.  If I recall
>> correctly, this was some problem with sed in combination with non-C
>> language settings.
> 
> 
> See also: https://bugs.freebsd.org/215882
>      and: https://svnweb.freebsd.org/changeset/ports/431796
> 
> It looks like some of the gcc ports were not updated for this issue.

Hi Dimitry, thank you for your help.

It seems not just LANG=C was required because it failed if I just did
that. In the end, this was needed (shell is bash here)

mv /etc/make.conf /etc/make-20180315.conf
set LANG=C
export LANG
set LC_ALL=C
export LC_ALL

[then make clean && make install]

maybe I caused the problem. My make.conf usually has
USE_LOCALE=en_GB.UTF-8 in it. What should I do in this circumstance -
not use USE_LOCALE=en_GB.UTF-8 in /etc/make.conf or raise (or re-open if
I can) a/that bug report?

thanks again,
-- 
J.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to