[Starlingx-discuss] build-pkgs: package built failed , mock package missing

Arce Moreno, Abraham abraham.arce.moreno at intel.com
Wed Jul 4 08:04:29 UTC 2018


> Hi Abraham,

Hi Yong!

> Did you run "build-pkgs" or "build-pkgs --serial"?
> If I run "run-pkgs" (parallel mode) I saw the similar errors as you did, but if
> using "-- serial" the build went smoothly and further, except for failures on
> following 3 packages, which is known issue.
> 13:42:03 Failed to build packages:  memcached-1.4.39-1.el7.tis.1.src.rpm
> kubernetes-1.10.0-1.tis.1.src.rpm python-2.7.5-58.el7.tis.3.src.rpm

Only build-pkgs, let me execute with build-pkgs --serial and I will get back to you
with my findings and documentation updates.

> In the meantime, @Zhipeng is following steps in
> https://wiki.openstack.org/wiki/StarlingX/Developer_Guide

Thanks Zhipeng for your help! Feel free to modify the content as required, please refresh since
I wrote some final comments a few minutes ago. For now no more updates from my side.

At this point I am able to finally complete all steps except build-iso using the guide.

Important Sections/Steps from the guide to double check:

- Section 3 Build the CentOS Mirror Repository
    - Part Setup Repository Docker Container
       Step 2: "A successful build could depend on the patches to be merged into stx-tools\
                     make sure you cherry picked them..."
   - Part Verify Packages
       "In case there are missing or failed ones due to network instability (or timeout), \
       you should download them manually..."
- Section 4 Create StarlingX Packages
    - Part Build Packages
       "ERROR: Could not find useradd in chroot, maybe the install failed?..."

During the build-pkgs process I faced compilation errors due to missing/corrupted packages:

06:18:23 Failed to build packages:  tpm-kmod-4.12-0.tis.5.src.rpm  spectre-meltdown-checker-0.37+-0.tis.src.rpm \
qemu-kvm-ev-2.10.0-0.tis.0.src.rpm  ldapscripts-2.0.8-0.tis.2.src.rpm  integrity-kmod-4.12-0.tis.5.src.rpm \
cgcs-users-1.0-0.tis.2.src.rpm  cgts-mtce-common-1.0-134.tis.src.rpm  libvirt-3.5.0-1.tis.2.src.rpm

The packages were manually copied to the container to fix some of the above problems were:
    - tpm-kmod-668a8270.tar.gz
    - integrity-kmod-668a8270.tar.gz
    - ibsh-0.3e.tar.gz
    - ldapscripts-2.0.8.tgz
    - cppcheck-1.80-1.el7.x86_64.rpm
I will filed a bug to track the issues under downloads directory, problem might be a wrong packaging structure. 

For spectre-meltdown-checker-0.37+-0.tis.src.rpm, please cherry pick the following:
- https://review.openstack.org/#/c/580019/
- https://review.openstack.org/#/c/580015/

 I will continue with build-iso after zZzZz...


More information about the Starlingx-discuss mailing list