From nobody Thu Sep 28 02:16:12 2023 X-Original-To: chromium@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 4Rwxt52n2Dz4vKsW for ; Thu, 28 Sep 2023 02:16:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rwxt45msqz3MHm for ; Thu, 28 Sep 2023 02:16:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695867372; a=rsa-sha256; cv=none; b=gdraM41L/4UBRAz+OQKQ6V6NCg2XNhwNPI2SJ98dczAP1Psuwz9PoBfAhVHfQYKyPxgTNw YkFjZDvNtLm9G2jDCC/i6z5z6DL/51sIzMEG75cewUoDtz7DVYPFLtqvvc7lUoIddWvya4 AxasriJvtkxo8fbcbGaUgW/zConKiAtbfU53JuiVVGPhTUvl6dtuHehMjVywxMc8knfxJ0 J7MmtbCXJ9VY85992Pf3edPGfBq/IN5eMvuojJ+CPbgZ5W9K35Z+NKUhPf69E2HtmIjfBW Gxcj1OSuxQu5aYZQfdAxJBbaD0kgBJhx4pz55ab2dMIc3iVdXJ55ItcyTL02jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695867372; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LI8Ct+JPUFdPo0oSI2xuac57Ve1sGMsrfEZwW7ccrO0=; b=p5TX28Nc7a8xd1Rw83VjtP3s5pggKx3PGPIcs6rr6TDX100YxRBMg5tdhZXix9QOhKz+3D XZ6OOHILce+sqR9rt2GWrJ3fRCFtI2BP7jPX4AWZdTxzmiMiwX/byiyQxOu5tCn+OjAdh9 34lIgJTYhVMKgdHnfL8PFjrZ+mmAHEDPF4jw6HfWzKJyCjLPGi9pW2DAvzAHDhspzmoLCp webVyUVLTgbX22yylhsUn7KF54Eo7RvuntpqzWDU5p6WneLDzkZK51BBszliOfyj7xiqC/ 0Mhq8V8LRjsr49SREFWTboD+cR6fO64FlSN8EHjtW/KPTEcF2W0rOGAGL30C1w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rwxt44q27z13ld for ; Thu, 28 Sep 2023 02:16:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38S2GCjF027518 for ; Thu, 28 Sep 2023 02:16:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38S2GC3x027517 for chromium@FreeBSD.org; Thu, 28 Sep 2023 02:16:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: chromium@FreeBSD.org Subject: maintainer-feedback requested: [Bug 274139] www/chromium: fails to build in stable/12 because EAI_NODATA is not defined Date: Thu, 28 Sep 2023 02:16:12 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: chromium@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Chromium issues List-Archive: https://lists.freebsd.org/archives/freebsd-chromium List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-chromium@freebsd.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-chromium (Nobo= dy) for maintainer-feedback: Bug 274139: www/chromium: fails to build in stable/12 because EAI_NODATA is= not defined https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274139 --- Description --- Please refer to the email thread starting with https://lists.freebsd.org/archives/freebsd-ports/2023-September/004433.html From the poudriere build log on my build machine, running: FreeBSD 12.4-STABLE #256 stable/12-n236282-b083794291d2: Wed Sep 27 10:26:39 UTC 2023=20=20=20=20 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/GENERI= C=20 amd64 1204500 1204500 with the ports tree at main-n634807-080478034ac8: FAILED: obj/net/dns/dns/address_info.o c++ -MMD -MF obj/net/dns/dns/address_info.o.d -DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZONE=3D1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_M= ACROS -D_FORTIFY_SOURCE=3D2 -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION= _2_56 -DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_56 -DBASE_USE_PERFETTO_CLIENT_LIBRARY=3D1 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=3D0 -DHAVE_PTHREAD -DUSE_SYSTEM_LIBEVENT=3D1 -DNET_IMPLEMENTATION -DENABLE_BUILT_IN_DNS -DUSE_= GIO -DUSING_SYSTEM_ICU=3D1 -DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_STATIC -DU_FINA= L=3Dfinal -DU_NOEXCEPT=3Dnoexcept -DU_OVERRIDE=3Doverride -DU_IMPORT=3DU_EXPORT -I../= .. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../net/third_party/quiche/overrides -I../../net/third_party/quiche/src/quiche/common/platform/default -I../../net/third_party/quiche/src -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -Igen/net/third_party/quiche/src -I../../third_party/zlib -I../../third_party/ced/src -I../../third_party/brotli/include -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-condition= al -Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-prote= ctor -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-frame-pointer -g0 -fprofile-use=3D../../chrome/build/pgo_profiles/chrome-linux-5938-169419327= 3-9204 1abba5ed60196170382dbce223833adce5c9.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -fvisibility=3Dhidden -Wheader-hygiene -Wstring-convers= ion -Wtautological-overlap-compare -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=3D1 -Wexit-time-destructors -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include -std=3Dc++20 -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20 -isystem /usr/local/include -c ../../net/dns/address_info.cc -o obj/net/dns/dns/address_info.o ../../net/dns/address_info.cc:81:47: error: use of undeclared identifier 'EAI_NODATA' if (os_error !=3D EAI_NONAME && os_error !=3D EAI_NODATA) ^ 1 error generated. As noted in the cited email message, this does not occur in 13 because of: commit 870d2ff3052822dd6b46f2c07c442926d637130b Author: Mike Karels Date: Wed Nov 2 10:43:04 2022 -0500 netdb.h: re-enable EAI_ADDRFAMILY, EAI_NODATA EAI_ADDRFAMILY and EAI_NODATA are not in RFC 3493, but are available and used in many other systems. It is desirable to have at least one of them in order to distinguish between names that do not resolve and those that do not have the requested address type. A change to getaddrinfo() will use EAI_ADDRFAMILY. Both were "#if 0"; re-enable, conditioned on __BSD_VISIBLE, and update comments. Also add comments and __BSD_VISIBLE conditional for the last three EAI errors, which are not in the RFC or POSIX. Note, all of these are available in NetBSD and OpenBSD, and EAI_ADDRFAMILY and EAI_NODATA are available in Linux (glibc). Reviewed in https://reviews.freebsd.org/D37139 with related changes. Reviewed by: bz (cherry picked from commit 40e4e12bd84154626d5b46c3e862c79da25bc403)