From nobody Thu May 18 13:12:30 2023 X-Original-To: office@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 4QMVkk69y2z4BYWZ for ; Thu, 18 May 2023 13:12:30 +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 4QMVkk4VC3z46QC for ; Thu, 18 May 2023 13:12:30 +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=1684415550; 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=4VXiIDGfodZnBbMbw0mC1bVV6vrbgN7syyp/4pJEHf4=; b=W5hm4lcnpBSUXindbhUjmIe/7U14KdQmxr10Qive6JOt3MbTpoWXOX0U6JXlKx7t94FE0I 2n67huMzmv+vg6kTnMHPL30BnilOTyOsZPTCQo7et2EVT5r+JyyOEybvnEPhARQcJbWlP3 +ttfIT0eMMOesYvu0EsYuMbmRntFHgcuPg3MblESPOD+2YL3hI9AXsZid/75lbWyZb+IeD /ncclklI8nrgptzomWzETxrLo8GPLlioAzMvUz0QP++9GE068C0YrqALJnVHjiUa6g5H1b XyRoniy98RCSDUhMvNzRfQAU3B+MbBVxvZAd0bcDvf+iJxEdKuo2toCCFcQ0gA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684415550; a=rsa-sha256; cv=none; b=uX2t4lqurcqAr/ZkjSXCk1jznw6Yjzx60UQk3VkLQPenSSrk7epsJWMCfjYXDaDSytxrOc dLobqMGJOxhfX188LLJlDOQ27WTxSx07LpBIiXh+Qj9dDkmqETHDqzYV6G1CiPTtL0pKp9 mRymg5FaqnS+Dbrs0mMTcQV4BDVvinH8O0VTm5E6u4bfEkHNu5gfePOpgBuelv/S/hvB+g FQ9tUFXt3XM4VoQNPxdJOEMlhMzrDgK6bb7eSNisq7HD2W+gDzVg1/5iESFZVK5TJxLe1Z E4HvXSSc4IzXMd2nU0/rsmwXdMXDMtV9vmxVCnaLmruaPkIcqIfpbuUC0TV4Gg== 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 4QMVkk3YNZzmgV for ; Thu, 18 May 2023 13:12:30 +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 34IDCUcS084510 for ; Thu, 18 May 2023 13:12:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34IDCUlp084509 for office@FreeBSD.org; Thu, 18 May 2023 13:12:30 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: office@FreeBSD.org Subject: [Bug 271488] devel/boost-libs: apply upstream patch for C++17 support Date: Thu, 18 May 2023 13:12:30 +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: office@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: Office applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-office List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-office@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271488 Bug ID: 271488 Summary: devel/boost-libs: apply upstream patch for C++17 support Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: office@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: office@FreeBSD.org Flags: maintainer-feedback?(office@FreeBSD.org) Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Several ports that use boost/functional.hpp now complain with (for example print/libmspub01): In file included from MSPUBCollector.cpp:17: In file included from /usr/local/include/boost/multi_array.hpp:34: In file included from /usr/local/include/boost/multi_array/multi_array_ref.hpp:32: /usr/local/include/boost/functional.hpp:45:24: error: no member named 'unary_function' in namespace 'std'; did you mean '__unary_function'? using std::unary_function; ~~~~~^~~~~~~~~~~~~~ __unary_function /usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here using __unary_function =3D __unary_function_keep_layout_base<_Arg, _Resul= t>; ^ In file included from MSPUBCollector.cpp:17: In file included from /usr/local/include/boost/multi_array.hpp:34: In file included from /usr/local/include/boost/multi_array/multi_array_ref.hpp:32: /usr/local/include/boost/functional.hpp:46:24: error: no member named 'binary_function' in namespace 'std'; did you mean '__binary_function'? using std::binary_function; ~~~~~^~~~~~~~~~~~~~~ __binary_function /usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here using __binary_function =3D __binary_function_keep_layout_base<_Arg1, _Ar= g2, _Result>; ^ This is because std::unary_function and std::binary_function were removed from C++17. Upstream boost/functional fixed this in https://github.com/boostorg/functional/commit/6a573e4, so apply that patch until boost 1.83.0 is released with it. From looking at the logs of https://pkg-status.freebsd.org/gohan05/build.html?mastername=3Dmainamd64PR2= 71047-default&build=3D2023-05-14_19h35m09s, at least the following boost-using ports are affected: * print/libmspub01 * finance/quantlib * science/rmf * games/wesnoth --=20 You are receiving this mail because: You are the assignee for the bug.=