[Starlingx-discuss] Build error on latest master while doing layered build
N, Poornima Y
poornima.y.n at intel.com
Wed May 20 01:22:34 UTC 2020
Hi Scott,
The build still fails even though I follow the steps you mentioned. Error logs below:
However, build passed with the tips provided by zhaos at neusoft.com<mailto:zhaos at neusoft.com> in previous mail.
I'm not what is the difference.
Thanks,
Poornima
12:58:39 building bash-4.2.46-31.el7.tis.4.src.rpm
12:58:39 INFO: mock.py version 2.2 starting (python version = 3.6.8)...
12:58:39 INFO: Using 'yum' instead of 'dnf' for bootstrap chroot
12:58:39 Start(bootstrap): init plugins
12:58:39 INFO: selinux disabled
12:58:39 Finish(bootstrap): init plugins
12:58:39 Start: init plugins
12:58:39 INFO: selinux disabled
12:58:39 Finish: init plugins
12:58:39 INFO: Signal handler active
12:58:39 Start: run
12:58:39 Start(bootstrap): chroot init
12:58:39 INFO: calling preinit hooks
12:58:39 INFO: enabled root cache
12:58:39 INFO: enabled package manager cache
12:58:39 Start(bootstrap): cleaning package manager metadata
12:58:39 Finish(bootstrap): cleaning package manager metadata
12:58:39 INFO: enabled HW Info plugin
12:58:39 Mock Version: 1.4.16
12:58:39 INFO: Mock Version: 1.4.16
12:58:39 Start(bootstrap): yum install
12:58:39 ERROR: Command failed:
12:58:39 # /usr/bin/yum --installroot /localdisk/loadbuild/stx/compiler/std/mock/b0-bootstrap/root/ --releasever 7 install dnf dnf-plugins-core
12:58:39 Failed to set locale, defaulting to C
12:58:39 http://127.0.0.1:8088/localdisk/loadbuild/stx/compiler/installer/rpmbuild/RPMS/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
12:58:39 Trying other mirror.
12:58:39 To address this issue please refer to the below knowledge base article
From: Scott Little <scott.little at windriver.com>
Sent: Wednesday, May 20, 2020 12:13 AM
To: starlingx-discuss at lists.starlingx.io
Subject: Re: [Starlingx-discuss] Build error on latest master while doing layered build
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/RPMS/repodata/repomd.xml: [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/RPMS/repodata/repomd.xml: [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 at lists.starlingx.io<mailto:Starlingx-discuss at lists.starlingx.io>
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20200520/60ce0518/attachment-0001.html>
More information about the Starlingx-discuss
mailing list