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 4QMVkk5bcsz4BYR0 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 4QMVkk2Wk4z46Lp 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: in-reply-to:in-reply-to:references:references; bh=vtPn0+db1cQ5P+C8qayFnwmiHNCq9aYXSVmg+d0es/g=; b=fjxfWBHzLIxGqv4BT+D4SYQBnkNL3VKXQtxSDDV9qtCNreMSL6ZpzyByRt2Lomxp6BYfdN gKAmfQ+De6LKwth+P1Bh31SGz7hrJgl1nbQH0LyEWBjmKXRFiX+8V7Dl/I+xHlmp8ez6u7 YujXbtOCy2yt59TQUOMAZX5W5u3FAMYBtBtbwBhemvJpkgjsUfs9LtZUgX1k/XOSpMVAY2 4RNqYRXmQKP9pva3WlbDg+RFmKPl7LZOU7kjpWQd0lVUMtla9ys8ZHgSVGjTv/e89DHLM3 nu+0syxbylwaKg57XeExwTJEU3m+sXKtoDTpm+u+E5DODCS3sPen+1ubxeaYLg== 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=WXL1MhUiIS9+lEHsLspCxETpTfrhKIhNgOKFDEh3C3Z1awaKP6nL0wO4pLUEfPLlsQqeTQ rkrljRqmp+CKqzLf4fu1AgbBulHrCxRpjmQjWDNtxVldNLjtV+OdiiQhN5tWEkj4zYGpK3 f7rZAgODihPR2qWAGsa0HCmiyiNbq345Q6DIpnapnOi5XKvZkoVPv6/8FnRdVnN9ddDFhh Y/I1BMbe6Jl4SReIEfd0T3eEXJ84gOuq/1LMQC5H0NptPuBbfuJbWDJitWP9h8hqb6pZKb 5j9NhBsXuXiRgS7LqBBQMmOTC2NdPVa5pWFlF6n2di/ILvYh3eTETha2K4Xotg== 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 4QMVkk1d1Zzn5x 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 34IDCUoR084501 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 34IDCUYp084500 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: maintainer-feedback requested: [Bug 271488] devel/boost-libs: apply upstream patch for C++17 support Date: Thu, 18 May 2023 13:12:30 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Bugzilla Automation has asked FreeBSD Office Team for maintainer-feedback: Bug 271488: devel/boost-libs: apply upstream patch for C++17 support https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271488 --- Description --- 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