[Starlingx-discuss] Build error in stx 3.0
Scott Little
scott.little at windriver.com
Thu Jun 18 03:12:04 UTC 2020
Is your MY_REPO_ROOT_DIR environment variable pointing to the right place ?
generate-cgcs-centos-repo.sh should be creating a repo based on the
content of $MY_REPO_ROOT_DIR/stx-tools/centos-mirror-tools/rpms_centos.lst .
Scott
On 2020-06-17 8:47 p.m., N, Poornima Y wrote:
>
> Hi all,
>
> I’m facing build issue on StarlingX 3.0. Below are the steps
>
> I have sync the code using below repo command:
>
> *repo init -u https://opendev.org/starlingx/manifest -m default.xml -b
> r/stx.3.0*
>
> **
>
> I get Missing targets for below src, when give the command
> *generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/*:
>
> *Missing targets:*
>
> *ntp-4.2.6p5-28.el7.centos.src.rpm*
>
> *systemd-219-62.el7_6.5.src.rpm*
>
> **
>
> When I look into stx-tools/centos-mirror-tools/rpms_centos.lst file,
> the following src are mentioned:
>
> *systemd-219-67.el7.src.rpm*
>
> *ntp-4.2.6p5-29.el7.centos.src.rpm*
>
> **
>
> *Notice that, there is a mismatch in the version!*
>
> **
>
> If I proceed with build-pkgs following is the error I get*:*
>
> *17:30:55 ============ Build failed =============**
> 17:30:55 b5: ERROR: build_dir (417): Invalid srpm path
> 'mirror:Source/systemd-219-67.el7.src.rpm', evaluated as
> '/localdisk/designer/pyn/stx/cgcs-root/cgcs-centos-repo/Source/systemd-219-67.el7.src.rpm',
> found in
> '/localdisk/designer/pyn/stx/cgcs-root/stx/integ/base/systemd/centos/srpm_path'
> 17:30:55 ERROR: reaper (1304): Failed to build src.rpm from source at 'b5'
> 17:30:55*
>
> **
>
> Can anyone point me as to how to resolve this error?. Am I missing
> anything?
>
> **
>
> *Thanks and Regards,*
>
> *Poornima Y N*
>
> **
>
>
> _______________________________________________
> Starlingx-discuss mailing list
> 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/20200617/245e5511/attachment.html>
More information about the Starlingx-discuss
mailing list