Date: Thu, 15 Mar 2018 17:34:50 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: tech-lists <tech-lists@zyxst.net> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: devel/arm-none-eabi-gcc fails to build on 11-stable Message-ID: <F55F3C0B-A409-4EB1-91C5-BD44875572A2@FreeBSD.org> In-Reply-To: <85e342ab-4ced-3319-40d0-8e823e382e26@zyxst.net> References: <e32e6e7f-842e-7a03-5f90-6e0fb07f7682@zyxst.net> <E7EE7372-5128-4FE0-8C12-1A4CA34E6CD2@FreeBSD.org> <593FC9F6-D2E5-4524-9F65-FF494B12640F@FreeBSD.org> <85e342ab-4ced-3319-40d0-8e823e382e26@zyxst.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_9CCB977A-6FDC-46F9-B9FA-2D1E61D0013E Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 15 Mar 2018, at 17:00, tech-lists <tech-lists@zyxst.net> wrote: > > On 15/03/2018 10:26, Dimitry Andric wrote: >> On 14 Mar 2018, at 23:07, Dimitry Andric <dim@FreeBSD.org> wrote: >>> >>> On 14 Mar 2018, at 14:46, tech-lists <tech-lists@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 --Apple-Mail=_9CCB977A-6FDC-46F9-B9FA-2D1E61D0013E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWqqgqgAKCRCwXqMKLiCW o2HeAJ9KIJXigiLsOW0Qy7f5YAc40zWRygCcCMsbGeHWGUMr96SN8VjKxDDpLzQ= =y834 -----END PGP SIGNATURE----- --Apple-Mail=_9CCB977A-6FDC-46F9-B9FA-2D1E61D0013E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F55F3C0B-A409-4EB1-91C5-BD44875572A2>