public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <gaoliming@byosoft.com.cn>,
	<bob.c.feng@intel.com>,
	"'Yunhua Feng'" <fengyunhua@byosoft.com.cn>,
	<michael.d.kinney@intel.com>,
	"'Sean Brogan'" <sean.brogan@microsoft.com>
Cc: "'Chen, Christine'" <yuwei.chen@intel.com>, <gaoliming@byosoft.com.cn>
Subject: CI always fail on Linux emulator build
Date: Mon, 21 Dec 2020 11:13:15 +0800	[thread overview]
Message-ID: <013e01d6d747$3954ffd0$abfeff70$@byosoft.com.cn> (raw)

Mike and Sean:
  Pull request meets with the failure, such as
https://github.com/tianocore/edk2/pull/1249. 
  Seemly, this failure is related to the host environment. Who can help
check it?

2020-12-21T02:29:53.1313372Z INFO - "gcc" -o
/home/vsts/work/1/s/Build/EmulatorIA32/DEBUG_GCC5/IA32/Host -m32
-L/usr/X11R6/lib
-Wl,--start-group,@/home/vsts/work/1/s/Build/EmulatorIA32/DEBUG_GCC5/IA32/Em
ulatorPkg/Unix/Host/Host/OUTPUT/static_library_files.lst,--end-group
-lpthread -ldl -lXext -lX11
2020-12-21T02:29:53.1380654Z INFO - /usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a when searching for -lgcc
2020-12-21T02:29:53.1381176Z INFO - /usr/bin/ld: cannot find -lgcc
2020-12-21T02:29:53.1381654Z INFO - /usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a when searching for -lgcc
2020-12-21T02:29:53.1382075Z INFO - /usr/bin/ld: cannot find -lgcc
2020-12-21T02:29:53.1382418Z INFO - collect2: error: ld returned 1 exit
status
2020-12-21T02:29:53.1382964Z INFO - make: *** [GNUmakefile:421:
/home/vsts/work/1/s/Build/EmulatorIA32/DEBUG_GCC5/IA32/EmulatorPkg/Unix/Host
/Host/DEBUG/Host] Error 1
2020-12-21T02:29:53.1383384Z INFO - 
2020-12-21T02:29:53.1383592Z INFO - 
2020-12-21T02:29:53.1384002Z INFO - build.py...
2020-12-21T02:29:53.1384599Z INFO -  : error 7000: Failed to execute command
2020-12-21T02:29:53.1385086Z INFO - 	make tbuild
[/home/vsts/work/1/s/Build/EmulatorIA32/DEBUG_GCC5/IA32/EmulatorPkg/Unix/Hos
t/Host]
2020-12-21T02:29:53.9652584Z INFO - 
2020-12-21T02:29:53.9653345Z INFO - 
2020-12-21T02:29:53.9653856Z INFO - build.py...
2020-12-21T02:29:53.9654476Z INFO -  : error F002: Failed to build module
2020-12-21T02:29:53.9655433Z INFO -
/home/vsts/work/1/s/EmulatorPkg/Unix/Host/Host.inf [IA32, GCC5, DEBUG]
2020-12-21T02:29:53.9655988Z INFO - 
2020-12-21T02:29:53.9656466Z INFO - - Failed -
2020-12-21T02:29:53.9657033Z INFO - Build end time: 02:29:53, Dec.21 2020
2020-12-21T02:29:53.9657774Z INFO - Build total time: 00:00:26

Thanks
Liming
> -----邮件原件-----
> 发件人: bounce+27952+69285+4905953+8761045@groups.io
> <bounce+27952+69285+4905953+8761045@groups.io> 代表 gaoliming
> 发送时间: 2020年12月21日 9:41
> 收件人: devel@edk2.groups.io; bob.c.feng@intel.com; 'Yunhua Feng'
> <fengyunhua@byosoft.com.cn>
> 抄送: 'Chen, Christine' <yuwei.chen@intel.com>
> 主题: 回复: [edk2-devel] [PATCH] BaseTools: Correct report the line number
> in INF file issue
> 
> Create PR https://github.com/tianocore/edk2/pull/1249
> 
> > -----邮件原件-----
> > 发件人: bounce+27952+69182+4905953+8761045@groups.io
> > <bounce+27952+69182+4905953+8761045@groups.io> 代表 Bob Feng
> > 发送时间: 2020年12月18日 19:11
> > 收件人: Yunhua Feng <fengyunhua@byosoft.com.cn>;
> devel@edk2.groups.io
> > 抄送: Liming Gao <gaoliming@byosoft.com.cn>; Chen, Christine
> > <yuwei.chen@intel.com>
> > 主题: Re: [edk2-devel] [PATCH] BaseTools: Correct report the line number
> in
> > INF file issue
> >
> > Reviewed-by: Bob Feng <bob.c.feng@intel.com>
> >
> > -----Original Message-----
> > From: Yunhua Feng <fengyunhua@byosoft.com.cn>
> > Sent: Friday, December 18, 2020 11:08 AM
> > To: devel@edk2.groups.io
> > Cc: Feng, Bob C <bob.c.feng@intel.com>; Liming Gao
> > <gaoliming@byosoft.com.cn>; Chen, Christine <yuwei.chen@intel.com>
> > Subject: [PATCH] BaseTools: Correct report the line number in INF file
> issue
> >
> > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3127
> >
> > If one protocol is not found in package dec file, Build will report the
> error
> > message that module.inf(-1): error 4000: Value of Protocol
> [gXxxProtocolGuid]
> > is not found under [Protocols] section in MdePkg.dec.
> >
> > Here, -1 should be the line number of this protocol in module INF file.
> >
> > Cc: Bob Feng <bob.c.feng@intel.com>
> > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > Cc: Yuwei Chen <yuwei.chen@intel.com>
> > Signed-off-by: Yunhua Feng <fengyunhua@byosoft.com.cn>
> > ---
> >  BaseTools/Source/Python/Workspace/MetaFileTable.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/BaseTools/Source/Python/Workspace/MetaFileTable.py
> > b/BaseTools/Source/Python/Workspace/MetaFileTable.py
> > index 20cb80e36e..bebf9062e8 100644
> > --- a/BaseTools/Source/Python/Workspace/MetaFileTable.py
> > +++ b/BaseTools/Source/Python/Workspace/MetaFileTable.py
> > @@ -154,7 +154,7 @@ class ModuleTable(MetaFileTable):
> >          if BelongsToItem is not None:
> >              result = [item for item in result if item[7] ==
> BelongsToItem]
> >
> > -        result = [ [r[2],r[3],r[4],r[5],r[6],r[0],r[9]] for r in result
]
> > +        result = [ [r[2],r[3],r[4],r[5],r[6],r[0],r[8]] for r in result
> > + ]
> >          return result
> >
> >  ## Python class representation of table storing package data
> > --
> > 2.27.0.windows.1
> >
> >
> >
> >
> >
> >
> 
> 
> 
> 
> 
> 
> 




                 reply	other threads:[~2020-12-21  3:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='013e01d6d747$3954ffd0$abfeff70$@byosoft.com.cn' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox