rpm-software-management / libdnf

Package management library.
GNU Lesser General Public License v2.1
184 stars 139 forks source link

A pull request into rhel-8.10 branch executes CI tests on Fedora 38 #1633

Open ppisar opened 1 year ago

ppisar commented 1 year ago

After creating a pull request into rhel-8.10 branch https://github.com/rpm-software-management/libdnf/pull/1632 I got a CI failure in "DNF CI / Copr Build (pull_request_target)": COPR build failed https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/CI-libdnf-pr1632/build/6529797. COPR only lists a single build a that is for fedora-38-x86_64. The https://download.copr.fedorainfracloud.org/results/rpmsoftwaremanagement/CI-libdnf-pr1632/fedora-38-x86_64/06529799-libdnf/builder-live.log.gz build log shows a Fedora 38 GCC is stricter reports "error: 'std::int64_t' has not been declared" if header is not included.

That shows that a code for RHEL 8 is tested Fedora 38 environment. That's not helpfull. The tests cannot succeed and resources are wasted.

I propose reconfiguring CI test in rhel-8.10 branch to actually perfotm the tests on RHEL/CentOS 8.