Date: Fri, 12 Aug 2022 22:35:39 +0200 From: Moin Rahman <bofh@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: <14B5B959-BC40-4D45-B88E-8C7F235545B4@freebsd.org> 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
--Apple-Mail=_0F57991C-BACC-49E7-BA3B-4FFF8CDAE5FB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Aug 12, 2022, at 10:12 PM, David Wolfskill <david@catwhisker.org> = wrote: >=20 > 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) >=20 > in both: >=20 > 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.amd64/sys/GENER= IC 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/GENER= IC 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_MACROS -D__STDC_LIMIT_MACROS = -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tools/flang/lib/Semantics = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/lib/S= emantics = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/inclu= de -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tools/flang/include = -I/wrkdirs/usr/ports/devel/llvm13/work/.build/include = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/includ= e -isystem = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/../mlir/= include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/.build/tools/mlir/include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/.build/tools/clang/include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/../clang= /include -O2 -pipe -DNDEBUG -fstack-protector-strong -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-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-indentation -fdiagnostics-color -ffunction-sections = -fdata-sections -Wno-deprecated-copy -Wno-string-conversion = -Wno-unused-command-line-argument -Wstring-conversion = -Wcovered-switch-default -Wno-nested-anon-types -O2 -pipe -DNDEBUG = -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -DNDEBUG -isystem /usr/local/include = -fno-exceptions -std=3Dc++17 -MD -MT = tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/resolve-name= s.cpp.o -MF = tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/resolve-name= s.cpp.o.d -o = tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/resolve-name= s.cpp.o -c = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/lib/Sem= antics/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 >=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_MACROS -D__STDC_LIMIT_MACROS = -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tools/flang/lib/Frontend = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/lib/F= rontend = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/inclu= de -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tools/flang/include = -I/wrkdirs/usr/ports/devel/llvm13/work/.build/include = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/includ= e -isystem = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/../mlir/= include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/.build/tools/mlir/include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/.build/tools/clang/include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/../clang= /include -O2 -pipe -DNDEBUG -fstack-protector-strong -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 -Wno-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-indentation -fdiagnostics-color -ffunction-sections = -fdata-sections -Wno-deprecated-copy -Wno-string-conversion = -Wno-unused-command-line-argument -Wstring-conversion > stem /usr/local/include -fno-strict-aliasing -DNDEBUG -isystem = /usr/local/include -fno-exceptions -std=3Dc++17 -MD -MT = tools/flang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.= cpp.o -MF = tools/flang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.= cpp.o.d -o = tools/flang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.= cpp.o -c = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/lib/Fro= ntend/FrontendActions.cpp > [ 72% 5997/8307] /usr/bin/c++ -D__STDC_CONSTANT_MACROS = -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS = -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tools/flang/lib/Semantics = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/lib/S= emantics = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/inclu= de -I/wrkdirs/usr/ports/devel/llvm13/work/.build/tools/flang/include = -I/wrkdirs/usr/ports/devel/llvm13/work/.build/include = -I/wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/includ= e -isystem = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/../mlir/= include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/.build/tools/mlir/include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/.build/tools/clang/include -isystem = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/llvm/../clang= /include -O2 -pipe -DNDEBUG -fstack-protector-strong -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 -Wno-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-indentation -fdiagnostics-color -ffunction-sections = -fdata-sections -Wno-deprecated-copy -Wno-string-conversion = -Wno-unused-command-line-argument -Wstring-conversion = -Wcovered-switch-default -Wno-nested-anon-types -O2 -pipe -DNDEBUG = -fstack-protector-strong -isystem /usr/local/include = -fno-strict-aliasing -DNDEBUG -isystem /usr/local/include = -fno-exceptions -std=3Dc++17 -MD -MT = tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/resolve-name= s.cpp.o -MF = tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/resolve-name= s.cpp.o.d -o = tools/flang/lib/Semantics/CMakeFiles/obj.FortranSemantics.dir/resolve-name= s.cpp.o -c = /wrkdirs/usr/ports/devel/llvm13/work/llvm-project-13.0.1.src/flang/lib/Sem= antics/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 >=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. I am also facing the same issues and I wasn't sure whether if this was = particularly to me. And more interestingly I have 4 different sets to = test 4 different php versions in a single 12.3 jail. And it fails in two = sets while builds fine on the other two. The only difference between the = jails are: DEFAULT_VERSIONS+=3D php=3D[78].[0124] :'( > What sort of evasive action might be useful? >=20 > Thanks! >=20 > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > See "Truth Social"? Read it as "Pravda" -- and adjust expectations = accordingly. >=20 > See https://www.catwhisker.org/~david/publickey.gpg for my public key. --Apple-Mail=_0F57991C-BACC-49E7-BA3B-4FFF8CDAE5FB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmL2uZtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJEmdQ//d3VjP9p5F9kcC6wfTVK3T7+9R65RqW0i9xnK9eLwUOOhIujCy3XnQytq ixYD92rbgpc85eS75iVQmD2YHQ1TJ2heDT2Pjo2ThAdiWfi030WWwIyTzNZwGp5x vnsdmh8HqZVQ7+gSWVTSVBoZ426lcHcMlysmC8fwMJVQ3vMJhTWoo4jy1SEV1cVY /Dms5o1/rRA71VZn9c8mO3TvA6dEVkhEeuULRuZEpEALxAsQtqQgmFMU3+lQtbuK UW2AWwyeaiZVIsQFkUxU2ZBN0APsbvKMcYPUqDcmwQZfnogg1ZwmqzgoZg74fllw cKpm45H4VfgGwY/+MwP60gOi46opNeyTtpPjiBhOA/yxpCjgijLQlLgsxO0l5ZGv NfrcOcbcbynA1gN982tUp5zMuWSwyzk8lIL4Q7KNCeQvguNYVRl/de34pr2LjuCY Z3KQA6xlpLP2rfdyalfKDSk4sOXWDCLUA9mO1S7C6QTCY32InOdxGwbTha8nSsfw NrwEGKl0w7TKZsr8tuWjnp807m1MnhkCba7X8u4fQ3sQ+z05S2eNW3qJHO/zJV/c Pb7KNW2R3z7tIHkHMNI036/9LTaLBQf23dgnxTHIRCSzddridNNvTQUz5gjgKnn3 jCetO09PYVlD7d+pBUQccqjfxUgaljhiVIa8ancidbZQCwvX1QI= =akqm -----END PGP SIGNATURE----- --Apple-Mail=_0F57991C-BACC-49E7-BA3B-4FFF8CDAE5FB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14B5B959-BC40-4D45-B88E-8C7F235545B4>