Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2022 13:12:58 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   devel/llvm13 build: "ninja: build stopped: subcommand failed"
Message-ID:  <Yva0Sv%2BFx8tu7wpM@albert.catwhisker.org>

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

--jvTz+Cpx4Wr0iHyK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This was using poudriere, on a real amd64 machine with:
Aug 12 04:13:35 freebeast kernel: real memory  =3D 206152138752 (196602 MB)
Aug 12 04:13:35 freebeast kernel: avail memory =3D 200736665600 (191437 MB)

in both:

FreeBSD 12.3-STABLE #89 stable/12-n235538-4291bca854b: Fri Aug 12 03:33:24 =
PDT 2022     root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd=
64/sys/GENERIC  amd64 1203507 1203507

and:

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.am=
d64/sys/GENERIC amd64 1301506 1301506

For stable/12, the context for the ninja whine was:
=2E..
[ 72% 5997/8307] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACR=
OS -D__STDC_LIMIT_MACROS -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tool=
s/flang/lib/Semantics -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-1=
3.0.1.src/flang/lib/Semantics -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 -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/ports/devel/llvm13/work/llvm-project-13.0.1.src/=
flang/lib/Semantics/resolve-names.cpp
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/llvm13


For stable/13, it was:
[ 72% 5997/8307] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACR=
OS -D__STDC_LIMIT_MACROS -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tool=
s/flang/lib/Frontend -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13=
=2E0.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/local/=
include  -fno-exceptions -std=3Dc++17 -MD -MT tools/flang/lib/Frontend/CMak=
eFiles/obj.flangFrontend.dir/FrontendActions.cpp.o -MF tools/flang/lib/Fron=
tend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o.d -o tools/flan=
g/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o -c /w=
rkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/lib/Fronte=
nd/FrontendActions.cpp
[ 72% 5997/8307] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACR=
OS -D__STDC_LIMIT_MACROS -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tool=
s/flang/lib/Semantics -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-1=
3.0.1.src/flang/lib/Semantics -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           -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-names.cpp.o -c /wrkdirs/usr/ports/devel/llvm13/w=
ork/llvm-project-13.0.1.src/flang/lib/Semantics/resolve-names.cpp
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1


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!).

I only use llvm ports as dependencies of other ports, so I haven't
attempted to tweak the port configuration at all.

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.

What sort of evasive action might be useful?

Thanks!

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org
See "Truth Social"?  Read it as "Pravda" -- and adjust expectations accordi=
ngly.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--jvTz+Cpx4Wr0iHyK
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCYva0Sl8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE
MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix
1AOcAQChNtXIYjCDJ6GAExFI5u7sAfrpkxsGRdcmiItAO9yqeQD+OX5XJvIa58yF
lD403XoL+FixqFufXgcuZjyKCIPyDgA=
=ic9R
-----END PGP SIGNATURE-----

--jvTz+Cpx4Wr0iHyK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yva0Sv%2BFx8tu7wpM>