From nobody Tue Feb 15 20:43:14 2022 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 E17D019C8A4F for ; Tue, 15 Feb 2022 20:43:14 +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 4JytMk4xBsz3C7D for ; Tue, 15 Feb 2022 20:43:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8A4C21239 for ; Tue, 15 Feb 2022 20:43:14 +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 21FKhElv094569 for ; Tue, 15 Feb 2022 20:43:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21FKhEFH094568 for ports-bugs@FreeBSD.org; Tue, 15 Feb 2022 20:43:14 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 261976] databases/postgresql14-server: disallow devel/llvm14 for now Date: Tue, 15 Feb 2022 20:43:14 +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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644957794; 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=czGOlrobwEERRBPiRvYRFbhda7tBVx+cQr6b8XTBjkE=; b=MqmYWkOfz3vTXxq4j7IDwnIwq1XjyYs1tIPoDRA2czlJ/gWRh1u2xzy5CNY2YXU0YQJtZt sxl1VZg2ITk6ggGIMDPxE/V9tq9bdfX66VnfPuStLOcSeylrLAk2zrM5F5dEumRE6bRKcK GYdzJUOlVZUDKfLWPt5fzvQy6J+WA2QzYB0HLUwRryHlHI9wzZ3auq4w3HXGejHqPzejIy eiZMpvY81W8DAXMEXvCUXZxcoq5qWZY1W0UgJoNL9bGhqCSf/gVLJmoR2XaEU8jN8qcXnJ 3q90xSL2NMzZRZlb4/xoCioct7E+4v/4uM/yec2GSPbYt4YH2sbemA2+THOZFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644957794; a=rsa-sha256; cv=none; b=MB4pbFRwjEqac/J3xsJ6GJj9hHHy/L3dJKN8r/CX5BMHKNpV0kWaCPd79ws+eX3Ss/KGiz 2OnbqQljlg3z9JG35hMhVSy6qqzHzJEEWyMsf8G/iXgIgT6k3cJB2tRVVCna2GYowDjPoU +001kkjJuZPcrTSz5vGRAh3JOK2NViu6XJYTPCEHt64HNcVMmuo2A4Z2hRN1UctEhTbRe6 d/LRyTipnR/R58E+TQ2/WIIx4JoaB7m68XOH6VYBUIyoL/kmk7U41OZRxNQhgjVkmaKvfM jNJNO7uoqJ3gQHPgBhFJeNnI6sG2zGUUyCHDfJNymPewHfRZkVz+COje3CFN5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261976 Bug ID: 261976 Summary: databases/postgresql14-server: disallow devel/llvm14 for now Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: brooks@FreeBSD.org, pgsql@FreeBSD.org CC: brooks@FreeBSD.org, pgsql@FreeBSD.org During an exp-run for llvm 14 (see bug 261742), it turned out that databases/postgresql14-server and the other slaved postgresql-server ports = fail to build when the base system compiler is clang 14 (note this is from the = i386 exp-run, after devel/llvm14 was introduced: ... g++10 -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3D3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -nostdinc++ -isystem /usr/include/c++/v1 -Wl,-rpath=3D/usr/local/lib/gcc10 -std=3Dc++14 -fPIC -DPIC -D__STDC_LIMIT_= MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -I/usr/local/llvm14/include -I../../../../src/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o llvmjit_error.o llvmjit_error.cpp llvmjit_error.cpp:28:13: error: 'new_handler' in namespace 'std' does not n= ame a type 28 | static std::new_handler old_new_handler =3D NULL; | ^~~~~~~~~~~ llvmjit_error.cpp:32:64: error: 'string' in namespace 'std' does not name a type 32 | static void fatal_llvm_new_handler(void *user_data, const std::stri= ng& reason, bool gen_crash_diag); | ^~~~= ~~ llvmjit_error.cpp:25:1: note: 'std::string' is defined in header ''; did you forget to '#include '? 24 | #include "jit/llvmjit.h" +++ |+#include 25 | llvmjit_error.cpp:34:66: error: 'string' in namespace 'std' does not name a type 34 | static void fatal_llvm_error_handler(void *user_data, const std::string& reason, bool gen_crash_diag); | ^~= ~~~~ llvmjit_error.cpp:34:61: note: 'std::string' is defined in header '= '; did you forget to '#include '? 34 | static void fatal_llvm_error_handler(void *user_data, const std::string& reason, bool gen_crash_diag); | ^~~ llvmjit_error.cpp: In function 'void llvm_enter_fatal_on_oom()': llvmjit_error.cpp:60:3: error: 'old_new_handler' was not declared in this s= cope 60 | old_new_handler =3D std::set_new_handler(fatal_system_new_handler= ); | ^~~~~~~~~~~~~~~ llvmjit_error.cpp:60:26: error: 'set_new_handler' is not a member of 'std' 60 | old_new_handler =3D std::set_new_handler(fatal_system_new_handler= ); | ^~~~~~~~~~~~~~~ llvmjit_error.cpp:62:41: error: invalid conversion from 'void (*)(void*, co= nst int&, bool)' to 'llvm::fatal_error_handler_t' {aka 'void (*)(void*, const char*, bool)'} [-fpermissive] 62 | llvm::install_bad_alloc_error_handler(fatal_llvm_new_handler); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void*, const int&, bool) There seem to be a few changes in the LLVM C and C++ APIs, and until upstre= am postgresql adapts to these changes, I think it is necessary to specifically limit the PG_LLVM_VERSION to a maximum of 13. --=20 You are receiving this mail because: You are the assignee for the bug.=