Bug 2319786

Summary: Please branch and build cppcheck for EPEL 10
Product: [Fedora] Fedora EPEL Reporter: Xavier Bachelot <xavier>
Component: cppcheckAssignee: Troy Dawson <tdawson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel10CC: c72578, gwync, kdudka, logans, mtasaka, nixuser, romain.geissler, sgrubb, tdawson, yann.droneaud, yann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cppcheck-2.18.2-3.el10_2 cppcheck-2.18.2-3.el10_0 cppcheck-2.18.2-3.el10_1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-09 01:52:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2319791, 2319792, 2319793    
Bug Blocks: 1225692, 2303880, 2325266    

Description Xavier Bachelot 2024-10-18 14:52:48 UTC
Hi,

Could you please branch and build cppcheck for EPEL 10 ?
It is needed to build another package.

Regards,
Xavier

Comment 1 Xavier Bachelot 2024-10-18 14:54:00 UTC
Needed for cscppc.
See https://tdawson.fedorapeople.org/epel/willit/epel10/status-wont-install.html

Comment 2 Troy Dawson 2024-10-18 15:59:05 UTC
Looks like we need the following in epel10 to be able to build cppcheck
  pandoc-cli
  pcre
  tinyxml2

Comment 3 Troy Dawson 2025-05-15 15:39:11 UTC
There is a pcre vs pcre2 issue that needs addressing.  RHEL10 only has pcre2.
I'm looking into it, but if anyone already is working on converting cppcheck from pcre to pcre2, let me know so we don't duplicate work.

Comment 4 Steve Grubb 2025-05-15 16:00:37 UTC
Looks like this was supposed to be fixed in F38. https://fedoraproject.org/wiki/Changes/PcreDeprecation  I wonder if upstream has switched? I can't connect to their web site.

Comment 5 Romain Geissler 2025-05-15 16:17:25 UTC
The ticket to support PCRE2 upstream is still opened: https://trac.cppcheck.net/ticket/10610

Comment 6 Yann Droneaud 2025-07-01 06:57:42 UTC
(In reply to Steve Grubb from comment #4)
> Looks like this was supposed to be fixed in F38.
> https://fedoraproject.org/wiki/Changes/PcreDeprecation 

Bug #2128285 was closed by EOL on F38 ...

Comment 7 Yann Droneaud 2025-09-01 13:14:22 UTC
(In reply to Romain Geissler from comment #5)
> The ticket to support PCRE2 upstream is still opened:
> https://trac.cppcheck.net/ticket/10610

there's a new ticket opened regarding PCRE in cppcheck: https://trac.cppcheck.net/ticket/14087 "drop pcre dependency"

Comment 8 Xavier Bachelot 2025-09-01 14:13:43 UTC
Could dropping rules support and thus pcre dependency be an option ?

Comment 9 Xavier Bachelot 2025-09-01 15:11:21 UTC
This PR disables rules for F44+ and EL10+:
https://src.fedoraproject.org/rpms/cppcheck/pull-request/12

As a side note Debian has disabled rules support:
https://salsa.debian.org/reichel/cppcheck/-/commit/82df7e7d2aaa717eb594d69861f10d2e4d383ad7

Comment 10 Fedora Update System 2025-09-02 18:40:03 UTC
FEDORA-EPEL-2025-a2d9964a40 (cppcheck-2.18.2-3.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a2d9964a40

Comment 11 Fedora Update System 2025-09-02 18:40:46 UTC
FEDORA-EPEL-2025-c8db978cde (cppcheck-2.18.2-3.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c8db978cde

Comment 12 Fedora Update System 2025-09-02 18:41:24 UTC
FEDORA-EPEL-2025-7925acc38f (cppcheck-2.18.2-3.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-7925acc38f

Comment 13 Fedora Update System 2025-09-03 00:57:57 UTC
FEDORA-EPEL-2025-7925acc38f has been pushed to the Fedora EPEL 10.2 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-7925acc38f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2025-09-03 21:49:58 UTC
FEDORA-EPEL-2025-a2d9964a40 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a2d9964a40

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2025-09-03 21:51:44 UTC
FEDORA-EPEL-2025-c8db978cde has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c8db978cde

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2025-09-09 01:52:26 UTC
FEDORA-EPEL-2025-7925acc38f (cppcheck-2.18.2-3.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2025-09-09 02:10:20 UTC
FEDORA-EPEL-2025-a2d9964a40 (cppcheck-2.18.2-3.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2025-09-11 01:29:13 UTC
FEDORA-EPEL-2025-c8db978cde (cppcheck-2.18.2-3.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository.
If problem still persists, please make note of it in this bug report.