Re: Help running centpkg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Smoogen kirjoitti 7.10.2023 klo 18.30:

On Sat, 7 Oct 2023 at 10:50, stan via devel <devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
On Fri, 06 Oct 2023 16:05:25 -0000
"Michael Dawson" <midawson@xxxxxxxxxx> wrote:

> I'm trying to build
> https://gitlab.com/redhat/centos-stream/rpms/nodejs using centpkg but
> am running into errors.
>
> I'm using Fedora 37 and get this error when I run centpkg mockbuild
> --with=bundled in the directory where I've cloned the
> https://gitlab.com/redhat/centos-stream/rpms/nodejs respository and
> switched to the stream-nodejs-18-rhel-8.10.0 branch.
>
> I'm getting this error:
>
> Total
>                                                    3.7 MB/s |  50 MB
>    00:13 Running transaction check Transaction check succeeded.
> Running transaction test
> Error: Transaction test error:
>   file /usr/sbin/alternatives from install of
> chkconfig-1.19.2-1.el8.x86_64 conflicts with file from package
> alternatives-1.24-1.fc38.x86_64
                      ^^^^


Good catch. You should not mix and match el and fedora packages or repositories like that. 

Michael if you are using Fedora 37 as you say lower down, you have 3 different releases trying to put packages on the system:
EL8, Fedora 37 and Fedora 38. You can possibly match Fedora 37 and Fedora 38, but EL8 is like bringing in EL29 packages into the mix.. years of changing file locations and such.

Actually, Michael says he is using `centpkg mockbuild` here, so my expectation is that Mock bootstraps an appropriate chroot and performs the build there. The base system's Fedora version (37 here) should not matter, apart from providing a working version of `centpkg` and Mock. Because the bootstrapping fails, to me this sounds like a bug in either Mock or `centpkg` configuration. Unfortunately, I do not package for CentOS Stream, so I do not have a guess what it could be exactly. I agree that seeing Fedora 38 mixed in there seems strange.

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux