From nobody Mon Dec 05 16:29:51 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NQpt42ccsz4k67R for ; Mon, 5 Dec 2022 16:29:48 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NQpt32nGgz3vjy; Mon, 5 Dec 2022 16:29:47 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 2B5GTqxi099794 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 5 Dec 2022 08:29:52 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 2B5GTqLX099793; Mon, 5 Dec 2022 08:29:52 -0800 (PST) (envelope-from fbsd) Date: Mon, 5 Dec 2022 08:29:51 -0800 From: bob prohaska To: Ronald Klop Cc: freebsd-ports@freebsd.org Subject: Re: Trouble building gcc11 on RPi2 Message-ID: <20221205162951.GA99761@www.zefox.net> References: <20221202034239.GA84075@www.zefox.net> <02b602f5-ef0d-fdcc-6df2-38ecb79b9f8c@FreeBSD.org> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02b602f5-ef0d-fdcc-6df2-38ecb79b9f8c@FreeBSD.org> X-Spamd-Result: default: False [-1.10 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[zefox.net]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4NQpt32nGgz3vjy X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N On Sat, Dec 03, 2022 at 10:56:14AM +0100, Ronald Klop wrote: > 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? It appears that turning off native language support in help2man got past the initial error on Pi2. I've also turned off LTO bootstrap to see if it helps cure the runaway swap use seen on Pi3 under stable/13. (For some reason that didn't seem to cause problems on Pi3-current). I think there's been a small version bump, from _5 to _7 in the meantime. Thanks for writing, bob prohaska