#1129614 clj-yaml-clojure: fails autopkgtest due to the warning message

#1129614#5
Date:
2026-03-03 22:28:37 UTC
From:
To:
Dear Maintainer,

The upstream testsuite includes a test for duplicate yaml keys, that results in
stderr output failing autopkgtest:

132s #'user/all-tests
132s Jan 31, 2026 12:14:00 AM org.yaml.snakeyaml.internal.Logger warn
132s WARNING: duplicate keys found : a
132s (nil)
132s
132s Testing clj-yaml.core-test
132s
132s Ran 24 tests containing 49 assertions.
132s 0 failures, 0 errors.
132s autopkgtest [00:14:00]: test upstream: -----------------------]
133s autopkgtest [00:14:01]: test upstream: - - - - - - - - - - results - - - -
- - - - - -
133s upstream FAIL stderr: Jan 31, 2026 12:14:00 AM
org.yaml.snakeyaml.internal.Logger warn
133s autopkgtest [00:14:01]: test upstream: - - - - - - - - - - stderr - - - -
- - - - - -
133s Jan 31, 2026 12:14:00 AM org.yaml.snakeyaml.internal.Logger warn
133s WARNING: duplicate keys found : a
133s autopkgtest [00:14:01]: @@@@@@@@@@@@@@@@@@@@ summary
133s build PASS (superficial)
133s upstream FAIL stderr: Jan 31, 2026 12:14:00 AM
org.yaml.snakeyaml.internal.Logger warn

https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
resolute/resolute/amd64/c/clj-yaml-clojure/20260131_001417_20b61@/log.gz

#1129614#10
Date:
2026-03-03 22:55:20 UTC
From:
To:
Dear Maintainer,

I am submitting the patch for this bug as a debdiff, as the Salsa repository is
out of date and the last upload was performed as a NMU.

In Ubuntu, the attached patch was applied to achieve the following:

  * d/t/control: allow stderr for upstream test suite.
    Snakeyaml 2.0 produces duplicate key warning.
    (Closes: #1129614) (LP: #2143173).


Thanks for considering the patch.