From nobody Sun Oct 20 12:14:29 2024 X-Original-To: current@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 4XWcnP1Ksjz5YyY7 for ; Sun, 20 Oct 2024 12:14:33 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWcnM3jdRz4jmd for ; Sun, 20 Oct 2024 12:14:31 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org; dmarc=none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 49KCETLK003649 for ; Sun, 20 Oct 2024 12:14:29 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 49KCETji003648 for current@freebsd.org; Sun, 20 Oct 2024 05:14:29 -0700 (PDT) (envelope-from david) Date: Sun, 20 Oct 2024 05:14:29 -0700 From: David Wolfskill To: current@freebsd.org Subject: Build failure in share/examples/tests/tests/googletest/sample1_unittest.full Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rBATSFY/LK8UHRbB" Content-Disposition: inline X-Spamd-Result: default: False [-0.40 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170:c]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FREEFALL_USER(0.00)[david]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[catwhisker.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; HAS_REPLYTO(0.00)[current@freebsd.org] X-Rspamd-Queue-Id: 4XWcnM3jdRz4jmd X-Spamd-Bar: / --rBATSFY/LK8UHRbB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Running: FreeBSD freebeast.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURRENT #5 main-= n273063-4ad443a106d3: Sat Oct 19 10:38:11 UTC 2024 root@freebeast.catwh= isker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1500025 1500= 025 after updating sources to main-n273073-bd66c1b43e33: =2E.. Building /common/S4/obj/usr/src/amd64.amd64/tests/sys/pjdfstest/tests/renam= e/11 Building /common/S4/obj/usr/src/amd64.amd64/tests/sys/pjdfstest/tests/symli= nk/01 Building /common/S4/obj/usr/src/amd64.amd64/secure/lib/libcrypto/ASN1_gener= ate_nconf.3.gz ld: error: undefined symbol: testing::internal::MakeAndRegisterTestInfo(cha= r const*, char const*, char const*, char const*, testing::internal::CodeLoc= ation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryB= ase*) >>> referenced by sample2_unittest.cc:47 (/usr/src/contrib/googletest/googl= etest/samples/sample2_unittest.cc:47) >>> sample2_unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc) >>> referenced by sample2_unittest.cc:78 (/usr/src/contrib/googletest/googl= etest/samples/sample2_unittest.cc:78) >>> sample2_unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc) >>> referenced by sample2_unittest.cc:85 (/usr/src/contrib/googletest/googl= etest/samples/sample2_unittest.cc:85) >>> sample2_unittest.o:(_GLOBAL__sub_I_sample2_unittest.cc) >>> referenced 1 more times Building /common/S4/obj/usr/src/amd64.amd64/share/man/man5/periodic.conf.5.= gz Building /common/S4/obj/usr/src/amd64.amd64/share/i18n/csmapper/CP/UCS%CP85= 0.mps Building /common/S4/obj/usr/src/amd64.amd64/tests/sys/fs/tmpfs/h_tools Building /common/S4/obj/usr/src/amd64.amd64/share/msgdef_unicode/tr_TR.UTF-= 8.out Building /common/S4/obj/usr/src/amd64.amd64/share/man/man9/BUF_TIMELOCK.9.gz Building /common/S4/obj/usr/src/amd64.amd64/secure/lib/libcrypto/ASN1_item_= d2i_bio.3.gz Building /common/S4/obj/usr/src/amd64.amd64/share/i18n/esdb/APPLE/MACARABIC= =2Esrc Building /common/S4/obj/usr/src/amd64.amd64/share/i18n/csmapper/KOI/UCS%KOI= 8-CyrillicOld.mps c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) *** [sample1_unittest.full] Error code 1 make[8]: stopped making "all" in /usr/src/share/examples/tests/tests/google= test =2EERROR_TARGET=3D'sample1_unittest.full' =2EERROR_META_FILE=3D'/common/S4/obj/usr/src/amd64.amd64/share/examples/tes= ts/tests/googletest/sample1_unittest.full.meta' =2EMAKE.LEVEL=3D'8' MAKEFILE=3D'' =2EMAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' Building /common/S4/obj/usr/src/amd64.amd64/bin/csh/ja_JP.UTF-8.cat _ERROR_CMD=3D'c++ -target x86_64-unknown-freebsd15.0 --sysroot=3D/common/S4= /obj/usr/src/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/b= in -O2 -pipe -fno-common -fPIE -g -gz=3Dzlib -Wno-format-zero-length -fstac= k-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-u= nused-parameter -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -= Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wdate-t= ime -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int -W= no-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Qunused-arg= uments -I/common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/private -DGTEST= _HAS_POSIX_RE=3D1 -DGTEST_HAS_PTHREAD=3D1 -DGTEST_HAS_STREAM_REDIRECTION=3D= 1 -frtti -fPIE -std=3Dc++14 -Wno-c++11-extensions -Wl,-zrelro -pie -o sa= mple1_unittest.full sample1_unittest.o sample1.o -lprivategtest_main -lpri= vategtest;' =2ECURDIR=3D'/usr/src/share/examples/tests/tests/googletest' =2EMAKE=3D'make' =2EOBJDIR=3D'/common/S4/obj/usr/src/amd64.amd64/share/examples/tests/tests/= googletest' =2ETARGETS=3D' all' CPUTYPE=3D'' DESTDIR=3D'/common/S4/obj/usr/src/amd64.amd64/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'amd64' MACHINE_ARCH=3D'amd64' MACHINE_CPUARCH=3D'amd64' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20240711' =2E... (Also had a (similar) whine about linker commands failing, for tests/sys/capsicum/capsicum-test.full.) This is in meta-mode, on a 32x2 Epyc running "make -j 112 buildworld". I have placed copies of the build typescript and the 2 meta files in https://www.catwhisker.org/~david/FreeBSD/head/n273073/ I am about to try a similar build on a couple of smaller machines, but they may take a while to get to the point of failure. Peace, david --=20 David H. Wolfskill david@catwhisker.org It has been said that history repeats itself. This is perhaps not quite correct; it merely rhymes. -- Theodor Reik See https://www.catwhisker.org/~david/publickey.gpg for my public key. --rBATSFY/LK8UHRbB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZxT0JV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5ZwgAP9WlXH+0UfG/46rjOCRFj+NYkhRFxj0zXIvwU490BZx/AD+P8UCH9ymmc+a RFyza+t1ho8qWQQ/YmD7JbaG/IJHfQg= =gsby -----END PGP SIGNATURE----- --rBATSFY/LK8UHRbB--