Your message dated Sat, 25 Feb 2023 10:49:20 +0000
with message-id <e1pvs7e-00b3jf...@fasolo.debian.org>
and subject line Bug#912691: fixed in certmonger 0.79.17-1
has caused the Debian Bug report #912691,
regarding certmonger FTCBFS: configure.ac hard codes the wrong pkg-config
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.)


-- 
912691: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912691
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: certmonger
Version: 0.79.6-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

certmonger fails to cross build from source, because configure.ac hard
codes the wrong pkg-config in a few places. The attached patch fixes
that and makes certmonger cross buildable. Please consider applying it.

Helmut
--- certmonger-0.79.6.orig/configure.ac
+++ certmonger-0.79.6/configure.ac
@@ -152,6 +152,7 @@
 AC_DEFINE_UNQUOTED(CM_DBUS_RECONNECT_TIMEOUT,30,
 		   [Define to the amount of time to wait between attempts to reconnect to the message bus if we get disconnected.])
 
+PKG_PROG_PKG_CONFIG
 if ! ${configure_dist_target_only:-false} ; then
 	AC_CHECK_HEADERS(sys/types.h sys/socket.h linux/types.h linux/netlink.h linux/rtnetlink.h,,,[
 		#ifdef HAVE_SYS_TYPES_H
@@ -175,13 +176,13 @@
 	AC_ARG_WITH(session-bus-services-dir,
 	AS_HELP_STRING([--with-session-bus-services-dir=],[directory to install session bus configuration]),
 	SESSIONBUSSERVICESDIR=$withval,
-	SESSIONBUSSERVICESDIR=`pkg-config --variable=session_bus_services_dir dbus-1 2> /dev/null | sed -e "s|^${datadir}|\${datadir}|g" -e "s|^${datarootdir}|\${datarootdir}|g" -e "s|^${prefix}/share|\${datadir}|g"`)
+	SESSIONBUSSERVICESDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1 2> /dev/null | sed -e "s|^${datadir}|\${datadir}|g" -e "s|^${datarootdir}|\${datarootdir}|g" -e "s|^${prefix}/share|\${datadir}|g"`)
 	AC_SUBST(SESSIONBUSSERVICESDIR)
 	AM_CONDITIONAL(SESSIONBUS,test x$SESSIONBUSSERVICESDIR != xno)
 	AC_ARG_WITH(system-bus-services-dir,
 	AS_HELP_STRING([--with-system-bus-services-dir=],[directory to install system bus configuration]),
 	SESSIONBUSSERVICESDIR=$withval,
-	SYSTEMBUSSERVICESDIR=`pkg-config --variable=system_bus_services_dir dbus-1 2> /dev/null | sed -e "s|^${datadir}|\${datadir}|g" -e "s|^${datarootdir}|\${datarootdir}|g" -e "s|^${prefix}/share|\${datadir}|g"`)
+	SYSTEMBUSSERVICESDIR=`$PKG_CONFIG --variable=system_bus_services_dir dbus-1 2> /dev/null | sed -e "s|^${datadir}|\${datadir}|g" -e "s|^${datarootdir}|\${datarootdir}|g" -e "s|^${prefix}/share|\${datadir}|g"`)
 	AC_SUBST(SYSTEMBUSSERVICESDIR)
 	AM_CONDITIONAL(SYSTEMBUS,test x$SYSTEMBUSSERVICESDIR != xno)
 
@@ -331,7 +332,7 @@
 
 	AM_CONDITIONAL(HAVE_OPENSSL,test x$withopenssl != xno)
 	if test x$withopenssl != xno ; then
-		if pkg-config libcrypto 2> /dev/null ; then
+		if $PKG_CONFIG libcrypto 2> /dev/null ; then
 			PKG_CHECK_MODULES(OPENSSL,libcrypto)
 			PKG_CHECK_MODULES(OPENSSL_SSL,libssl libcrypto)
 		else
@@ -403,7 +404,7 @@
 
 	AM_CONDITIONAL(HAVE_NSS,test x$withnss != xno)
 	if test x$withnss != xno ; then
-		if pkg-config mozilla-nss 2> /dev/null ; then
+		if $PKG_CONFIG mozilla-nss 2> /dev/null ; then
 			PKG_CHECK_MODULES(NSS,mozilla-nss)
 		else
 			PKG_CHECK_MODULES(NSS,nss)
@@ -531,7 +532,7 @@
 	AM_CONDITIONAL(SYSTEMD,test x$SYSTEMD != xno)
 	AC_SUBST(SYSTEMDSYSTEMUNITDIR)
 	if test x$SYSTEMD = xyes ; then
-		SYSTEMDSYSTEMUNITDIR=`pkg-config --variable=systemdsystemunitdir systemd 2> /dev/null`
+		SYSTEMDSYSTEMUNITDIR=`$PKG_CONFIG --variable=systemdsystemunitdir systemd 2> /dev/null`
 		AC_MSG_RESULT(will install systemd unit files to $SYSTEMDSYSTEMUNITDIR)
 	fi
 
@@ -599,7 +600,7 @@
 		CFLAGS="$CFLAGSsave"
 		LIBS="$LIBSsave"
 		can_dsa=true
-		if ! pkg-config --atleast-version=1.0 openssl ; then
+		if ! $PKG_CONFIG --atleast-version=1.0 openssl ; then
 			# CSR signing appears to be broken in 0.9.8e, so reject < 1.0
 			can_dsa=false
 		fi
@@ -800,7 +801,7 @@
 		PKG_CHECK_MODULES(UUID,uuid)
 	else
 		if test x$with_uuid != xno ; then
-			if pkg-config uuid ; then
+			if $PKG_CONFIG uuid ; then
 				PKG_CHECK_MODULES(UUID,uuid)
 				uuid=yes
 			fi

--- End Message ---
--- Begin Message ---
Source: certmonger
Source-Version: 0.79.17-1
Done: Timo Aaltonen <tjaal...@debian.org>

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 912...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaal...@debian.org> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 25 Feb 2023 12:25:47 +0200
Source: certmonger
Built-For-Profiles: noudeb
Architecture: source
Version: 0.79.17-1
Distribution: unstable
Urgency: medium
Maintainer: Debian FreeIPA Team <pkg-freeipa-de...@alioth-lists.debian.net>
Changed-By: Timo Aaltonen <tjaal...@debian.org>
Closes: 912691
Changes:
 certmonger (0.79.17-1) unstable; urgency=medium
 .
   * New upstream release.
   * Create a private nssdb.
   * cross.patch: Fix cross-building. Thanks, Helmut Grohne! (Closes:
     #912691)
Checksums-Sha1:
 030fca723f3869ea4ed7b724f5c3aceff8df048d 2246 certmonger_0.79.17-1.dsc
 ab77485e556d96c5c2b885ee3d0f27794276dfee 956999 certmonger_0.79.17.orig.tar.gz
 21111c0333db3d6818aef8baa41eeafa270b838f 8860 
certmonger_0.79.17-1.debian.tar.xz
 8161f265ce1dbeb0ddd3ac3f942f42304d419ba8 8863 
certmonger_0.79.17-1_source.buildinfo
Checksums-Sha256:
 9beea1d6833029d502138259ffabb3618554a1c33d6484f9bc9362910ff6287f 2246 
certmonger_0.79.17-1.dsc
 e6299fa8d73872e872460880d6bb81377306d3fa20be0cfe74a900b98e3a06d9 956999 
certmonger_0.79.17.orig.tar.gz
 e11fc47be133afe1b8f39c668cd3ff103258521138f4ed812f855a4b8183c37b 8860 
certmonger_0.79.17-1.debian.tar.xz
 02254e248d6f5c8f263e44fca1ccfb8e32dfcd87823b6fa918998b76cadd7498 8863 
certmonger_0.79.17-1_source.buildinfo
Files:
 4a5e0ea310b7124b642ed9b6c5d3091b 2246 utils optional certmonger_0.79.17-1.dsc
 ca41b328880564ab217eb084af8bcf2e 956999 utils optional 
certmonger_0.79.17.orig.tar.gz
 c025e9f264d53c50e78781ad36243e35 8860 utils optional 
certmonger_0.79.17-1.debian.tar.xz
 89558182f448c00d315eb80378e4d07c 8863 utils optional 
certmonger_0.79.17-1_source.buildinfo

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmP54jYACgkQy3AxZaiJ
hNzyPA/7BGFbS57kzq5yOloXnW6/qZsIRcs7TRApoFq9GBAAAieh1uzrzZt0PYI/
8pdFiJ0hV4Bs5Kzbq5OnN9aTKd9Lsg0na4jx/BAOB0wDAWlFk/f3/xyqMAITaYlS
YkvTraTSTh8rUNl6G35CgAoOeDVv5sAjywKgezbAnJ012nW58PPpdhu+gHGQdR/S
5GGxXY4WlPv9AiG0XFoTzzj0h7giBtj4yqhXVSVrzCVcKZbigM4G7tWrOINHH4+P
fsnJ8PCSk7E/JroqzEEz0bgHWRfDTnj/3JVSTuP5ZN81oB4bAHPjjDnv/vPwPXmu
JcxbkZkBiRw5h6vRQDnChNZDKkTBBKfljvWwwK+j0dPyBmtxp4hs8iU1ZHzU2ait
xIGLTwvvFG0AWWX2vP3VhZ3jwyIAhGEeB43gNiYUZoa4quVV4Z0/2N17okePfIrQ
MDrHrspChQn1qjoHPh3fPQRw5RDYRKdInT0hGixZq0Rrlm/qXK8XMgAiQCA2la/V
qi1xYo3o418i9bepfs7SLWNy7yR/eooFKmm3Xv4caoGX7Y3/fnG5itrK+yVPcTvT
zthpJp+/R9YMuEB+NEv/UcXtsz9N1cveqjMskCG/zlk7AmQBQc5oEu71xfpc3NbG
sUNFf6VAkUrGxTxdF+A7iWMpm9S4LG1VOpIJnKjZcQzy5zzFscg=
=wVxM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to