Skip to content

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

Open
@PeterEgorov

Description

@PeterEgorov

При попытке собрать версию 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.

Activity

MetalDream666

MetalDream666 commented on Oct 11, 2023

@MetalDream666
Contributor

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Burus@PeterEgorov@MetalDream666

        Issue actions

          Ошибка при сборке версии 2.5.5 · Issue #536 · postgrespro/pg_probackup