Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpmbuild: in F41 do not depend on yum #3395

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

xsuchy
Copy link
Member

@xsuchy xsuchy commented Sep 2, 2024

Addressing F41 installation issue:
Problém 9: problém s nainstalovaným balíčkem dnf5-5.2.5.0-20240829005832.58.gbe2e6bef.fc40.x86_64

  • package dnf5-5.2.5.0-20240809005713.33.g98e6b01b.fc41.x86_64 from copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-unstable obsoletes yum < 5 provided by yum-4.21.1-1.fc41.noarch from fedora
  • package dnf5-5.2.5.0-2.fc41.x86_64 from fedora obsoletes yum < 5 provided by yum-4.21.1-1.fc41.noarch from fedora
  • package copr-builder-0.73-3.fc41.x86_64 from fedora requires dnf-yum, but none of the providers can be installed
  • problém s nainstalovaným balíčkem copr-builder-0.73-1.fc40.x86_64
  • yum-4.21.1-1.fc40.noarch from @System does not belong to a distupgrade repository
  • dnf5-5.2.5.0-20240829005832.58.gbe2e6bef.fc40.x86_64 from @System does not belong to a distupgrade repository
  • copr-builder-0.73-1.fc40.x86_64 from @System does not belong to a distupgrade repository

Note that this means that we are unable to install older chroots (EL8-) without bootstrap. I.e. building EL8 package will require bootstrap.

Addressing F41 installation issue:
 Problém 9: problém s nainstalovaným balíčkem dnf5-5.2.5.0-20240829005832.58.gbe2e6bef.fc40.x86_64
  - package dnf5-5.2.5.0-20240809005713.33.g98e6b01b.fc41.x86_64 from copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-unstable obsoletes yum < 5 provided by yum-4.21.1-1.fc41.noarch from fedora
  - package dnf5-5.2.5.0-2.fc41.x86_64 from fedora obsoletes yum < 5 provided by yum-4.21.1-1.fc41.noarch from fedora
  - package copr-builder-0.73-3.fc41.x86_64 from fedora requires dnf-yum, but none of the providers can be installed
  - problém s nainstalovaným balíčkem copr-builder-0.73-1.fc40.x86_64
  - yum-4.21.1-1.fc40.noarch from @System  does not belong to a distupgrade repository
  - dnf5-5.2.5.0-20240829005832.58.gbe2e6bef.fc40.x86_64 from @System  does not belong to a distupgrade repository
  - copr-builder-0.73-1.fc40.x86_64 from @System  does not belong to a distupgrade repository

Note that this means that we are unable to install older chroots (EL8-)
without bootstrap. I.e. building EL8 package will require bootstrap.
@@ -91,7 +91,7 @@ Summary: copr-rpmbuild with all weak dependencies
Requires: %{name} = %{version}-%{release}
Requires: dist-git-client

%if 0%{?fedora}
%if 0%{?fedora} && 0%{?fedora} < 41
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to remove those packages on my F40, expecting to see copr-rpmbuild fail but it didn't. Is it possible we don't need them at all?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/bin/yum is needed for Mock bootstrap where bootstrap image is not used; in such case, Mock prefers using yum on host for installing the bootstrap chroot having a correct Yum variant. Then, installing the buildroot may be done with the right Yum.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And as Mirek mentioned, if bootstrap is off entirely.

@xsuchy
Copy link
Member Author

xsuchy commented Sep 4, 2024

any +1 or even merge then..?

@praiskup
Copy link
Member

praiskup commented Sep 5, 2024

+1, there's nothing we can do about it on F41

$ ls -alh /usr/bin/yum
lrwxrwxrwx. 1 root root 4 srp  2 02:00 /usr/bin/yum -> dnf5

@praiskup
Copy link
Member

praiskup commented Sep 5, 2024

Thank you!

@praiskup praiskup merged commit 5a6f48f into fedora-copr:main Sep 5, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants