From nobody Mon May 15 14:44:10 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 4QKhwD1KLmz4BhfN for ; Mon, 15 May 2023 14:44:28 +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 4QKhwD0nyHz4lM9; Mon, 15 May 2023 14:44:28 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684161868; 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=n3Ss7jp6Zlo9Nm7C37KzyICTkapMTVbJX/9u/YKIcls=; b=bIZOJ3VhmxxbTMvmyK9uBv8NSOS8EonuX50fkqb84HUT9mCFVTmNVJThJflZw1boNLmYlv kbQLFcBp/5H4BmMyXQlnB8o8JVJhuGGkQLKO6SFUZcml90txifkpbC3rLCTYSfJfiSs2OJ l2NCBmlrE8jwOzR/j3kvGyDAuD7QEWz9ukT4fhvrRa+zdYfRu5oY8ckikQDaSYhpajaMcs 4as6lAoWklSF3GXGBWHDVt1siaSXsxXtEdbkfpI1Balw0R4hKfhCmtwFgE3et7tLiG6vOX Y25Xs/M4wGU8XHXhQ6zESpRDQ/P8zyfqL+TrtGYFok2XA+aYrKGoSPEFXr0okA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684161868; 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=n3Ss7jp6Zlo9Nm7C37KzyICTkapMTVbJX/9u/YKIcls=; b=ZBYNXIttjIsH+yGU7SRnVQu+ykHAWON1/Q5lu+buw5UPAYdDiD/EVXJyUUMwXb62aOWrbJ h7x8GoRoRCCjPtEJxP2FNRydx5bUSxbAYCI+zEGhY0PAZiKOeR6DvieJQ0xmrg73noVaSJ iKC6X8mv+3uY2Hh3sqM/7Yhe2aSDZ81ScIP9W4VGq0UD2v8wTr94omQ031ww/ED8CkarFK BOVWXLVlzbL1Z9QMmK+f9rFPgGDlFokcv62HZtafDKiSr1q3ogSsg2tiMJqNI99Bj6v718 dR5t3XGvBzdh3WYv6bg/KGaBbmhnGl3vB6972BMipSU4mULHI8GRH5jPXbvmCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684161868; a=rsa-sha256; cv=none; b=s13t5kiOob2T7TQvyR48R66nAsZ78nFJV5X0OKj1TlHhbUgBHM7diBsa91QIBZZT5/S2iN xCsEO9QqceduY51zDLSKaKP9JR+S35E32BWjDGh9tg27vgkMRigQR5DLTcrdss5f7Fwrw8 0ageablTf4xa+aATnkBq86EPXiNYINxKSq1mlc6N9ydgEXbWixdfUuAB/A39z0oPFerhXa tcdFA01h+f5YGQw2lm/awEyH2SPzKeZNDF8NJres3Tf5NvmZMRAjeXzYnjZcLTipR0rQBT cpN4O7Y5xktdUo68d7Qd9u4Wcb8Iue+aKiMcFmY9lrwRNHEjjm2Ls7IXr7lLjw== 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 4QKhwC6DPYz10T8; Mon, 15 May 2023 14:44:27 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (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 085AE74EC0; Mon, 15 May 2023 16:44:26 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_403B2DBF-4DA7-4F1B-92FB-007A8380131C"; 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.500.231\)) Subject: Re: mongodb70 fails on 14? advice? From: Dimitry Andric X-Priority: 3 (Normal) In-Reply-To: <581353187.153.1684153036202@mailrelay> Date: Mon, 15 May 2023 16:44:10 +0200 Cc: FreeBSD Ports Message-Id: <34B5341C-C939-4030-A536-56445BB5868B@FreeBSD.org> References: <581353187.153.1684153036202@mailrelay> To: Ronald Klop X-Mailer: Apple Mail (2.3731.500.231) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_403B2DBF-4DA7-4F1B-92FB-007A8380131C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 15 May 2023, at 14:17, Ronald Klop wrote: >=20 > My port compiles fine on FreeBSD 12 and 13 but fails on 14. >=20 > = http://beefy18.nyi.freebsd.org/data/main-amd64-default/p93c4b3fbc498_sd489= b2a39d/logs/errors/mongodb70-7.0.0.r0_1.log In file included from = build/opt/mongo/s/mongos_server_parameters_gen.cpp:9: > In file included from = build/opt/mongo/s/mongos_server_parameters_gen.h:9: > In file included from /usr/include/c++/v1/algorithm:1716: > In file included from = /usr/include/c++/v1/__algorithm/adjacent_find.h:13: > /usr/include/c++/v1/__algorithm/comp.h:36:71: error: invalid operands = to binary expression ('const mongo::SSLX509Name::Entry' and 'const = mongo::SSLX509Name::Entry') > bool operator()(const _T1& __x, const _T1& __y) const {return __x =3D=3D= __y;} > ~~~ ^ ~~~ >=20 >=20 > I tried older llvm versions but that does not help. So I get the idea = it has something to do with the c++ libraries in 14.0. > Is this a known issue? > Any advice or suggestion on how to resolve this? Or should this go to = upstream mongodb? Looks like mongo::SSLX509Name::Entry does not implement a comparison = operator? Since it is comparing vectors of such objects, the objects = themselves need an operator=3D=3D(). I fail to see how that could work = on 12 and 13, though. Are you compiling it with gcc there? -Dimitry --Apple-Mail=_403B2DBF-4DA7-4F1B-92FB-007A8380131C 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZGJFOgAKCRCwXqMKLiCW ow3lAKDRbbOo9SvTx+7ncn3O2I+zcNXqOgCgzRwo5v6mpYsGMD66DqujflyvhyY= =gqBh -----END PGP SIGNATURE----- --Apple-Mail=_403B2DBF-4DA7-4F1B-92FB-007A8380131C--