[Starlingx-discuss] Build error in stx 3.0

N, Poornima Y poornima.y.n at intel.com
Wed Jun 24 09:22:21 UTC 2020


Hi Scott,
Thanks for the reply. I found out the mistake I had done. The tools project used to create the base container image was of master and I synched the code of stx3.0 inside container.
Hence, there were errors as said before. After resolving this, everything is going on good.

Best Regards,
Poornima

From: Scott Little <scott.little at windriver.com>
Sent: Tuesday, June 23, 2020 6:51 PM
To: N, Poornima Y <poornima.y.n at intel.com>; starlingx-discuss at lists.starlingx.io
Subject: Re: [Starlingx-discuss] Build error in stx 3.0


I can't reproduce your issue.  The basic sequence ...

  repo init

  repo sync

  download_mirrors.sh ...

  check logs/*missing*

  generate-cgcs-centos-repo.sh ...

works for me.




On 2020-06-18 12:38 a.m., N, Poornima Y wrote:
Hi Scott,
Yes, MY_REPO_ROOT_DIR is pointing to the right directory.
Below is the output for echo $MY_REPO_ROOT_DIR with username as pyn:
/localdisk/designer/pyn/stx

Thanks,
Poornima

From: Scott Little <scott.little at windriver.com><mailto:scott.little at windriver.com>
Sent: Thursday, June 18, 2020 8:42 AM
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] Build error in stx 3.0


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<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/20200624/6f73d79f/attachment-0001.html>


More information about the Starlingx-discuss mailing list