Your message dated Sun, 24 Jul 2022 16:07:22 +0000
with message-id <e1ofe8y-00088d...@fasolo.debian.org>
and subject line Bug#1015792: fixed in openssl 3.0.5-1
has caused the Debian Bug report #1015792,
regarding openssl: Explicitly use libatomic on ARC/NIOS2/SPARC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1015792: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015792
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: openssl
Version: 1.1.1f-1ubuntu2.12
Severity: normal
Tags: patch

Dear Maintainer,

openssl fails to build on 32-bit architectures such as ARC, NIOS2 & SPARC
due to the fact that 64-bit atomisc are not natively supported.

Though with use of libatomic that problem gets solved, see
upsream openssl discussion here https://github.com/openssl/openssl/pull/15640.

And solution is as simple as the patch below:
------------------------>8------------------------
--- a/debian/patches/debian-targets.patch
+++ b/debian/patches/debian-targets.patch
@@ -29,7 +29,7 @@ index 000000000000..9688af8f1447
 +              cflags => add("-mcpu=ev5"),
 +      },
 +      "debian-arc" => {
-+              inherit_from => [ "linux-generic32", "debian" ],
++              inherit_from => [ "linux-latomic", "debian" ],
 +      },
 +      "debian-arm64" => {
 +              inherit_from => [ "linux-aarch64", "debian" ],
@@ -172,7 +172,7 @@ index 000000000000..9688af8f1447
 +      },
 +
 +      "debian-nios2" => {
-+              inherit_from => [ "linux-generic32", "debian" ],
++              inherit_from => [ "linux-latomic", "debian" ],
 +      },
 +      "debian-powerpc" => {
 +              inherit_from => [ "linux-ppc", "debian" ],
@@ -214,7 +214,7 @@ index 000000000000..9688af8f1447
 +              inherit_from => [ "linux-latomic", "debian" ],
 +      },
 +      "debian-sparc" => {
-+              inherit_from => [ "linux-generic32", "debian", ],
++              inherit_from => [ "linux-latomic", "debian", ],
 +              asm_arch         => 'sparcv9',
 +              cflags => add("-DB_ENDIAN -DBN_DIV2W"),
 +      },
------------------------>8------------------------

That's because "linux-latomic" bascally extends "linux-generic32"
with addition of "-latomic" flag for the linker.

And for the record, "linux-latomic" is already used for the rest
of 32-bit architectures. So nothing new here.

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 
'focal-proposed'), (500, 'focal'), (100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.74.3-microsoft-standard-WSL2+ (SMP w/12 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages openssl depends on:
ii  libc6      2.31-0ubuntu9.7
ii  libssl1.1  1.1.1f-1ubuntu2.12

openssl recommends no packages.

Versions of packages openssl suggests:
ii  ca-certificates  20210119~20.04.2

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: openssl
Source-Version: 3.0.5-1
Done: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>

We believe that the bug you reported is fixed in the latest version of
openssl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1015...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Andrzej Siewior <sebast...@breakpoint.cc> (supplier of updated 
openssl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Jul 2022 16:30:30 +0200
Source: openssl
Architecture: source
Version: 3.0.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenSSL Team <pkg-openssl-de...@alioth-lists.debian.net>
Changed-By: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
Closes: 1013309 1015792
Changes:
 openssl (3.0.5-1) unstable; urgency=medium
 .
   * Import 3.0.5
     - Possible module_list_lock crash (Closes: #1013309).
   * Update to 55461bf22a57a ("Don't try to make configuration leaner")
   * Use -latomic on arc,nios2 and sparc (Closes: #1015792).
Checksums-Sha1:
 7d64bbdfb7dc7845b91fee3b56b40a8bf8065966 2604 openssl_3.0.5-1.dsc
 a5305213c681a5a4322dad7347a6e66b7b6ef3c7 15074407 openssl_3.0.5.orig.tar.gz
 2862cb6bdc28381f82611ce1e9197c1f37a5f5ba 862 openssl_3.0.5.orig.tar.gz.asc
 47e703ce17fca9fdb58c8f716942a4a4d4ee3dfc 114332 openssl_3.0.5-1.debian.tar.xz
Checksums-Sha256:
 d40dbdbb1bef3f3e8aa20e4d093fc4fca760465d341316ced320f9fd232da530 2604 
openssl_3.0.5-1.dsc
 aa7d8d9bef71ad6525c55ba11e5f4397889ce49c2c9349dcea6d3e4f0b024a7a 15074407 
openssl_3.0.5.orig.tar.gz
 95f23bb4eb6faa8d0f1ca1b83cfb00a2bed4b53e124a4f13e1499abc0b426129 862 
openssl_3.0.5.orig.tar.gz.asc
 96de2ce175268786e91c9adb12e9c0bcd33ae8cc392e06ad0432e8042686b065 114332 
openssl_3.0.5-1.debian.tar.xz
Files:
 f18ec1a0c607ec85826f3058ebf27075 2604 utils optional openssl_3.0.5-1.dsc
 163bb3e58c143793d1dc6a6ec7d185d5 15074407 utils optional 
openssl_3.0.5.orig.tar.gz
 007c0d88e74a11aa8db21cff77b33796 862 utils optional 
openssl_3.0.5.orig.tar.gz.asc
 0f75e571da731267b16d8c6bd1158acf 114332 utils optional 
openssl_3.0.5-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEZCVGlf/wqkRmzBnme5boFiqM9dEFAmLdaK8ACgkQe5boFiqM
9dESOhAAwXu3GW0BhhDgEcM05HRRNG8ZsPQWm6FDBdm8k4HL7WpqtbtXnMlC14oB
VLQbMW4WOlzsGmpBSJ0keuyS+cmbc7+uv+ukbOEIu8hXMdT4fjzIKVs+i1d5NtqV
Ck+40nE4kSiG5sDPPVUugSPKEkXA8HJ1qDFj8oMF32GUiiql1hJfWtEKW9LpPtDf
NrrVQRcpIpLVVdsZ/ngiTVi9xTc0qjQuVKoh4pONc+riCEDZcIOHi0GThAZ4u1er
C8zQXp8vAgkaZSL2Nu9wCu8eLJGR1ReVyrMao1TUmaWwfjlBlSeOpGCjmrP9ZsA+
NHU5M0hB9pj5bsoccCSOWqfFt1yRQCmAtNx1Pk/BWpJW95+vD1MkGR0S/nwGY3cb
96J7MVcVLsRL0cWgshOO3/hyoHNqdC+zbxCOXyx1QfkW+Myz8RTQX9HTrizzT3R/
u5+WaZJdqou0bdaQig9kmJtv3QzwOLGhj21FCZGEHhxul8cl4HJ+m/Gy6LHyMCis
2hPWJgYbPH6Ir/GehKw0iWtJzEoSICNke0b8yC0AcKjEcmEHIS3V7puvcjtzsKJY
8IvXpDFufzwPjHMDWGl6dYSA4JEc3xAbzwG8KSLln0Karzh5kdicBr1wlD1+53ur
WYJYeJ/OdJ7myDLpSkCW3rWpaL8Fh4KRbbBelNvRlui/i9ZCT0c=
=1Jlx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to