postgrespro / pg_probackup

Backup and recovery manager for PostgreSQL
https://postgrespro.github.io/pg_probackup/
Other
713 stars 86 forks source link

Parallel build issue? #503

Open rnalrd opened 2 years ago

rnalrd commented 2 years ago

Sometimes I've got missing includes error during compilation. Running make -j1 makes those error disappear. See a sample output below.

make -C ../../src/backend generated-headers
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/utils/configuration.o src/utils/configuration.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/utils/json.o src/utils/json.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/utils/logger.o src/utils/logger.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/utils/parray.o src/utils/parray.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/utils/pgut.o src/utils/pgut.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/utils/thread.o src/utils/thread.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/utils/remote.o src/utils/remote.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/utils/file.o src/utils/file.c
rm -f src/instr_time.h && ln -s /home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/include/portability/instr_time.h src/instr_time.h
make[1]: Entering directory '/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/backend'
make -C catalog distprep generated-header-symlinks
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/backup.o src/backup.c
make -C utils distprep generated-header-symlinks
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/catalog.o src/catalog.c
prereqdir=`cd 'parser/' >/dev/null && pwd` && \
  cd '../../src/include/parser/' && rm -f gram.h && \
  ln -s "$prereqdir/gram.h" .
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/checkdb.o src/checkdb.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/configure.o src/configure.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/data.o src/data.c
prereqdir=`cd 'storage/lmgr/' >/dev/null && pwd` && \
  cd '../../src/include/storage/' && rm -f lwlocknames.h && \
  ln -s "$prereqdir/lwlocknames.h" .
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/delete.o src/delete.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/dir.o src/dir.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/fetch.o src/fetch.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/help.o src/help.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/init.o src/init.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/merge.o src/merge.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/parsexlog.o src/parsexlog.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/ptrack.o src/ptrack.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/pg_probackup.o src/pg_probackup.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/restore.o src/restore.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/show.o src/show.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/stream.o src/stream.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/util.o src/util.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/validate.o src/validate.c
make[2]: Entering directory '/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/backend/utils'
make[2]: Nothing to be done for 'distprep'.
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/datapagemap.o src/datapagemap.c
prereqdir=`cd './' >/dev/null && pwd` && \
cd '../../../src/include/utils/' && for file in fmgroids.h fmgrprotos.h errcodes.h; do \
  rm -f $file && ln -s "$prereqdir/$file" . ; \
done
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/catchup.o src/catchup.c
sed -f ./Gen_dummy_probes.sed probes.d >probes.h
rm -f src/pg_crc.c && ln -s /home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/backend/utils/hash/pg_crc.c src/pg_crc.c
rm -f src/receivelog.c && ln -s /home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/bin/pg_basebackup/receivelog.c src/receivelog.c
rm -f src/streamutil.c && ln -s /home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/bin/pg_basebackup/streamutil.c src/streamutil.c
rm -f src/xlogreader.c && ln -s /home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/backend/access/transam/xlogreader.c src/xlogreader.c
rm -f src/walmethods.c && ln -s /home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/bin/pg_basebackup/walmethods.c src/walmethods.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/archive.o src/archive.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/pg_crc.o src/pg_crc.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/receivelog.o src/receivelog.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/streamutil.o src/streamutil.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/xlogreader.o src/xlogreader.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -Os -DFRONTEND -I. -I. -I../../src/include  -Os -D_GNU_SOURCE  -I../../src/interfaces/libpq -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -Isrc -I/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/contrib/pg_probackup/src  -c -o src/walmethods.o src/walmethods.c
touch ../../../src/include/utils/header-stamp
make[2]: Entering directory '/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/backend/catalog'
make[2]: Nothing to be done for 'distprep'.
prereqdir=`cd './' >/dev/null && pwd` && \
cd '../../../src/include/catalog/' && for file in pg_proc_d.h pg_type_d.h pg_attribute_d.h pg_class_d.h pg_attrdef_d.h pg_constraint_d.h pg_inherits_d.h pg_index_d.h pg_operator_d.h pg_opfamily_d.h pg_opclass_d.h pg_am_d.h pg_amop_d.h pg_amproc_d.h pg_language_d.h pg_largeobject_metadata_d.h pg_largeobject_d.h pg_aggregate_d.h pg_statistic_d.h pg_statistic_ext_d.h pg_statistic_ext_data_d.h pg_rewrite_d.h pg_trigger_d.h pg_event_trigger_d.h pg_description_d.h pg_cast_d.h pg_enum_d.h pg_namespace_d.h pg_conversion_d.h pg_depend_d.h pg_database_d.h pg_db_role_setting_d.h pg_tablespace_d.h pg_authid_d.h pg_auth_members_d.h pg_shdepend_d.h pg_shdescription_d.h pg_ts_config_d.h pg_ts_config_map_d.h pg_ts_dict_d.h pg_ts_parser_d.h pg_ts_template_d.h pg_extension_d.h pg_foreign_data_wrapper_d.h pg_foreign_server_d.h pg_user_mapping_d.h pg_foreign_table_d.h pg_policy_d.h pg_replication_origin_d.h pg_default_acl_d.h pg_init_privs_d.h pg_seclabel_d.h pg_shseclabel_d.h pg_collation_d.h pg_partitioned_table_d.h pg_range_d.h pg_transform_d.h pg_sequence_d.h pg_publication_d.h pg_publication_rel_d.h pg_subscription_d.h pg_subscription_rel_d.h schemapg.h system_fk_info.h; do \
  rm -f $file && ln -s "$prereqdir/$file" . ; \
done
cd '../../../src/include/utils/' && rm -f probes.h && \
    ln -s "../../../src/backend/utils/probes.h" .
make[2]: Leaving directory '/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/backend/utils'
In file included from ../../src/include/replication/origin.h:16,
                 from src/xlogreader.c:28:
../../src/include/catalog/pg_replication_origin.h:23:10: fatal error: catalog/pg_replication_origin_d.h: No such file or directory
   23 | #include "catalog/pg_replication_origin_d.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: src/xlogreader.o] Error 1
make: *** Waiting for unfinished jobs....
touch ../../../src/include/catalog/header-stamp
make[2]: Leaving directory '/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/backend/catalog'
make[1]: Leaving directory '/home/buildozer/aports/testing/pg_probackup/src/postgresql-14.4/src/backend'
gsmolk commented 2 years ago

Hello! Hm, looks like a race, will look into it. Thank you for a feedback