Re: XML test error on Arch Linux - Mailing list pgsql-hackers

From Erik Wienhold
Subject Re: XML test error on Arch Linux
Date
Msg-id db58549a-dfce-4723-bdc2-9555bd971efe@ewie.name
Whole thread Raw
In response to Re: XML test error on Arch Linux  (Frank Streitzig <fstreitzig@gmx.net>)
Responses Re: XML test error on Arch Linux
List pgsql-hackers
On 2024-07-06 11:57 +0200, Frank Streitzig wrote:
> >> My system is a Arch Linux.
> >> I get after upgrade the libxml2 package (from 2.12.7-1 to 2.13.1-1)
> >> test errors for xml:
> >> 
> >> not ok 202   + xml                                      1464 ms
> >> [...snip...]
> >> # 1 of 222 tests failed.
> >> # The differences that caused some tests to fail can be viewed in the file
"/home/frastr/devel/postgresql/src/test/regress/regression.diffs".
> >> # A copy of the test summary that you see above is saved in the file
"/home/frastr/devel/postgresql/src/test/regress/regression.out".
> >> make[1]: *** [GNUmakefile:118: check] Fehler 1
> >> make[1]: Verzeichnis „/home/frastr/devel/postgresql/src/test/regress“ wird verlassen
> >> make: *** [GNUmakefile:69: check] Fehler 2
> > 
> > Hmm, I did not get this error after upgrading libxml2 on my Arch machine
> > a couple of weeks ago.  Did you just run  make check  after upgrading,
> > without recompiling?  Please try  make clean && make && make check
> 
> i get same error.

Ah!  I forgot to run ./configure --with-libxml.  I thought it was
enabled by default if libxml2 is available.  Now I get the same errors.
Also with 2.13.2-1 which is currently still in core-testing.

So, there must be breaking changes in 2.13.0:
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.0

Maybe you can downgrade in the meantime, if you still have 2.12.7 in the
cache:

    pacman -U /var/cache/pacman/pkg/libxml2-2.12.7-1-x86_64.pkg.tar.zst

-- 
Erik



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Add memory/disk usage for WindowAgg nodes in EXPLAIN
Next
From: "Andrey M. Borodin"
Date:
Subject: Re: Add GiST support for mixed-width integer operators