From nobody Thu Sep 28 02:16:12 2023 X-Original-To: ports-bugs@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 4Rwxt52m4Nz4vKNG 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 4Rwxt50jycz3MVG for ; Thu, 28 Sep 2023 02:16:13 +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=o7oPGIU2gdmoTsZmIoxX7EARj/sF8pRuJzzUYl48j7lqnTXq/B0jRyg6zKJ8ljbUMzcGc6 k7b6g/Ny+sv5Hj53YtDkUEtXTut2ZBFSoNHrjkoM8E8KZ1af7k7LtnqUjxO1MRUnnx6Ruv 28CW7bAa0J9hhBqtwIEkLDbaOS0J/Qln/3WoAjALZXFlCf2bTu5lCmcOkpSdjWf9nAoiGb booPCzKldoFNPE7lIkRqcZw5zvk3raD/PBX9dJ8yC/eiNlkL8kqdlQFIwtmfbFjiv11FC7 t0BZxvJ8gembrbkFAinR7bRxj1dqsWHkV+he3MD/9I0UegUuK/TYYBCGLsm69Q== 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=ldh002xXn85nnybbDlyYHhYxfGGSyXRlCU4gOsbS5ohcP4Olojr5IQDsKJ3X4xT8QzfUtW xMUMBeyAOXi165jqAtTByVmDk6YBD2nsEN1b1j3xja4crW7w1uXNCb0DE+/QU8buDFLJkx 9p+tH7PpG+TsFx478z8KB2UjhSkIe0KILCNyuPlVHUcfZ9P5JClg+gxQRhuIZzQxqmL5sp lgK21zIQK47l0n0BrGcyC84htWAOIxBz7VPrM2zoXcpmiluZz1u3Netdk4yfk42gZNgnWl 53ns3EWbNyEfHBLyHxKNwf9k15hF1x9E5lkDa8G43AHj+8VcSAIKTkNIzpAZBQ== 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 4Rwxt46k0fz138g 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 38S2GCHp027527 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 38S2GCPg027525 for ports-bugs@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: ports-bugs@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@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.=