Re: XML test error on Arch Linux
Erik Wienhold <ewie@ewie.name>
From: Erik Wienhold <ewie@ewie.name>
To: Frank Streitzig <fstreitzig@gmx.net>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-07-06T11:52:22Z
Lists: 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
Commits
-
Make our back branches compatible with libxml2 2.13.x.
- f85c91a1867b 16.4 landed
- f68d6aabb7e2 15.8 landed
- a9747be27288 17.0 landed
- a134baea7ab0 12.20 landed
- 48132587d9bc 13.16 landed
- 475e1807c20f 14.13 landed
-
Remove new XML test cases added by e7192486d.
- 896cd266fd34 18.0 landed
-
Suppress "chunk is not well balanced" errors from libxml2.
- e7192486dded 18.0 landed
-
Use xmlParseInNodeContext not xmlParseBalancedChunkMemory.
- 6082b3d5d3d1 18.0 landed
-
Use xmlAddChildList not xmlAddChild in XMLSERIALIZE.
- 066e8ac6ea8b 18.0 landed