Your message dated Sun, 17 Apr 2022 22:34:04 +0000
with message-id <e1ngdt2-000etk...@fasolo.debian.org>
and subject line Bug#1001430: fixed in unbound 1.15.0-1
has caused the Debian Bug report #1001430,
regarding unbound: FTBFS with OpenSSL 3
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.)


-- 
1001430: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001430
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: unbound
Version: 1.13.1-1
Severity: serious
Tags: patch experimental
Justification: ftbfs
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch

Hi Robert,

In Ubuntu, unbound is failing to build from source because it uses the
ERR_GET_FUNC() macro, which has been obsoleted in OpenSSL 3.

The attached patch addresses this by removing the call to the macro,
allowing unbound to build.

Please consider applying this patch in Debian.

OpenSSL 3 is currently in experimental, and expected to be the version of
OpenSSL shipped in the next release of Debian.

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru unbound-1.13.1/debian/patches/openssl3.patch 
unbound-1.13.1/debian/patches/openssl3.patch
--- unbound-1.13.1/debian/patches/openssl3.patch        1969-12-31 
16:00:00.000000000 -0800
+++ unbound-1.13.1/debian/patches/openssl3.patch        2021-12-09 
12:51:25.000000000 -0800
@@ -0,0 +1,20 @@
+Description: compatibility with OpenSSL 3
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Last-Update: 2021-12-09
+Forwarded: no
+
+Index: unbound-1.13.1/smallapp/unbound-control.c
+===================================================================
+--- unbound-1.13.1.orig/smallapp/unbound-control.c
++++ unbound-1.13.1/smallapp/unbound-control.c
+@@ -492,9 +492,7 @@
+ {
+       unsigned long err;
+       err = ERR_peek_error();
+-      if (ERR_GET_LIB(err) == ERR_LIB_SYS &&
+-              (ERR_GET_FUNC(err) == SYS_F_FOPEN ||
+-               ERR_GET_FUNC(err) == SYS_F_FREAD) ) {
++      if (ERR_GET_LIB(err) == ERR_LIB_SYS) {
+               fprintf(stderr, "error: %s\n%s: %s\n",
+                       s, path, ERR_reason_error_string(err));
+               exit(1);
diff -Nru unbound-1.13.1/debian/patches/series 
unbound-1.13.1/debian/patches/series
--- unbound-1.13.1/debian/patches/series        2021-07-01 07:16:26.000000000 
-0700
+++ unbound-1.13.1/debian/patches/series        2021-12-09 12:50:04.000000000 
-0800
@@ -1 +1,2 @@
 0001-Enable-remote-control-by-default.patch
+openssl3.patch

--- End Message ---
--- Begin Message ---
Source: unbound
Source-Version: 1.15.0-1
Done: Michael Tokarev <m...@tls.msk.ru>

We believe that the bug you reported is fixed in the latest version of
unbound, 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 1001...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <m...@tls.msk.ru> (supplier of updated unbound 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: SHA256

Format: 1.8
Date: Mon, 18 Apr 2022 00:56:10 +0300
Source: unbound
Architecture: source
Version: 1.15.0-1
Distribution: experimental
Urgency: medium
Maintainer: unbound packagers <unbo...@packages.debian.org>
Changed-By: Michael Tokarev <m...@tls.msk.ru>
Closes: 632096 997694 1001430 1008918
Changes:
 unbound (1.15.0-1) experimental; urgency=medium
 .
   * Acknowledge the NMU
   * New upstream release (1.15.0)
     Closes: #997694, #1001430, #1008918
   * remove python3.10-related patches (included upstream)
   * add myself to Uploaders
   * redo the whole packag build procedure
    - switch to dh sequence
    - switch to debhelper-compat=13
    - switch to dh-sequence-python3
    - move configure/build/install parts out of binary target
      into the right places
    - move different builds into subdirs of b/ to stop building
      them one by one replacing results
    - perform 2 builds, one main (daemon & tools) and one libunbound
      --with-nettle (daemon can't be built with nettle);
      when installing, install libunbound build on top of the main
      install in d/tmp, replacing only the library
    - use pkg.unbound.libonly build profile in d/rules
    - use normal d/*.install way to install files instead of a lot
      of custom renaming in d/rules (Closes: #632096)
    - enable dh_missing (automatic with dh=13), with actual filelist
      and two *.la files in d/not-installed
    - include only required dpkg *.mk files (else it is slow)
   * install all *.3 manpages (for individual functions too)
   * install unbound-control-setup.8
   * enable-python-build-in-subdir.patch: fix 2 probs with python
     module building in a subdir (needs to go upstream)
   * d/onttrol: bump Standards-Version to 4.6.0 (no changes needed)
   * d/control: add Pre-Depends: ${misc:Pre-Depends} to unbound package
     to satisfy current dh_installsystemd & dh_installinit maintscript
     fragments
   * d/control: Rules-Requires-Root: no
   * d/unbound.init: add short description to the init file
   * added simple d/salsa-ci.yml file
Checksums-Sha1:
 bbb3fd1ab8e8ce4f4a95d01e9c9d9f81b75e8946 2735 unbound_1.15.0-1.dsc
 06dc42d25aed938d397be7c8bec719315e527a41 6163470 unbound_1.15.0.orig.tar.gz
 5c50b23ed188844b56035ea343c5a3f524951f44 833 unbound_1.15.0.orig.tar.gz.asc
 27291dbc57bc15cbe2906bea449cc62f44a2ad23 22132 unbound_1.15.0-1.debian.tar.xz
 7b20dca904013380a9b1dac00172cc271ec6d5cf 7641 unbound_1.15.0-1_source.buildinfo
Checksums-Sha256:
 78f34682627211995fdf02e0406ad300c6aff6c511f5e467848a34ba4049e748 2735 
unbound_1.15.0-1.dsc
 a480dc6c8937447b98d161fe911ffc76cfaffa2da18788781314e81339f1126f 6163470 
unbound_1.15.0.orig.tar.gz
 6655bc6674d53caf652471bbb32d155f114beae6b0c4ae6d7108df75ef2c0fee 833 
unbound_1.15.0.orig.tar.gz.asc
 a52305c29f140107440e455b79e42035d870af001825f22c99314a83a610127d 22132 
unbound_1.15.0-1.debian.tar.xz
 438252dd71f92fb452476c4231a260bb48f6189dd4a0f19fe99b3d712677ff58 7641 
unbound_1.15.0-1_source.buildinfo
Files:
 93cca233cb385ea23fd2abab94f3998a 2735 net optional unbound_1.15.0-1.dsc
 9a309ea06df20b1f6fc2c10b826082ef 6163470 net optional 
unbound_1.15.0.orig.tar.gz
 985b49b953303e315c0a21777169affe 833 net optional 
unbound_1.15.0.orig.tar.gz.asc
 4efd16b937c3e4807795aa3fce7fe35d 22132 net optional 
unbound_1.15.0-1.debian.tar.xz
 13287a9b0e69de84d519122e88911cc9 7641 net optional 
unbound_1.15.0-1_source.buildinfo

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

iQFDBAEBCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmJckDQPHG1qdEB0bHMu
bXNrLnJ1AAoJEHAbT2saaT5ZPVUIALw6NvdYl0WleETFc4wFwbM8u9GoX8js6qpC
AnvkIxk7OwonLadzE5zwwguwTptnAN+at/kFODnObf+WzdXwkGqR6hNCJVnePW3D
/CkDsSjKYZGHbqW9O+eDtoGFfcc0nph9sgnrhDVZQOAXF7WD84/ECKknX2iPob4I
MOV5t4DaqI63rfjS6aKgQ2NMlyMBlKZpUg5ZDLajS2UY4xOSipBqeu+n1Jt03q5P
kT3VBxoVHwhtr0POXB723zEYsh9RPprmkIcMEmh5X+6cB6erxB1papiDR67bwxEt
J0lZc2ih/VfNN1HpvkByC/iXvoVJRAx1eLMzihToQJzqQmEL7dg=
=Qzk4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to