packages depending from libxml2_2

Jon Turney jon.turney@dronecode.org.uk
Thu Nov 5 18:42:27 GMT 2026


On 04/11/2026 16:39, Marco Atzeri via Cygwin-apps wrote:
> Hi Jon,
> 
> just uploaded libxml2_2-2.13.9-3
> 
> I will wait few days before uploading 2.15.4-2
> 
> $ find . -name "*.xz"
> ./libxml2/libxml2-2.15.4-2-src.tar.xz
> ./libxml2/libxml2-2.15.4-2-x86_64.tar.xz
> ./libxml2/libxml2-debuginfo/libxml2-debuginfo-2.15.4-2-x86_64.tar.xz
> ./libxml2/libxml2-devel/libxml2-devel-2.15.4-2-x86_64.tar.xz
> ./libxml2/libxml2-doc/libxml2-doc-2.15.4-2-x86_64.tar.xz
> ./libxml2/libxml2_16/libxml2_16-2.15.4-2-x86_64.tar.xz
> ./libxml2/python312-libxml2/python312-libxml2-2.15.4-2-x86_64.tar.xz
> ./libxml2/python39-libxml2/python39-libxml2-2.15.4-2-x86_64.tar.xz
> 
> probably the best way to handle is for every package that requires 
> libxml2 to add libxml2_2 dependency

Just so I'm understanding correctly: libxml2 and libxml2_2 both provide 
cygxml2-2.dll?

I don't think you really needed to change the name just for this, but I 
guess it's clearer.

To arrange it to take over from the libxml2 package, simply have have 
libxml2_2 obsolete that:

libxml2_2_OBSOLETES="libxml2"

That will cause setup to install libxml2_2 instead whenever libxml2 is 
needed.


I can change the existing package on sourceware if you like.


I also noticed that the python312-lxml package is currently broken:

> $ python3.12 -c 'import lxml.etree'
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No such file or directory

This seems to be because etree.cpython-312-x86_64-cygwin.dll links with 
cygxml2-16.dll (which doesn't exist).



More information about the Cygwin-apps mailing list