Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scram.c.o] Error 1 #549

Open
Ars312 opened this issue Dec 8, 2023 · 2 comments
Open

scram.c.o] Error 1 #549

Ars312 opened this issue Dec 8, 2023 · 2 comments

Comments

@Ars312
Copy link

Ars312 commented Dec 8, 2023

No description provided.

@Ars312
Copy link
Author

Ars312 commented Dec 8, 2023

make local_build
rm -fr /root/odyssey_1.3/odyssey/tmp
rm -fr build
rm -fr build-asan
cmake -S /root/odyssey_1.3/odyssey -Bbuild -DCMAKE_BUILD_TYPE=Release -DCC_FLAGS="-Wextra -Wstrict-aliasing" -DUSE_SCRAM=YES
-- The C compiler identification is GNU 11.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PostgreSQL: /usr/pgsql-15/lib/libpgcommon.a
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.7")
-- Found PAM: /usr/lib64/libpam.so
-- Could NOT find LDAP (missing: LDAP_LIBRARY LDAP_INCLUDE_DIR)
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (PROM) does
not match the name of the calling package (Prom). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindProm.cmake:11 (find_package_handle_standard_args)
CMakeLists.txt:127 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find PROM (missing: PROM_LIBRARY PROM_INCLUDE_DIR)
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (PROMHTTP)
does not match the name of the calling package (Prom). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindProm.cmake:20 (find_package_handle_standard_args)
CMakeLists.txt:127 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find PROMHTTP (missing: PROMHTTP_LIBRARY PROMHTTP_INCLUDE_DIR)
-- Use shipped libmachinarium: /root/odyssey_1.3/odyssey/third_party/machinarium
-- Use shipped libkiwi: /root/odyssey_1.3/odyssey/third_party/kiwi

-- Odyssey (version: 2033-136dcca-release)

-- using compiler: /usr/bin/cc version
cc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4.3.0.1)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- c lang standart: gnu11

-- CMAKE_BUILD_TYPE: Release
-- BUILD_DEBIAN: OFF
-- POSTGRESQL_INCLUDE_DIR: /usr/pgsql-15/include/server
-- POSTGRESQL_LIBRARY: /usr/pgsql-15/lib/libpgcommon.a
-- POSTGRESQL_LIBPGPORT: /usr/pgsql-15/lib/libpgport.a
-- PG_VERSION_NUM: PostgreSQL 15.3
-- PQ_LIBRARY: /usr/pgsql-15/lib/libpq.a
-- USE_BORINGSSL: OFF
-- BORINGSSL_ROOT_DIR:
-- BORINGSSL_INCLUDE_DIR:
-- OPENSSL_VERSION: 3.0.7
-- OPENSSL_ROOT_DIR:
-- OPENSSL_INCLUDE_DIR: /usr/include
-- OPENSSL_LIBRARIES: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
-- PAM_LIBRARY: /usr/lib64/libpam.so
-- PAM_INCLUDE_DIR: /usr/include/security
-- USE_SCRAM: YES
-- BUILD_COMPRESSION: OFF
-- LDAP_SUPPORT: FALSE
-- Configuring done
-- Generating done
-- Build files have been written to: /root/odyssey_1.3/odyssey/build
make -Cbuild -j8
make[1]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[2]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
[ 0%] Generating third_party/kiwi/kiwi/libkiwi.a
[ 1%] Generating third_party/machinarium/sources/libmachinarium.a
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- The C compiler identification is GNU 11.3.1
-- The C compiler identification is GNU 11.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done

-- Kiwi: PostgreSQL protocol interaction library.

-- CMAKE_BUILD_TYPE: Release
-- MACHINARIUM_INCLUDE_DIRS: /root/odyssey_1.3/odyssey/third_party/machinarium/sources
-- MACHINARIUM_LIBRARIES: /root/odyssey_1.3/odyssey/build/third_party/machinarium/sources/libmachinarium.a

-- Configuring done
-- Generating done
-- Build files have been written to: /root/odyssey_1.3/odyssey/build/third_party/kiwi
gmake[4]: Entering directory '/root/odyssey_1.3/odyssey/build'
gmake[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
gmake[5]: Entering directory '/root/odyssey_1.3/odyssey/build/third_party/kiwi'
gmake[6]: Entering directory '/root/odyssey_1.3/odyssey/build/third_party/kiwi'
gmake[6]: Leaving directory '/root/odyssey_1.3/odyssey/build/third_party/kiwi'
gmake[6]: Entering directory '/root/odyssey_1.3/odyssey/build/third_party/kiwi'
[ 33%] Building C object kiwi/CMakeFiles/kw_library_static.dir/md5.c.o
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE

-- Machinarium: Cooperative multitasking framework.

-- CMAKE_BUILD_TYPE: Release
-- BUILD_SHARED: OFF
-- BUILD_VALGRIND: ON
-- USE_BORINGSSL: OFF
-- BORINGSSL_ROOT_DIR:
-- BORINGSSL_INCLUDE_DIR:
-- OPENSSL_VERSION:
-- OPENSSL_ROOT_DIR:
-- OPENSSL_INCLUDE_DIR: /usr/include
-- OPENSSL_LIBRARIES: /usr/lib64/libssl.so /usr/lib64/libcrypto.so
-- BUILD_COMPRESSION: OFF

-- Configuring done
-- Generating done
-- Build files have been written to: /root/odyssey_1.3/odyssey/build/third_party/machinarium
gmake[4]: Entering directory '/root/odyssey_1.3/odyssey/build'
gmake[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
gmake[5]: Entering directory '/root/odyssey_1.3/odyssey/build/third_party/machinarium'
gmake[6]: Entering directory '/root/odyssey_1.3/odyssey/build/third_party/machinarium'
gmake[6]: Leaving directory '/root/odyssey_1.3/odyssey/build/third_party/machinarium'
gmake[6]: Entering directory '/root/odyssey_1.3/odyssey/build/third_party/machinarium'
[ 2%] Building C object sources/CMakeFiles/machine_library_static.dir/thread.c.o
[ 66%] Building C object kiwi/CMakeFiles/kw_library_static.dir/options.c.o
/root/odyssey_1.3/odyssey/build/third_party/kiwi/kiwi/options.c: In function ‘kiwi_parse_options_and_update_vars’:
/root/odyssey_1.3/odyssey/build/third_party/kiwi/kiwi/options.c:44:21: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration]
44 | if (isspace(pgoptions[i])) {
| ^~~~~~~
/root/odyssey_1.3/odyssey/build/third_party/kiwi/kiwi/options.c:11:1: note: include ‘<ctype.h>’ or provide a declaration of ‘isspace’
10 | #include "kiwi.h"
+++ |+#include <ctype.h>
11 |
[100%] Linking C static library libkiwi.a
[ 5%] Building C object sources/CMakeFiles/machine_library_static.dir/pg_rand48.c.o
gmake[6]: Leaving directory '/root/odyssey_1.3/odyssey/build/third_party/kiwi'
[100%] Built target kw_library_static
gmake[5]: Leaving directory '/root/odyssey_1.3/odyssey/build/third_party/kiwi'
gmake[4]: Leaving directory '/root/odyssey_1.3/odyssey/build/third_party/kiwi'
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
[ 1%] Built target libkiwi
[ 7%] Building C object sources/CMakeFiles/machine_library_static.dir/lrand48.c.o
[ 10%] Building C object sources/CMakeFiles/machine_library_static.dir/loop.c.o
[ 12%] Building C object sources/CMakeFiles/machine_library_static.dir/clock.c.o
/root/odyssey_1.3/odyssey/build/third_party/machinarium/sources/clock.c:64:12: warning: ‘mm_clock_list_is_sorted’ defined but not used [-Wunused-function]
64 | static int mm_clock_list_is_sorted(mm_timer_t **list, int count)
| ^~~~~~~~~~~~~~~~~~~~~~~
[ 15%] Building C object sources/CMakeFiles/machine_library_static.dir/socket.c.o
[ 17%] Building C object sources/CMakeFiles/machine_library_static.dir/epoll.c.o
[ 20%] Building C object sources/CMakeFiles/machine_library_static.dir/context_stack.c.o
[ 22%] Building C object sources/CMakeFiles/machine_library_static.dir/context.c.o
/root/odyssey_1.3/odyssey/build/third_party/machinarium/sources/context.c: In function ‘mm_context_prepare’:
/root/odyssey_1.3/odyssey/build/third_party/machinarium/sources/context.c:37:17: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
37 | *--sp = (void *)mm_context_runner;
| ^
[ 25%] Building C object sources/CMakeFiles/machine_library_static.dir/coroutine.c.o
[ 27%] Building C object sources/CMakeFiles/machine_library_static.dir/coroutine_cache.c.o
[ 30%] Building C object sources/CMakeFiles/machine_library_static.dir/scheduler.c.o
[ 32%] Building C object sources/CMakeFiles/machine_library_static.dir/call.c.o
[ 35%] Building C object sources/CMakeFiles/machine_library_static.dir/signal_mgr.c.o
[ 37%] Building C object sources/CMakeFiles/machine_library_static.dir/event_mgr.c.o
[ 40%] Building C object sources/CMakeFiles/machine_library_static.dir/machine.c.o
[ 42%] Building C object sources/CMakeFiles/machine_library_static.dir/mm.c.o
[ 45%] Building C object sources/CMakeFiles/machine_library_static.dir/machine_mgr.c.o
[ 47%] Building C object sources/CMakeFiles/machine_library_static.dir/msg_cache.c.o
[ 50%] Building C object sources/CMakeFiles/machine_library_static.dir/msg.c.o
[ 52%] Building C object sources/CMakeFiles/machine_library_static.dir/channel_fast.c.o
[ 55%] Building C object sources/CMakeFiles/machine_library_static.dir/channel.c.o
[ 57%] Building C object sources/CMakeFiles/machine_library_static.dir/channel_api.c.o
[ 60%] Building C object sources/CMakeFiles/machine_library_static.dir/task_mgr.c.o
[ 62%] Building C object sources/CMakeFiles/machine_library_static.dir/tls.c.o
[ 65%] Building C object sources/CMakeFiles/machine_library_static.dir/io.c.o
[ 67%] Building C object sources/CMakeFiles/machine_library_static.dir/iov.c.o
[ 70%] Building C object sources/CMakeFiles/machine_library_static.dir/close.c.o
[ 72%] Building C object sources/CMakeFiles/machine_library_static.dir/connect.c.o
[ 75%] Building C object sources/CMakeFiles/machine_library_static.dir/bind.c.o
[ 77%] Building C object sources/CMakeFiles/machine_library_static.dir/eventfd.c.o
[ 80%] Building C object sources/CMakeFiles/machine_library_static.dir/cond.c.o
[ 82%] Building C object sources/CMakeFiles/machine_library_static.dir/read.c.o
[ 85%] Building C object sources/CMakeFiles/machine_library_static.dir/write.c.o
[ 87%] Building C object sources/CMakeFiles/machine_library_static.dir/accept.c.o
[ 90%] Building C object sources/CMakeFiles/machine_library_static.dir/shutdown.c.o
[ 92%] Building C object sources/CMakeFiles/machine_library_static.dir/dns.c.o
[ 95%] Building C object sources/CMakeFiles/machine_library_static.dir/zpq_stream.c.o
[ 97%] Building C object sources/CMakeFiles/machine_library_static.dir/compression.c.o
[100%] Linking C static library libmachinarium.a
gmake[6]: Leaving directory '/root/odyssey_1.3/odyssey/build/third_party/machinarium'
[100%] Built target machine_library_static
gmake[5]: Leaving directory '/root/odyssey_1.3/odyssey/build/third_party/machinarium'
gmake[4]: Leaving directory '/root/odyssey_1.3/odyssey/build/third_party/machinarium'
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
[ 1%] Built target libmachinarium
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
[ 1%] Built target build_libs
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
make[3]: Entering directory '/root/odyssey_1.3/odyssey/build'
[ 2%] Building C object stress/CMakeFiles/odyssey_stress.dir/odyssey_stress.c.o
[ 3%] Building C object sources/CMakeFiles/odyssey.dir/daemon.c.o
[ 4%] Building C object sources/CMakeFiles/odyssey.dir/pid.c.o
[ 5%] Building C object sources/CMakeFiles/odyssey.dir/logger.c.o
[ 6%] Building C object sources/CMakeFiles/odyssey.dir/pool.c.o
[ 6%] Building C object sources/CMakeFiles/odyssey.dir/rules.c.o
[ 7%] Building C object sources/CMakeFiles/odyssey.dir/config.c.o
[ 8%] Building C object sources/CMakeFiles/odyssey.dir/config_reader.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/daemon.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/pid.c:8:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/logger.c:11:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/rules.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/pool.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/config.c:11:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 9%] Building C object sources/CMakeFiles/odyssey.dir/dns.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/config_reader.c:11:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 10%] Building C object sources/CMakeFiles/odyssey.dir/router.c.o
[ 11%] Building C object sources/CMakeFiles/odyssey.dir/system.c.o
[ 12%] Linking C executable odyssey_stress
[ 13%] Building C object sources/CMakeFiles/odyssey.dir/cron.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/dns.c:12:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 13%] Building C object sources/CMakeFiles/odyssey.dir/worker.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/router.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/system.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
[ 13%] Built target odyssey_stress
[ 14%] Building C object sources/CMakeFiles/odyssey.dir/tls.c.o
[ 15%] Building C object sources/CMakeFiles/odyssey.dir/attribute.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/cron.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/worker.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/tls.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 16%] Building C object sources/CMakeFiles/odyssey.dir/auth_query.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/attribute.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 17%] Building C object sources/CMakeFiles/odyssey.dir/auth.c.o
[ 18%] Building C object sources/CMakeFiles/odyssey.dir/cancel.c.o
[ 19%] Building C object sources/CMakeFiles/odyssey.dir/console.c.o
[ 19%] Building C object sources/CMakeFiles/odyssey.dir/deploy.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/auth_query.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 20%] Building C object sources/CMakeFiles/odyssey.dir/reset.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/cancel.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/auth.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/console.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/console.c: In function ‘od_console_drop_server_cb’:
/root/odyssey_1.3/odyssey/sources/console.c:1872:73: warning: unused parameter ‘argv’ [-Wunused-parameter]
1872 | static inline int od_console_drop_server_cb(od_server_t *server, void **argv)
| ~~~~~~~^~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/deploy.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 21%] Building C object sources/CMakeFiles/odyssey.dir/frontend.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/reset.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 22%] Building C object sources/CMakeFiles/odyssey.dir/backend.c.o
[ 23%] Building C object sources/CMakeFiles/odyssey.dir/instance.c.o
[ 24%] Building C object sources/CMakeFiles/odyssey.dir/main.c.o
[ 25%] Building C object sources/CMakeFiles/odyssey.dir/misc.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/frontend.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/frontend.c: In function ‘od_frontend_poll_catchup’:
/root/odyssey_1.3/odyssey/sources/frontend.c:1529:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
1529 | if (lag < timeout) {
| ^
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/backend.c:13:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/main.c:8:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/misc.c:12:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/instance.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/instance.c: In function ‘od_bind_version’:
/root/odyssey_1.3/odyssey/sources/instance.c:56:9: warning: type defaults to ‘int’ in type name [-Wimplicit-int]
56 | od_asprintf((const **__restrict) & argp_program_version,
| ^~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/instance.c:56:21: warning: passing argument 1 of ‘od_asprintf’ from incompatible pointer type [-Wincompatible-pointer-types]
56 | od_asprintf((const **__restrict) & argp_program_version,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const int **
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:23,
from /root/odyssey_1.3/odyssey/sources/instance.c:9:
/root/odyssey_1.3/odyssey/sources/util.h:30:49: note: expected ‘char ** restrict’ but argument is of type ‘const int **’
30 | static inline int od_asprintf(char **__restrict bufp, char *fmt, ...)
| ~~~~~~~~~~~~~~~~~~^~~~
[ 25%] Building C object sources/CMakeFiles/odyssey.dir/tdigest.c.o
[ 26%] Building C object sources/CMakeFiles/odyssey.dir/module.c.o
[ 27%] Building C object sources/CMakeFiles/odyssey.dir/counter.c.o
[ 28%] Building C object sources/CMakeFiles/odyssey.dir/err_logger.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/tdigest.c:11:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/module.c:8:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/counter.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/err_logger.c:4:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 29%] Building C object sources/CMakeFiles/odyssey.dir/setproctitle.c.o
[ 30%] Building C object sources/CMakeFiles/odyssey.dir/debugprintf.c.o
[ 31%] Building C object sources/CMakeFiles/odyssey.dir/restart_sync.c.o
[ 31%] Building C object sources/CMakeFiles/odyssey.dir/grac_shutdown_worker.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/setproctitle.c:3:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/debugprintf.c:3:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/restart_sync.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/grac_shutdown_worker.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 32%] Building C object sources/CMakeFiles/odyssey.dir/sighandler.c.o
[ 33%] Building C object sources/CMakeFiles/odyssey.dir/watchdog.c.o
[ 34%] Building C object sources/CMakeFiles/odyssey.dir/ejection.c.o
[ 35%] Building C object sources/CMakeFiles/odyssey.dir/thread_global.c.o
[ 36%] Building C object sources/CMakeFiles/odyssey.dir/compression.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/sighandler.h:6,
from /root/odyssey_1.3/odyssey/sources/sighandler.c:3:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/watchdog.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/ejection.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/thread_global.c:4:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/compression.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 37%] Building C object sources/CMakeFiles/odyssey.dir/option.c.o
[ 37%] Building C object sources/CMakeFiles/odyssey.dir/tls_config.c.o
[ 38%] Building C object sources/CMakeFiles/odyssey.dir/query.c.o
[ 39%] Building C object sources/CMakeFiles/odyssey.dir/storage.c.o
[ 40%] Building C object sources/CMakeFiles/odyssey.dir/murmurhash.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/option.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/query.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/tls_config.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 41%] Building C object sources/CMakeFiles/odyssey.dir/hashmap.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/murmurhash.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
[ 42%] Building C object sources/CMakeFiles/odyssey.dir/pam.c.o
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/storage.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
[ 43%] Building C object sources/CMakeFiles/odyssey.dir/scram.c.o
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/hashmap.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/odyssey.h:76,
from /root/odyssey_1.3/odyssey/sources/pam.c:9:
/root/odyssey_1.3/odyssey/sources/stat.h: In function ‘od_stat_update_of’:
/root/odyssey_1.3/odyssey/sources/stat.h:152:9: warning: argument 2 of ‘__atomic_store’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
152 | __atomic_store(prev, current, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c: In function ‘od_scram_init_from_plain_password’:
/root/odyssey_1.3/odyssey/sources/scram.c:148:9: error: too few arguments to function ‘scram_SaltedPassword’
148 | scram_SaltedPassword(password, salt, sizeof(salt),
| ^~~~~~~~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:49:17: note: declared here
49 | extern int scram_SaltedPassword(const char *password, const char *salt,
| ^~~~~~~~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c:150:9: error: too few arguments to function ‘scram_ClientKey’
150 | scram_ClientKey(salted_password, scram_state->stored_key);
| ^~~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:54:17: note: declared here
54 | extern int scram_ClientKey(const uint8 *salted_password, uint8 *result,
| ^~~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c:151:9: error: too few arguments to function ‘scram_H’
151 | scram_H(scram_state->stored_key, SCRAM_KEY_LEN,
| ^~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:52:17: note: declared here
52 | extern int scram_H(const uint8 *str, int len, uint8 *result,
| ^~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c:153:9: error: too few arguments to function ‘scram_ServerKey’
153 | scram_ServerKey(salted_password, scram_state->server_key);
| ^~~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:56:17: note: declared here
56 | extern int scram_ServerKey(const uint8 *salted_password, uint8 *result,
| ^~~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c: In function ‘calculate_client_proof’:
/root/odyssey_1.3/odyssey/sources/scram.c:305:9: error: too few arguments to function ‘scram_SaltedPassword’
305 | scram_SaltedPassword(prepared_password, salt, strlen(salt), iterations,
| ^~~~~~~~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:49:17: note: declared here
49 | extern int scram_SaltedPassword(const char *password, const char *salt,
| ^~~~~~~~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c:309:9: error: too few arguments to function ‘scram_ClientKey’
309 | scram_ClientKey(scram_state->salted_password, client_key);
| ^~~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:54:17: note: declared here
54 | extern int scram_ClientKey(const uint8 *salted_password, uint8 *result,
| ^~~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c:312:9: error: too few arguments to function ‘scram_H’
312 | scram_H(client_key, SCRAM_KEY_LEN, stored_key);
| ^~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:52:17: note: declared here
52 | extern int scram_H(const uint8 *str, int len, uint8 *result,
| ^~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c: In function ‘od_scram_verify_server_signature’:
/root/odyssey_1.3/odyssey/sources/scram.c:484:9: error: too few arguments to function ‘scram_ServerKey’
484 | scram_ServerKey(scram_state->salted_password, server_key);
| ^~~~~~~~~~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:56:17: note: declared here
56 | extern int scram_ServerKey(const uint8 *salted_password, uint8 *result,
| ^~~~~~~~~~~~~~~
/root/odyssey_1.3/odyssey/sources/scram.c: In function ‘od_scram_verify_client_proof’:
/root/odyssey_1.3/odyssey/sources/scram.c:763:9: error: too few arguments to function ‘scram_H’
763 | scram_H(client_key, SCRAM_KEY_LEN, client_stored_key);
| ^~~~~~~
In file included from /root/odyssey_1.3/odyssey/sources/postgres.h:32,
from /root/odyssey_1.3/odyssey/sources/odyssey.h:11,
from /root/odyssey_1.3/odyssey/sources/scram.c:10:
/usr/pgsql-15/include/server/common/scram-common.h:52:17: note: declared here
52 | extern int scram_H(const uint8 *str, int len, uint8 *result,
| ^~~~~~~
make[3]: *** [sources/CMakeFiles/odyssey.dir/build.make:706: sources/CMakeFiles/odyssey.dir/scram.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/root/odyssey_1.3/odyssey/build'
make[2]: *** [CMakeFiles/Makefile2:218: sources/CMakeFiles/odyssey.dir/all] Error 2
make[2]: Leaving directory '/root/odyssey_1.3/odyssey/build'
make[1]: *** [Makefile:91: all] Error 2
make[1]: Leaving directory '/root/odyssey_1.3/odyssey/build'
make: *** [Makefile:27: local_build] Error 2

@ivan777git
Copy link

ivan777git commented May 29, 2024

how did you manage to solve the problem?
for pg13, pg14 no error, but pg15, pg16 errors:

/usr/include/postgresql/16/server/common/scram-common.h:54:88: note: expected ‘int’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’}
54 | const char *salt, int saltlen, int iterations,
| ~~~~^~~~~~~
/root/odyssey-1.3/sources/scram.c:305:9: error: too few arguments to function ‘scram_SaltedPassword’
305 | scram_SaltedPassword(prepared_password, salt, strlen(salt), iterations,
| ^~~~~~~~~~~~~~~~~~~~

/usr/include/postgresql/16/server/common/scram-common.h:52:17: note: declared here
52 | extern int scram_SaltedPassword(const char *password,
| ^~~~~~~~~~~~~~~~~~~~
/root/odyssey-1.3/sources/scram.c:309:9: error: too few arguments to function ‘scram_ClientKey’
309 | scram_ClientKey(scram_state->salted_password, client_key);
| ^~~~~~~~~~~~~~~

/usr/include/postgresql/16/server/common/scram-common.h:59:17: note: declared here
59 | extern int scram_ClientKey(const uint8 *salted_password,
| ^~~~~~~~~~~~~~~
/root/odyssey-1.3/sources/scram.c:312:9: error: too few arguments to function ‘scram_H’
312 | scram_H(client_key, SCRAM_KEY_LEN, stored_key);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants