[Starlingx-discuss] Build error in stx 3.0
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
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@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
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@windriver.com Sent: Thursday, June 18, 2020 8:42 AM To: starlingx-discuss@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@lists.starlingx.iomailto:Starlingx-discuss@lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
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@windriver.com *Sent:* Thursday, June 18, 2020 8:42 AM *To:* starlingx-discuss@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 <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@lists.starlingx.io <mailto:Starlingx-discuss@lists.starlingx.io> http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
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@windriver.com Sent: Tuesday, June 23, 2020 6:51 PM To: N, Poornima Y poornima.y.n@intel.com; starlingx-discuss@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@windriver.commailto:scott.little@windriver.com Sent: Thursday, June 18, 2020 8:42 AM To: starlingx-discuss@lists.starlingx.iomailto:starlingx-discuss@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@lists.starlingx.iomailto:Starlingx-discuss@lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
participants (2)
-
N, Poornima Y
-
Scott Little