Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] autobuild-run: do not build python statically with non-working toolchain
@ 2015-01-15 15:21 Vicente Olivert Riera
  2015-02-01 21:31 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Vicente Olivert Riera @ 2015-01-15 15:21 UTC (permalink / raw)
  To: buildroot

Python package can't be built using this uClibc toolchain due to a
problem with redefinitions:

setregid.c:(.text+0x0): multiple definition of
`setregid'setregid.c:(.text+0x0): multiple definition of `setregid'

Reported upstream:
  http://lists.busybox.net/pipermail/uclibc/2014-October/048699.html

Fixes:
  http://autobuild.buildroot.net/results/74d/74deae1f7c81e319d1e7d00177f7c8e2c97b8ce8/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
Changes v1 -> v2: disable only when BR2_STATIC_LIBS=y

 scripts/autobuild-run |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index b27b2fc..eb3be36 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -306,6 +306,11 @@ def fixup_config(instance, sysinfo):
     if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \
        'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines:
         return False
+    # This MIPS uClibc toolchain fails to build the python package
+    if 'BR2_PACKAGE_PYTHON=y\n' in configlines and \
+       'BR2_STATIC_LIBS=y\n' in configlines and \
+       'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-mipsel-o32-full-2014.11.tar.bz2"\n' in configlines:
+        return False
 
     with open(os.path.join(outputdir, ".config"), "w+") as configf:
         configf.writelines(configlines)
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH v2] autobuild-run: do not build python statically with non-working toolchain
  2015-01-15 15:21 [Buildroot] [PATCH v2] autobuild-run: do not build python statically with non-working toolchain Vicente Olivert Riera
@ 2015-02-01 21:31 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-02-01 21:31 UTC (permalink / raw)
  To: buildroot

Dear Vicente Olivert Riera,

On Thu, 15 Jan 2015 15:21:20 +0000, Vicente Olivert Riera wrote:
> Python package can't be built using this uClibc toolchain due to a
> problem with redefinitions:
> 
> setregid.c:(.text+0x0): multiple definition of
> `setregid'setregid.c:(.text+0x0): multiple definition of `setregid'
> 
> Reported upstream:
>   http://lists.busybox.net/pipermail/uclibc/2014-October/048699.html
> 
> Fixes:
>   http://autobuild.buildroot.net/results/74d/74deae1f7c81e319d1e7d00177f7c8e2c97b8ce8/
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Applied, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-01 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 15:21 [Buildroot] [PATCH v2] autobuild-run: do not build python statically with non-working toolchain Vicente Olivert Riera
2015-02-01 21:31 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox