Closed zavocc closed 9 months ago
OK. It also crashed on my device. It seems that 6G RAM (~4.5GB free RAM) is not enough to compile lxml.
1) Add python-lxml
. It will not take much space I suppose.
2) Remove lv2
and inkscape-extensions
. They depend on lxml and install it in postinst
.
Ping @sylirre @truboxl @2096779623 Any ideas?
This issue exists for long time. lxml
require a lot of RAM for building, up to 6 GB.
Never had crashes although my devices have 8 & 16 GB of memory.
Packaging python-lxml
would solve this.
I guess issue caused by -flto
linker option.
Not sure if this relevant: https://github.com/lxml/lxml/blob/9a7804240a4d809c57d4be2cc2151cf0aa2b2ca3/pyproject.toml#L4-L26
During the building, I found that the file generated by etree.pyx
(etree.c
) is about 12 MB, maybe this file is too large for some devices to compile...
Problem description
Installing
lv2
or packages depends on it would buildlxml
but during the installation, it takes a lot of resources causing the device to crash in the background, leading to unfinished installs in any packages.What steps will reproduce the bug?
Install
lv2
What is the expected behavior?
I believe lxml should be packaged as it is impractical to build such dependency that would cause the device to crash
Additionally it also causes such build error halfway through the installation if the Termux app was in the foreground (which causes the device to lag and system ui crashes)
System information
termux-info: