Skip to content

Ошибка при сборке версии 2.5.5 #536

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

Open
PeterEgorov opened this issue Sep 13, 2022 · 1 comment
Open

Ошибка при сборке версии 2.5.5 #536

PeterEgorov opened this issue Sep 13, 2022 · 1 comment

Comments

@PeterEgorov
Copy link

PeterEgorov commented Sep 13, 2022

При попытке собрать версию 2.5.5. из исходников получаю следующую ошибку:
/opt/install/pg_probackup-2.5.5 # make USE_PGXS=1 PG_CONFIG=/usr/lib64/postgresql/11/bin/pg_config /opt/mcst/bin/lcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -DFRONTEND -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/11/internal -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql/11 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/opt//src -c -o src/utils/configuration.o src/utils/configuration.c /opt/mcst/bin/lcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -DFRONTEND -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/11/internal -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql/11 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/opt//src -c -o src/utils/json.o src/utils/json.c /opt/mcst/bin/lcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -DFRONTEND -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/11/internal -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql/11 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/opt//src -c -o src/utils/logger.o src/utils/logger.c /opt/mcst/bin/lcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -DFRONTEND -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/11/internal -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql/11 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/opt//src -c -o src/utils/parray.o src/utils/parray.c /opt/mcst/bin/lcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -DFRONTEND -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/11/internal -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql/11 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/opt//src -c -o src/utils/pgut.o src/utils/pgut.c /opt/mcst/bin/lcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -DFRONTEND -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/11/internal -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql/11 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/opt//src -c -o src/utils/thread.o src/utils/thread.c /opt/mcst/bin/lcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -DFRONTEND -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/11/internal -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql/11 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/opt//src -c -o src/utils/remote.o src/utils/remote.c /opt/mcst/bin/lcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -DFRONTEND -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/11/internal -I/usr/lib/perl5/5.30.3/e2k-linux-thread-multi/CORE/ -I/usr/include/python2.7/ -I/usr/include/libxml2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql/11 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/opt//src -c -o src/utils/file.o src/utils/file.c make: *** No rule to make target '/opt/src/include/portability/instr_time.h', needed by 'src/instr_time.h'. Stop.
Сам файл есть:
$ locate instr_time.h
/usr/include/postgresql/11/server/portability/instr_time.h`

$ cat /etc/*release
PRETTY_NAME="Elbrus Linux 6.2"
NAME="Elbrus Linux"
VERSION_ID="6"
VERSION="6.2"
ID="elbrus"
HOME_URL="http://www.mcst.ru/"
SUPPORT_URL="http://www.mcst.ru/support/"
BUG_REPORT_URL="https://bugs.mcst.ru/"

$ uname -a
Linux 5.4.0-3.19-e8c #1 SMP Sat Feb 19 23:51:41 GMT 2022 e2k E8C E8C-SWTX GNU/Linux

$ gcc -v
lcc:1.25.19:Aug-25-2021:e2k-v4-linux
Thread model: posix
gcc version 7.3.0 compatible.

@MetalDream666
Copy link
Contributor

Чтобы собрать pg_probackup из исходников, нужен исходный код постгреса. Об этом сказано в readme

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

No branches or pull requests

3 participants