Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 7802] New: host-python build hangs compiling getbuildinfo.o
@ 2015-01-16 15:11 bugzilla at busybox.net
  2015-01-16 21:32 ` [Buildroot] [Bug 7802] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-01-16 15:11 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7802

           Summary: host-python build hangs compiling getbuildinfo.o
           Product: buildroot
           Version: 2014.11
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: codehero at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 5810
  --> https://bugs.busybox.net/attachment.cgi?id=5810
kos_tom's patch to disable hg and svn build info tags

When building the host python, hg or svn is invoked to create build info tags.
This can result in a socket hang, blocking compilation from completion.

The solution, as determined by kos_tom on #buildroot (THANK YOU), was to
disable hg and svn from python's automake.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
  2015-01-16 15:11 [Buildroot] [Bug 7802] New: host-python build hangs compiling getbuildinfo.o bugzilla at busybox.net
@ 2015-01-16 21:32 ` bugzilla at busybox.net
  2015-04-06  3:30 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-01-16 21:32 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7802

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-01-16 21:32:47 UTC ---
Here is the quick patch I came up with:

diff --git a/package/python/python.mk b/package/python/python.mk
index 4a3e71c..5791d4b 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -40,7 +40,9 @@ HOST_PYTHON_CONF_OPTS +=      \
 # This is needed because libpython may be installed at the same time that
 # python is called.
 HOST_PYTHON_CONF_ENV += \
-       LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags"
+       LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" \
+       ac_cv_prog_HAS_HG=/bin/false \
+       ac_cv_prog_SVNVERSION=/bin/false

 # Building host python in parallel sometimes triggers a "Bus error"
 # during the execution of "./python setup.py build" in the
@@ -130,7 +132,9 @@ PYTHON_CONF_ENV += \
        ac_cv_have_long_long_format=yes \
        ac_cv_file__dev_ptmx=yes \
        ac_cv_file__dev_ptc=yes \
-       ac_cv_working_tzset=yes
+       ac_cv_working_tzset=yes \
+       ac_cv_prog_HAS_HG=/bin/false \
+       ac_cv_prog_SVNVERSION=/bin/false

 PYTHON_CONF_OPTS += \
        --without-cxx-main      \

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
  2015-01-16 15:11 [Buildroot] [Bug 7802] New: host-python build hangs compiling getbuildinfo.o bugzilla at busybox.net
  2015-01-16 21:32 ` [Buildroot] [Bug 7802] " bugzilla at busybox.net
@ 2015-04-06  3:30 ` bugzilla at busybox.net
  2015-04-16  9:07 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-04-06  3:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7802

cory42080 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P1
                 CC|                            |busybox-cvs at busybox.net
          Component|Other                       |Other
            Version|2014.11                     |1.22.x
         AssignedTo|unassigned at buildroot.uclibc |unassigned at busybox.net
                   |.org                        |
            Product|buildroot                   |Busybox
           Severity|blocker                     |normal

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
  2015-01-16 15:11 [Buildroot] [Bug 7802] New: host-python build hangs compiling getbuildinfo.o bugzilla at busybox.net
  2015-01-16 21:32 ` [Buildroot] [Bug 7802] " bugzilla at busybox.net
  2015-04-06  3:30 ` bugzilla at busybox.net
@ 2015-04-16  9:07 ` bugzilla at busybox.net
  2015-04-16  9:07 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-04-16  9:07 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7802

Bernhard Reutner-Fischer <aldot@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Other                       |Other
            Version|1.22.x                      |2014.11
         AssignedTo|unassigned at busybox.net      |unassigned at buildroot.uclibc
                   |                            |.org
            Product|Busybox                     |buildroot

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
  2015-01-16 15:11 [Buildroot] [Bug 7802] New: host-python build hangs compiling getbuildinfo.o bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2015-04-16  9:07 ` bugzilla at busybox.net
@ 2015-04-16  9:07 ` bugzilla at busybox.net
  2016-08-31 21:19 ` bugzilla at busybox.net
  2016-09-18 15:13 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-04-16  9:07 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7802

Bernhard Reutner-Fischer <aldot@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P5
                 CC|busybox-cvs at busybox.net     |

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
  2015-01-16 15:11 [Buildroot] [Bug 7802] New: host-python build hangs compiling getbuildinfo.o bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2015-04-16  9:07 ` bugzilla at busybox.net
@ 2016-08-31 21:19 ` bugzilla at busybox.net
  2016-09-18 15:13 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2016-08-31 21:19 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7802

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I've submitted two patches to fix this:
https://patchwork.ozlabs.org/patch/664681/ and
https://patchwork.ozlabs.org/patch/664680/.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
  2015-01-16 15:11 [Buildroot] [Bug 7802] New: host-python build hangs compiling getbuildinfo.o bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2016-08-31 21:19 ` bugzilla at busybox.net
@ 2016-09-18 15:13 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2016-09-18 15:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=7802

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=d0d9ba275a89cf3c71eda822d5ebf30c348ec6c7
and
https://git.buildroot.org/buildroot/commit/?id=4f76d86d998e7a13e7bfa32238bcd217fbc96a42.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2016-09-18 15:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-16 15:11 [Buildroot] [Bug 7802] New: host-python build hangs compiling getbuildinfo.o bugzilla at busybox.net
2015-01-16 21:32 ` [Buildroot] [Bug 7802] " bugzilla at busybox.net
2015-04-06  3:30 ` bugzilla at busybox.net
2015-04-16  9:07 ` bugzilla at busybox.net
2015-04-16  9:07 ` bugzilla at busybox.net
2016-08-31 21:19 ` bugzilla at busybox.net
2016-09-18 15:13 ` bugzilla at busybox.net

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