New: host-python build hangs compiling getbuildinfo.o
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.
Signature · 3 lines
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.
[Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
https://bugs.busybox.net/show_bug.cgi?id=7802
--- Comment #1 from Thomas Petazzoni <[email protected]> 2015-01-16 21:32:47 UTC --- Here is the quick patch I came up with:
package/python/python.mk +6 -2
@@ -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 \
Signature · 3 lines
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.
[Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
In reply to bugzilla at busybox.nethttps://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 |normalSignature · 3 lines
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.
[Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7802
Bernhard Reutner-Fischer <[email protected]> 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 |buildrootSignature · 3 lines
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.
[Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7802
Bernhard Reutner-Fischer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P1 |P5
CC|busybox-cvs at busybox.net |
Signature · 3 lines
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.
[Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7802
--- Comment #2 from Thomas Petazzoni <[email protected]> --- I've submitted two patches to fix this:
https://patchwork.ozlabs.org/patch/664681/ and
https://patchwork.ozlabs.org/patch/664680/.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7802
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #3 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?id=d0d9ba275a89cf3c71eda822d5ebf30c348ec6c7
and
https://git.buildroot.org/buildroot/commit/?id=4f76d86d998e7a13e7bfa32238bcd217fbc96a42.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.