* 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: […] | INFO: Package manager dnf detected and used (fallback) | INFO: Bootstrap image not marked ready | Start(bootstrap): installing dnf tooling | No matches found for the following disable plugin patterns: local, spacewalk, versionlock | Last metadata expiration check: 0:00:11 ago on Mon Oct 9 10:53:57 2023. | Package python3-dnf-4.17.0-6.fc38.noarch is already installed. | Dependencies resolved. | | Problem: problem with installed package dnf-4.17.0-6.fc38.noarch | - package dnf-4.7.0-13.el8.noarch from build requires python3-dnf = 4.7.0-13.el8, but none of the providers can be installed | - package dnf-4.7.0-14.el8.noarch from build requires python3-dnf = 4.7.0-14.el8, but none of the providers can be installed […] This suggests that mock has copied the DNF configuration for EL8 into the bootstrap image, which is of course not likely to work. The mock configuration is not very remarkable as far as I can tell: config_opts['basedir'] = '/var/lib/mock' config_opts['chroot_setup_cmd'] = 'groupinstall build' config_opts['chroothome'] = '/builddir' config_opts['dnf_warning'] = False config_opts['package_manager'] = 'dnf' config_opts['root'] = 'c8s-x86_64' config_opts['rpmbuild_networking'] = False config_opts['rpmbuild_timeout'] = 86400 config_opts['target_arch'] = 'x86_64' config_opts['use_host_resolv'] = False 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['plugin_conf']['ccache_enable'] = False config_opts['plugin_conf']['root_cache_enable'] = False config_opts['plugin_conf']['yum_cache_enable'] = False config_opts['macros']['%_host'] = 'x86_64-koji-linux-gnu' config_opts['macros']['%_host_cpu'] = 'x86_64' config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' config_opts['macros']['%_topdir'] = '/builddir/build' config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el8%{?with_bootstrap:%{__bootstrap}}' config_opts['macros']['%distribution'] = 'Koji Testing' config_opts['macros']['%packager'] = 'Koji' config_opts['macros']['%vendor'] = 'Koji' Thanks, Florian _______________________________________________ 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