From nobody Fri Jun 16 18:56:50 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 4QjT0g2sxMz4fVy0 for ; Fri, 16 Jun 2023 18:56:51 +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 4QjT0g1LjZz3vHD for ; Fri, 16 Jun 2023 18:56:51 +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=1686941811; 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=DYspyCbOMo4pbUmd9iLX2kqeW77z8IloDXWA+mGa80c=; b=jKX6MoxBeasI0EUf/Ddeimu1WrcwBALUGj+tVbtFa26ABOUrnOgDgub/sL6XbQcmpM9P61 jxFRjYkGflLmyAbBBzTySrqz0CDM5q9uPYBXDSmmwSrxzEUJeRwAN5tjUyILlIhtWKSEYi KMROrcZ0wS7MvTqMJA54KhInXkRUvSWjVJ7sEHNFs4nRgY2K3aeXmx9QakGcRFJrFLd58S U7Qa4nmym2vsRKcbY8/T8ng2brr1fh5n38Icl9JGeIhYBVbC9uQFTq99VaSpPpoozWEgj2 g+TPMf83uFknVGmZ2vvUUXv5oeskoXLWwEOCsirhjegDDI48owmQnThFyuoq0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686941811; a=rsa-sha256; cv=none; b=ltIAe4z4q/IACgmVSGyggVcyHAEKwrvrgoZqhEh2zPA3fZ2dOoPA2kp7isdzNY1PeO7Z8i +27WlStL3UqDEcWvsJGveSQcr0vzJ2fbVYF5led3QIJ3iYIVilNQEFx4J2hQYJL8QbjkQZ E/OIMEdIy0P8BZL1PBS3hewWcDM/zixzQs7JjFZszQe7DuGtkEhjUCTo7cii7etYVh9wlB olVVJHcGk0dsQl5/NdKkCmCuOcnHXOmVtR2VdDQqZ27FjVrRMsUAgfA3d5acPw1qtCOmCs m5OhzG4+2DGlb/bmOCIlCV84W83i+nzaYhOX/0Hy5rM0xSuRD+wEHtSyEREPKA== 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 4QjT0g0K52zfWf for ; Fri, 16 Jun 2023 18:56:51 +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 35GIuotJ094217 for ; Fri, 16 Jun 2023 18:56:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35GIuoxC094216 for ports-bugs@FreeBSD.org; Fri, 16 Jun 2023 18:56:50 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 272029] multimedia/phonon: fix build with clang 16 Date: Fri, 16 Jun 2023 18:56:50 +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: kde@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272029 Bug ID: 272029 Summary: multimedia/phonon: 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: kde@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org Clang 16 has a new error about integer values being outside the valid range for enum types, which shows up when building multimedia/phonon: =20 /wrkdirs/usr/ports/multimedia/phonon/work/.build/phonon/experimental/phonon= 4qt5experimental_autogen/EWIEGA46WW/../../../../../phonon-4.11.1/phonon/exp= erimental/visualization.h:45:27: error: integer value 4294967294 is outside the valid range of values [0, 7]= for the enumeration type 'ObjectDescriptionType' [-Wenum-constexpr-conversion] typedef ObjectDescription(VisualizationT= ype)> VisualizationDescription; ^ =20 /wrkdirs/usr/ports/multimedia/phonon/work/.build/phonon/experimental/phonon= 4qt5experimental_autogen/EWIEGA46WW/../../../../../phonon-4.11.1/phonon/exp= erimental/visualization.h:46:32: error: integer value 4294967294 is outside the valid range of values [0, 7]= for the enumeration type 'ObjectDescriptionType' [-Wenum-constexpr-conversion] typedef ObjectDescriptionModel(Visualiza= tionType)> VisualizationDescriptionModel; ^ =20 /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.11.1/phonon/objectdescri= ption.h:189:41: error: integer value 4294967294 is outside the valid range of values [0, 7]= for the enumeration type 'ObjectDescriptionType' [-Wenum-constexpr-conversion] static inline ObjectDescription fromIndex(int index) { //krazy:exclude=3Dinline ^ =20 /wrkdirs/usr/ports/multimedia/phonon/work/phonon-4.11.1/phonon/objectdescri= ption.h:260:45: error: integer value 4294967294 is outside the valid range of values [0, 7]= for the enumeration type 'ObjectDescriptionType' [-Wenum-constexpr-conversion] friend class ObjectDescriptionModel; ^ This is because enum ObjectDescriptionType only has 6 members, and therefore only gets 3 bits allocated by default. In that case, values like 4294967294 (0xfffffffe) do not fit in it. Work around the problem by declaring enum ObjectDescriptionType to explicitly be of type unsigned, so it can fit 32 bits. --=20 You are receiving this mail because: You are the assignee for the bug.=