<86>Dec 19 02:42:32 userdel[62725]: delete user 'rooter' <86>Dec 19 02:42:32 userdel[62725]: removed group 'rooter' owned by 'rooter' <86>Dec 19 02:42:32 userdel[62725]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 19 02:42:32 groupadd[62737]: group added to /etc/group: name=rooter, GID=663 <86>Dec 19 02:42:32 groupadd[62737]: group added to /etc/gshadow: name=rooter <86>Dec 19 02:42:32 groupadd[62737]: new group: name=rooter, GID=663 <86>Dec 19 02:42:32 useradd[62756]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Dec 19 02:42:32 userdel[62778]: delete user 'builder' <86>Dec 19 02:42:32 userdel[62778]: removed group 'builder' owned by 'builder' <86>Dec 19 02:42:32 userdel[62778]: removed shadow group 'builder' owned by 'builder' <86>Dec 19 02:42:32 groupadd[62783]: group added to /etc/group: name=builder, GID=664 <86>Dec 19 02:42:32 groupadd[62783]: group added to /etc/gshadow: name=builder <86>Dec 19 02:42:32 groupadd[62783]: new group: name=builder, GID=664 <86>Dec 19 02:42:32 useradd[62800]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/libminisat-2.2.0-alt5.src.rpm: license not found in '/usr/share/license' directory: style <13>Dec 19 02:42:35 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Dec 19 02:42:36 rpmi: libstdc++9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Dec 19 02:42:37 rpmi: gcc9-c++-9.2.1-alt2 sisyphus+240563.200.2.1 1573478618 installed <13>Dec 19 02:42:37 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>Dec 19 02:42:37 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libminisat-2.2.0-alt5.nosrc.rpm Installing libminisat-2.2.0-alt5.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.20665 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libminisat-2.2.0 + echo 'Source #0 (libminisat-2.2.0.tar.gz):' Source #0 (libminisat-2.2.0.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/libminisat-2.2.0.tar.gz + /bin/tar -xf - + cd libminisat-2.2.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.20665 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libminisat-2.2.0 + ./autogen.sh aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize-default: linking file 'm4/libtool.m4' libtoolize-default: linking file 'm4/ltoptions.m4' libtoolize-default: linking file 'm4/ltsugar.m4' libtoolize-default: linking file 'm4/ltversion.m4' libtoolize-default: linking file 'm4/lt~obsolete.m4' automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:18: installing './compile' configure.in:20: installing './config.guess' configure.in:20: installing './config.sub' configure.in:3: installing './install-sh' configure.in:3: installing './missing' automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' /usr/share/automake-1.16/am/ltlibrary.am: warning: 'libminisat.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.16/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.in' lib/Makefile.am:7: while processing Libtool library 'libminisat.la' lib/Makefile.am: installing './depcomp' lib/Makefile.am:5: warning: 'LDFLAGS' is a user variable, you should not override it; lib/Makefile.am:5: use 'AM_LDFLAGS' instead Now run ./configure and then make. + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking if x86_64-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating test/Makefile config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make -j8 Making all in lib make[1]: Entering directory '/usr/src/RPM/BUILD/libminisat-2.2.0/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" -DPACKAGE_STRING=\"libminisat\ 2.2.0\" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c -o main.lo main.cc libtool: compile: x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" "-DPACKAGE_STRING=\"libminisat 2.2.0\"" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c main.cc -fPIC -DPIC -o .libs/main.o In file included from Solver.h:27, from main.cc:20: Options.h:285:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 285 | fprintf(stderr, "%4"PRIi64, range.begin); | ^ Options.h:291:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 291 | fprintf(stderr, "%4"PRIi64, range.end); | ^ Options.h:293:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 293 | fprintf(stderr, "] (default: %"PRIi64")\n", value); | ^ In file included from Solver.h:28, from main.cc:20: SolverTypes.h:50:16: error: friend declaration of 'Minisat::Lit mkLit(Minisat::Var, bool)' specifies default arguments and isn't a definition [-fpermissive] 50 | friend Lit mkLit(Var var, bool sign = false); | ^~~~~ SolverTypes.h:58:14: error: friend declaration of 'Minisat::Lit Minisat::mkLit(Minisat::Var, bool)' specifies default arguments and isn't the only declaration [-fpermissive] 58 | inline Lit mkLit (Var var, bool sign) { Lit p; p.x = var + var + (int)sign; return p; } | ^~~~~ SolverTypes.h:50:16: note: previous declaration of 'Minisat::Lit Minisat::mkLit(Minisat::Var, bool)' 50 | friend Lit mkLit(Var var, bool sign = false); | ^~~~~ SolverTypes.h:130:64: warning: ISO C++ forbids zero-size array 'data' [-Wpedantic] 130 | union { Lit lit; float act; uint32_t abs; CRef rel; } data[0]; | ^ main.cc: In function 'int minisat_solve(size_t, size_t, size_t*, int**, unsigned char*, unsigned char*)': main.cc:46:12: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 46 | if (var >= varCount) | ~~~~^~~~~~~~~~~ main.cc:69:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 69 | for(size_t i = 0;i < S.conflict.size();i++) | ~~^~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:451: main.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libminisat-2.2.0/lib' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/libminisat-2.2.0/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" -DPACKAGE_STRING=\"libminisat\ 2.2.0\" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c -o System.lo System.cc libtool: compile: x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" "-DPACKAGE_STRING=\"libminisat 2.2.0\"" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c System.cc -fPIC -DPIC -o .libs/System.o libtool: compile: x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" "-DPACKAGE_STRING=\"libminisat 2.2.0\"" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c System.cc -o System.o >/dev/null 2>&1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libminisat-2.2.0/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libminisat-2.2.0/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" -DPACKAGE_STRING=\"libminisat\ 2.2.0\" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c -o Solver.lo Solver.cc libtool: compile: x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" "-DPACKAGE_STRING=\"libminisat 2.2.0\"" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c Solver.cc -fPIC -DPIC -o .libs/Solver.o In file included from Solver.h:27, from Solver.cc:24: Options.h:285:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 285 | fprintf(stderr, "%4"PRIi64, range.begin); | ^ Options.h:291:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 291 | fprintf(stderr, "%4"PRIi64, range.end); | ^ Options.h:293:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 293 | fprintf(stderr, "] (default: %"PRIi64")\n", value); | ^ In file included from Solver.h:28, from Solver.cc:24: SolverTypes.h:50:16: error: friend declaration of 'Minisat::Lit mkLit(Minisat::Var, bool)' specifies default arguments and isn't a definition [-fpermissive] 50 | friend Lit mkLit(Var var, bool sign = false); | ^~~~~ SolverTypes.h:58:14: error: friend declaration of 'Minisat::Lit Minisat::mkLit(Minisat::Var, bool)' specifies default arguments and isn't the only declaration [-fpermissive] 58 | inline Lit mkLit (Var var, bool sign) { Lit p; p.x = var + var + (int)sign; return p; } | ^~~~~ SolverTypes.h:50:16: note: previous declaration of 'Minisat::Lit Minisat::mkLit(Minisat::Var, bool)' 50 | friend Lit mkLit(Var var, bool sign = false); | ^~~~~ SolverTypes.h:130:64: warning: ISO C++ forbids zero-size array 'data' [-Wpedantic] 130 | union { Lit lit; float act; uint32_t abs; CRef rel; } data[0]; | ^ In file included from mtl/Sort.h:24, from Solver.cc:23: ./mtl/Vec.h: In instantiation of 'void Minisat::vec::capacity(int) [with T = Minisat::vec]': ./mtl/Vec.h:115:5: required from 'void Minisat::vec::growTo(int) [with T = Minisat::vec]' SolverTypes.h:266:39: required from 'void Minisat::OccLists::init(const Idx&) [with Idx = Minisat::Lit; Vec = Minisat::vec; Deleted = Minisat::Solver::WatcherDeleted]' Solver.cc:117:35: required from here ./mtl/Vec.h:99:54: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class Minisat::vec'; use 'new' and 'delete' instead [-Wclass-memaccess] 99 | if (add > INT_MAX - cap || ((data = (T*)::realloc(data, (cap += add) * sizeof(T))) == NULL) && errno == ENOMEM) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mtl/Sort.h:24, from Solver.cc:23: ./mtl/Vec.h:38:7: note: 'class Minisat::vec' declared here 38 | class vec { | ^~~ make[1]: *** [Makefile:451: Solver.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libminisat-2.2.0/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libminisat-2.2.0/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" -DPACKAGE_STRING=\"libminisat\ 2.2.0\" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c -o Options.lo Options.cc libtool: compile: x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" "-DPACKAGE_STRING=\"libminisat 2.2.0\"" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c Options.cc -fPIC -DPIC -o .libs/Options.o In file included from Options.cc:21: Options.h:285:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 285 | fprintf(stderr, "%4"PRIi64, range.begin); | ^ Options.h:291:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 291 | fprintf(stderr, "%4"PRIi64, range.end); | ^ Options.h:293:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 293 | fprintf(stderr, "] (default: %"PRIi64")\n", value); | ^ libtool: compile: x86_64-alt-linux-g++ -DPACKAGE_NAME=\"libminisat\" -DPACKAGE_TARNAME=\"libminisat\" -DPACKAGE_VERSION=\"2.2.0\" "-DPACKAGE_STRING=\"libminisat 2.2.0\"" -DPACKAGE_BUGREPORT=\"msp@altlinux.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libminisat\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wno-parentheses -pedantic -fpic -fno-rtti -DNDEBUG -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS -I../lib -pipe -frecord-gcc-switches -Wall -g -O2 -c Options.cc -o Options.o >/dev/null 2>&1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libminisat-2.2.0/lib' make: *** [Makefile:383: all-recursive] Error 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.20665 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.20665 (%build) Command exited with non-zero status 1 5.55user 1.44system 0:06.81elapsed 102%CPU (0avgtext+0avgdata 42924maxresident)k 0inputs+0outputs (0major+596143minor)pagefaults 0swaps hsh-rebuild: rebuild of `libminisat-2.2.0-alt5.src.rpm' failed. Command exited with non-zero status 1 10.43user 3.73system 0:16.63elapsed 85%CPU (0avgtext+0avgdata 110132maxresident)k 0inputs+0outputs (0major+842213minor)pagefaults 0swaps