Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ Your package (linux-system-roles) Fails To Install in Fedora 38: can't install linux-system-roles: - nothing provides ansible-collection(community.postgresql) needed by linux-system-roles-1.33.3-2.fc38.noarch If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem. If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks. P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock: $ mock -r fedora-38-x86_64 --config-opts mirrored=False install linux-system-roles P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages Thanks!
You'll need to package ansible-collection-community-postgresql.
(In reply to Maxwell G from comment #1) > You'll need to package ansible-collection-community-postgresql. Well, it's stupider than that. The rhc role requires mysql and postgresql for *testing*. not at *runtime* (it installs a candlepin server for testing). We use the (non-standard) meta/collection-requirements.yml for *runtime* requirements, and tests/collection-requirements.yml for *test-time* requirements. https://linux-system-roles.github.io/documentation/role-requirements.html Unfortunately, the CI system we are using currently only works with meta/collection-requirements.yml because the functionality to use tests/collection-requirements.yml has not yet been deployed to production https://gitlab.com/testing-farm/gluetool-modules/-/merge_requests/279 So the rhc team put the test requirements into meta/collection-requirements.yml so that CI testing would work https://github.com/linux-system-roles/rhc/blob/main/meta/collection-requirements.yml You might at this point say "Well, rpmbuild doesn't know or care about either meta/collection-requirements.yml or tests/collection-requirements.yml" and you would be right. As part of the phase of our spec file which builds the collection https://src.fedoraproject.org/rpms/linux-system-roles/blob/rawhide/f/linux-system-roles.spec#_513 we construct the galaxy.yml dependencies from the individual role meta/collection-requirements.yml and I'm guessing rpmbuild is picking up on these dependencies and translating them into ansible-collection(xxx) requirements. The goal is to remove mysql and postgresql from rhc meta/collection-requirements.yml ASAP. However, in the meantime * do this on all platforms, not just rhel: https://src.fedoraproject.org/rpms/linux-system-roles/blob/rawhide/f/linux-system-roles.spec#_500 This means rpmbuild would not be able to automatically add ansible-collection(xxx) requirements * somehow defeat the rpmbuild auto ansible-collection(xxx) requirements generator
Can you 'sed -E '/community\.(postgresql|mysql)/d'` the final galaxy.yml?
(In reply to Maxwell G from comment #3) > Can you 'sed -E '/community\.(postgresql|mysql)/d'` the final galaxy.yml? Good idea! Let me see.
Can I assume that if `rpm-install-test` is SUCCESS, that means the bug is fixed? https://src.fedoraproject.org/rpms/linux-system-roles/pull-request/147#comment-128016
(In reply to Rich Megginson from comment #5) > Can I assume that if `rpm-install-test` is SUCCESS, that means the bug is > fixed? > https://src.fedoraproject.org/rpms/linux-system-roles/pull-request/ > 147#comment-128016 Indeed
FEDORA-2023-92b037257b has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-92b037257b
FEDORA-2023-92b037257b has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.