[Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso

Song Gao song (高松) gaosong.lc at inspur.com
Mon May 6 00:59:36 UTC 2019


Sorry for this lately reply! But how you solved this problem on your building host?

-----邮件原件-----
发件人: Michel Thebeau [mailto:michel.thebeau at windriver.com] 
发送时间: 2019年4月29日 22:01
收件人: Song Gao song (高松) <gaosong.lc at inspur.com>; starlingx-discuss at lists.starlingx.io
主题: Re: [Starlingx-discuss] Python 3 Error in python 2.7 env when building iso

Hi,

If memory serves me correctly, that's a version of mock that does not properly report python3 as a requirement.  A month ago I fixed this on my build host by downgrading mock to a version that was not broken.

Google search is agreeing with my memory:
https://bugzilla.redhat.com/show_bug.cgi?id=1696234
https://bugzilla.redhat.com/show_bug.cgi?id=1686107

M


On Sun, 2019-04-28 at 02:11 +0000, Song Gao song (高松) wrote:
> Hi Folks:
>         According to the Build Guide for stx.2019.05, there is an 
> error found in the building container, 
> /usr/lib/python2.7/site-packages/mockbuild/package_manager.py Line
> 162 will interrupt buiding
> Process By throwing out an FileNotFoundError. While, FileNotFoundError 
> is an Python3 built-in error, not in python2.7. Just reporting to the 
> community.
> _______________________________________________
> Starlingx-discuss mailing list
> Starlingx-discuss at lists.starlingx.io
> http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3603 bytes
Desc: not available
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190506/67b18fa4/attachment.bin>


More information about the Starlingx-discuss mailing list