--- Begin Message ---
Package: src:nordugrid-arc
Version: 7.0.0-3
Severity: normal
Hi,
prompted by 1106888 I just decided to file the bugs. I have no plans to drive
this transition, though.
nordugrid-arc FTBFS with xmlsec 1.3.x - as in experimental.
It looks like xmlSecCryptoAppKeyLoad is gone and now xmlSecCryptoAppKeyLoadEx
should be used instead[1]?
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -Wdate-time
-D_FORTIFY_SOURCE=2 -I../../../../include -I/usr/include/libxml2
-I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include
-pthread -I/usr/include/sigc++-2.0
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DOPENSSL_API_COMPAT=0x10101000L
-D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_OPENSSL3_ENGINES=1 -DXMLSEC_NO_FTP=1
-DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1
-DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/include/xmlsec1
-DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -D__XMLSEC_FUNCTION__=__func__
-DXMLSEC_OPENSSL3_ENGINES=1 -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1
-DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1
-DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/include/xmlsec1
-DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -g -O2
-ffile-prefix-map=/build/reproducible-path/nordugrid-arc-7.0.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -c XMLSecNode.cpp -fPIC -DPIC -o
.libs/libarcxmlsec_la-XMLSecNode.o
XMLSecNode.cpp: In member function 'bool Arc::XMLSecNode::SignNode(const
std::string&, const std::string&)':
XMLSecNode.cpp:92:22: error: 'xmlSecCryptoAppKeyLoad' was not declared in this
scope; did you mean 'xmlSecCryptoAppKeyLoadEx'?
92 | dsigCtx->signKey = xmlSecCryptoAppKeyLoad(privkey_file.c_str(),
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~
| xmlSecCryptoAppKeyLoadEx
make[6]: *** [Makefile:696: libarcxmlsec_la-XMLSecNode.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory
'/build/reproducible-path/nordugrid-arc-7.0.0/src/hed/libs/xmlsec'
make[5]: *** [Makefile:557: all-recursive] Error 1
make[5]: Leaving directory
'/build/reproducible-path/nordugrid-arc-7.0.0/src/hed/libs'
make[4]: *** [Makefile:598: all-recursive] Error 1
make[4]: Leaving directory
'/build/reproducible-path/nordugrid-arc-7.0.0/src/hed'
make[3]: *** [Makefile:544: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/nordugrid-arc-7.0.0/src'
make[2]: *** [Makefile:613: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/nordugrid-arc-7.0.0'
make[1]: *** [Makefile:535: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/nordugrid-arc-7.0.0'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Regards,
Rene
[1] git diff debian/1.2.39-5 debian/1.3.7-1 | grep xmlSecCryptoAppKeyLoad
- key = xmlSecCryptoAppKeyLoad(files, format, pwd,
+ key = xmlSecCryptoAppKeyLoadEx(files, type, format, pwd,
xmlSecCryptoAppGetDefaultPwdCallback(), (void*)files);
- fprintf(stderr, "Error: xmlSecCryptoAppKeyLoad failed: file=%s\n",
+ fprintf(stderr, "Error: xmlSecCryptoAppKeyLoadEx failed: file=%s\n",
- key = xmlSecCryptoAppKeyLoad(engineAndKeyId, keyFormat, pwd,
+ key = xmlSecCryptoAppKeyLoadEx(engineAndKeyId, type, keyFormat, pwd,
- fprintf(stderr, "Error: xmlSecCryptoAppKeyLoad failed: file=%s\n",
+ fprintf(stderr, "Error: xmlSecCryptoAppKeyLoadEx failed:
engineAndKeyId=%s\n",
- key = xmlSecCryptoAppKeyLoad(filename, xmlSecKeyDataFormatPkcs12, pwd,
+ key = xmlSecCryptoAppKeyLoadEx(filename, xmlSecKeyDataTypePrivate,
xmlSecKeyDataFormatPkcs12, pwd,
- fprintf(stderr, "Error: xmlSecCryptoAppKeyLoad failed: filename=%s\n",
+ fprintf(stderr, "Error: xmlSecCryptoAppKeyLoadEx failed:
filename='%s'\n",
-<a class="link" href="xmlsec-app.html#xmlSecCryptoAppKeyLoad" title="xmlSecCryptoAppKeyLoad
()">xmlSecCryptoAppKeyLoad</a> <span class="c_punctuation">()</span>
+<a class="link" href="xmlsec-app.html#xmlSecCryptoAppKeyLoadEx" title="xmlSecCryptoAppKeyLoadEx
()">xmlSecCryptoAppKeyLoadEx</a> <span class="c_punctuation">()</span>
-<a name="xmlSecCryptoAppKeyLoad"></a><h3>xmlSecCryptoAppKeyLoad ()</h3>
+<a name="xmlSecCryptoAppKeyLoadEx"></a><h3>xmlSecCryptoAppKeyLoadEx ()</h3>
-xmlSecCryptoAppKeyLoad (<em class="parameter"><code>const <font><span
class="type">char</span></font> *filename</code></em>,
+xmlSecCryptoAppKeyLoadEx (<em class="parameter"><code>const <font><span
class="type">char</span></font> *filename</code></em>,
-<a name="xmlSecCryptoAppKeyLoad.parameters"></a><h4>Parameters</h4>
+<a name="xmlSecCryptoAppKeyLoadEx.parameters"></a><h4>Parameters</h4>
@@ -2053,6 +2896,11 @@ xmlSecCryptoAppKeyLoad (<em class="parameter"><code>const
<font><span class="typ
@@ -2076,7 +2924,7 @@ xmlSecCryptoAppKeyLoad (<em class="parameter"><code>const
<font><span class="typ
-<a name="xmlSecCryptoAppKeyLoad.returns"></a><h4>Returns</h4>
+<a name="xmlSecCryptoAppKeyLoadEx.returns"></a><h4>Returns</h4>
-For uniformity, call xmlSecCryptoAppKeyLoad instead of this function. Pass
+For uniformity, call xmlSecCryptoAppKeyLoadEx instead of this function. Pass
- key = xmlSecCryptoAppKeyLoad((const char*)name,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ key = xmlSecCryptoAppKeyLoadEx((const char*)name,
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- key = xmlSecCryptoAppKeyLoad(key_file, xmlSecKeyDataFormatPem, NULL, NULL,
NULL);
+ key = xmlSecCryptoAppKeyLoadEx(key_file, xmlSecKeyDataTypePublic |
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- dsigCtx->signKey = xmlSecCryptoAppKeyLoad(key_file,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(key_file,
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- dsigCtx->signKey = xmlSecCryptoAppKeyLoad(key_file,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(key_file,
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- dsigCtx->signKey = xmlSecCryptoAppKeyLoad(key_file,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(key_file,
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+<li class="listitem"><p><font>xmlSecCryptoAppKeyLoadExMethod</font></p></li>
+<li class="listitem"><p><a class="link" href="xmlsec-app.html#xmlSecCryptoAppKeyLoadEx"
title="xmlSecCryptoAppKeyLoadEx ()">xmlSecCryptoAppKeyLoadEx</a></p></li>
<li
class="listitem"><p><font>xmlSecCryptoAppKeyLoadMemoryMethod</font></p></li>
<li class="listitem"><p><a class="link" href="xmlsec-app.html#xmlSecCryptoAppKeyLoadMemory"
title="xmlSecCryptoAppKeyLoadMemory ()">xmlSecCryptoAppKeyLoadMemory</a></p></li>
<li class="listitem"><p><font>xmlSecCryptoAppKeyLoadMethod</font></p></li>
-<li class="listitem"><p><a class="link" href="xmlsec-app.html#xmlSecCryptoAppKeyLoad"
title="xmlSecCryptoAppKeyLoad ()">xmlSecCryptoAppKeyLoad</a></p></li>
- dsigCtx->signKey = xmlSecCryptoAppKeyLoad(key_file,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(key_file,
xmlSecKeyDataTypePrivate | xmlSecKeyDataTypePublic, xmlSecKeyDataFormatPem, NULL,
NULL, NULL);
- key = xmlSecCryptoAppKeyLoad(files[i], xmlSecKeyDataFormatPem, NULL,
NULL, NULL);
+ key = xmlSecCryptoAppKeyLoadEx(files[i], xmlSecKeyDataTypePrivate |
xmlSecKeyDataTypePublic, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- key = xmlSecCryptoAppKeyLoad((const char*)name,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ key = xmlSecCryptoAppKeyLoadEx((const char*)name,
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- key = xmlSecCryptoAppKeyLoad(key_file, xmlSecKeyDataFormatPem, NULL, NULL,
NULL);
+ key = xmlSecCryptoAppKeyLoadEx(key_file, xmlSecKeyDataTypePublic |
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- dsigCtx->signKey = xmlSecCryptoAppKeyLoad(key_file,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(key_file,
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- dsigCtx->signKey = xmlSecCryptoAppKeyLoad(key_file,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(key_file,
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- dsigCtx->signKey = xmlSecCryptoAppKeyLoad(key_file,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(key_file,
xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
- dsigCtx->signKey = xmlSecCryptoAppKeyLoad(key_file,
xmlSecKeyDataFormatPem, NULL, NULL, NULL);
+ dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(key_file,
xmlSecKeyDataTypePrivate | xmlSecKeyDataTypePublic, xmlSecKeyDataFormatPem, NULL,
NULL, NULL);
- key = xmlSecCryptoAppKeyLoad(files[i], xmlSecKeyDataFormatPem, NULL,
NULL, NULL);
+ key = xmlSecCryptoAppKeyLoadEx(files[i], xmlSecKeyDataTypePrivate |
xmlSecKeyDataTypePublic, xmlSecKeyDataFormatPem, NULL, NULL, NULL);
-XMLSEC_EXPORT xmlSecKeyPtr xmlSecCryptoAppKeyLoad
(const char *filename,
+XMLSEC_EXPORT xmlSecKeyPtr xmlSecCryptoAppKeyLoadEx
(const char *filename,
-#define xmlSecCryptoAppKeyLoad xmlSecGCryptAppKeyLoad
+#define xmlSecCryptoAppKeyLoadEx xmlSecGCryptAppKeyLoadEx
#define xmlSecCryptoAppKeyLoadMemory xmlSecGCryptAppKeyLoadMemory
-#define xmlSecCryptoAppKeyLoad xmlSecGnuTLSAppKeyLoad
+#define xmlSecCryptoAppKeyLoadEx xmlSecGnuTLSAppKeyLoadEx
#define xmlSecCryptoAppKeyLoadMemory xmlSecGnuTLSAppKeyLoadMemory
-#define xmlSecCryptoAppKeyLoad xmlSecMSCngAppKeyLoad
+#define xmlSecCryptoAppKeyLoadEx xmlSecMSCngAppKeyLoadEx
#define xmlSecCryptoAppKeyLoadMemory xmlSecMSCngAppKeyLoadMemory
-#define xmlSecCryptoAppKeyLoad xmlSecMSCryptoAppKeyLoad
+#define xmlSecCryptoAppKeyLoadEx xmlSecMSCryptoAppKeyLoadEx
#define xmlSecCryptoAppKeyLoadMemory xmlSecMSCryptoAppKeyLoadMemory
-#define xmlSecCryptoAppKeyLoad xmlSecNssAppKeyLoad
+#define xmlSecCryptoAppKeyLoadEx xmlSecNssAppKeyLoadEx
#define xmlSecCryptoAppKeyLoadMemory xmlSecNssAppKeyLoadMemory
-#define xmlSecCryptoAppKeyLoad xmlSecOpenSSLAppKeyLoad
+#define xmlSecCryptoAppKeyLoadEx xmlSecOpenSSLAppKeyLoadEx
#define xmlSecCryptoAppKeyLoadMemory xmlSecOpenSSLAppKeyLoadMemory
* xmlSecCryptoAppKeyLoadMethod:
@@ -249,6 +296,26 @@ typedef xmlSecKeyPtr
(*xmlSecCryptoAppKeyLoadMethod) (const c
+ * xmlSecCryptoAppKeyLoadExMethod:
+typedef xmlSecKeyPtr (*xmlSecCryptoAppKeyLoadExMethod) (const
char *filename,
* xmlSecCryptoAppKeyLoadMemoryMethod:
@@ -278,7 +345,7 @@ typedef xmlSecKeyPtr
(*xmlSecCryptoAppKeyLoadMemoryMethod) (const x
- * For uniformity, call xmlSecCryptoAppKeyLoad instead of this function. Pass
+ * For uniformity, call xmlSecCryptoAppKeyLoadEx instead of this function. Pass
- * For uniformity, call xmlSecCryptoAppKeyLoad instead of this function. Pass
+ * For uniformity, call xmlSecCryptoAppKeyLoadEx instead of this function. Pass
xmlSecCryptoAppKeyLoadMethod cryptoAppKeyLoad;
+ xmlSecCryptoAppKeyLoadExMethod cryptoAppKeyLoadEx;
xmlSecCryptoAppKeyLoadMemoryMethod cryptoAppKeyLoadMemory;
-#define xmlSecCryptoAppKeyLoad xmlSecSkeletonAppKeyLoad
-#define xmlSecCryptoAppKeyLoadMemory xmlSecSkeletonAppKeyLoadMemory
- * xmlSecCryptoAppKeyLoad:
+ * xmlSecCryptoAppKeyLoadEx:
-xmlSecCryptoAppKeyLoad(const char *filename, xmlSecKeyDataFormat format,
+xmlSecCryptoAppKeyLoadEx(const char *filename, xmlSecKeyDataType type,
xmlSecKeyDataFormat format,
@@ -1461,7 +2056,7 @@ xmlSecCryptoAppKeyLoadMemory(const xmlSecByte* data,
xmlSecSize dataSize, xmlSec
- * For uniformity, call xmlSecCryptoAppKeyLoad instead of this function. Pass
+ * For uniformity, call xmlSecCryptoAppKeyLoadEx instead of this function. Pass
--- End Message ---