New: supervisord depends on libxml2 implicitly
https://bugs.busybox.net/show_bug.cgi?id=7184
Summary: supervisord depends on libxml2 implicitly
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: sebastian at himberger.de
CC: buildroot at uclibc.org
Estimated Hours: 0.0
When using supervisord without libxml2 it complains because it can not use the python xml module. apparently python needs libxml2 present to build the xml module but happily builds without it and also works (as long as you dont use the module). I would suggest either adding libxml2 to python or the supervisord package as a dependency since supervisord fails to start without xml support.
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 7184] supervisord depends on libxml2 implicitly
https://bugs.busybox.net/show_bug.cgi?id=7184
--- Comment #1 from Thomas De Schampheleire <[email protected]> 2014-06-10 11:26:20 UTC --- Thanks for the report.
Can you provide the steps to reproduce? Is running 'supervisord' without
parameters sufficient? Any additional steps?
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 7184] supervisord depends on libxml2 implicitly
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7184
--- Comment #2 from Thomas De Schampheleire <[email protected]> 2014-06-10 12:09:53 UTC --- I made a build for qemu with only supervisord, and during boot I get another
error:
Starting supervisord: Traceback (most recent call last):
File "/usr/bin/supervisord", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
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 7184] supervisord depends on libxml2 implicitly
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7184
--- Comment #3 from Sebastian Himberger <[email protected]> 2014-06-10 12:18:43 UTC --- Sorry, I forgot that completely. You also need python-setuptools which is another dependency I added manually.
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 7184] supervisord depends on libxml2 implicitly
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7184
--- Comment #4 from Thomas De Schampheleire <[email protected]> 2014-06-10 12:20:05 UTC --- (In reply to comment #2)
Quoted 7 lines
I made a build for qemu with only supervisord, and during boot I get another error:
Starting supervisord: Traceback (most recent call last):
File "/usr/bin/supervisord", line 5, in <module>
frompkg_resourcesimportload_entry_point
ImportError: No module namedpkg_resources
After explicitly adding python-setuptools to the configuration, this error disappeared. This means that supervisord has a missing runtime dependency on python-setuptools.
Note that supervisord starts correctly after this, even without xml in my configuration. Please clarify which steps are needed to reproduce the problem.
The defconfig I am using is:
BR2_x86_64=y
BR2_DL_DIR="~/repo/contrib/dl"
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.13.5" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux-3.13.config" BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_SETUPTOOLS=y
BR2_PACKAGE_SUPERVISOR=y
BR2_TARGET_ROOTFS_EXT2=y
# BR2_TARGET_ROOTFS_TAR is not set
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 7184] supervisord depends on libxml2 implicitly
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7184
Thomas De Schampheleire <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc |patrickdepinguin at gmail.com
|.org |
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 7184] supervisord depends on libxml2 implicitly
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7184
Thomas De Schampheleire <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2014.08
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 7184] supervisord depends on libxml2 implicitly
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7184
--- Comment #5 from Thomas De Schampheleire <[email protected]> 2014-06-11 19:18:56 UTC --- A patch fixing the dependency on python-setuptools was sent to the list:
http://patchwork.ozlabs.org/patch/358871/
Please let me know if there is another problem according to you, or all is fixed now. Thanks.
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 7184] supervisord depends on libxml2 implicitly
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=7184
Thomas De Schampheleire <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #6 from Thomas De Schampheleire <[email protected]> 2014-06-15 14:12:54 UTC --- Problem assumed fixed with commit
http://git.buildroot.org/buildroot/commit/?id=c3e3b2a20848a610040411bd00d8f1d7912e284c,
please reopen if there is still something wrong.
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.