On Mon, 9 Oct 2023 at 04:56, Florian Weimer <fwei...@redhat.com> wrote:

> * Michael Dawson:
>
> > 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
>
> I get a similar error when using a custom configuration generated by
> various EL Koji instances, only for EL8.  The error occurs after this
> one:
>
>
could you add how you got it and how you ran it? I am trying to figure out
why a el8 config was pulled into a f38 system?

I have cut everything but lines causing the problems



> config_opts['root'] = 'c8s-x86_64'
> config_opts['yum.conf'] =
> '[main]\ncachedir=/var/cache/yum\ndebuglevel=1\nlogfile=/var/log/yum.log\nreposdir=/dev/null\nretries=20\nobsoletes=1\ngpgcheck=0\nassumeyes=1\nkeepcache=1\ninstall_weak_deps=0\nstrict=1\n\n#
> repos\n\n[build]\nname=build\nbaseurl=
> https://kojihub.stream.centos.org/kojifiles/repos/c8s-build/latest/x86_64\nmodule_hotfixes=1\n
> '
> config_opts['macros']['%dist'] =
> '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do
> print("%{?distprefix" .. i .."}")
> end}}.el8%{?with_bootstrap:%{__bootstrap}}'
>
>
This looks like a config from either the CentOS Stream koji or for
EPEL-next-8. None of the others I know of should have any combination of
the above.

-- 
Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle.
-- Ian MacClaren
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to