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 4Rwxt52jbSz4vKvy 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 4Rwxt474vTz3MXM 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=1695867373; a=rsa-sha256; cv=none; b=wz8WS4j3ruM/24IyBcGcoW8hCvOInjqYjY5XNxyvN3hxI2wGBYl4P61HlDfwv4dIXq3xfb CLvX5Tmz3v/Lw/d1ihV3iGQgyOvw1M5I8yGFI/7AeR2iC4BQHnJe0AziVs7DL9nv7k5G+F uQopZoou+7wIJK/9nrUJQ1kkVA+RmODsO6m557EkoFY/YysiQpu4WxwBdYWKCBBtiLdVlg I3k8PBu//gT6dswz7zHnoqhcVjz2h5XyyL229jyle8AkXZiimIcUy7Rcr0qOOGtEbOBFr/ Lc30VAVo8lnHqFkw5PHfaAiQgwmu8cjRpqbQ/C/pRuacH35c/Q4zgvddEEIwLw== 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=1695867373; 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; bh=rwCh6FJhE+58y7+bdUjoROaywxCstFeWy3M6YDETsm4=; b=j+yuNwQDCByUKDbfPnsTPAkXSmcyShCceLpu6YsNzlrUHUw+JJfNpQ2z9z43x3oEOU8NhO 8MwaDg0aACeQ0jWP1WwJTKrsv82eTEzwQG+CPl0IGT+CGIUzDuV4DbookmueurO+OtnufI WTNXFf62qdwwNgcH2Ha3fe0bfu1f3gxC3ZdIsBskiD0E4R4YMCjcGus+4EDVv6PSZPgkNF XAgdwQSp+kC46GsmSV6uvHqJ3m/6ODdpgMr1vfNqzUvS6pzk2k4M8yfcIMiUsoz9CKUSY7 jI7d8dzrZpWnZhUnGabKcRfvXRisZjabbraI/Hxx1RrMzlDowyO9kxebyxTnDw== 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 4Rwxt464Csz13LW 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 38S2GCfr027522 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 38S2GC2f027521 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 From: bugzilla-noreply@freebsd.org To: chromium@FreeBSD.org Subject: [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-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: david@catwhisker.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: chromium@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274139 Bug ID: 274139 Summary: www/chromium: fails to build in stable/12 because EAI_NODATA is not defined Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: chromium@FreeBSD.org Reporter: david@catwhisker.org Flags: maintainer-feedback?(chromium@FreeBSD.org) Assignee: chromium@FreeBSD.org 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-92041abba5ed60196170382dbce223833adce5c9.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) --=20 You are receiving this mail because: You are the assignee for the bug.=