From nobody Mon Apr 24 20:19:37 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 4Q4xLd6Yb3z47JCr for ; Mon, 24 Apr 2023 20:19:37 +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 4Q4xLd34w1z3Qs3 for ; Mon, 24 Apr 2023 20:19:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682367577; 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=xN3yz2nbD6QGYyZ28FzSBloPBYk6IfnK/9AiUHKeN2o=; b=iKvpCo7Pzo610FJBiO30VjS3sc8aiAu8z8GOuBfeHWXMw2QyPNAiRc8OonoPd2yilKvxp8 uwcR0VPF6d++ovaS5wGQo9Zgvy3xHYtuuEnESem2RWxh8qeqzAdVJSVhdo6lQ5gtg0O7WM lz+/JE7NkyWtK3pkFHexUVBzHPoLW9BLGJyW50bpeeSEK3hI3L/celkxNaTy+O7Uub8+L8 V29zD9i8CHNsObboFU/246/XFRBD2o2cgEqLfJ5vtIDv5CzfxLUtzqr/oAEwjpEUVNdlBK pBZ5PTGieK2EqPc6zkMRZe6Hokhc/eTuaj2VpWRiC8TGjEAvc/JJ7vaL/L5fGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682367577; a=rsa-sha256; cv=none; b=c+2CyZLLVxo57iRdvZMg0P1e6L2MwGY/8qAdnKBWjDeoAnEFEUpeXdj7PVJutTOcOvr+e3 +HuozCbuWOXHNAN+gNNR3A4LA4xK1PZwnakW5v+EfD6iYWrD7MOZAfxg6aw/5HyCXPKbjZ c33nougEtxPap1FYXnBKxxdP5tSyLv8r3748L1WpRe/DJOgFONrgOSO4oY0+KEXHJkSAh/ rg6g+xFNqwPgVUNUGHEawnp+CvkmsKV9FpiIWri+FyotiR+74FUtnxXxDAtHdalrCZlmbC f5LfA4czmhIRJ7I0LfYM8Qg1ijNo/cXb5jvHop+cB+R3KfC+VE3IMQNE+SWhfg== 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 4Q4xLd27pYzfYr for ; Mon, 24 Apr 2023 20:19:37 +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 33OKJbWI092533 for ; Mon, 24 Apr 2023 20:19:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33OKJbXZ092532 for ports-bugs@FreeBSD.org; Mon, 24 Apr 2023 20:19:37 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 271051] devel/atf: fix build with clang 16 Date: Mon, 24 Apr 2023 20:19:37 +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: jmmv@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271051 Bug ID: 271051 Summary: devel/atf: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: jmmv@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: jmmv@FreeBSD.org Flags: maintainer-feedback?(jmmv@FreeBSD.org) Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because devel/atf's Makefile does not explicitly set its C++ standard, this leads to several errors: In file included from atf-c++/check.cpp:26: ./atf-c++/check.hpp:74:17: error: no template named 'auto_ptr' in namespa= ce 'std' friend std::auto_ptr< check_result > exec(const atf::process::argv_array&); ~~~~~^ ./atf-c++/check.hpp:123:6: error: no template named 'auto_ptr' in namespa= ce 'std' std::auto_ptr< check_result > exec(const atf::process::argv_array&); ~~~~^ In file included from atf-c++/tests.cpp:26: ./atf-c++/tests.hpp:76:10: error: no template named 'auto_ptr' in namespa= ce 'std' std::auto_ptr< tc_impl > pimpl; ~~~~~^ atf-c++/check.cpp:144:6: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr< impl::check_result > ~~~~^ atf-c++/check.cpp:153:17: error: no member named 'auto_ptr' in namespace 'std' return std::auto_ptr< impl::check_result >(new impl::check_result(&result)); ~~~~~^ atf-c++/check.cpp:153:46: error: expected '(' for function-style cast or = type construction return std::auto_ptr< impl::check_result >(new impl::check_result(&result)); ~~~~~~~~~~~~~~~~~~ ^ Add USE_CXXSTD=3Dgnu++98 to avoid these errors. While here, pet portlint. --=20 You are receiving this mail because: You are the assignee for the bug.=