#20087: Host Python's pyexpat module fails building, causes errors in compiling
other packages
-------------------------+------------------------
Reporter: mystica555 | Owner: developers
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
-------------------------+------------------------
Changes (by Masm):
* status: closed => reopened
* resolution: moved_to_github =>
Comment:
openwrt sources are udated with svn up and I got some error with py_expat,
but
" --with-system-expat=$(STAGING_DIR_HOST) \" present in
*/lang/python/Makefile
LOG:
Making all in tests
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
make[8]: Entering directory
`/home/masm/openwrt/build_dir/host/glib-2.43.4/gio/tests'
GEN gdbus-test-codegen-generated.h
Traceback (most recent call last):
File "../../gio/gdbus-2.0/codegen/gdbus-codegen", line 37, in <module>
from codegen import codegen_main
File
"/home/masm/openwrt/build_dir/host/glib-2.43.4/gio/gdbus-2.0/codegen/codegen_main.py",
line 28, in <module>
from . import parser
File
"/home/masm/openwrt/build_dir/host/glib-2.43.4/gio/gdbus-2.0/codegen/parser.py",
line 23, in <module>
import xml.parsers.expat
File
"/home/masm/openwrt/staging_dir/host/lib/python2.7/xml/parsers/expat.py",
line 4, in <module>
from pyexpat import *
ImportError: /home/masm/openwrt/staging_dir/host/lib/python2.7/lib-
dynload/pyexpat.so: undefined symbol: XML_SetCommentHandler
^^^^^
make[8]: *** [gdbus-test-codegen-generated.h] Error 1
make[8]: Leaving directory
`/home/masm/openwrt/build_dir/host/glib-2.43.4/gio/tests'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/home/masm/openwrt/build_dir/host/glib-2.43.4/gio'
make[6]: *** [all] Error 2
make[6]: Leaving directory
`/home/masm/openwrt/build_dir/host/glib-2.43.4/gio'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/masm/openwrt/build_dir/host/glib-2.43.4'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/masm/openwrt/build_dir/host/glib-2.43.4'
make[3]: *** [/home/masm/openwrt/build_dir/host/glib-2.43.4/.built] Error
2
make[3]: Leaving directory `/home/masm/openwrt/feeds/packages/libs/glib2'
make[2]: *** [package/feeds/packages/glib2/host/compile] Error 2
make[2]: Leaving directory `/home/masm/openwrt'
make[1]: *** [/home/masm/openwrt/staging_dir/target-
mipsel_24kec+dsp_musl-1.1.10/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/masm/openwrt'
--
Ticket URL: <https://dev.openwrt.org/ticket/20087#comment:9>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets