[FFe] libgcrypt: FTBFS on s390x due to failed tests

Bug #2083245 reported by Adrien Nader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgcrypt20 (Ubuntu)
Fix Released
High
Adrien Nader

Bug Description

On s390x, libgcrypt20 FTBFS because the testsuite that runs at build-time fails.

This was spotted during a test rebuild ( https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20240912-oracular-oracular.html ).

The log for the issue on s390x is at https://launchpadlibrarian.net/751878684/buildlog_ubuntu-oracular-s390x.libgcrypt20_1.11.0-6_BUILDING.txt.gz

The error is below:

computed: a0 12 f9 83 af cb 5e 36 37 4e 5f db a8 e7 5e 5d 08 d3 a6 fe 7a a7 f0 9d ed e0 12 3b 90 4e 55 f6
expected: c1 c3 69 25 b6 40 9a 04 f1 b5 04 fc bc a9 d8 2b 40 17 27 7c b5 ed 2b 20 65 fc 1d 38 14 d5 aa f5
basic: algo 329, digest mismatch
computed: a0 12 f9 83 af cb 5e 36 37 4e 5f db a8 e7 5e 5d 08 d3 a6 fe 7a a7 f0 9d ed e0 12 3b 90 4e 55 f6
expected: c1 c3 69 25 b6 40 9a 04 f1 b5 04 fc bc a9 d8 2b 40 17 27 7c b5 ed 2b 20 65 fc 1d 38 14 d5 aa f5
basic: check_one_md_multi: algo 329, digest mismatch
computed: 85 dc 9c ca a6 6f ab fb 94 17 cd 64 2d 53 ff b7 f2 30 ed 70 87 5c 69 e1 79 ab 72 1d 78 95 c7 e5
expected: c5 22 1d 50 e4 f8 22 d9 6a 2e 88 81 a9 61 42 0f 29 4b 7b 24 fe 3d 20 94 ba ed 2c 65 24 cc 16 6b
basic: algo 329, digest mismatch
computed: 85 dc 9c ca a6 6f ab fb 94 17 cd 64 2d 53 ff b7 f2 30 ed 70 87 5c 69 e1 79 ab 72 1d 78 95 c7 e5
expected: c5 22 1d 50 e4 f8 22 d9 6a 2e 88 81 a9 61 42 0f 29 4b 7b 24 fe 3d 20 94 ba ed 2c 65 24 cc 16 6b
basic: check_one_md_multi: algo 329, digest mismatch
computed: 33 dc 74 56 44 a8 0e 6b de 40 80 75 86 b4 86 4c 6c af d7 81 4e 7e bc a7 55 7a 48 ab c8 09 ba ba 1d a2 bc 5f ca 0b f7 9f ba b7 01 4a f2 1f 80 7b 7a a6 cd 0a c0 52 6c 1c 60 a0 6b f7 a8 3a 07 4c
expected: d0 08 82 8e 2b 80 ac 9d 22 18 ff ee 1d 07 0c 48 b8 e4 c8 7b ff 32 c9 69 9d 5b 68 96 ee e0 ed d1 64 02 0e 2b e0 56 08 58 d9 c0 0c 03 7e 34 a9 69 37 c5 61 a7 4c 41 2b b4 c7 46 46 95 27 28 1c 8c
basic: algo 330, digest mismatch
computed: 33 dc 74 56 44 a8 0e 6b de 40 80 75 86 b4 86 4c 6c af d7 81 4e 7e bc a7 55 7a 48 ab c8 09 ba ba 1d a2 bc 5f ca 0b f7 9f ba b7 01 4a f2 1f 80 7b 7a a6 cd 0a c0 52 6c 1c 60 a0 6b f7 a8 3a 07 4c
expected: d0 08 82 8e 2b 80 ac 9d 22 18 ff ee 1d 07 0c 48 b8 e4 c8 7b ff 32 c9 69 9d 5b 68 96 ee e0 ed d1 64 02 0e 2b e0 56 08 58 d9 c0 0c 03 7e 34 a9 69 37 c5 61 a7 4c 41 2b b4 c7 46 46 95 27 28 1c 8c
basic: check_one_md_multi: algo 330, digest mismatch
computed: a3 14 9a 0a 85 d1 f3 41 94 04 ba 8f cf a8 1a 27 b0 02 ae cc 93 4b 8b 3c d3 bf 79 de 22 63 33 51 38 8b f5 ba a6 74 52 d5 b3 56 f4 38 df 6f dc 4e 44 5c c7 cb a7 5e 5b 3d 86 bd 1f 97 ac 4f 8c 1a
expected: 07 dc 27 b1 1e 51 fb ac 75 bc 7b 3c 1d 98 3e 8b 4b 85 fb 1d ef af 21 89 12 ac 86 43 02 73 09 17 27 f4 2b 17 ed 1d f6 3e 8e c1 18 f0 4b 23 63 3c 1d fb 15 74 c8 fb 55 cb 45 da 8e 25 af b0 92 bb
basic: algo 330, digest mismatch
computed: a3 14 9a 0a 85 d1 f3 41 94 04 ba 8f cf a8 1a 27 b0 02 ae cc 93 4b 8b 3c d3 bf 79 de 22 63 33 51 38 8b f5 ba a6 74 52 d5 b3 56 f4 38 df 6f dc 4e 44 5c c7 cb a7 5e 5b 3d 86 bd 1f 97 ac 4f 8c 1a
expected: 07 dc 27 b1 1e 51 fb ac 75 bc 7b 3c 1d 98 3e 8b 4b 85 fb 1d ef af 21 89 12 ac 86 43 02 73 09 17 27 f4 2b 17 ed 1d f6 3e 8e c1 18 f0 4b 23 63 3c 1d fb 15 74 c8 fb 55 cb 45 da 8e 25 af b0 92 bb
basic: check_one_md_multi: algo 330, digest mismatch
FAIL: basic

Also note the following success:

      now running 'basic' test with all hardware features disabled.
PASS: basic-disable-all-hwf

This comes from trying to use a CPU acceleration feature for SHA3 for cSHAKE which is based on SHA3 but slightly different. There is a patch upstream to stop trying to use the SHA3 acceleration for that.

The patch is limited to s390x, simple, already upstream and merged: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=2486d9b5ae015c1786cb84466a751da4bc0d7122

Tags: ftbfs

Related branches

Nick Rosbrook (enr0n)
tags: added: ftbfs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgcrypt20 - 1.11.0-6ubuntu1

---------------
libgcrypt20 (1.11.0-6ubuntu1) oracular; urgency=medium

  * Pull upstream patch to fix FTBFS on s390x during build-time tests:
    + lp2083245-disable-sha3-s390x-acceleration-for-cshake.patch
    (LP: #2083245)

 -- Adrien Nader <email address hidden> Mon, 30 Sep 2024 16:16:24 +0200

Changed in libgcrypt20 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.