Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2022 21:08:42 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: devel/llvm13 build: "ninja: build stopped: subcommand failed"
Message-ID:  <20220812210842.GB37061@spindle.one-eyed-alien.net>
In-Reply-To: <Yva0Sv%2BFx8tu7wpM@albert.catwhisker.org>
References:  <Yva0Sv%2BFx8tu7wpM@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220812210842.GB37061>