Search Criteria
Package Details: python2-lxml 4.9.4-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/python2-lxml.git (read-only, click to copy) |
---|---|
Package Base: | python2-lxml |
Description: | Python2 binding for the libxml2 and libxslt libraries |
Upstream URL: | https://lxml.de/ |
Licenses: | custom, BSD |
Submitter: | patlefort |
Maintainer: | patlefort |
Last Packager: | patlefort |
Votes: | 10 |
Popularity: | 0.016367 |
First Submitted: | 2021-06-22 01:52 (UTC) |
Last Updated: | 2024-06-16 13:11 (UTC) |
Dependencies (9)
- libxml2-2.9AUR
- libxslt (libxslt-gitAUR)
- python2AUR (python2-binAUR)
- cython2AUR (make)
- python2-setuptoolsAUR (make)
- python2-cssselectAUR (check)
- python2-beautifulsoup4 (optional) – malformed HTML parsing support
- python2-cssselectAUR (optional) – CSS parsing support
- python2-html5libAUR (optional) – HTML5 parsing support
Required by (2)
- keyboardlayouteditor-git
- python2-html5lib (optional)
Latest Comments
« First ‹ Previous 1 2 3 4 5 Next › Last »
MarsSeed commented on 2022-06-25 19:11 (UTC)
Maybe also the parallel build contributes to the problem?
The
inplace
build, which enables parallelism and cython-coverage, was not used before, and no one reported segfaults.So I would not use that build target; seems it's unreliable.
MarsSeed commented on 2022-06-25 19:06 (UTC) (edited on 2022-06-25 19:07 (UTC) by MarsSeed)
Not sure why I cannot reproduce the segfault.
But @patlefort, I think you should not build "
--with-coverage
". It does not provide useful information in any way for end-users. Don't know if that causes the segfaults or not, but better to eliminate any unnecessary factors.I recommend using
make PYTHON=python2 build
.dreieck commented on 2022-06-25 17:44 (UTC)
A note:
check()
fails for me with a Segmentation Fault after the inidividual tests have run:MarsSeed commented on 2022-06-24 17:14 (UTC)
@toddejohnson, those are lightweight builds. Also, if you cache your packages, you only need to build them once. Updates will be very scarce among those.
But, like @patlefort said, you can skip installing the checkdepends and running the check() function:
patlefort commented on 2022-06-24 16:50 (UTC)
You can disable checks if you don't need tests and don't want to pull all these dependencies.
toddejohnson commented on 2022-06-24 16:40 (UTC)
Adding checkdepends makes me build 31 depends to build this package: python2-beautifulsoup4 python2-soupsieve python2-backports.functools_lru_cache python2-backports python2-setuptools-scm python2-html5lib python2-webencodings python2-npython2-cssselect python2-pytest python2-atomicwrites python2-attrs python2-funcsigs python2-unittest2 python2-traceback2 python2-linecache2 python2-pbr python2-more-itertools python2-wcwidth python2-py python2-pluggy python2-importlib-metadata python2-configparser python2-contextlib2 python2-zipp python2-pathlib2 python2-scandir python2-chardet python2-pytest-expect python2-u-msgpack python2-mock
Glad I'm caught up in python2 land.
MarsSeed commented on 2022-06-23 21:19 (UTC)
@semeion are these not optional enough for you? :D
semeion commented on 2022-06-23 20:39 (UTC) (edited on 2022-06-23 20:45 (UTC) by semeion)
I think that dependencies should be optional...
New optional dependencies for python2-lxml
python2-beautifulsoup4: malformed HTML parsing support
python2-cssselect: CSS parsing support
python2-html5lib: HTML5 parsing support
MarsSeed commented on 2022-06-23 20:38 (UTC)
I couldn't resist. :) Tried the build just now, with and without
LC_ALL=C
passed to makepkg. Everything was successful in both runs. Puzzling...MarsSeed commented on 2022-06-23 20:22 (UTC)
Thanks for the update.
I am surprised about your report of segfaults. I've tested my suggestions and didn't experience any problems. Though I haven't changed anything else besides what I've sent to you.
Will check later or tomorrow; now I'm finished with the build stuff.
In the meantime, could you maybe share your full build log (e.g. via pastebin)?
Also, did you use modified env vars for the build, like
LC_ALL=C
?« First ‹ Previous 1 2 3 4 5 Next › Last »