Re: Trouble building gcc11 on RPi2

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Sat, 03 Dec 2022 09:56:14 UTC
On 12/2/22 04:42, bob prohaska wrote:
> While trying to build lang/gcc11 on an PPi2 (armv7) running -current
> the process keeps stopping with:
> 
> ===>  Configuring for help2man-1.49.2
> configure: loading site script /usr/ports/Templates/config.site
> checking for perl... perl
> checking for module Locale::gettext... no
> checking for msgfmt... /usr/local/bin/msgfmt
> checking for gcc... cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether the compiler supports GNU C... yes
> checking whether cc accepts -g... yes
> checking for cc option to enable C11 features... none needed
> checking for library containing dlsym... none required
> checking for library containing bindtextdomain... -lintl
> configure: error: perl module Locale::gettext required
> ===>  Script "configure" failed unexpectedly.
> Rebuild lang/perl5.32 and devel/p5-Locale-gettext manually before contacting
> maintainer.
> *** Error code 1
> 
> Stop.
> make[4]: stopped in /usr/ports/misc/help2man
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/ports/print/texinfo
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/ports/math/gmp
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/devel/binutils
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/lang/gcc11
> 
> Updating the ports tree, cleaning and trying to (re)build
> dependencies one at a time always comes to the same end.
> 
> By contrast, a Pi3 running -current had no such problems,
> a Pi3 running stable/13 got bogged down with excessive
> swap use. Neither made complaints such as seen on armv7.
> 
> In case it matters, the motive is to build sysutils/u-boot-rpi2,
> 
> Thanks for reading,
> 
> bob prohaska
>   
> 


Often there is a file like "config.log" with more information about what went wrong.

And did you follow-up on this and try again?
> Rebuild lang/perl5.32 and devel/p5-Locale-gettext manually before contacting

Regards,

Ronald.