devel/arm-none-eabi-gcc fails to build on 11-stable

Dimitry Andric dim at FreeBSD.org
Thu Mar 15 16:34:54 UTC 2018


On 15 Mar 2018, at 17:00, tech-lists <tech-lists at zyxst.net> wrote:
> 
> On 15/03/2018 10:26, Dimitry Andric wrote:
>> On 14 Mar 2018, at 23:07, Dimitry Andric <dim at FreeBSD.org> wrote:
>>> 
>>> On 14 Mar 2018, at 14:46, tech-lists <tech-lists at 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?

I would create a new PR with "devel/arm-none-eabi-gcc" in the title, so
it gets assigned to the maintainer automagically, and refer to bug
215882 for more information.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180315/39e002a3/attachment.sig>


More information about the freebsd-ports mailing list