From nobody Fri Jul 28 08:37:42 2023 X-Original-To: ports@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 4RC1HD55lqz4p9wD for ; Fri, 28 Jul 2023 08:38:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RC1HD4ZKSz3Kjn; Fri, 28 Jul 2023 08:38:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690533480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Kv26hei0IFMgIsULMuVSbjO5lhi/I/9lMQ0rDm6uMPc=; b=pu+IlGepYJfZVi9UJu9WSoTmoNvVeuQW0kcshwbNF4NGWSTqQRlQXNhaS/NFrEIKZgKIS7 6/3Cm8ZLe5fQuGG3OeSVCDMTMKYjADA/m/3ab5lnFZouUwAuF8yC6TCPpuZCUEBqEcdwRV 8ETD3zVXcWNQA308NZiF7WsHfliebCTUjBR65kIwTki4U3upoq5KuCcuH3bSWfvvh359/K Ym2z0CLpGAhjQmPlNeAhjKHt/aHxm5C8AQYzKKOJo/QbQndOWXksZZsM1VVn1eqoEY/Bot 9snLf0MK194vLX227+vt1ZXQJRi7EE4GkGd13rWD/qJpu6ZqZ5/TtF3WOIHfVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690533480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Kv26hei0IFMgIsULMuVSbjO5lhi/I/9lMQ0rDm6uMPc=; b=w6soyZ7rCrvRU9/7QH+2hYYPKTWtdZzUGNDmqrOHp+RpUxnyqTFURuQie7iW26l93O3iSU 7ErS1GohbR8M1Lh96geg6JzQRzKrrTcvNZ86RA5u2SZURCIlI/V6j9xVAiknkotRr+YqIr usS7g3Qw62bOYULJmCIE9hNHtYOYanPdmdmKloRJCkyNkRTh4WDd6gVew4I/v7JLfoypoP ebQTTC7CutPmvQNVSpe3UegShGcdL1qae2mklzxeh27GSMul56I21aQlgSz4fQYfhtJ1TN fkBFzbHaw+l6/TwaXVOU+ac7FOzAht9C6XE2g1DOrnBB5Qyble5zHv5Vaq5e2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690533480; a=rsa-sha256; cv=none; b=ecLg/BBtCdQTekk7pBE65XVjR7sdAPUznfQyQateUNmLV/Qt6ZmVBq2eBPfrZ9Ch3qYinb JevEB6yoMjjwhrbiYldS60LGrrnL2kt4c9fTWPlmZt3IUzGxAaDIOVpdzNDNdhHX1LcdPY qtax+wbgVZF+bsu2eM4BeP97dFeRQIHcKHj0JiQPAtR8w80kUF//SorxmZoGVNvt21ZJDr 3rpOgJjj6c5e6/Eg570kf4cemzbczApqsBcyXsrIFKGral0Y6xgpSZf2PWajGRQV9E8z/A F30Ixg43rsev+oMLaBFuIxCC6oGAiAAjZi0qnI+30/EF0R7JyaQcmhmuBR93rg== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RC1HD2tj7zytv; Fri, 28 Jul 2023 08:38:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow-wifi.home.andric.com [192.168.0.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id E82D868630; Fri, 28 Jul 2023 10:37:57 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_179AFCD7-2617-4CFD-AB4B-6B02864B822F"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: www/nginx-full failed with src/cxx_supportlib/IOTools/IOUtils.cpp:288:3: error: use of undeclared identifier 'random_shuffle' From: Dimitry Andric In-Reply-To: <202307280145.36S1jdl3007993@kx.truefc.org> Date: Fri, 28 Jul 2023 10:37:42 +0200 Cc: ports@freebsd.org Message-Id: References: <202307280145.36S1jdl3007993@kx.truefc.org> To: KIRIYAMA Kazuhiko X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_179AFCD7-2617-4CFD-AB4B-6B02864B822F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 28 Jul 2023, at 03:45, KIRIYAMA Kazuhiko wrote: > www/nginx-full failed with > "src/cxx_supportlib/IOTools/IOUtils.cpp:288:3: error: use of > undeclared identifier 'random_shuffle'" : std::random_shuffle has been removed from C++17, so either the code must = be adjusted to use std::shuffle, or the port has to be compiled with = C++14 or lower. Typically, you can add a line: USE_CXXSTD=3D c++14 to the port's Makefile, if the program respects CXXFLAGS. -Dimitry --Apple-Mail=_179AFCD7-2617-4CFD-AB4B-6B02864B822F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZMN+VgAKCRCwXqMKLiCW o7vYAKCFq8GhqYfmZqLcx3cxb//jr5xPkwCgpw6ZuVLC4JAd/xPy3o5s9our2Ww= =4Ka6 -----END PGP SIGNATURE----- --Apple-Mail=_179AFCD7-2617-4CFD-AB4B-6B02864B822F--