==> Synchronizing chroot copy [/chroot/x86_64/root] -> [build]...done
==> Making package: cpublaster 0.10-9 (Fri Aug 7 10:49:11 2020)
==> Retrieving sources...
-> Found cpublaster-0.10.tar.gz
-> Found libdir.patch
-> Found cpublaster.1
==> Validating source files with sha512sums...
cpublaster-0.10.tar.gz ... Passed
libdir.patch ... Passed
cpublaster.1 ... Passed
Host and machine ids are equal (27f8a8a2107e4714a5587b00f7368723): refusing to link journals
==> Making package: cpublaster 0.10-9 (Fri 07 Aug 2020 10:49:15 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found cpublaster-0.10.tar.gz
-> Found libdir.patch
-> Found cpublaster.1
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting cpublaster-0.10.tar.gz with bsdtar
==> Starting prepare()...
patching file duilder
==> Starting build()...
[*] Duilder builder script
[*] Copyright Catalin(ux) M. BOIE - catab at embedromix dot ro
[*] PRJ=cpublaster, VER=0.10, REV=1
[*] System: Linux build 5.7.11-arch1-1 #1 SMP PREEMPT Wed, 29 Jul 2020 21:38:21 +0000 x86_64 GNU/Linux
[*] Var ETC=/etc
[*] Var BIN=/bin
[*] Var USR_BIN=/usr/bin
[*] Var USR_SBIN=/usr/sbin
[*] Var USR_INCLUDE=/usr/include
[*] Var USR_LIB=/usr/lib
[*] Var USR_SHARE=/usr/share
[*] Var USR_SHARE_DOC=/usr/share/doc/cpublaster-0.10
[*] Var SBIN=/usr/sbin
[*] Var VAR=/var
[*] Var VAR_LIB=/var/lib
[*] Var MAN=/usr/share/man
[*] Var VAR_LOG=/var/log
[*] Var VAR_RUN=/var/run
[*] Searching for PostgreSQL... not found.
[*] Searching for MySQL... not found.
[*] Searching for poll... found.
[*] Searching for epoll... found.
[*] Searching for ncurses... found.
[*] Search for valid compiler flags...
[*] Testing switch [-fstack-reuse=all]...supported
[*] Testing switch [-flto]...supported
[*] Testing switch [-Wtrampolines]...supported
[*] Testing switch [-Wl,-z,noexecstack]...supported
[*] Testing switch [-Wl,-z,now]...supported
[*] Testing switch [-Wl,-z,relro]...supported
[*] Testing switch [-Wl,-O1]...supported
[*] Testing switch [-Wl,-z,noexecstack]...supported
[*] Testing switch [-fstack-protector-all]...supported
[*] Testing switch [-Wconversion]...supported
[*] Testing switch [-Wcast-align]...supported
[*] Testing switch [-Wformat=2]...supported
[*] Testing switch [-Wformat-security]...supported
[*] Testing switch [-fno-common]...supported
[*] Testing switch [-Wmissing-prototypes]...supported
[*] Testing switch [-Wmissing-declarations]...supported
[*] Testing switch [-Wstrict-overflow]...supported
[*] Testing switch [-Wstrict-prototypes]...supported
[*] Testing switch [-msse3]...supported
[*] Building Makefile...
[*] Generating .spec file...
[*] Generating cpublaster_config.h file...
[*] Done. Run make.
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -ggdb3 -Wall -Wextra -Wno-long-long -pipe -O3 -fstack-reuse=all -flto -Wtrampolines -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-O1 -Wl,-z,noexecstack -fstack-protector-all -Wconversion -Wcast-align -Wformat=2 -Wformat-security -fno-common -Wmissing-prototypes -Wmissing-declarations -Wstrict-overflow -Wstrict-prototypes -msse3 -lc -shared -rdynamic -fpic -Wl,-soname,cpublaster.so -o cpublaster.so cpublaster.c
cpublaster.c: In function ‘get’:
cpublaster.c:67:7: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;]
67 | h = ((unsigned int ) ptr >> 16) % HASH_SIZE;
| ^
cpublaster.c: In function ‘add’:
cpublaster.c:88:7: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;]
88 | h = ((unsigned int) ptr >> 16) % HASH_SIZE;
| ^
cpublaster.c: In function ‘del’:
cpublaster.c:128:7: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;]
128 | h = ((unsigned int) ptr >> 16) % HASH_SIZE;
| ^
cpublaster.c:134:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-conversion-Wsign-conversion]8;;]
134 | ret = p->offset;
| ^
cpublaster.c: In function ‘init’:
cpublaster.c:156:13: warning: conversion from ‘long int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
156 | verbose = strtol(x, NULL, 10);
| ^~~~~~
cpublaster.c:160:22: warning: conversion from ‘long int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
160 | minim_allocation = strtol(x, NULL, 10);
| ^~~~~~
cpublaster.c:164:22: warning: conversion from ‘long int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
164 | offset_increment = strtol(x, NULL, 10);
| ^~~~~~
cpublaster.c:173:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-conversion-Wsign-conversion]8;;]
173 | offset = (rand() % offset_max) / offset_increment * offset_increment;
| ^
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -ggdb3 -Wall -Wextra -Wno-long-long -pipe -O3 -fstack-reuse=all -flto -Wtrampolines -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-O1 -Wl,-z,noexecstack -fstack-protector-all -Wconversion -Wcast-align -Wformat=2 -Wformat-security -fno-common -Wmissing-prototypes -Wmissing-declarations -Wstrict-overflow -Wstrict-prototypes -msse3 -fPIE -pie -o test1 test1.c -lrt
test1.c:10:6: warning: no previous prototype for ‘test1’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;]
10 | void test1(double *a, double *b, double *c, double *d,
| ^~~~~
test1.c:23:6: warning: no previous prototype for ‘test2’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;]
23 | void test2(double *a, double *b, double *c, double *d,
| ^~~~~
test1.c: In function ‘main’:
test1.c:49:15: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
49 | array_size = strtoul(argv[1], NULL, 10);
| ^~~~~~~
test1.c:50:11: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
50 | offset = strtoul(argv[2], NULL, 10);
| ^~~~~~~
test1.c:53:9: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
53 | size = array_size * sizeof(double) + junk;
| ^~~~~~~~~~
test1.c:61:9: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
61 | size = offset + array_size * sizeof(double) + junk;
| ^~~~~~
test1.c:70:9: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
70 | size = offset * 2 + array_size * sizeof(double) + junk;
| ^~~~~~
test1.c:79:9: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
79 | size = offset * 3 + array_size * sizeof(double) + junk;
| ^~~~~~
test1.c:92:3: warning: absolute value function ‘abs’ given an argument of type ‘long int’ but has parameter of type ‘int’ which may cause truncation of value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wabsolute-value-Wabsolute-value]8;;]
92 | abs(b - a), abs(c - a), abs(d - a));
| ^~~
test1.c:92:9: warning: conversion from ‘long int’ to ‘int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
92 | abs(b - a), abs(c - a), abs(d - a));
| ~~^~~
test1.c:92:15: warning: absolute value function ‘abs’ given an argument of type ‘long int’ but has parameter of type ‘int’ which may cause truncation of value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wabsolute-value-Wabsolute-value]8;;]
92 | abs(b - a), abs(c - a), abs(d - a));
| ^~~
test1.c:92:21: warning: conversion from ‘long int’ to ‘int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
92 | abs(b - a), abs(c - a), abs(d - a));
| ~~^~~
test1.c:92:27: warning: absolute value function ‘abs’ given an argument of type ‘long int’ but has parameter of type ‘int’ which may cause truncation of value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wabsolute-value-Wabsolute-value]8;;]
92 | abs(b - a), abs(c - a), abs(d - a));
| ^~~
test1.c:92:33: warning: conversion from ‘long int’ to ‘int’ may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;]
92 | abs(b - a), abs(c - a), abs(d - a));
| ~~^~~
test1.c:112:11: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-conversion-Wsign-conversion]8;;]
112 | diff = (e.tv_sec - s.tv_sec) * 1000000 + (e.tv_nsec - s.tv_nsec) / 1000;
| ^
==> Entering fakeroot environment...
==> Starting package()...
cp -vd cpublaster.so /build/cpublaster/pkg/cpublaster/usr/lib
'cpublaster.so' -> '/build/cpublaster/pkg/cpublaster/usr/lib/cpublaster.so'
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "cpublaster"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cpublaster 0.10-9 (Fri 07 Aug 2020 10:49:24 AM EDT)
==> Cleaning up...