[edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40"
Chen, Farrah
farrah.chen at intel.com
Thu May 9 06:25:04 UTC 2019
Glad to know, thanks!
Thanks,
Fan
-----Original Message-----
From: devel at edk2.groups.io [mailto:devel at edk2.groups.io] On Behalf Of Gary Lin
Sent: Thursday, May 9, 2019 2:20 PM
To: Chen, Farrah <farrah.chen at intel.com>
Cc: devel at edk2.groups.io; Hao, Xudong <xudong.hao at intel.com>; Wei, Danmei <danmei.wei at intel.com>; Gao, Liming <liming.gao at intel.com>
Subject: Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40"
On Thu, May 09, 2019 at 06:04:42AM +0000, Chen, Farrah wrote:
> Hi Gary,
>
> Thanks a lot, we can build successfully with this method.
> BTW, will this patch be merged to upstream?
>
I already reported the issue to bugzilla of the original patch:
https://bugzilla.tianocore.org/show_bug.cgi?id=1582
The maintainer will fix it.
Cheers,
Gary Lin
>
> Thanks,
> Fan
>
>
>
>
> -----Original Message-----
> From: Gary Lin [mailto:glin at suse.com]
> Sent: Thursday, May 9, 2019 12:07 PM
> To: Chen, Farrah <farrah.chen at intel.com>
> Cc: devel at edk2.groups.io; Hao, Xudong <xudong.hao at intel.com>; Wei,
> Danmei <danmei.wei at intel.com>
> Subject: Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40"
>
> On Thu, May 09, 2019 at 03:29:09AM +0000, Chen, Farrah wrote:
> > Yes, thanks, my return value is 1.
> > And how can we build ovmf correctlly? The build steps have been updated?
> >
> You can tweak TestUtilModule() in edksetup.sh like this:
>
> function TestUtilModule()
> {
> if ( $PYTHON_COMMAND -c "import distutils.util" >/dev/null 2>&1 );then
> - return 1
> + return 0
> else
> echo Error: "No module named 'distutils.util"
> - return 0
> + return 1
> fi
> }
>
> Cheers,
>
> Gary Lin
>
> > [vmm at vmm-build edk2]$ OvmfPkg/build.sh -a X64 -n 40 Initializing
> > workspace /home/fan/edk2/BaseTools Loading previous configuration
> > from /home/fan/edk2/Conf/BuildEnv.sh
> > WORKSPACE: /home/fan/edk2
> > EDK_TOOLS_PATH: /home/fan/edk2/BaseTools
> > CONF_PATH: /home/fan/edk2/Conf
> > [vmm at vmm-build edk2]$ echo $?
> > 1
> >
> >
> > Thanks,
> > Fan
> >
> >
> >
> > -----Original Message-----
> > From: devel at edk2.groups.io [mailto:devel at edk2.groups.io] On Behalf
> > Of Gary Lin
> > Sent: Thursday, May 9, 2019 11:20 AM
> > To: devel at edk2.groups.io; Chen, Farrah <farrah.chen at intel.com>
> > Cc: Hao, Xudong <xudong.hao at intel.com>; Wei, Danmei
> > <danmei.wei at intel.com>
> > Subject: Re: [edk2-devel] OVMF will not start to build using "OvmfPkg/build.sh -a X64 -n 40"
> >
> > On Thu, May 09, 2019 at 02:31:13AM +0000, Chen, Farrah wrote:
> > > Hi,
> > >
> > > We build the latest OVMF and found that it doesn't start to build using "OvmfPkg/build.sh -a X64 -n 40" actually.
> > >
> > > Step:
> > > git clone https://github.com/tianocore/edk2.git
> > > cd edk2
> > > git submodule init
> > > git submodule update -recursive
> > > OvmfPkg/build.sh -a X64 -n 40
> > > Then it didn't start to build.
> > >
> > > log:
> > > [vmm at vmm-build edk2]$ OvmfPkg/build.sh -a X64 -n 40 Initializing
> > > workspace /home/fan/edk2/BaseTools Loading previous configuration
> > > from /home/fan/edk2/Conf/BuildEnv.sh
> > > WORKSPACE: /home/fan/edk2
> > > EDK_TOOLS_PATH: /home/fan/edk2/BaseTools
> > > CONF_PATH: /home/fan/edk2/Conf
> > > [vmm at vmm-build edk2]$
> > >
> > > We use the latest commit: 792f0d4f12ad5c01afdf9c92df8c479ff0f19a79, and we found the first commit has such issue is df7c81b5b219c9aee776baa466dd64c9d318dd80.
> > > Do you have any advice?
> > >
> > TestUtilModule() returned the opposite value.
> > For the shell, 0 for good, and 1 for bad.
> >
> > Gary Lin
> >
> > >
> > > Thanks,
> > > Fan
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#40278): https://edk2.groups.io/g/devel/message/40278
Mute This Topic: https://groups.io/mt/31551173/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list