Please try this Add python2-mock-2.0.0-1.el7.noarch.rpm to stx-tools/centos-mirror-tools/config/centos/mock/rpms_centos.lst Do a 'build-pkgs --clean'. Then try you build again... including all steps from download_mirrors.sh onward. Then let us know the result Scott On 2020-05-19 5:33 a.m., N, Poornima Y wrote:
Hi all,
I’m facing following error while doing build-pkgs for compiler layer. Any suggestion as to how I can resolve this error. Is there anything I have missed from my side?
Below is small snippet of logs. Attaching the complete build log as well. Thanks in advance!.
13:33:31 INFO: mock.py version 2.2 starting (python version = 3.6.8)...
13:33:31 INFO: Using 'yum' instead of 'dnf' for bootstrap chroot
13:33:31 Start(bootstrap): init plugins
13:33:31 INFO: selinux disabled
13:33:31 Finish(bootstrap): init plugins
13:33:31 Start: init plugins
13:33:31 INFO: selinux disabled
13:33:31 Finish: init plugins
13:33:31 INFO: Signal handler active
13:33:31 Start: run
13:33:31 Start(bootstrap): chroot init
13:33:31 INFO: calling preinit hooks
13:33:31 INFO: enabled root cache
13:33:31 INFO: enabled package manager cache
13:33:31 Start(bootstrap): cleaning package manager metadata
13:33:31 Finish(bootstrap): cleaning package manager metadata
13:33:31 INFO: enabled HW Info plugin
13:33:31 Mock Version: 1.4.16
13:33:31 INFO: Mock Version: 1.4.16
13:33:31 Start(bootstrap): yum install
13:33:31 ERROR: Command failed:
13:33:31 # /usr/bin/yum --installroot /localdisk/loadbuild/stx/compiler/std/mock/b0-bootstrap/root/ --releasever 7 install dnf dnf-plugins-core
13:33:31 Failed to set locale, defaulting to C
13:33:31 http://127.0.0.1:8088/localdisk/loadbuild/stx/compiler/installer/rpmbuild/RP...: [Errno 14] HTTP Error 404 - Not Found
13:33:31 Trying other mirror.
13:33:31 To address this issue please refer to the below knowledge base article
13:33:31
13:33:31 https://access.redhat.com/articles/1320623
13:33:31
13:33:31 If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
13:33:31
13:33:31 No package dnf available.
13:33:31 No package dnf-plugins-core available.
13:33:31 Error: Nothing to do
13:33:31
13:33:31 INFO: mock.py version 2.2 starting (python version = 3.6.8)...
13:33:31 INFO: Using 'yum' instead of 'dnf' for bootstrap chroot
13:33:31 Start(bootstrap): init plugins
13:33:31 INFO: selinux disabled
13:33:31 Finish(bootstrap): init plugins
13:33:31 Start: init plugins
13:33:31 INFO: selinux disabled
13:33:31 Finish: init plugins
13:33:31 INFO: Signal handler active
13:33:31 Start: run
13:33:31 INFO: Start(/localdisk/loadbuild/stx/compiler/std/rpmbuild/SRPMS/bash-4.2.46-31.el7.tis.4.src.rpm) Config(mock/b0)
13:33:31 Start(bootstrap): chroot init
13:33:31 INFO: calling preinit hooks
13:33:31 INFO: enabled root cache
13:33:31 INFO: enabled package manager cache
13:33:31 Start(bootstrap): cleaning package manager metadata
13:33:31 Finish(bootstrap): cleaning package manager metadata
13:33:31 INFO: enabled HW Info plugin
13:33:31 Mock Version: 1.4.16
13:33:31 INFO: Mock Version: 1.4.16
13:33:31 Start(bootstrap): yum install
13:33:31 ERROR: Exception(/localdisk/loadbuild/stx/compiler/std/rpmbuild/SRPMS/bash-4.2.46-31.el7.tis.4.src.rpm) Config(mock/b0) 0 minutes 0 seconds
13:33:31 INFO: Results and/or logs in: /localdisk/loadbuild/stx/compiler/std/results/stx-compiler-3.0-std/bash-4.2.46-31.el7.tis.4
13:33:31 ERROR: Command failed:
13:33:31 # /usr/bin/yum --installroot /localdisk/loadbuild/stx/compiler/std/mock/b0-bootstrap/root/ --releasever 7 install dnf dnf-plugins-core
13:33:31 Failed to set locale, defaulting to C
13:33:31 http://127.0.0.1:8088/localdisk/loadbuild/stx/compiler/installer/rpmbuild/RP...: [Errno 14] HTTP Error 404 - Not Found
13:33:31 Trying other mirror.
13:33:31 To address this issue please refer to the below knowledge base article
13:33:31
13:33:31 https://access.redhat.com/articles/1320623
13:33:31
13:33:31 If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
13:33:31
13:33:31 No package dnf available.
13:33:31 No package dnf-plugins-core available.
13:33:31 Error: Nothing to do
13:33:31
13:33:31 End build on 'b0': /localdisk/loadbuild/stx/compiler/std/rpmbuild/SRPMS/bash-4.2.46-31.el7.tis.4.src.rpm
13:33:31 Error building bash-4.2.46-31.el7.tis.4.src.rpm on 'b0'.
13:33:31 Will try to build again (if some other package will succeed).
_______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss