From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: jaben.carsey@intel.com) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by groups.io with SMTP; Tue, 30 Apr 2019 09:36:19 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Apr 2019 09:36:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,414,1549958400"; d="scan'208";a="342165796" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 30 Apr 2019 09:36:18 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 30 Apr 2019 09:36:18 -0700 Received: from fmsmsx103.amr.corp.intel.com ([169.254.2.162]) by fmsmsx122.amr.corp.intel.com ([169.254.5.42]) with mapi id 14.03.0415.000; Tue, 30 Apr 2019 09:36:18 -0700 From: "Carsey, Jaben" To: Leif Lindholm , "devel@edk2.groups.io" , "phlamorim@riseup.net" CC: Daryl McDaniel Subject: Re: [edk2-devel] Error building Python Thread-Topic: [edk2-devel] Error building Python Thread-Index: AQHU/qVGo24OqEuol0e+hx+ZBES1G6ZT0GcAgAEWlUA= Date: Tue, 30 Apr 2019 16:36:17 +0000 Message-ID: References: <11299.1556511928716793059@groups.io> <20190429165414.cs2xlp7zpzqej7en@bivouac.eciton.net> In-Reply-To: <20190429165414.cs2xlp7zpzqej7en@bivouac.eciton.net> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWEyNGRhNjItMDNlYS00MjNkLTlkMTMtYmIwNjA0ZGE5NTNjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaktMMzhrT2JndFdBeE1WUjdvYURkTHhTdUdjU1ZMU295WnBzelpiRndMUWRpclIrS2ZNMUJKZjYzdWhcL3NLMlcifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.1.200.108] MIME-Version: 1.0 Return-Path: jaben.carsey@intel.com Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Paulo, I would urge you to use the minpython instead of the AppPkg python. The m= inpython is a python 3 implementation vs. this 2.7 implementation. New deve= lopment should not start on a version of python that is about to go officia= lly EOL. That being said, I have not seed that error message before. Maybe Daryl ha= s a better starting point. -Jaben > -----Original Message----- > From: Leif Lindholm [mailto:leif.lindholm@linaro.org] > Sent: Monday, April 29, 2019 9:54 AM > To: devel@edk2.groups.io; phlamorim@riseup.net > Cc: Daryl McDaniel ; Carsey, Jaben > > Subject: Re: [edk2-devel] Error building Python > Importance: High >=20 > +AppPkg maintainers >=20 > On Sun, Apr 28, 2019 at 09:25:28PM -0700, phlamorim@riseup.net wrote: > > I want to use python to prototype some UEFI applications, but the buil= d > > is not working on my environment, im trying to build in a linux(debian= ) > > which have "gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516" installed, th= e > > EDK2 is properly installed, i build other packages like OVMF and Mde*, > > at the first time i tried to build Python just uncommenting > > "AppPkg/Applications/Python/PythonCore.inf" the build stopped because > > some compiler warnings which are stopping the building bcause the flag > > -Werror, so i changed the file tools_def.txt to remove the -Werror fla= g, > > the warnings dont stopped the build, i probably should fix the warning= s > > one by one, but when i tried to build again the build system stopped a= t > > target > > > '/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Ap > plications/Python/PythonCore/DEBUG/Python.dll', > > i will leave the entire error message following this message, let me > > know if i need to provide another/more information. > > > > -- > > pymath.obj (symbol from plugin): In function `_Py_get_387controlword': > > (.text+0x0): multiple definition of `copysign' > > s_copysign.obj (symbol from plugin):(.text+0x0): first defined here > > collect2: error: ld returned 1 exit status > > GNUmakefile:583: recipe for target > > > '/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Ap > plications/Python/PythonCore/DEBUG/Python.dll' > > failed > > make: *** > > > [/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Ap > plications/Python/PythonCore/DEBUG/Python.dll] > > Error 1 > > > > build.py... > > =A0: error 7000: Failed to execute command > > =A0=A0=A0=A0=A0=A0=A0=A0make tbuild > > > [/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Ap > plications/Python/PythonCore] > > > > build.py... > > =A0: error F002: Failed to build module > > > > /root/projeto_final/src/edk2/AppPkg/Applications/Python/PythonCore.inf > > [X64, GCC5, DEBUG] > > > > - Failed - > > Build end time: 06:56:21, Apr.28 2019 > > Build total time: 00:05:32 > > -- > > > > Thanks, > > Paulo Amorim > > > >=20 > >