into_srpm.sh failed to build kernel-rt-4.18.0-147.3.1.rt24.96.el8_1.src.rpm

Bug #1979341 reported by YU CHENGDE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
YU CHENGDE

Bug Description

Brief Description
-----------------
In the process of distro layered build. After running "bash download_mirror.sh", it download centos-git-common. However it show the error log "You need get_sources.sh from centos-git-common in PATH", and build failed

Severity
--------
Miner

Steps to Reproduce
------------------
follow the layered build document
https://docs.starlingx.io/developer_resources/layered_build_guide.html
bash download_mirror.sh

Expected Behavior
------------------
Download mirrors successful

Actual Behavior
----------------
Download mirrors failed

Reproducibility
---------------
Always

Timestamp/Logs
--------------
HEAD is now at 327ec52 import kernel-rt-4.18.0-147.3.1.rt24.96.el8_1
+ git clone https://git.centos.org/centos-git-common
Cloning into 'centos-git-common'...
+ PATH=/usr/local/bin:/localdisk/designer/stx/bin:/localdisk/designer/stx/distro/cgcs-root/build-tools:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:./centos-git-common
+ into_srpm.sh -d .el8_1
You need get_sources.sh from centos-git-common in PATH
+ echo 'error: into_srpm.sh failed to build kernel-rt-4.18.0-147.3.1.rt24.96.el8_1.src.rpm'
error: into_srpm.sh failed to build kernel-rt-4.18.0-147.3.1.rt24.96.el8_1.src.rpm
+ exit 1
+ error_count=1
+ popd
+ rm -rf kernel-rt
+ popd
+ continue

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tools (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/tools/+/847061

Changed in starlingx:
status: New → In Progress
YU CHENGDE (chant)
Changed in starlingx:
assignee: nobody → YU CHENGDE (chant)
Ghada Khalil (gkhalil)
tags: added: stx.build
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/847061
Committed: https://opendev.org/starlingx/tools/commit/2d87c05b48f086762b5a7279e434a518e5206e3a
Submitter: "Zuul (22348)"
Branch: master

commit 2d87c05b48f086762b5a7279e434a518e5206e3a
Author: ChantYuCN <email address hidden>
Date: Tue Jun 21 16:22:23 2022 +0000

    fix: Let system build linux kernel successfully in distro layer

    After download_mirror.sh, system download kernel-rt and centos-git-common.
    However, one important script, "get_sources.sh", is not executable.
    It will cause built error.
    this patch will change the file mode to fix this problem.

    Closes-Bug: #1979341

    Signed-off-by: ChantYuCN <email address hidden>
    Change-Id: I136b92ebc943b2a9a8c6ad9cb85fe802acce3c09

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
Ghada Khalil (gkhalil)
tags: added: stx.7.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.