From nobody Sun Feb 26 02:07:12 2023 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 4PPRpc735Vz3v8f8; Sun, 26 Feb 2023 02:07:20 +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 4PPRpb28WNz3Mlg; Sun, 26 Feb 2023 02:07:19 +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.16.1/8.15.2) with ESMTP id 31Q27C2h099168; Sun, 26 Feb 2023 02:07:12 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 31Q27C3C099167; Sat, 25 Feb 2023 18:07:12 -0800 (PST) (envelope-from david) Date: Sat, 25 Feb 2023 18:07:12 -0800 From: David Wolfskill To: freebsd-ports@freebsd.org Subject: www/chromium: build fails on stable/12 (amd64) - both poudriere and portmaster Message-ID: 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-sha512; protocol="application/pgp-signature"; boundary="w00hUrYFRcfpuwLR" Content-Disposition: inline X-Spamd-Result: default: False [-5.40 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROMTLD(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org,chromium@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[david]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4PPRpb28WNz3Mlg X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N --w00hUrYFRcfpuwLR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable So... I tried several times to submit this bug via bugzilla, and each time was told (after about a minute of waiting): Secure Connection Failed An error occurred during a connection to bugs.freebsd.org. The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem. Learn more=E2=80=A6 Anyway: Yeah. I couldn't build www/chromium under stable/12 at stable/12-n235968-668a32ab231d, either via poudriere (on a 256GB build machine) or via portmaster (on my laptop). I have placed a copy of the poudriere log in https://www.catwhisker.org/~david/FreeBSD/ports/chromium/12/. The salient part of that shows: =2E.. [ 28% 15291/52970] python3 ../../third_party/wayland/wayland_scanner_wrappe= r.py third_party/wayland/src/protocol/wayland.xml --src-root ../../ --root-= gen-dir gen --generator-type protocol-server --cmd ./wayland_scanner [ 28% 15292/52970] cc -MMD -MF obj/third_party/wayland/wayland_cursor/os-co= mpatibility.o.d -DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZONE=3D1 -DOFFICIAL_BU= ILD -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO= _UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENA= BLED=3D0 -I../.. -Igen -I../../third_party/wayland/include -I../../third_pa= rty/wayland/include/src -I../../third_party/wayland/src/cursor -I../../thir= d_party/wayland/src/egl -I../../third_party/wayland/src/src -I/usr/local/in= clude/libepoll-shim -Igen/third_party/wayland/src/protocol -fno-delete-null= -pointer-checks -fno-ident -fno-strict-aliasing --param=3Dssp-buffer-size= =3D4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -= fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -m64 -msse3 -Xclang= -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -ftrivial-auto-va= r-init=3Dpattern -O2 -fdata-sections -ffunction-sections -fno-unique-sectio= n-names -fno-omit-frame-pointer -g0 -fprofile-use=3D../../chrome/build/pgo_= profiles/chrome-linux-5481-1675874756-8f0cc1ffc14aaa364c4901d505c8293825229= 435.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -= Wno-backend-plugin -fvisibility=3Dhidden -Wheader-hygiene -Wstring-conversi= on -Wtautological-overlap-compare -Wall -Wno-unused-variable -Wno-c++11-nar= rowing -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wl= oop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional = -Wno-ignored-pragma-optimize -Wno-macro-redefined -std=3Dc11 -c ../../third= _party/wayland/src/cursor/os-compatibility.c -o obj/third_party/wayland/way= land_cursor/os-compatibility.o FAILED: obj/third_party/wayland/wayland_cursor/os-compatibility.o cc -MMD -MF obj/third_party/wayland/wayland_cursor/os-compatibility.o.d -DU= SE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZONE=3D1 -DOFFICIAL_BUILD -D_FILE_OFFSET_= BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_G= NU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -I../.. -I= gen -I../../third_party/wayland/include -I../../third_party/wayland/include= /src -I../../third_party/wayland/src/cursor -I../../third_party/wayland/src= /egl -I../../third_party/wayland/src/src -I/usr/local/include/libepoll-shim= -Igen/third_party/wayland/src/protocol -fno-delete-null-pointer-checks -fn= o-ident -fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-protecto= r -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor= -diagnostics -fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-= dir -Xclang . -no-canonical-prefixes -ftrivial-auto-var-init=3Dpattern -O2 = -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-fra= me-pointer -g0 -fprofile-use=3D../../chrome/build/pgo_profiles/chrome-linux= -5481-1675874756-8f0cc1ffc14aaa364c4901d505c8293825229435.profdata -Wno-pro= file-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -f= visibility=3Dhidden -Wheader-hygiene -Wstring-conversion -Wtautological-ove= rlap-compare -Wall -Wno-unused-variable -Wno-c++11-narrowing -Wno-missing-f= ield-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unn= eeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-o= ptimize -Wno-macro-redefined -std=3Dc11 -c ../../third_party/wayland/src/cu= rsor/os-compatibility.c -o obj/third_party/wayland/wayland_cursor/os-compat= ibility.o =2E./../third_party/wayland/src/cursor/os-compatibility.c:127:7: warning: i= mplicit declaration of function 'memfd_create' is invalid in C99 [-Wimplici= t-function-declaration] fd =3D memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALI= NG); ^ =2E./../third_party/wayland/src/cursor/os-compatibility.c:127:38: error: us= e of undeclared identifier 'MFD_CLOEXEC' fd =3D memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALI= NG); ^ =2E./../third_party/wayland/src/cursor/os-compatibility.c:127:52: error: us= e of undeclared identifier 'MFD_ALLOW_SEALING' fd =3D memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALI= NG); ^ =2E./../third_party/wayland/src/cursor/os-compatibility.c:135:13: error: us= e of undeclared identifier 'F_ADD_SEALS' fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL); ^ =2E./../third_party/wayland/src/cursor/os-compatibility.c:135:26: error: us= e of undeclared identifier 'F_SEAL_SHRINK' fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL); ^ =2E./../third_party/wayland/src/cursor/os-compatibility.c:135:42: error: us= e of undeclared identifier 'F_SEAL_SEAL' fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_SEAL); ^ 1 warning and 5 errors generated. The build succeeded under stable/13, running stable/13-n254681-44a6088278ea. The (MFD_*) symbols in question appear to be defined in /sys/sys/mman.h for stable/13, but are not present in the stable/12 version of the file. Any suggestions for a fix (or circumvention)? Perhaps the definitions in question could be MFCed to stable/12? Peace, david --=20 David H. Wolfskill david@catwhisker.org So now the General Secretary of the Chinese Communist Party associates with the imperialist running dog, Vladimir Putin. Will wonders never cease! See https://www.catwhisker.org/~david/publickey.gpg for my public key. --w00hUrYFRcfpuwLR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCY/q+0F8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix 1PT3AQCVoX5yX1TSJ3dgwnCzFVZd/QCULNSwBLpU7JTx0ayb8AD+KdU8V19UEE06 GOEsay8oziB8fBluLioYphOjWp/x+gw= =kKU0 -----END PGP SIGNATURE----- --w00hUrYFRcfpuwLR--