Re: Help running centpkg

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

 



Am 07.10.23 um 17:30 schrieb Stephen Smoogen:


On Sat, 7 Oct 2023 at 10:50, stan via devel <devel@xxxxxxxxxxxxxxxxxxxxxxx <mailto:devel@xxxxxxxxxxxxxxxxxxxxxxx>> wrote:

    On Fri, 06 Oct 2023 16:05:25 -0000
    "Michael Dawson" <midawson@xxxxxxxxxx <mailto:midawson@xxxxxxxxxx>>
    wrote:

     > I'm trying to build
     > https://gitlab.com/redhat/centos-stream/rpms/nodejs
    <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
    <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.

I generally use toolbox these days for this sort of development:
1. Install the Linux you want to use daily. Get it the way you want it for that day driving work.
2. `dnf install toolbox`
3. some variation of `toolbox create --image quay.io/toolbx-images/centos-toolbox <http://quay.io/toolbx-images/centos-toolbox> centos-stream-9`
4. `toolbox enter centos-stream-9`
5. Do the package installs of centpkg
6. Do the builds


Just out of curiosity because I never used toolbox.
Is the above not also accomplishable with a local container?

podman run -ti --name=dev quay.io/centos/centos:stream bash -li

Or does it have additional features?

--
Leon

















_______________________________________________
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