Re: XML test error on Arch Linux

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Frank Streitzig <fstreitzig(at)gmx(dot)net>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: XML test error on Arch Linux
Date: 2024-07-06 11:52:22
Message-ID: db58549a-dfce-4723-bdc2-9555bd971efe@ewie.name
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey M. Borodin 2024-07-06 12:04:27 Re: Add GiST support for mixed-width integer operators
Previous Message Tatsuo Ishii 2024-07-06 11:22:54 Add memory/disk usage for WindowAgg nodes in EXPLAIN