From nobody Sat Oct 14 14:01:16 2023 X-Original-To: ports-bugs@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 4S74mD54NPz4wp97 for ; Sat, 14 Oct 2023 14:01:16 +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 4S74mD44cCz3WkS for ; Sat, 14 Oct 2023 14:01:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697292076; a=rsa-sha256; cv=none; b=Pqq8WVhv0u5cyRfawXCHoo4UWD54tF9eeKCpVvN+6WwQplAe44CISMQ5dG4Ny9uADgFymR qIW2Xd4RhMXCnr2CvzTYR4alA3i3oAOZmbof5JfcbpsoEK2nQ87XEu2d/JrYXibjIJESB4 nbrZowbw0t90PchXNwYBu/pXtCTb/qBJ81Pt4xtWJ01Rkl+sCihnAFEJprDQJJ4M5P2s9a iZyqTNGsbVx+3IPh74yUdqNch7orbyWz7xL/SM8PbC66FWRZxj1MDHnnfEVXfpkxKxNjt2 RPkGREFN0mGsvFrao8H5xc5C9leXc3XGgtZYcRlBzAF2puKAfUzu/2HOTLwpDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697292076; 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=MRQKOsYnenpLAlb7NcxUll6qS+/orLpLLdl0qQr9JIA=; b=i9t7Px6AEKLtPnk8f/ITTWC3NN1cCo9DycXufvUBTd53o06XO1GpMPweZsQF3DaDMij8SI Q5Zo/b6MX4e7j35V5J/bvEcT9I+2LlwA/f+Q5izZuZnUNUk7lb9SqDCFWrWTUYYOMQ71h/ PPtP+MnDnfbALYar/5WztxOoL0tM7cZoM5oICiPZwTcrXtZhQZhBJChmTNDSotnB8ssg/B 1KAv9PfnBd1A9qRfo4jzTNe6ZmvWuVoqF5+w062SmMz4qy6X3p4XeQb8RbAM//x13jbScm kebCWZvHzz1id3pkLmyyimISNQBrORf8a4ThGDz0F+cCX/FlPwtOvZi+tq+OGg== 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 4S74mD39fJzYg3 for ; Sat, 14 Oct 2023 14:01:16 +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 39EE1GaG080081 for ; Sat, 14 Oct 2023 14:01:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39EE1GGI080080 for ports-bugs@FreeBSD.org; Sat, 14 Oct 2023 14:01:16 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 274464] databases/mysql80-server: fix build with clang/libc++ 17 Date: Sat, 14 Oct 2023 14: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: joneum@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274464 Bug ID: 274464 Summary: databases/mysql80-server: fix build with clang/libc++ 17 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: joneum@FreeBSD.org Flags: maintainer-feedback?(joneum@FreeBSD.org) Building databases/mysql80-server with clang and libc++ 17 results in the following errors: In file included from /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.33/sql/auth/sql_= authorization.cc:23: In file included from /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.33/sql/auth/sql_= authorization.h:26: In file included from /usr/include/c++/v1/functional:515: In file included from /usr/include/c++/v1/__algorithm/search.h:23: /usr/include/c++/v1/__utility/pair.h:613:22: error: invalid operands to binary expression ('const Auth_id' and 'const MYSQL_LEX_CSTRING') 613 | return __x.first =3D=3D __y.first && __x.second =3D=3D __y.se= cond; | ~~~~~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/__algorithm/find.h:34:41: note: in instantiation of function template specialization 'std::__1::operator=3D=3D' requested here 34 | if (std::__invoke(__proj, *__first) =3D=3D __value) | ^ /usr/include/c++/v1/__algorithm/find.h:72:21: note: in instantiation of function template specialization 'std::__find_impl, void *> *>>, std::__hash_map_iterator, void *> *>>, std::pair, std::__identity>' requested here 72 | __first, std::__find_impl(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __value, __proj)); | ^ =20 /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.33/sql/auth/sql_= authorization.cc:6591:11: note: in instantiation of function template specialization 'std::find, void *> *>>, std::pair>' requested here 6591 | if (find(role_it, role_end, *it) =3D=3D role_end) { | ^ [... long list of candidates elided ...] This is because an equality operator for Role_id and LEX_CSTRING is missing. Add such an operator to work around the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=