Hello,
could you please add repositories from https://copr.fedorainfracloud.org/coprs/dmalcolm/gcc-latest/ to the corresponding mock configs used by https://openscanhub.fedoraproject.org/?
It should be safe to add them to the default configuration because the gcc-latest package will not be installed unless a user explicitly requests it (or the scanned SRPM depends on it, which is unlikely).
There is a draft pull request to make csmock-plugin-gcc optionally consume the SARIF output of GCC and it depends on this COPR: https://github.com/csutils/csmock/pull/187
Kamil
On Mon, Oct 14, 2024 at 5:41 PM Kamil Dudka via OpenScanHub openscanhub@lists.fedoraproject.org wrote:
Hello,
could you please add repositories from https://copr.fedorainfracloud.org/coprs/dmalcolm/gcc-latest/ to the corresponding mock configs used by https://openscanhub.fedoraproject.org/?
It should be safe to add them to the default configuration because the gcc-latest package will not be installed unless a user explicitly requests it (or the scanned SRPM depends on it, which is unlikely).
It was not possible to add them to the default profiles as mock configurations override[1] the default configurations. I have created a new `fedora-rawhide-gcc-latest-x86_64` profile for the latest gcc. You can try it out with this command:
osh-cli mock-build --config="fedora-rawhide-gcc-latest-x86_64" --nvr units-2.22-6.fc39 --csmock-args="--install=gcc-latest --gcc-analyzer-bin=/opt/gcc-latest/bin/gcc"
There is a draft pull request to make csmock-plugin-gcc optionally consume the SARIF output of GCC and it depends on this COPR: https://github.com/csutils/csmock/pull/187
Kamil
-- _______________________________________________ OpenScanHub mailing list -- openscanhub@lists.fedoraproject.org To unsubscribe send an email to openscanhub-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/openscanhub@lists.fedoraprojec... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[1] https://github.com/openscanhub/fedora-infra/pull/78#discussion_r1836204311
openscanhub@lists.fedoraproject.org