[Starlingx-discuss] [Build ISO] Failure following instructions from documentation at build-pkgs
Hu, Yong
yong.hu at intel.com
Tue Jan 29 01:57:53 UTC 2019
Victor,
I saw a similar issue when I was using a symbol link refer to one of "StarlingX" source trees.
There rt kernel and modules were not actually rebuilt at all.
According to your log, it seems you are still using "build-srpm-serial", which was supposedly working but we haven't verified it for a while.
The strange thing is that "build-pkgs" should by default point to build-pkgs-parallel.
You might start with the hints.
Regards,
Yong
On 29/01/2019, 9:31 AM, "Victor Rodriguez" <vm.rod25 at gmail.com> wrote:
Hi team
I might need a bit of help, I am trying to build an STX ISO, I am
failing at the step :
[builder at 5f9b406601e6 cgcs-root]$ build-pkgs
kernel/kernel-modules/drbd/rpmbuild
[0/1856]
17:54:11 Wrote:
/localdisk/loadbuild/builder/starlingx/rt/rpmbuild/SOURCES/drbd-kernel
-rt/srpm_input.md5
17:54:11 SRPM build not required for
'/localdisk/designer/builder/starlingx/cgcs-root/
stx/stx-integ/kernel/kernel-modules/drbd'
17:54:11 ===== Build complete for 'drbd-kernel-rt' =====
17:54:11
17:54:11
17:54:11 Auditing for obsolete srpms
17:54:12 Auditing for obsolete srpms Phase 2
17:54:12 Delete
/localdisk/loadbuild/builder/starlingx/rt/tmp-builder-build-srpms-seri
al-audit-X5LJ7z
17:54:12 Auditing for obsolete srpms done
17:54:12 ==== Update repodata =====
17:54:12 Directory walk started
17:54:12 Directory walk done - 13 packages
17:54:12 Temporary output repo path:
/localdisk/loadbuild/builder/starlingx/rt/rpmbuil
d/SRPMS/.repodata/
17:54:12 Preparing sqlite DBs
17:54:12 Pool started (with 5 workers)
17:54:12 Pool finished
17:54:12 ==== Update repodata complete =====
17:54:12
17:54:12 No packages required a rebuild
######## Mon Jan 28 17:54:12 UTC 2019: build-srpm-serial --rt was successful
######## Mon Jan 28 17:54:12 UTC 2019: Launching build-rpms-serial --rt
/localdisk/designer/builder/starlingx/cgcs-root/build-tools/build-rpms-serial
--rt
FORMAL_BUILD=0
modify-build-cfg
/localdisk/loadbuild/builder/starlingx/rt/builder-starlingx-tis-r5-pi
ke-rt.cfg
make: all
ALL=1
17:54:14 build-rpms-serial --rt
17:54:14 ALL=1
17:54:14 Find the list of packages we must compile
17:54:14 mktemp: failed to create directory via template
‘/localdisk/loadbuild/builder
/starlingx/rt/tmp/builder-build-rpms-serial-need-build-XXXXXX’: No
such file or direct
ory
17:54:14 Failed to create temp directory under
/localdisk/loadbuild/builder/starlingx/
rt/tmp
######## Mon Jan 28 17:54:14 UTC 2019: build-rpm-serial --rt failed with rc=1
Mon Jan 28 17:54:14 UTC 2019: build-rpm-serial --rt failed with rc=1
And because of this error then I get:
[builder at 5f9b406601e6 cgcs-root]$ build-iso
18:04:37 Debug: Packages still unresolved:
18:04:37
18:04:40 Could not resolve packages: kernel-rt kernel-rt-kvm
kernel-rt-tools kmod-drbd-rt kmod-e1000e-rt kmod-i40e-rt
kmod-integrity-rt kmod-ixgbe-rt kmod-tpm-rt mlnx-ofa_kernel-rt-modules
qat17-rt
18:04:40 Error -- could not install all explicitly listed packages
18:04:40 Could not install dependencies
Any clue how to address this issue
All the other steps were addressed, with the minor bug that i had to
download few tar balls from CENGN manually
I am following a mix and match of 3 documentation to compile the ISO image:
https://docs.starlingx.io/developer_guide/index.html
http://git.openstack.org/cgit/openstack/stx-tools/tree/README.rst
https://git.openstack.org/cgit/openstack/stx-docs/tree/doc/source/developer_guide/index.rst?h=refs/changes/43/619043/9
It might be a good idea to just create one documentation point easy to
automate ( and provide the script )
Thanks a lot to Abraham and Hayde for addressing my questions on
building the STX image
Regards
Victor Rodriguez
_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss at lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
More information about the Starlingx-discuss
mailing list