Please keep starlingx-discuss on the receiver list.

 

You had indicated build-iso was failing, but the build.log you provided appears to be the RPM build log for starlingx-dashboard.

 

Processing files: starlingx-dashboard-2.9999.9999.rc1.dev23-0.tis.noarch

error: File not found: /builddir/build/BUILDROOT/starlingx-dashboard-2.9999.9999.rc1.dev23-0.tis.x86_64/usr/lib/python2.7/site-packages/starlingx_dashboard-2.9999.9999.rc1.dev23*.egg-info

RPM build errors:

    File not found: /builddir/build/BUILDROOT/starlingx-dashboard-2.9999.9999.rc1.dev23-0.tis.x86_64/usr/lib/python2.7/site-packages/starlingx_dashboard-2.9999.9999.rc1.dev23*.egg-info

Child return code was: 1

EXCEPTION: [Error()]

Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 95, in trace

    result = func(*args, **kw)

  File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 746, in do_with_status

    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)

mockbuild.exception.Error: Command failed:

 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/starlingx-dashboard.spec

 

 

Looking through the build.log, I see the following:

Copying starlingx_dashboard.egg-info to build/bdist.linux-x86_64/wheel/starlingx_dashboard-2.9999.9999rc1.dev23-py2.7.egg-info

 

So in the build, it’s creating the egg with the version set to 2.9999.9999rc1.dev23, while the %files is expecting it to be 2.9999.9999.rc1.dev23.

 

Looking further through the build.log, there’s the following:

+ /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/starlingx-dashboard-2.9999.9999.rc1.dev23-0.tis.x86_64

/usr/lib/python2.7/site-packages/setuptools/dist.py:355: UserWarning: Normalizing '2.9999.9999.rc1.dev23' to '2.9999.9999rc1.dev23'

  normalized_version,

running install

 

 

 

Maybe the python build only allows 4 version components?

 

 

From: 义鹏 [mailto:yipeng.he@jitstack.com]
Sent: Tuesday, March 24, 2020 9:59 PM
To: Penney, Don
Subject: Re:RE: [Starlingx-discuss] enable pbr version

 

Hi Saul,

 

I added the error log to the attachment. Do you need other files for analysis?

 

 

Thank you for your help.

   yipeng.he!

 

------------------ Original ------------------

Date:  Wed, Mar 25, 2020 04:24 AM

To:  "Saul Wold"<sgw@linux.intel.com>; "义鹏"<yipeng.he@jitstack.com>;

Cc:  "桂来"<helen.gui@jitstack.com>; "杨永金"<wesley.yang@jitstack.com>; "曹明"<cherish.cao@jitstack.com>; "starlingx-discuss"<starlingx-discuss@lists.starlingx.io>;

Subject:  RE: [Starlingx-discuss] enable pbr version

 

Hi Yipeng,

Can you provide more info? What was the error you saw from build-iso?


-----Original Message-----
From: Saul Wold [mailto:sgw@linux.intel.com]
Sent: Monday, March 23, 2020 6:45 PM
To:
义鹏
Cc:
桂来; 杨永金; 曹明; starlingx-discuss
Subject: Re: [Starlingx-discuss] enable pbr version


Hi Yipeng,

I was out last week on vacation, so I am catching up now.

I think you would have to investigate build-iso and associated scripts
and tools to see if there is an awk, sed or some other command that is
not parsing the extended version.  I have not investigated this further,
that's my initial assessment.

Can you be more specific about what the error is or provide a log file
of the build-iso process?

Thanks for working on this project.

  Sau!



On 3/19/20 12:21 AM,
义鹏 wrote:
> Hello Saul
>
> I'm Yipeng He from JITStack, and I'm taking over the tasks of PBR.
> I encountered the following issue when trying to build iso:
> It fails when the suffix of the version generated by the PBR tool ended
> with number, for instance the building fails if the version id is
> 2.999.9999.rc1.dev23,
> and when I replaced it with 2.999.9999.rc1.dev, the ISO building was
> successful.
> I don't knwo why this happens, could please support and advice the
> solution for this issue.
>
>
> Yipeng.He
>
> _______________________________________________
> Starlingx-discuss mailing list
> Starlingx-discuss@lists.starlingx.io
> http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
>

_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss@lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss