Thread

Commits

  1. Make our back branches compatible with libxml2 2.13.x.

  2. Remove new XML test cases added by e7192486d.

  3. Suppress "chunk is not well balanced" errors from libxml2.

  4. Use xmlParseInNodeContext not xmlParseBalancedChunkMemory.

  5. Use xmlAddChildList not xmlAddChild in XMLSERIALIZE.

  1. XML test error on Arch Linux

    Frank Streitzig <fstreitzig@gmx.net> — 2024-07-05T13:33:52Z

    Hello hackers,
    
    i compile postgresql just for fun.
    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:
    
    ---
    ...
    ok 200       + largeobject                               553 ms
    ok 201       + with                                      819 ms
    not ok 202   + xml                                      1464 ms
    # parallel group (15 tests):  hash_part predicate partition_info explain reloptions memoize compression partition_merge stats partition_split partition_aggregate tuplesort partition_join partition_prune indexing
    ok 203       + partition_merge                          1282 ms
    ok 204       + partition_split                          1533 ms
    ok 205       + partition_join                           2229 ms
    ...
    ok 221       - fast_default                              230 ms
    ok 222       - tablespace                                498 ms
    1..222
    # 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
    ---
    
    What can I do?
    Who can help?
    
    Best regards,
    Frank
  2. Re: XML test error on Arch Linux

    Erik Wienhold <ewie@ewie.name> — 2024-07-05T14:41:39Z

    On 2024-07-05 15:33 +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
    
    -- 
    Erik