From nobody Fri Aug 12 21:08:42 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 4M4GW56M4gz4ZJLb for ; Fri, 12 Aug 2022 21:08:49 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4M4GW46ZlVz43cv for ; Fri, 12 Aug 2022 21:08:48 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 8D1E33C0199; Fri, 12 Aug 2022 21:08:42 +0000 (UTC) Date: Fri, 12 Aug 2022 21:08:42 +0000 From: Brooks Davis To: David Wolfskill Cc: freebsd-ports@freebsd.org Subject: Re: devel/llvm13 build: "ninja: build stopped: subcommand failed" Message-ID: <20220812210842.GB37061@spindle.one-eyed-alien.net> References: 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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pvezYHf7grwyp3Bc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4M4GW46ZlVz43cv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-3.90 / 15.00]; SIGNED_PGP(-2.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; FREEFALL_USER(0.00)[brooks]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --pvezYHf7grwyp3Bc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable An ill-advised update was made to textproc/py-sphinx-markdown-tables which broke llvm13 and later. Hopefully it will be reverted soon. -- Brooks On Fri, Aug 12, 2022 at 01:12:58PM -0700, David Wolfskill wrote: > This was using poudriere, on a real amd64 machine with: > Aug 12 04:13:35 freebeast kernel: real memory =3D 206152138752 (196602 M= B) > Aug 12 04:13:35 freebeast kernel: avail memory =3D 200736665600 (191437 M= B) >=20 > in both: >=20 > FreeBSD 12.3-STABLE #89 stable/12-n235538-4291bca854b: Fri Aug 12 03:33:2= 4 PDT 2022 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.a= md64/sys/GENERIC amd64 1203507 1203507 >=20 > and: >=20 > FreeBSD 13.1-STABLE #135 stable/13-n252108-df38c129b0c: Fri Aug 12 05:29:= 37 PDT 2022 root@freebeast.catwhisker.org:/common/S3/obj/usr/src/amd64.= amd64/sys/GENERIC amd64 1301506 1301506 >=20 > For stable/12, the context for the ninja whine was: > ... > [ 72% 5997/8307] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MA= CROS -D__STDC_LIMIT_MACROS -I/wrkdirs/usr/ports/devel/llvm13/work/.build/to= ols/flang/lib/Semantics -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project= -13.0.1.src/flang/lib/Semantics -I/wrkdirs/usr/ports/devel/llvm13/work/llvm= -project-13.0.1.src/flang/include -I/wrkdirs/usr/ports/devel/llvm13/work/.b= uild/tools/flang/include -I/wrkdirs/usr/ports/devel/llvm13/work/.build/incl= ude -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/inc= lude -isystem /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/= llvm/../mlir/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/.build/t= ools/mlir/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/.build/tool= s/clang/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-= 13.0.1.src/llvm/../clang/include -O2 -pipe -DNDEBUG -fstack-protector-stron= g -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -isystem /usr/= local/include -fPIC -fvisibility-inlines-hidden -Werror=3Ddate-time -Werror= =3Dunguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-s= trings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -W= c++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wn= o-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-over= ride -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffun= ction-sections -fdata-sections -Wno-deprecated-copy -Wno-string-conversion = -Wno-unused-command-line-argument -Wstring-conversion -Wcovered-s= witch-default -Wno-nested-anon-types -O2 -pipe -DNDEBUG -fstack-protector-s= trong -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -isystem /= usr/local/include -fno-exceptions -std=3Dc++17 -MD -MT tools/flang/lib/Sem= antics/CMakeFiles/obj.FortranSemantics.dir/resolve-names.cpp.o -MF tools/fl= ang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/resolve-names.cpp.o.d= -o tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/resolve-n= ames.cpp.o -c /wrkdirs/usr/p > ninja: build stopped: subcommand failed. > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e to > the maintainer. > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/devel/llvm13 >=20 >=20 > For stable/13, it was: > [ 72% 5997/8307] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MA= CROS -D__STDC_LIMIT_MACROS -I/wrkdirs/usr/ports/devel/llvm13/work/.build/to= ols/flang/lib/Frontend -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-= 13.0.1.src/flang/lib/Frontend -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-p= roject-13.0.1.src/flang/include -I/wrkdirs/usr/ports/devel/llvm13/work/.bui= ld/tools/flang/include -I/wrkdirs/usr/ports/devel/llvm13/work/.build/includ= e -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/inclu= de -isystem /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/ll= vm/../mlir/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/.build/too= ls/mlir/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/.build/tools/= clang/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13= =2E0.1.src/llvm/../clang/include -O2 -pipe -DNDEBUG -fstack-protector-stron= g -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -isystem /usr/= local/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden= -Werror=3Ddate-time -Werror=3Dunguarded-availability-new -Wall -Wextra -Wn= o-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers= -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough = -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non= -virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentati= on -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-= copy -Wno-string-conversion -Wno-unused-command-line-argument -Wstring-conv= ersion =20 > stem /usr/local/include -fno-strict-aliasing -DNDEBUG -isystem /usr/loca= l/include -fno-exceptions -std=3Dc++17 -MD -MT tools/flang/lib/Frontend/CM= akeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o -MF tools/flang/lib/Fr= ontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o.d -o tools/fl= ang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o -c = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/lib/Fron= tend/FrontendActions.cpp > [ 72% 5997/8307] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MA= CROS -D__STDC_LIMIT_MACROS -I/wrkdirs/usr/ports/devel/llvm13/work/.build/to= ols/flang/lib/Semantics -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project= -13.0.1.src/flang/lib/Semantics -I/wrkdirs/usr/ports/devel/llvm13/work/llvm= -project-13.0.1.src/flang/include -I/wrkdirs/usr/ports/devel/llvm13/work/.b= uild/tools/flang/include -I/wrkdirs/usr/ports/devel/llvm13/work/.build/incl= ude -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/inc= lude -isystem /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/= llvm/../mlir/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/.build/t= ools/mlir/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/.build/tool= s/clang/include -isystem /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-= 13.0.1.src/llvm/../clang/include -O2 -pipe -DNDEBUG -fstack-protector-stron= g -isystem /usr/local/include -fno-strict-aliasing -DNDEBUG -isystem /usr/= local/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden= -Werror=3Ddate-time -Werror=3Dunguarded-availability-new -Wall -Wextra -Wn= o-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers= -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough = -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non= -virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentati= on -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-= copy -Wno-string-conversion -Wno-unused-command-line-argument -Wstring-conv= ersion -Wcovered-switch-default -Wno-nested-anon-types -O2 -pipe = -DNDEBUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-a= liasing -DNDEBUG -isystem /usr/local/include -fno-exceptions -std=3Dc++17= -MD -MT tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/reso= lve-names.cpp.o -MF tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemanti= cs.dir/resolve-names.cpp.o.d -o tools/flang/lib/Semantics/CMakeFiles/obj.Fo= rtranSemantics.dir/resolve-n > ninja: build stopped: subcommand failed. > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e to > the maintainer. > *** Error code 1 >=20 >=20 > I was out-of-town (and largely without Internet access) from 22 July to > 05 August. Prior to that, I don't recall issues building llvm in > poudriere on that machine -- nor do I encounter errors building it with > portmaster on my laptops (it just takes forever and a day!). >=20 > I only use llvm ports as dependencies of other ports, so I haven't > attempted to tweak the port configuration at all. >=20 > As things currently stand, the llvm13 build failure is causing poudriere > to "skip" building 42 ports (in each of stable/12 & stable/13) -- one of > which is www/chromium. >=20 > What sort of evasive action might be useful? >=20 > Thanks! >=20 > Peace, > david > --=20 > David H. Wolfskill david@catwhisker.org > See "Truth Social"? Read it as "Pravda" -- and adjust expectations accor= dingly. >=20 > See https://www.catwhisker.org/~david/publickey.gpg for my public key. --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJi9sFZAAoJEKzQXbSebgfAyOYH/jQaK+7GqBQi1nTlRkSfewc2 jZKqnsH+dJerW97I4GkYkVPg5oaEuAcAM5OoL0ffamFwoXeNsi/4v5UuPahHMNpj AGMyJ7f+wk8fXdjo34IKQZUxLnfkyLLUDBiocx6iQIOwMqpz1Vp4pA8JTS/B1OoB pWBa70vkf5mmN9UItnzAG2SsuKV+zHG/cW8OgU+jWd+9hd9yEUO9mAdi4HDEvtYl ekJvBWxY6vIWY8E6Ee5DZKynYBJCvL+A7xacQC6oLRMWTnIOXzu6uanSpaLE5RkG JrG8dejpesNu3XQWOO9zCVn8rHvl3gCWRxosTEM9z7dajZ/ZS7nEZD6m4g7TYJo= =c+jq -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc--