Your message dated Wed, 23 Feb 2022 12:04:25 +0000
with message-id <[email protected]>
and subject line Bug#1003750: fixed in certmonger 0.79.15-1
has caused the Debian Bug report #1003750,
regarding certmonger: FTBFS with OpenSSL 3.0
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 [email protected]
immediately.)


-- 
1003750: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003750
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: certmonger
Version: 0.79.14+git20211010-2
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu jammy ubuntu-patch

Hi Timo,

In Ubuntu, the certmonger package is failing to build from source due to
missing linkage against -lssl.  This is probably related to the fact that
Ubuntu has migrated to OpenSSL 3, though I don't understand exactly why
these particular failures are happening only with OpenSSL 3.

The attached patch fixes the build failures in Ubuntu and will probably be
needed in Debian in the near future.

-- 
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/
[email protected]                                     [email protected]
diff -Nru 
certmonger-0.79.14+git20211010/debian/patches/missing-library-linkage.patch 
certmonger-0.79.14+git20211010/debian/patches/missing-library-linkage.patch
--- certmonger-0.79.14+git20211010/debian/patches/missing-library-linkage.patch 
1969-12-31 16:00:00.000000000 -0800
+++ certmonger-0.79.14+git20211010/debian/patches/missing-library-linkage.patch 
2022-01-14 15:42:06.000000000 -0800
@@ -0,0 +1,54 @@
+Description: Add missing linkage to -lssl
+ These commands use libssl but fail to link to it.
+Author: Steve Langasek <[email protected]>
+Last-Update: 2022-01-14
+Forwarded: no
+
+Index: certmonger-0.79.14+git20211010/src/Makefile.am
+===================================================================
+--- certmonger-0.79.14+git20211010.orig/src/Makefile.am
++++ certmonger-0.79.14+git20211010/src/Makefile.am
+@@ -182,11 +182,11 @@
+ certmonger_getcert_CFLAGS = $(getcert_CFLAGS)
+ certmonger_SOURCES = main.c env-system.c tm.c tm.h
+ certmonger_LDADD = libcm.a \
+-                 $(OPENSSL_LIBS) $(CERTMONGER_LIBS) $(KRB5_LIBS) $(IDN_LIBS) \
++                 $(OPENSSL_SSL_LIBS) $(CERTMONGER_LIBS) $(KRB5_LIBS) 
$(IDN_LIBS) \
+                  $(GMP_LIBS) $(UUID_LIBS) $(POPT_LIBS) $(LTLIBICONV) 
$(LDAP_LIBS)
+ certmonger_session_SOURCES = main.c env-session.c tm.c tm.h
+ certmonger_session_LDADD = libcm.a \
+-                 $(OPENSSL_LIBS) $(CERTMONGER_LIBS) $(KRB5_LIBS) $(IDN_LIBS) \
++                 $(OPENSSL_SSL_LIBS) $(CERTMONGER_LIBS) $(KRB5_LIBS) 
$(IDN_LIBS) \
+                  $(GMP_LIBS) $(UUID_LIBS) $(POPT_LIBS) $(LTLIBICONV) 
$(LDAP_LIBS)
+ noinst_PROGRAMS = tdbusm-check serial-check nl-check toklist
+ if WITH_XMLRPC
+@@ -264,14 +264,14 @@
+               pkcs7.c pkcs7.h store.h store-gen.c tm.c tm.h prefs.c prefs.h \
+               prefs-o.c prefs-o.h scep-o.c scep-o.h env.h env-system.c
+ scep_submit_LDADD = $(CURL_LIBS) $(XML_LIBS) $(NSS_LIBS) \
+-                    $(OPENSSL_LIBS) $(TALLOC_LIBS) \
++                    $(OPENSSL_SSL_LIBS) $(TALLOC_LIBS) \
+                     $(GMP_LIBS) $(UUID_LIBS) $(LTLIBICONV) $(POPT_LIBS)
+ local_submit_CFLAGS = $(AM_CFLAGS) $(NSS_CFLAGS)
+ local_submit_SOURCES = local.c env.h store.h store-gen.c submit-o.c 
submit-o.h \
+                      submit-u.c submit-u.h env-system.c env-shared.c log.c \
+                      log.h prefs.c prefs.h prefs-o.c prefs-o.h tm.c tm.h \
+                      util.c util.h util-o.c util-o.h pin.c pin.h
+-local_submit_LDADD = $(NSS_LIBS) $(OPENSSL_LIBS) $(TALLOC_LIBS) $(UUID_LIBS) \
++local_submit_LDADD = $(NSS_LIBS) $(OPENSSL_SSL_LIBS) $(TALLOC_LIBS) 
$(UUID_LIBS) \
+                    $(POPT_LIBS)
+ submit_d_CFLAGS = $(AM_CFLAGS) $(CURL_CFLAGS) $(XML_CFLAGS) -DCM_SUBMIT_D_MAIN
+ submit_d_SOURCES = submit-d.c submit-d.h submit-h.c submit-h.h \
+Index: certmonger-0.79.14+git20211010/tests/tools/Makefile.am
+===================================================================
+--- certmonger-0.79.14+git20211010.orig/tests/tools/Makefile.am
++++ certmonger-0.79.14+git20211010/tests/tools/Makefile.am
+@@ -2,7 +2,7 @@
+           $(XMLRPC_CFLAGS) $(IDN_CFLAGS) $(UUID_CFLAGS) $(LDAP_CFLAGS) \
+           $(POPT_CFLAGS) -I$(top_builddir)/src -I$(top_srcdir)/src
+ LDADD = libtools.a $(top_builddir)/src/libcm.a $(top_srcdir)/src/env-system.c 
\
+-      libtools.a $(OPENSSL_LIBS) $(CERTMONGER_LIBS) $(KRB5_LIBS) $(IDN_LIBS) \
++      libtools.a $(OPENSSL_SSL_LIBS) $(CERTMONGER_LIBS) $(KRB5_LIBS) 
$(IDN_LIBS) \
+       $(GMP_LIBS) $(UUID_LIBS) $(RESOLV_LIBS) $(POPT_LIBS) $(LTLIBICONV) \
+       $(LDAP_LIBS)
+ 
diff -Nru certmonger-0.79.14+git20211010/debian/patches/series 
certmonger-0.79.14+git20211010/debian/patches/series
--- certmonger-0.79.14+git20211010/debian/patches/series        2021-10-10 
09:31:12.000000000 -0700
+++ certmonger-0.79.14+git20211010/debian/patches/series        2022-01-14 
15:39:00.000000000 -0800
@@ -1,3 +1,4 @@
 fix-keythi-h-path.diff
 fix-service-environment.diff
 use-dbus-run-session.diff
+missing-library-linkage.patch

--- End Message ---
--- Begin Message ---
Source: certmonger
Source-Version: 0.79.15-1
Done: Timo Aaltonen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
certmonger, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen <[email protected]> (supplier of updated certmonger 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 [email protected])


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

Format: 1.8
Date: Wed, 23 Feb 2022 13:48:49 +0200
Source: certmonger
Built-For-Profiles: noudeb
Architecture: source
Version: 0.79.15-1
Distribution: unstable
Urgency: medium
Maintainer: Debian FreeIPA Team <[email protected]>
Changed-By: Timo Aaltonen <[email protected]>
Closes: 1003750
Changes:
 certmonger (0.79.15-1) unstable; urgency=medium
 .
   * New upstream release. (Closes: #1003750)
   * control: Bump debhelper-compat to 13, policy to 4.6.0.
   * 0001-candidate-openssl-3.0-compat-fixes.patch: Dropped, upstream.
Checksums-Sha1:
 a6f1f45fc012c46cf0ccaf031f65c74cd11c6076 2246 certmonger_0.79.15-1.dsc
 6541561393c5c281f9fe141f3a03ac2b8f549033 533276 certmonger_0.79.15.orig.tar.xz
 15f66619907cc5adefd4caa1f420adc617e493a6 7584 
certmonger_0.79.15-1.debian.tar.xz
 b21fd110bfb862c89047ad312782609a8a0a7f4f 7901 
certmonger_0.79.15-1_source.buildinfo
Checksums-Sha256:
 be1447954dd07a2ba388902ecd06c8784565c5926b5842afd00ee15a76ca2f5e 2246 
certmonger_0.79.15-1.dsc
 c5a1c9a6c1ed07ccf5e881894e75fa6f055dbb5c8ed96ab704299a368cc61c05 533276 
certmonger_0.79.15.orig.tar.xz
 37e25543827e842a887754ed80e7f39772b75d86e8385ae88856605080e0c53d 7584 
certmonger_0.79.15-1.debian.tar.xz
 2588503ebe3e3880b53dc2de54df7bf8b0d2cb8c625f8dccf3848d7a5013c215 7901 
certmonger_0.79.15-1_source.buildinfo
Files:
 d9e13ba80f7f72d34a8951ce666f8b78 2246 utils optional certmonger_0.79.15-1.dsc
 5bc231399f64b901f6d917905562482f 533276 utils optional 
certmonger_0.79.15.orig.tar.xz
 f9812ad66ce9b78307d631224884025f 7584 utils optional 
certmonger_0.79.15-1.debian.tar.xz
 7ac2c822ae713ec35f1128691230f012 7901 utils optional 
certmonger_0.79.15-1_source.buildinfo

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmIWH1kACgkQy3AxZaiJ
hNzNuQ/9GLh/2tqCL/mpApLXC4IX2Y2RVkY3LN87PPSV/k4R4zFA+ZNWtPjvZdMt
muC9cf9BU6sBLk24iCeT9z44J164Lus69a0hI3H4b7DjpyP2qylACSCloBXKMeVx
72Qfj3xwyiUPGA0qdMYoq5hQpQ3bPVxpbuITEWeK/zzYzvCfktMldhp4zw6OL5oh
8A2ngfVqjQwmILAAf5Kbd2gP8sue942Vqh0iqldQnEvXOUceT6P4ujm8+e1OlYGo
2D2d6g39iQ80w28I33db6A17u/9Kvt7ggM0Qw5ChT4kdB3yzksDhfiVljqLT/NA6
au22HwVELbsMrFB4FRbJvtxKzOcbKN2Ha0Fy+UTbojyb9TQXKE4h0a+fzonRN4B+
tVLr4NGCD3bLSb9Keu4M8fZ1kKPXxlRksJyQlxHjT3u+jsCjljmxGRsYZZu3Wa29
62jQexGM4QlIqopS13IfViWIyFkjk0z/E3r2Yp0IR5L5EoBwgOJjRtZaZyW969a4
2fTQMJeI76kvPcdIgbs+NTelGProATArLBcR0vRVKsiSK138RPDqm+ICHNKO9wy6
QZR+bCgdMNGyMvhbdSFX/y8azw87cf+5vt/DWPg8cGzrf7C2o7p43CGv2iHdihaW
mjGvbl/yCpszPIBklvLVdt7+k2pOs4h50Jlxfa8QdbLQjTpDIFs=
=jrdW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to