Source: xir
Version: 1.4.1-5
Severity: important
Tags: bookworm sid
User: pkg-openssl-de...@lists.alioth.debian.org
Usertags: ftbfs-3.0

Your package is failing to build using OpenSSL 3.0 with the
following error:

| [ 21%] Building CXX object src/xir/CMakeFiles/xir.dir/util/tool_function.cpp.o
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/xir && /usr/bin/c++ 
-DGFLAGS_IS_A_DLL=0 -DGOOGLE_GLOG_DLL_DECL="" 
-DGOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS="" -Dxir_EXPORTS 
-I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/xir -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wall 
-Werror -std=c++17 -Wall -Werror -ggdb -O0 -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=0 -fno-inline -fPIC -MD -MT 
src/xir/CMakeFiles/xir.dir/util/tool_function.cpp.o -MF 
CMakeFiles/xir.dir/util/tool_function.cpp.o.d -o 
CMakeFiles/xir.dir/util/tool_function.cpp.o -c 
/<<PKGBUILDDIR>>/src/xir/util/tool_function.cpp
| /<<PKGBUILDDIR>>/src/xir/util/tool_function.cpp: In function ‘const string 
xir::get_md5_of_file(const string&)’:
| /<<PKGBUILDDIR>>/src/xir/util/tool_function.cpp:46:11: error: ‘int 
MD5_Init(MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|    46 |   MD5_Init(&md5_context);
|       |   ~~~~~~~~^~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/xir/util/tool_function.cpp:18:
| /usr/include/openssl/md5.h:49:27: note: declared here
|    49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
|       |                           ^~~~~~~~
| /<<PKGBUILDDIR>>/src/xir/util/tool_function.cpp:48:15: error: ‘int 
MD5_Update(MD5_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|    48 |     MD5_Update(&md5_context, buffer, read_size);
|       |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/xir/util/tool_function.cpp:18:
| /usr/include/openssl/md5.h:50:27: note: declared here
|    50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, 
size_t len);
|       |                           ^~~~~~~~~~
| /<<PKGBUILDDIR>>/src/xir/util/tool_function.cpp:51:12: error: ‘int 
MD5_Final(unsigned char*, MD5_CTX*)’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|    51 |   MD5_Final(md5sum, &md5_context);
|       |   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/xir/util/tool_function.cpp:18:
| /usr/include/openssl/md5.h:51:27: note: declared here
|    51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
|       |                           ^~~~~~~~~
| cc1plus: all warnings being treated as errors
| make[3]: *** [src/xir/CMakeFiles/xir.dir/build.make:165: 
src/xir/CMakeFiles/xir.dir/util/tool_function.cpp.o] Error 1
 
For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian

Reply via email to