Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rnp for openSUSE:Factory checked in 
at 2026-04-17 21:03:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rnp (Old)
 and      /work/SRC/openSUSE:Factory/.rnp.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rnp"

Fri Apr 17 21:03:54 2026 rev:21 rq:1347330 version:0.18.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rnp/rnp.changes  2025-11-24 14:13:45.572805916 
+0100
+++ /work/SRC/openSUSE:Factory/.rnp.new.11940/rnp.changes       2026-04-17 
21:04:26.418282803 +0200
@@ -1,0 +2,5 @@
+Thu Apr 16 17:22:55 UTC 2026 - Andreas Stieger <[email protected]>
+
+- fix build on Tumbleweed, add rnp-v0.18.1-botan-1-1.patch
+
+-------------------------------------------------------------------

New:
----
  rnp-v0.18.1-botan-1-1.patch

----------(New B)----------
  New:
- fix build on Tumbleweed, add rnp-v0.18.1-botan-1-1.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rnp.spec ++++++
--- /var/tmp/diff_new_pack.XckE2e/_old  2026-04-17 21:04:26.986306056 +0200
+++ /var/tmp/diff_new_pack.XckE2e/_new  2026-04-17 21:04:26.990306219 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rnp
 #
-# Copyright (c) 2025 Andreas Stieger <[email protected]>
+# Copyright (c) 2026 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 Source2:        
https://github.com/rnpgp/rnp/releases/download/v%{version}/%{name}-v%{version}.tar.gz.asc
 Source3:        
https://www.rnpgp.org/openpgp_keys/31AF5A24D861EFCB7CB79A1924900CE0AEFB5417-50DA59D5B9134FA2DB1EB20CFB829AB5D0FE017F.asc#/%{name}.keyring
 Patch0:         rnp-v0.18.0-skip-test_encryption_x25519.patch
+Patch1:         rnp-v0.18.1-botan-1-1.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake >= 3.18
 BuildRequires:  gpg2 >= 2.2

++++++ rnp-v0.18.1-botan-1-1.patch ++++++
https://github.com/rnpgp/rnp/pull/2381
https://github.com/rnpgp/rnp/pull/2382

[   36s] 
/home/abuild/rpmbuild/BUILD/rnp-0.18.1-build/rnp-v0.18.1/src/lib/crypto/mem.cpp:
 In function ‘size_t rnp::hex_decode(const char*, uint8_t*, size_t)’:
[   36s] 
/home/abuild/rpmbuild/BUILD/rnp-0.18.1-build/rnp-v0.18.1/src/lib/crypto/mem.cpp:55:21:
 error: ‘strlen’ was not declared in this scope
[   36s]    55 |     size_t hexlen = strlen(hex);
[   36s]       |                     ^~~~~~
[   36s] 
/home/abuild/rpmbuild/BUILD/rnp-0.18.1-build/rnp-v0.18.1/src/lib/crypto/mem.cpp:30:1:
 note: ‘strlen’ is defined in header ‘<cstring>’; this is probably fixable by 
adding ‘#include <cstring>’
[   36s]    29 | #include "logging.h"
[   36s]   +++ |+#include <cstring>
[   36s]    30 | #include <botan/ffi.h>
[   36s] make[2]: *** [src/lib/CMakeFiles/librnp-obj.dir/build.make:516: 
src/lib/CMakeFiles/librnp-obj.dir/crypto/mem.cpp.o] Error 1

Index: rnp-v0.18.1/src/lib/crypto/mem.cpp
===================================================================
--- rnp-v0.18.1.orig/src/lib/crypto/mem.cpp
+++ rnp-v0.18.1/src/lib/crypto/mem.cpp
@@ -25,6 +25,7 @@
  */
 
 #include <cstdio>
+#include <cstring>
 #include "mem.h"
 #include "logging.h"
 #include <botan/ffi.h>
@@ -65,4 +66,4 @@ hex_decode(const char *hex, uint8_t *buf
     }
     return buf_len;
 }
-} // namespace rnp
\ No newline at end of file
+} // namespace rnp

Reply via email to