Skip to content

IvorySQL build in parallel is not working #551

@idrawone

Description

@idrawone

Bug Report

When running compile with the command 'make -j' on a brand new IvorySQL checkout, the build can fail at somewhere.

IvorySQL Version

Ivorysql_3.0_Beta

OS Version (uname -a)

Linux utop 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Configuration options ( config.status --config )

./configure --prefix=/media/david/disk1/pg153 --enable-tap-tests --enable-debug CFLAGS="-g3 -O0" CC="gcc -std=gnu99"

Current Behavior

make -j failed, but make is fine.

Expected behavior/code

build success and no error message.

Step to reproduce

  1. git clone https://github.com/IvorySQL/IvorySQL.git
  2. cd IvorySQL
  3. git checkout IVORY_REL_3_STABLE
  4. ./configure --prefix=/media/david/disk1/pg153 --enable-tap-tests --enable-debug CFLAGS="-g3 -O0" CC="gcc -std=gnu99"
  5. make -j

Additional context that can be helpful for identifying the problem

make[3]: Leaving directory '/home/david/sandbox/IvorySQL/src/bin/pg_upgrade'
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g3 -O0 brindesc.o clogdesc.o committsdesc.o dbasedesc.o genericdesc.o gindesc.o gistdesc.o hashdesc.o heapdesc.o logicalmsgdesc.o mxactdesc.o nbtdesc.o relmapdesc.o replorigindesc.o rmgrdesc_utils.o seqdesc.o smgrdesc.o spgdesc.o standbydesc.o tblspcdesc.o xactdesc.o xlogdesc.o compat.o pg_waldump.o rmgrdesc.o xlogreader.o xlogstats.o -L../../../src/port -L../../../src/common   -Wl,--as-needed -Wl,-rpath,'/media/david/disk1/pg153/lib',--enable-new-dtags  -lpgcommon -lpgport -lz -lreadline -lm  -o pg_waldump
make[3]: Leaving directory '/home/david/sandbox/IvorySQL/src/bin/pg_waldump'
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g3 -O0 pg_dump.o common.o pg_dump_sort.o  compress_gzip.o compress_io.o compress_lz4.o compress_none.o compress_zstd.o dumputils.o parallel.o pg_backup_archiver.o pg_backup_custom.o pg_backup_db.o pg_backup_directory.o pg_backup_null.o pg_backup_tar.o pg_backup_utils.o -L../../../src/port -L../../../src/common -L../../../src/fe_utils -lpgfeutils -L../../../src/common -lpgcommon -L../../../src/port -lpgport -L../../../src/interfaces/libpq -lpq   -Wl,--as-needed -Wl,-rpath,'/media/david/disk1/pg153/lib',--enable-new-dtags  -lpgcommon -lpgport -lz -lreadline -lm  -o pg_dump
make[3]: Leaving directory '/home/david/sandbox/IvorySQL/src/bin/pg_dump'
make[2]: Leaving directory '/home/david/sandbox/IvorySQL/src/bin'
make[1]: *** [Makefile:48: all-bin-recurse] Error 2
make[1]: Leaving directory '/home/david/sandbox/IvorySQL/src'
make: *** [GNUmakefile:11: all-src-recurse] Error 2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions