From nobody Thu Jun 08 17:54:37 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 4QcX0Z1MJjz4cCBB for ; Thu, 8 Jun 2023 17:54:38 +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 4QcX0Z0Hbjz3sYp for ; Thu, 8 Jun 2023 17:54:38 +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=1686246878; 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=g+mmZzAorHXP/CWG9b8Z9s3ebfTFHfBUwg15d4AeNFs=; b=qew/dfbnJQcfwBDNuWoRnXdXaDFGrN6vRvpRRkO374aJRaVhIr2Ml56Ch446GgI0ng7eeg LpKQK47L/Knk26YQlwJ3/tevTofK3oiny3P4eRdcTXJXS55yTXLDjvxt7do3fEqterAdbG KmxrMc1hp1oRWRuWqvftQo/vQFwCmsvIwv52+Z3Vs5K5Ms6DtwmR2d5/P1K4qEL0Pm9+yH A2hVyuIAuONMdD9jfJ4z52K/0wDdrjDW6ppKhocxeiObjJOZQtuDMdULUiYUJFNFx3lh+b q87AQ1YGCQYalujUas8KvE2kK38gYDGDKba+8N1AA8EV3JJtMEH2lEFADpoJcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686246878; a=rsa-sha256; cv=none; b=Xn7zMX+IhgEmQrLgUNCnoHygyOP3VqBi/4X9U3p53SnVhLX2yTgOTGyksNppnGKzQN76yI 9ihA3r1QWHi/eUsni7AiD3/5b3Zk5DftxRHM9lsnyEW5WxxF9yODtI0TdkYDowrkHVOnYb HGqxwokSsUN6rAEcrHeNFM53en+YM3VHxfAcYOrD12+AZXPn28cHyoQAyabWogQx4xh3h9 sKU6qelik/cHcy6+sC+pQ7CkNtP8HI3wHIQ5+R2M2vXpNpmv38IpCnJPxqYA8Uyq7hnE8P M3pXJDEdAfwlx0YqwDfuekesnH+HQpQVsTkE57sIClD5KQhjRBBdczJg12pXRA== 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 4QcX0Y6T3Pz13X2 for ; Thu, 8 Jun 2023 17:54:37 +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 358Hsbn8064895 for ; Thu, 8 Jun 2023 17:54:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 358HsbOG064892 for ports-bugs@FreeBSD.org; Thu, 8 Jun 2023 17:54:37 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 271914] graphics/qt5-imageformats: fix build with clang 16 Date: Thu, 08 Jun 2023 17:54: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: 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=3D271914 Bug ID: 271914 Summary: graphics/qt5-imageformats: 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 Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because graphics/qt5-imageformats 's build infrastructure does not explicitly set its C++ standard, this leads to an issue detecting libmng in the configure stage: Configure summary: Further Image Formats: JasPer ................................. yes MNG .................................... no TIFF ................................... yes Using system libtiff ................. yes WEBP ................................... yes Using system libwebp ................. yes This is because the small configure test program for libmng includes libmng.h, which transitively includes lcms.h, and the latter fails due to 'register' keywords in the header. With lcms2.h there is a special define CMS_NO_REGISTER_KEYWORD to avoid usage of the register keyword, but lcms.h is very old and does not support that. As a workaround, define the register keyword away via a "head" object in src/imageformats/configure.json, and via CXXFLAGS for the rest of the build. --=20 You are receiving this mail because: You are the assignee for the bug.=