From owner-freebsd-ports-bugs@freebsd.org Thu Sep 26 06:01:18 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73BD1FA269 for ; Thu, 26 Sep 2019 06:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46f4722Rdyz3LMJ for ; Thu, 26 Sep 2019 06:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 53D00FA268; Thu, 26 Sep 2019 06:01:18 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 53948FA267 for ; Thu, 26 Sep 2019 06:01:18 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46f4721Z9Cz3LMH for ; Thu, 26 Sep 2019 06:01:18 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A06F23AF6 for ; Thu, 26 Sep 2019 06:01:18 +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 x8Q61HQd024122 for ; Thu, 26 Sep 2019 06:01:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8Q61H1F024120 for ports-bugs@FreeBSD.org; Thu, 26 Sep 2019 06:01:17 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 240830] www/squid: Fix build with libc++ 9 Date: Thu, 26 Sep 2019 06:01:16 +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: 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 cc flagtypes.name attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2019 06:01:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240830 Bug ID: 240830 Summary: www/squid: Fix build with libc++ 9 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: timp87@gmail.com Flags: maintainer-feedback?(timp87@gmail.com) CC: timp87@gmail.com Created attachment 207835 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207835&action= =3Dedit Fix squid build with libc++ 9 Because squid builds with -Werror, with libc++ 9 it errors out on deprecated classes from : libtool: compile: c++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=3D\"/usr/local/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=3D\"/usr/local/etc/squid\" -DDEFAULT_SQUID_CONFIG_DIR=3D\"/usr/local/etc/squid\" -I../.. -I../../inclu= de -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include -I../../libltdl -I/usr/include -I/usr/local/include -Werror -Qunused-argume= nts -Wno-deprecated-register -D_REENTRANT -I/usr/include -I/usr/include -O2 -pi= pe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT InnerNode.lo -MD -MP -MF .deps/InnerNode.Tpo -c InnerNode.cc -fPIC -DPIC -o .libs/InnerNode.o InnerNode.cc:24:52: error: 'mem_fun' is deprecated [-Werror,-Wdeprecated-declarations] std::for_each(nodes.begin(), nodes.end(), std::mem_fun(&ACL::prepareForUse)); ^ /usr/include/c++/v1/functional:1148:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:944:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:933:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 1 error generated. To fix this, allow it to continue even though the warnings are shown. Idea= lly upstream should replace usage of deprecated functionality with C++11 equivalents, but I am unsure whether that is an upstream goal... --=20 You are receiving this mail because: You are the assignee for the bug.=