From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=bWmpojua; spf=pass (domain: linaro.org, ip: 209.85.128.68, mailfrom: leif.lindholm@linaro.org) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by groups.io with SMTP; Mon, 29 Apr 2019 09:54:19 -0700 Received: by mail-wm1-f68.google.com with SMTP id 26so139786wmj.3 for ; Mon, 29 Apr 2019 09:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=FLZuKugj2YONqWPW5qOwDHjL78iQL/GWXVcDaJh5l0w=; b=bWmpojuaPwZQxRnieF/P5ghKhsGWcr7pt7KAzc/kPVtY4x2tWeFVCgCtW530fxTHQW VpeXGNToF7h2Au5KzVBp7R09XJJVRoXphYVEzi2eobbfhsjuUApGW4NNZhy5gwbidhqC OhFgSGlYDK9dwlN5yqHCPLc9bZ0aKzUencrzrTdnmR3BEy3mQLCjq8Y3YUWy/dLxGSuP 9QpNbIPyFUwlcT7cEzMDK9gbyT8qIhskEW8vVInOqq45fiQHUoEj8KkQOU/rUHHFbjNu OxYrbD581AbmgxUkVhu7kSSBwMOjxd3/O5TpezL7oYe8J7zjbVKJrUFOE2xtovkcawlx KwCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=FLZuKugj2YONqWPW5qOwDHjL78iQL/GWXVcDaJh5l0w=; b=ODHZf21iFJbiKTQxF9CcQUc0CQdbii3waZMKiNNHtWqC0cvwT2N/iqe1BYNi5gMFwa 2iJalO5qy/LpWEBLl7eMjTHvkZzIVWYPU2Ic1H4ilkE67pnNHQG/sswCISICmNMaWOYr Tux4P0XHd21R1p3Bmb7i/J/7fIRQEbKUOYJqgDORqxWFVm3fExa6ZFVIFVF6u9VcC/pK XG48kanozJDtLvGCE50PR1I/QTt5b6hTNvA0VMxp54FP1erOVCEh2gQJd3rNvE7tzWpI nuHqn5cR3wb997vq8HiMwcOmIeasuoDihD090i9HS2FelOaPf+VjgD5/NPyafeXvVmh/ L5hQ== X-Gm-Message-State: APjAAAUVBnWX7lTu+U4X+Rga9IhvDjDVfTNMuZvWNtV9P/0gFCK19lV6 GwPx6Wt9iWxSIsumSMqpMDj2011N3hk= X-Google-Smtp-Source: APXvYqyG49W63s2aB1CnTY52A8KQgkFECcP6G6Okj1x5EjyLgzQLYHNC6A4SkKsbVqMawLyV6x9QWA== X-Received: by 2002:a1c:23cf:: with SMTP id j198mr15925wmj.29.1556556857374; Mon, 29 Apr 2019 09:54:17 -0700 (PDT) Return-Path: Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id j190sm88459wmb.19.2019.04.29.09.54.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Apr 2019 09:54:16 -0700 (PDT) Date: Mon, 29 Apr 2019 17:54:14 +0100 From: "Leif Lindholm" To: devel@edk2.groups.io, phlamorim@riseup.net Cc: Daryl McDaniel , Jaben Carsey Subject: Re: [edk2-devel] Error building Python Message-ID: <20190429165414.cs2xlp7zpzqej7en@bivouac.eciton.net> References: <11299.1556511928716793059@groups.io> MIME-Version: 1.0 In-Reply-To: <11299.1556511928716793059@groups.io> User-Agent: NeoMutt/20170113 (1.7.2) Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit +AppPkg maintainers 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 build > 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, the > 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 flag, > the warnings dont stopped the build, i probably should fix the warnings > one by one, but when i tried to build again the build system stopped at > target > '/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/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/Applications/Python/PythonCore/DEBUG/Python.dll' > failed > make: *** > [/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore/DEBUG/Python.dll] > Error 1 > > build.py... >  : error 7000: Failed to execute command >         make tbuild > [/root/projeto_final/src/edk2/Build/AppPkg/DEBUG_GCC5/X64/AppPkg/Applications/Python/PythonCore] > > build.py... >  : 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 > > >