boinc
boinc copied to clipboard
Building BOINC server 1.4.5 fails on Ubuntu 24.04
Describe the bug
Hi devs!
I got trouble building the BOINC server on Ubuntu 24.04. I started by creating a fresh Ubuntu 24.04 container on LXC and ran the below script to get BOINC server compiled. However, this failed because of target libboinc_fcgi_la-coproc.lo. What did I do wrong ?
Moise
Steps to reproduce
PACKAGE_NAME="boinc-server"
VERSION="1.4.5"
VERSION_MINOR=$(echo $VERSION | cut -d '.' -f 1,2)
BUILD="1"
ARCH="amd64"
BUILD_REQUIRE="
wget
autoconf
g++
libtool
make
pkg-config
libmariadb-dev
libcurl4-openssl-dev
libfcgi-dev
python-is-python3
"
URL="https://github.com/BOINC/boinc/archive/refs/tags/server_release/${VERSION_MINOR}/${VERSION}.tar.gz"
BHOME=$(pwd)
# Install dependencies
apt update && apt upgrade -y
apt install $BUILD_REQUIRE -y
# Download step
wget -O download.tar.gz $URL
tar -xf download.tar.gz
# Build step
mkdir ./packaging
cd ./boinc-server_release-${VERSION_MINOR}-${VERSION}/
./_autosetup
export MYSQL_CONFIG=mariadb_config
./configure --disable-client --disable-manager --prefix=/$BHOME/packaging
make
Expected behavior
No compilation error
Screenshots
No response
System information
OS: Ubuntu 24.04 GCC version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 BOINC server version 1.4.5
The same error also append on Debian 12 and Raspbian with GCC version 12.2.0
Additional context
The complete output from the terminal (for the build step):
export MYSQL_CONFIG=mariadb_config
./configure --disable-client --disable-manager --prefix=/$BHOME/packaging
Bootstrapping configure script and makefiles:
Checking version of 'make' >= 379... succeeded. (403)
Checking version of 'm4' >= 104... succeeded. (104)
Checking version of 'pkg-config' >= 15... succeeded. (108)
Checking version of 'autoreconf' >= 258... succeeded. (271)
Checking version of 'automake' >= 108... succeeded. (116)
Checking version of 'libtoolize' >= 105... succeeded. (204)
autoreconf -i
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:29: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:29: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
./lib/autoconf/programs.m4:350: AC_PROG_AWK is expanded from...
aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from...
configure.ac:29: the top level
configure.ac:54: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:54: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
./lib/autoconf/c.m4:452: AC_PROG_CC is expanded from...
configure.ac:54: the top level
configure.ac:55: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:55: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
./lib/autoconf/c.m4:701: AC_PROG_CXX is expanded from...
configure.ac:55: the top level
configure.ac:59: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:59: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
./lib/autoconf/c.m4:1018: AC_PROG_OBJCXX is expanded from...
configure.ac:59: the top level
configure.ac:391: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:391: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/ax_winsock.m4:1: AX_WINSOCK is expanded from...
m4/boinc_check_cygwin.m4:1: BOINC_CHECK_CYGWIN is expanded from...
configure.ac:391: the top level
configure.ac:408: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.ac:408: You should run autoupdate.
m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:408: the top level
configure.ac:408: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:408: put the 'dlopen' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:408: the top level
configure.ac:409: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:409: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:409: the top level
configure.ac:409: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:409: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:409: the top level
configure.ac:410: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:410: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:410: the top level
configure.ac:410: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:410: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
m4/libtool.m4:3690: LT_PATH_NM is expanded from...
m4/libtool.m4:153: _LT_SETUP is expanded from...
m4/libtool.m4:62: LT_INIT is expanded from...
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:410: the top level
configure.ac:410: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:410: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
./lib/autoconf/programs.m4:246: AC_CHECK_TOOLS is expanded from...
m4/libtool.m4:1490: _LT_PROG_AR is expanded from...
m4/libtool.m4:1540: _LT_CMD_OLD_ARCHIVE is expanded from...
m4/libtool.m4:153: _LT_SETUP is expanded from...
m4/libtool.m4:62: LT_INIT is expanded from...
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:410: the top level
configure.ac:416: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:416: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/sah_select_bitness.m4:97: SAH_OPTION_BITNESS is expanded from...
configure.ac:416: the top level
configure.ac:419: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:419: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/boinc_platform.m4:1: BOINC_PLATFORM is expanded from...
configure.ac:419: the top level
configure.ac:489: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:489: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/check_ssl.m4:1: CHECK_SSL is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
configure.ac:489: the top level
configure.ac:489: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:489: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/boinc_check_lib_with.m4:1: BOINC_CHECK_LIB_WITH is expanded from...
m4/check_ssl.m4:1: CHECK_SSL is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
configure.ac:489: the top level
configure.ac:495: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:495: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
configure.ac:495: the top level
configure.ac:495: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:495: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
./lib/autoconf/programs.m4:350: AC_PROG_AWK is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
configure.ac:495: the top level
configure.ac:495: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:495: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/boinc_check_lib_with.m4:1: BOINC_CHECK_LIB_WITH is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
configure.ac:495: the top level
configure.ac:570: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:570: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
m4/ax_pthread.m4:126: AX_PTHREAD is expanded from...
configure.ac:570: the top level
configure.ac:606: warning: The macro `ACX_PTHREAD' is obsolete.
configure.ac:606: You should run autoupdate.
m4/ax_pthread.m4:125: ACX_PTHREAD is expanded from...
m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
configure.ac:606: the top level
configure.ac:606: warning: The macro `AC_CHECK_PROGS' is obsolete.
configure.ac:606: You should run autoupdate.
m4/ax_pthread.m4:111: AC_CHECK_PROGS is expanded from...
lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
lib/m4sugar/m4sh.m4:594: AS_CASE is expanded from...
m4/ax_pthread.m4:126: AX_PTHREAD is expanded from...
m4/ax_pthread.m4:125: ACX_PTHREAD is expanded from...
m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
configure.ac:606: the top level
configure.ac:606: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:606: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
m4/ax_check_gl.m4:4: AX_CHECK_GL is expanded from...
configure.ac:606: the top level
configure.ac:713: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:713: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:713: the top level
configure.ac:715: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:715: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:715: the top level
configure.ac:716: warning: The macro `AC_TYPE_SIGNAL' is obsolete.
configure.ac:716: You should run autoupdate.
./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
configure.ac:716: the top level
configure.ac:985: warning: AC_CHECK_HEADERS($sah_stdcxx_headers): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
m4/sah_header_stdcxx.m4:23: SAH_HEADER_STDCXX is expanded from...
configure.ac:985: the top level
configure.ac:54: installing './compile'
configure.ac:20: installing './config.guess'
configure.ac:20: installing './config.sub'
configure.ac:29: installing './install-sh'
configure.ac:29: installing './missing'
api/Makefile.am:22: warning: source file '$(top_srcdir)/samples/image_libs/bmplib.cpp' is in a subdirectory,
api/Makefile.am:22: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
api/Makefile.am:22: warning: source file '$(top_srcdir)/samples/image_libs/tgalib.cpp' is in a subdirectory,
api/Makefile.am:22: but option 'subdir-objects' is disabled
api/Makefile.am: installing './depcomp'
client/Makefile.am:4: warning: ':='-style assignments are not portable
client/Makefile.am:4: warning: filter-out -mfpu=vfpv3-d16,$(CXXFLAGS: non-POSIX variable name
client/Makefile.am:4: (probably a GNU make extension)
client/Makefile.am:124: warning: filter-out -mfpu=vfpv3-d16,$(boinc_client_CXXFLAGS: non-POSIX variable name
client/Makefile.am:124: (probably a GNU make extension)
client/Makefile.am:4: warning: 'CXXFLAGS' is a user variable, you should not override it;
client/Makefile.am:4: use 'AM_CXXFLAGS' instead
clientgui/Makefile.am:26: warning: source file 'common/wxPieCtrl.cpp' is in a subdirectory,
clientgui/Makefile.am:26: but option 'subdir-objects' is disabled
clientgui/Makefile.am:26: warning: source file 'gtk/taskbarex.cpp' is in a subdirectory,
clientgui/Makefile.am:26: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/mac_backtrace.cpp' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/mac_spawn.cpp' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/QBacktrace.c' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/QCrashReport.c' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/QMachOImage.c' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/QMachOImageList.c' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/QSymbols.c' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/QTaskMemory.c' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
lib/Makefile.am:128: warning: source file 'mac/mac_branding.cpp' is in a subdirectory,
lib/Makefile.am:128: but option 'subdir-objects' is disabled
sched/Makefile.am:11: warning: source file '../db/boinc_db.cpp' is in a subdirectory,
sched/Makefile.am:11: but option 'subdir-objects' is disabled
sched/Makefile.am:11: warning: source file '../db/db_base.cpp' is in a subdirectory,
sched/Makefile.am:11: but option 'subdir-objects' is disabled
sched/Makefile.am:11: warning: source file '../tools/process_result_template.cpp' is in a subdirectory,
sched/Makefile.am:11: but option 'subdir-objects' is disabled
sched/Makefile.am:11: warning: source file '../tools/process_input_template.cpp' is in a subdirectory,
sched/Makefile.am:11: but option 'subdir-objects' is disabled
sched/Makefile.am:11: warning: source file '../tools/backend_lib.cpp' is in a subdirectory,
sched/Makefile.am:11: but option 'subdir-objects' is disabled
sched/Makefile.am:157: warning: source file '../vda/sched_vda.cpp' is in a subdirectory,
sched/Makefile.am:157: but option 'subdir-objects' is disabled
sched/Makefile.am:198: warning: source file '../lib/synch.cpp' is in a subdirectory,
sched/Makefile.am:198: but option 'subdir-objects' is disabled
tools/Makefile.am:66: warning: source file '../lib/remote_submit.cpp' is in a subdirectory,
tools/Makefile.am:66: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/api.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/apihelp.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/crc32.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/explode.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/extract.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/fileio.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/globals.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/inflate.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/list.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/match.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/process.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/ttyio.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/unreduce.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/unshrink.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/unzip.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './unzip/zipinfo.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './zip/deflate.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './zip/trees.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './zip/util.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './zip/z_fileio.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './zip/z_globals.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './zip/zip.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './zip/zipfile.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:21: warning: source file './zip/zipup.c' is in a subdirectory,
zip/Makefile.am:21: but option 'subdir-objects' is disabled
zip/Makefile.am:49: warning: source file './unzip/win32/nt.c' is in a subdirectory,
zip/Makefile.am:49: but option 'subdir-objects' is disabled
zip/Makefile.am:49: warning: source file './unzip/win32/win32.c' is in a subdirectory,
zip/Makefile.am:49: but option 'subdir-objects' is disabled
zip/Makefile.am:49: warning: source file './zip/win32/win32_boinc.c' is in a subdirectory,
zip/Makefile.am:49: but option 'subdir-objects' is disabled
zip/Makefile.am:49: warning: source file './zip/win32/win32i64.c' is in a subdirectory,
zip/Makefile.am:49: but option 'subdir-objects' is disabled
zip/Makefile.am:49: warning: source file './zip/win32/z_nt.c' is in a subdirectory,
zip/Makefile.am:49: but option 'subdir-objects' is disabled
zip/Makefile.am:49: warning: source file './zip/win32/win32zip.c' is in a subdirectory,
zip/Makefile.am:49: but option 'subdir-objects' is disabled
zip/Makefile.am:57: warning: source file './unzip/unix/unix.c' is in a subdirectory,
zip/Makefile.am:57: but option 'subdir-objects' is disabled
zip/Makefile.am:57: warning: source file './zip/unix/z_unix.c' is in a subdirectory,
zip/Makefile.am:57: but option 'subdir-objects' is disabled
Done, now run ./configure
./configure -C to enable caching
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... /usr/bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... /usr/bin/g++
checking whether the compiler supports GNU C++... yes
checking whether /usr/bin/g++ accepts -g... yes
checking for /usr/bin/g++ option to enable C++11 features... none needed
checking dependency style of /usr/bin/g++... gcc3
checking for g++... /usr/bin/g++
checking whether the compiler supports GNU Objective C++... no
checking whether /usr/bin/g++ accepts -g... no
checking dependency style of /usr/bin/g++... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for ln... /usr/bin/ln
checking whether '/usr/bin/ln' works... yes
checking whether ln -s works... yes
checking whether 'ln -s' really works or whether I'm deluding myself... it works
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if C compiler supports -Wall... yes
checking if C++ compiler supports -Wall... yes
--- Configuring BOINC 7.21.0 (Release) ---
--- Build Components: ( libraries server) ---
checking for docbook2x-man... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking whether we are compiling for cygwin... no
checking for winsock2.h... (cached) no
checking for winsock.h... (cached) no
checking for windows.h... no
checking for sys/socket.h... yes
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... /usr/bin/ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /usr/bin/g++ -E
checking for ld used by /usr/bin/g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for /usr/bin/g++ option to produce PIC... -fPIC -DPIC
checking if /usr/bin/g++ PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/g++ static flag -static works... yes
checking if /usr/bin/g++ supports -c -o file.o... yes
checking if /usr/bin/g++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking default bitness of C compiler... 64
checking default bitness of C++ compiler... 64
checking boinc platform... x86_64-pc-linux-gnu
checking alternate boinc platform... i686-pc-linux-gnu
checking library extension... a
checking shared object extension... so
checking mysql libraries... -L/usr/lib/x86_64-linux-gnu/ -lmariadb
checking mysql includes... -I/usr/include/mariadb -I/usr/include/mariadb/mysql
checking if CFLAG '-include fcgi_stdio.h' works... yes
checking for FCGI_printf in -lfcgi... yes
checking for pkg-config... /usr/bin/pkg-config
checking for openssl... yes
OpenSSL found in /usr
checking for gawk... (cached) /usr/bin/gawk
checking for ... no
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 8.5.0
checking for libcurl >= version 7.17.1... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for shmget in dynamic library cygipc... no
checking for aio_fork in dynamic library aio... no
checking for dlopen in dynamic library dl... -ldl
checking for gethostbyname in static library nsl... no
checking for gethostbyname in dynamic library nsl... no
checking for static library freetype... no
checking for dynamic library freetype... no
checking for bind in static library socket... no
checking for bind in dynamic library socket... no
checking for gzopen in static library z... -lz
checking for md5_finish in dynamic library cups... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for X... no
configure: checking for usable OpenCL opencl.h header
checking for OpenCL/opencl.h... no
checking for CL/opencl.h... no
configure: no usable OpenCL installation found
configure: WARNING: OpenCL is missing, OpenClApp example is disabled
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... (cached) yes
checking whether we are using the Microsoft C compiler... no
checking for windows.h... (cached) no
checking for OpenGL library... no
checking for OpenGL Utility library... no
checking for fopen in -lXmu... no
checking for fopen in -lXi... no
checking for GLUT library... no
configure: WARNING:
================================================================================
WARNING: Development libraries and headers ("-dev") of {openGL, GLU, glut} needed!
The GL, GLU and glut libraries are required in order to build the graphical parts
of the BOINC application API library.
==> only building non-graphical parts of the BOINC API Library for now.
HINT: on MacOS X/Darwin you might consider running configure with the option
'./configure --with-apple-opengl-framework'
in order to use the Mac-native openGL framework
================================================================================
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... (cached) /usr/bin/grep -E
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking for sys/types.h... (cached) yes
checking for sys/un.h... yes
checking for arpa/inet.h... yes
checking for dirent.h... yes
checking for grp.h... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for memory.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for netinet/ether.h... yes
checking for net/if.h... yes
checking for net/if_arp.h... yes
checking for signal.h... yes
checking for strings.h... (cached) yes
checking for sys/auxv.h... yes
checking for sys/file.h... yes
checking for sys/fcntl.h... yes
checking for sys/ipc.h... yes
checking for sys/ioctl.h... yes
checking for sys/msg.h... yes
checking for sys/param.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/sem.h... yes
checking for sys/sockio.h... no
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/statvfs.h... yes
checking for sys/statfs.h... yes
checking for sys/systeminfo.h... no
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/utsname.h... yes
checking for sys/vmmeter.h... no
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for utmp.h... yes
checking for errno.h... yes
checking for procfs.h... no
checking for ieeefp.h... no
checking for setjmp.h... yes
checking for float.h... yes
checking for sal.h... no
checking for execinfo.h... yes
checking for xlocale.h... no
checking for sys/shm.h... yes
checking for intrin.h... no
checking for x86intrin.h... yes
checking for pmmintrin.h... yes
checking for xmmintrin.h... yes
checking for emmintrin.h... yes
checking for immintrin.h... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether _xgetbv is declared... yes
checking whether xgetbv is declared... no
checking whether __xgetbv is declared... no
checking whether cpuid is declared... no
checking whether _cpuid is declared... no
checking whether __cpuid is declared... no
checking if assembler supports xgetbv... yes
checking for nvapi.h... no
checking for socklen_t... yes
checking for net/if.h... (cached) yes
checking for net/if_arp.h... (cached) yes
checking for sys/mount.h... yes
checking for sys/swap.h... yes
checking for sys/sensors.h... no
checking for sys/sysctl.h... no
checking for resolv.h... yes
checking for netinet/if_ether.h... yes
checking for struct lifconf... no
checking for struct lifreq... no
checking for struct ifconf... yes
checking for struct ifreq... yes
checking for struct ether_addr... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether largefile support breaks C++... no
checking standard C++ headers... yes
checking for C++ header <algorithm>... (cached) yes
checking for C++ header <bitset>... (cached) yes
checking for C++ header <cassert>... (cached) yes
checking for C++ header <cctype>... (cached) yes
checking for C++ header <cerrno>... (cached) yes
checking for C++ header <cfloat>... (cached) yes
checking for C++ header <climits>... (cached) yes
checking for C++ header <clocale>... (cached) yes
checking for C++ header <cmath>... (cached) yes
checking for C++ header <complex>... (cached) yes
checking for C++ header <csetjmp>... (cached) yes
checking for C++ header <csignal>... (cached) yes
checking for C++ header <cstdarg>... (cached) yes
checking for C++ header <cstddef>... (cached) yes
checking for C++ header <cstdio>... (cached) yes
checking for C++ header <cstdlib>... (cached) yes
checking for C++ header <cstring>... (cached) yes
checking for C++ header <ctime>... (cached) yes
checking for C++ header <deque>... (cached) yes
checking for C++ header <fstream>... (cached) yes
checking for C++ header <functional>... (cached) yes
checking for C++ header <iomanip>... (cached) yes
checking for C++ header <ios>... (cached) yes
checking for C++ header <iosfwd>... (cached) yes
checking for C++ header <iostream>... (cached) yes
checking for C++ header <istream>... (cached) yes
checking for C++ header <iterator>... (cached) yes
checking for C++ header <limits>... (cached) yes
checking for C++ header <list>... (cached) yes
checking for C++ header <locale>... (cached) yes
checking for C++ header <map>... (cached) yes
checking for C++ header <memory>... (cached) yes
checking for C++ header <numeric>... (cached) yes
checking for C++ header <ostream>... (cached) yes
checking for C++ header <queue>... (cached) yes
checking for C++ header <set>... (cached) yes
checking for C++ header <sstream>... (cached) yes
checking for C++ header <stack>... (cached) yes
checking for C++ header <stdexcept>... (cached) yes
checking for C++ header <streambuf>... (cached) yes
checking for C++ header <string>... (cached) yes
checking for C++ header <utility>... (cached) yes
checking for C++ header <valarray>... (cached) yes
checking for C++ header <vector>... (cached) yes
checking for C++ namespaces... yes
checking for min(0,0) in namespace std... yes
checking for max(0,0) in namespace std... yes
checking for transform((char *)0,(char *) 0,(char *)0,(int(*)(int))malloc) in namespace std... yes
checking for locale("") in namespace std... yes
checking whether gcc needs -traditional... no
checking for vprintf... yes
checking for ether_ntoa... yes
checking for setpriority... yes
checking for sched_setscheduler... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for strcasestr... yes
checking for strcasecmp... yes
checking for sigaction... yes
checking for getutent... yes
checking for setutent... yes
checking for getisax... no
checking for strdup... yes
checking for _strdup... no
checking for strdupa... no
checking for _strdupa... no
checking for daemon... yes
checking for stat64... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for res_init... no
checking for strtoull... yes
checking for localtime... yes
checking for localtime_r... yes
checking for gmtime... yes
checking for gmtime_r... yes
checking for uselocale... yes
checking for _configthreadlocale... no
checking whether _fpreset is declared... no
checking whether fpreset is declared... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for sin in dynamic library m... -lm
checking for pthread_join in dynamic library pthread... -lpthread
checking for dynamic library nvapi... no
checking for res_init in -lresolv... no
checking for res_query in static library resolv... -lresolv
checking for whoami... /usr/bin/whoami
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating version.h
config.status: creating api/Makefile
config.status: creating api/libboinc_api.pc
config.status: creating api/libboinc_graphics2.pc
config.status: creating api/libboinc_opencl.pc
config.status: creating apps/Makefile
config.status: creating clientgui/Makefile
config.status: creating clientgui/res/Makefile
config.status: creating clientgui/skins/Makefile
config.status: creating clientscr/Makefile
config.status: creating client/Makefile
config.status: creating client/win/boinc_path_config.py
config.status: creating client/scripts/Makefile
config.status: creating client/scripts/boinc-client
config.status: creating client/scripts/boinc-client.service
config.status: creating db/Makefile
config.status: creating doc/Makefile
config.status: creating doc/manpages/Makefile
config.status: creating html/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libboinc.pc
config.status: creating lib/libboinc_crypt.pc
config.status: creating lib/libboinc_fcgi.pc
config.status: creating locale/Makefile
config.status: creating Makefile
config.status: creating py/Boinc/version.py
config.status: creating py/Makefile
config.status: creating py/boinc_path_config.py
config.status: creating py/setup.py
config.status: creating sched/boinc_path_config.py
config.status: creating sched/Makefile
config.status: creating packages/generic/sea/Makefile
config.status: creating packages/solaris/CSW/Makefile
config.status: creating packages/solaris/CSW/boincclient/Makefile
config.status: creating packages/solaris/CSW/boincclient/pkginfo
config.status: creating packages/solaris/CSW/boincclient/prototype
config.status: creating packages/solaris/CSW/boincdevel/Makefile
config.status: creating packages/solaris/CSW/boincdevel/pkginfo
config.status: creating packages/solaris/CSW/boincdevel/prototype
config.status: creating packages/solaris/CSW/boinclibs/Makefile
config.status: creating packages/solaris/CSW/boinclibs/pkginfo
config.status: creating packages/solaris/CSW/boinclibs/prototype
config.status: creating packages/solaris/CSW/boincmanager/Makefile
config.status: creating packages/solaris/CSW/boincmanager/pkginfo
config.status: creating packages/solaris/CSW/boincmanager/prototype
config.status: creating samples/Makefile
config.status: creating tools/boinc_path_config.py
config.status: creating tools/Makefile
config.status: creating vda/Makefile
config.status: creating zip/Makefile
config.status: creating zip/libboinc_zip.pc
config.status: creating zip/zip/Makefile
config.status: creating zip/unzip/Makefile
config.status: creating m4/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
--- Configuring BOINC 7.21.0 (Release) ---
--- Build Components: ( libraries server) ---
root@ub-boinc:~/boinc-server_release-1.4-1.4.5# make
cd . && sh generate_svn_version.sh
make all-recursive
make[1]: Entering directory '/root/boinc-server_release-1.4-1.4.5'
Making all in m4
make[2]: Entering directory '/root/boinc-server_release-1.4-1.4.5/m4'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/boinc-server_release-1.4-1.4.5/m4'
Making all in api
make[2]: Entering directory '/root/boinc-server_release-1.4-1.4.5/api'
CXX boinc_api.lo
CXX graphics2_util.lo
CXX reduce_main.lo
CXXLD libboinc_api.la
CXX boinc_opencl.lo
CXXLD libboinc_opencl.la
rm -f libboinc_api.a
/usr/bin/ln .libs/libboinc_api.a .
rm -f libboinc_opencl.a
/usr/bin/ln .libs/libboinc_opencl.a .
make[2]: Leaving directory '/root/boinc-server_release-1.4-1.4.5/api'
Making all in lib
make[2]: Entering directory '/root/boinc-server_release-1.4-1.4.5/lib'
CXX crypt_prog-crypt_prog.o
crypt_prog.cpp: In function ‘int main(int, char**)’:
crypt_prog.cpp:129:27: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
129 | RSA *rsa_key = RSA_new();
| ~~~~~~~^~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/pem.h:23,
from crypt_prog.cpp:50:
/usr/include/openssl/rsa.h:206:28: note: declared here
206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^~~~~~~
crypt_prog.cpp:159:26: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
159 | RSA *rp = RSA_new();
| ~~~~~~~^~
/usr/include/openssl/rsa.h:206:28: note: declared here
206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^~~~~~~
crypt_prog.cpp:160:37: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
160 | retval = RSA_generate_key_ex(rp, n, e, NULL);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:265:27: note: declared here
265 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
| ^~~~~~~~~~~~~~~~~~~
crypt_prog.cpp:324:36: warning: ‘void ENGINE_load_builtin_engines()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
324 | ENGINE_load_builtin_engines();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from crypt_prog.cpp:52:
/usr/include/openssl/engine.h:358:28: note: declared here
358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
crypt_prog.cpp:338:31: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
338 | rsa_key_ = RSA_new();
| ~~~~~~~^~
/usr/include/openssl/rsa.h:206:28: note: declared here
206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^~~~~~~
crypt_prog.cpp:362:40: warning: ‘int PEM_write_RSAPrivateKey(FILE*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
362 | PEM_write_RSAPrivateKey(fpriv, rsa_key, NULL, NULL, 0, 0, NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:447:1: note: declared here
447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
| ^~~~~~~~~~~~~~~~~~~~~~
crypt_prog.cpp:384:41: warning: ‘int PEM_write_RSA_PUBKEY(FILE*, const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
384 | i = PEM_write_RSA_PUBKEY(fpub, rsa_key_);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:449:1: note: declared here
449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
| ^~~~~~~~~~~~~~~~~~~
crypt_prog.cpp:393:31: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
393 | rsa_key_ = RSA_new();
| ~~~~~~~^~
/usr/include/openssl/rsa.h:206:28: note: declared here
206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^~~~~~~
crypt_prog.cpp:400:50: warning: ‘RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
400 | rsa_key_ = PEM_read_RSAPrivateKey(fpriv, NULL, NULL, NULL);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:447:1: note: declared here
447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
| ^~~~~~~~~~~~~~~~~~~~~~
crypt_prog.cpp:415:47: warning: ‘RSA* PEM_read_RSA_PUBKEY(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
415 | rsa_key_ = PEM_read_RSA_PUBKEY(fpub, NULL, NULL, NULL);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:449:1: note: declared here
449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
| ^~~~~~~~~~~~~~~~~~~
CXX libboinc_crypt_la-crypt.lo
crypt.cpp: In function 'int encrypt_private(R_RSA_PRIVATE_KEY&, DATA_BLOCK&, DATA_BLOCK&)':
crypt.cpp:263:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
263 | RSA* rp = RSA_new();
| ~~~~~~~^~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/ssl.h:31,
from crypt.cpp:31:
/usr/include/openssl/rsa.h:206:28: note: declared here
206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^~~~~~~
crypt.cpp:265:33: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
265 | retval = RSA_private_encrypt(n, in.data, out.data, rp, RSA_PKCS1_PADDING);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:290:5: note: declared here
290 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
| ^~~~~~~~~~~~~~~~~~~
crypt.cpp:267:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
267 | RSA_free(rp);
| ~~~~~~~~^~~~
/usr/include/openssl/rsa.h:298:28: note: declared here
298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
crypt.cpp:270:23: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
270 | out.len = RSA_size(rp);
| ~~~~~~~~^~~~
/usr/include/openssl/rsa.h:209:27: note: declared here
209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
| ^~~~~~~~
crypt.cpp:271:13: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
271 | RSA_free(rp);
| ~~~~~~~~^~~~
/usr/include/openssl/rsa.h:298:28: note: declared here
298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
crypt.cpp: In function 'int decrypt_public(R_RSA_PUBLIC_KEY&, DATA_BLOCK&, DATA_BLOCK&)':
crypt.cpp:277:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
277 | RSA* rp = RSA_new();
| ~~~~~~~^~
/usr/include/openssl/rsa.h:206:28: note: declared here
206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^~~~~~~
crypt.cpp:279:32: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
279 | retval = RSA_public_decrypt(in.len, in.data, out.data, rp, RSA_PKCS1_PADDING);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:293:5: note: declared here
293 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
| ^~~~~~~~~~~~~~~~~~
crypt.cpp:281:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
281 | RSA_free(rp);
| ~~~~~~~~^~~~
/usr/include/openssl/rsa.h:298:28: note: declared here
298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
crypt.cpp:284:23: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
284 | out.len = RSA_size(rp);
| ~~~~~~~~^~~~
/usr/include/openssl/rsa.h:209:27: note: declared here
209 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
| ^~~~~~~~
crypt.cpp:285:13: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
285 | RSA_free(rp);
| ~~~~~~~~^~~~
/usr/include/openssl/rsa.h:298:28: note: declared here
298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
crypt.cpp: In function 'void openssl_to_keys(RSA*, int, R_RSA_PRIVATE_KEY&, R_RSA_PUBLIC_KEY&)':
crypt.cpp:472:17: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
472 | RSA_get0_key(rp, &n, &e, &d);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:222:28: note: declared here
222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
| ^~~~~~~~~~~~
crypt.cpp:473:21: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
473 | RSA_get0_factors(rp, &p, &q);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/openssl/rsa.h:225:28: note: declared here
225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
| ^~~~~~~~~~~~~~~~
crypt.cpp:474:24: warning: 'void RSA_get0_crt_params(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
474 | RSA_get0_crt_params(rp, &dmp1, &dmq1, &iqmp);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:230:28: note: declared here
230 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
| ^~~~~~~~~~~~~~~~~~~
crypt.cpp: In function 'void private_to_openssl(R_RSA_PRIVATE_KEY&, RSA*)':
crypt.cpp:525:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
525 | RSA_set0_key(rp, n, e, d);
| ~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/openssl/rsa.h:212:27: note: declared here
212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
| ^~~~~~~~~~~~
crypt.cpp:526:21: warning: 'int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
526 | RSA_set0_factors(rp, p, q);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/openssl/rsa.h:213:27: note: declared here
213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
| ^~~~~~~~~~~~~~~~
crypt.cpp:527:24: warning: 'int RSA_set0_crt_params(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
527 | RSA_set0_crt_params(rp, dmp1, dmq1, iqmp);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:214:27: note: declared here
214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
| ^~~~~~~~~~~~~~~~~~~
crypt.cpp: In function 'void public_to_openssl(R_RSA_PUBLIC_KEY&, RSA*)':
crypt.cpp:546:17: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
546 | RSA_set0_key(rp, n, e, NULL);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:212:27: note: declared here
212 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
| ^~~~~~~~~~~~
crypt.cpp: In function 'int openssl_to_private(RSA*, R_RSA_PRIVATE_KEY*)':
crypt.cpp:576:17: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
576 | RSA_get0_key(from, &n, &e, &d);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:222:28: note: declared here
222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
| ^~~~~~~~~~~~
crypt.cpp:577:21: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
577 | RSA_get0_factors(from, &p, &q);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:225:28: note: declared here
225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
| ^~~~~~~~~~~~~~~~
crypt.cpp:578:24: warning: 'void RSA_get0_crt_params(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
578 | RSA_get0_crt_params(from, &dmp1, &dmq1, &iqmp);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:230:28: note: declared here
230 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
| ^~~~~~~~~~~~~~~~~~~
crypt.cpp: In function 'int check_validity_of_cert(const char*, const unsigned char*, unsigned char*, int, const char*)':
crypt.cpp:678:41: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
678 | rsa = (rsa_st*)EVP_PKEY_get0_RSA(pubKey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/openssl/x509.h:29:
/usr/include/openssl/evp.h:1348:22: note: declared here
1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~~~~~
crypt.cpp:679:29: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
679 | if (!RSA_blinding_on(rsa, c)) {
| ~~~~~~~~~~~~~~~^~~~~~~~
/usr/include/openssl/rsa.h:376:27: note: declared here
376 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
| ^~~~~~~~~~~~~~~
crypt.cpp:690:28: warning: 'int RSA_verify(int, const unsigned char*, unsigned int, const unsigned char*, unsigned int, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
690 | retval = RSA_verify(NID_md5, md5_md, MD5_DIGEST_LENGTH, sfileMsg, sfsize, rsa);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:356:27: note: declared here
356 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m,
| ^~~~~~~~~~
crypt.cpp:691:25: warning: 'void RSA_blinding_off(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
691 | RSA_blinding_off(rsa);
| ~~~~~~~~~~~~~~~~^~~~~
/usr/include/openssl/rsa.h:377:28: note: declared here
377 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa);
| ^~~~~~~~~~~~~~~~
crypt.cpp: In function 'char* check_validity(const char*, const char*, unsigned char*, char*)':
crypt.cpp:734:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
734 | MD5_Init(&md5CTX);
| ~~~~~~~~^~~~~~~~~
In file included from crypt.cpp:32:
/usr/include/openssl/md5.h:49:27: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
| ^~~~~~~~
crypt.cpp:736:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
736 | MD5_Update(&md5CTX, rbuf, rbytes);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/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);
| ^~~~~~~~~~
crypt.cpp:738:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
738 | MD5_Final(md5_md, &md5CTX);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
| ^~~~~~~~~
crypt.cpp: In function 'int cert_verify_file(CERT_SIGS*, const char*, const char*)':
crypt.cpp:785:13: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
785 | MD5_Init(&md5CTX);
| ~~~~~~~~^~~~~~~~~
/usr/include/openssl/md5.h:49:27: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
| ^~~~~~~~
crypt.cpp:787:19: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
787 | MD5_Update(&md5CTX, rbuf, rbytes);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/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);
| ^~~~~~~~~~
crypt.cpp:789:14: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
789 | MD5_Final(md5_md, &md5CTX);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/openssl/md5.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
| ^~~~~~~~~
CXXLD libboinc_crypt.la
rm -f libboinc_crypt.a
/usr/bin/ln .libs/libboinc_crypt.a .
cd ../lib; make libboinc.la
make[3]: Entering directory '/root/boinc-server_release-1.4-1.4.5/lib'
CXX libboinc_la-app_ipc.lo
CXX libboinc_la-base64.lo
CXX libboinc_la-cc_config.lo
CXX libboinc_la-cert_sig.lo
CXX libboinc_la-coproc.lo
CXX libboinc_la-diagnostics.lo
CXX libboinc_la-filesys.lo
CXX libboinc_la-gui_rpc_client.lo
CXX libboinc_la-gui_rpc_client_ops.lo
CXX libboinc_la-gui_rpc_client_print.lo
CXX libboinc_la-hostinfo.lo
CXX libboinc_la-keyword.lo
CXX libboinc_la-md5.lo
CXX libboinc_la-md5_file.lo
CXX libboinc_la-mem_usage.lo
CXX libboinc_la-mfile.lo
CXX libboinc_la-miofile.lo
CXX libboinc_la-msg_log.lo
CXX libboinc_la-network.lo
CXX libboinc_la-notice.lo
CXX libboinc_la-opencl_boinc.lo
CXX libboinc_la-parse.lo
CXX libboinc_la-prefs.lo
CXX libboinc_la-procinfo.lo
CXX libboinc_la-proc_control.lo
CXX libboinc_la-project_init.lo
CXX libboinc_la-proxy_info.lo
CXX libboinc_la-sched_msgs.lo
CXX libboinc_la-shmem.lo
CXX libboinc_la-str_util.lo
CXX libboinc_la-url.lo
CXX libboinc_la-util.lo
CXX libboinc_la-wslinfo.lo
CXX libboinc_la-procinfo_unix.lo
CXX libboinc_la-synch.lo
CXX libboinc_la-unix_util.lo
CXXLD libboinc.la
make[3]: Leaving directory '/root/boinc-server_release-1.4-1.4.5/lib'
CXXLD crypt_prog
CXX parse_test-parse_test.o
CXXLD parse_test
CXX libboinc_fcgi_la-boinc_fcgi.lo
CXX libboinc_fcgi_la-coproc.lo
In file included from /usr/include/features.h:502,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from /usr/include/fcgi_stdio.h:18,
from boinc_fcgi.h:19,
from coproc.cpp:22:
/usr/include/wchar.h:719:24: error: 'malloc' attribute argument 1 is ambiguous
719 | __attribute_malloc__ __attr_dealloc_fclose;
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wchar.h:719:24: note: use a cast to the expected type to disambiguate
make[2]: *** [Makefile:1809: libboinc_fcgi_la-coproc.lo] Error 1
make[2]: Leaving directory '/root/boinc-server_release-1.4-1.4.5/lib'
make[1]: *** [Makefile:687: all-recursive] Error 1
make[1]: Leaving directory '/root/boinc-server_release-1.4-1.4.5'
make: *** [Makefile:591: all] Error 2
Thank you for the report. I'll check this week and let you know.
Fwiw, I successfully compiled 1.4.5 on an Ubuntu 24.04 container.
FROM ubuntu:24.04 AS base
#===============================
# install packages
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
dh-autoreconf \
g++ \
git \
libcurl4-gnutls-dev \
default-libmysqlclient-dev \
libssl-dev \
m4 \
make \
default-mysql-client \
pkg-config \
python-is-python3 \
python3 \
python3-pip \
python3-dev
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
php8.3-cli \
php8.3-mysql \
php8.3-xml \
&& rm -rf /var/lib/apt/lists
# get source and compile server (copying from docker host ./boinc to container /usr/local/boinc
COPY --chown=1000 boinc /usr/local/boinc
RUN cd /usr/local/boinc && ./_autosetup && ./configure --disable-client --disable-manager && make
Boinc version:
images/makeproject/boinc$ git log
commit fa038faa4023351eaf5f69272bb585ffe8cfa2eb (HEAD, tag: server_release/1.4/1.4.5)
Let me know if I can be of any further help in this issue!
Can't reproduce this on the latest master. I suggest to you use it instead of the 1.4.5 release since there are a lot of additional fixes and features implemented that are not yet released.