From nobody Wed Jan 31 18:51:37 2024 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 4TQB321fJVz584JS for ; Wed, 31 Jan 2024 18:51:42 +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 4TQB320Lfnz4T05 for ; Wed, 31 Jan 2024 18:51:42 +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=1706727102; 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=IYMEFb6gdQ+lVRL90LBUhjBRzXg7fcWQLT0EHQ0EHq4=; b=ig7g/KXkd48W3E6twyNJC60kmua1GLHUtYLGtg1N99EgEP+Ac5vsaLr9Ng9VFBBg10FcaQ S+YM1IvO91QwE+Hf2jGEkDgmlNLzwlruLm50HcDMDv/xR1STMlcJ1gv6TOQz77CNxBnncr NdmaUumPOQ4ss1Gmt9LFfg8aNPVyUVnexDOklFeSylrU+DfOr158XPIxAFlX7zxnpsHS52 uLq+pLxQHrWbf2x6RLG8c4tJc0O7/AIG+IpnWuLejAz9qT5tCXUxRfzMGnkS6orfU/ZZ70 AXPhZA+9FwlrbZi8G1GEPqQ4Y7Z9vY5CKVUzmh48VnUaPZtQ2/SezIOa8pw3wQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706727102; a=rsa-sha256; cv=none; b=SrfpM3at7aR+o45ejEddvY4xDgMmwvdaxqeAGqixL5f/OXveTB9r+i0kSEro260BLJEHTx DrE8pBgoFHAvhSxQwqtAdWypJLTmFoHxE2NCs2muDMQ3sqASjjS730s7JvtMT9i+2rwf6H BtbnxS13t0CWwV3hVWyhSiv7slPMaxEdSDdMxuFzfi2q6sAWqTBZIIswbigWKIDZLy6Ca7 wmGst76AQVsp8mHfk9nn3YOBTgtSP71MSigFMonmKLXdczYhjyI7Qw+JyarxeTXLGx4TCT INfNtMgjP1SIt7MDJIJ/txfIbmQfMBJKhai1pTCYdaYeitPDcRxQVtyxEcSjqg== 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 4TQB316YSqzVTQ for ; Wed, 31 Jan 2024 18:51:41 +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 40VIpfJF063570 for ; Wed, 31 Jan 2024 18:51:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40VIpfJm063567 for ports-bugs@FreeBSD.org; Wed, 31 Jan 2024 18:51:41 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 276749] databases/mysql80-server: fix build with clang 16 Date: Wed, 31 Jan 2024 18:51:37 +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=3D276749 Bug ID: 276749 Summary: databases/mysql80-server: fix build with clang 16 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) Similar to bug 272295, building databases/mysql80-server with clang 16 or higher can result in an error: =20 /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.35/boost/boost_1= _77_0/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion] 73 | typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior; | ^ =20 /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.35/boost/boost_1= _77_0/boost/mpl/aux_/static_cast.hpp:24:47: note: expanded from macro 'BOOST_MPL_AUX_STATIC_CAST' 24 | # define BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast(expr) | ^ This is because the vendored copy of boost in mysql80-server is using undefined behavior in a possibly constexpr context. Fix this by unconditionally enabling the "boost workaround" for aux wrapper value types in integral_wrapper.hpp. --=20 You are receiving this mail because: You are the assignee for the bug.=