==> Synchronizing chroot copy [/chroot/i686/root] -> [build]...done ==> Making package: dupdump 0.5-3 (Wed Aug 12 17:31:29 2020) ==> Retrieving sources... -> Found dupdump-0.5.tar.gz ==> Validating source files with sha512sums... dupdump-0.5.tar.gz ... Passed ==> Making package: dupdump 0.5-3 (Wed 12 Aug 2020 05:31:35 PM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found dupdump-0.5.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting dupdump-0.5.tar.gz with bsdtar ==> Starting build()... [*] Duilder builder script [*] Copyright Catalin(ux) M. BOIE - catab at embedromix dot ro [*] PRJ=dupdump, VER=0.5, REV=1 [*] System: Linux build 5.7.12-arch1-1 #1 SMP PREEMPT Fri, 31 Jul 2020 17:38:22 +0000 x86_64 GNU/Linux [*] Parameters: --prefix=/usr [*] 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/lib64 [*] Var USR_SHARE=/usr/share [*] Var USR_SHARE_DOC=/usr/share/doc/dupdump [*] 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 [-fPIE]...supported [*] Testing switch [-pie]...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 [*] Building Makefile... [*] Generating .spec file... [*] Autogenerate files from .in... [*] Autogenerate debian/control from debian/control.in... [*] Autogenerate debian/changelog from debian/changelog.in... [*] Autogenerate debian/copyright from debian/copyright.in... [*] Autogenerate debian/rules from debian/rules.in... [*] Done. Run make. gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wextra -O3 -g -ggdb -D _FORTIFY_SOURCES=2 -fstack-reuse=all -flto -Wtrampolines -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-O1 -Wl,-z,noexecstack -fPIE -pie -fstack-protector-all -Wconversion -Wcast-align -Wformat=2 -Wformat-security -fno-common -Wmissing-prototypes -Wmissing-declarations -Wstrict-overflow -Wstrict-prototypes store.c -c store.c: In function ‘dev_ino_seen’: store.c:117:58: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘dev_t’ {aka ‘long long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 117 | fprintf(stderr, "DEBUG: add file [%s] to INO HIT dev=%lu ino=%lu\n", | ~~^ | | | long unsigned int | %llu 118 | a->name, a->dev, a->ino); | ~~~~~~ | | | dev_t {aka long long unsigned int} store.c:117:66: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘ino_t’ {aka ‘long long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 117 | fprintf(stderr, "DEBUG: add file [%s] to INO HIT dev=%lu ino=%lu\n", | ~~^ | | | long unsigned int | %llu 118 | a->name, a->dev, a->ino); | ~~~~~~ | | | ino_t {aka long long unsigned int} store.c: In function ‘sha1_compute’: store.c:229:18: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘const unsigned int’} may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;] 229 | sha1(z->name, size, z->sha1[what]); | ^~~~ store.c:236:23: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘const unsigned int’} may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;] 236 | return sha1(a->name, size, a->sha1[what]); | ^~~~ store.c: In function ‘dir_sort_subdirs_by_hash’: store.c:948:53: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 948 | fprintf(stderr, "Cannot alloc mem for dir list (%lu bytes)!\n", | ~~^ | | | long unsigned int | %u 949 | nr * sizeof(struct dir_node *)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int store.c: In function ‘dir_find_dups’: store.c:1125:43: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;] 1125 | dir_chain = (struct dir_node **) xmalloc(mem); | ^~~ store.c:1153:19: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;] 1153 | qsort(dir_chain, dir_chain_len, sizeof(struct dir_node *), | ^~~~~~~~~~~~~ store.c:1185:19: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} may change value []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wconversion-Wconversion]8;;] 1185 | qsort(dir_chain, dir_chain_len, sizeof(struct dir_node *), | ^~~~~~~~~~~~~ gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wextra -O3 -g -ggdb -D _FORTIFY_SOURCES=2 -fstack-reuse=all -flto -Wtrampolines -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-O1 -Wl,-z,noexecstack -fPIE -pie -fstack-protector-all -Wconversion -Wcast-align -Wformat=2 -Wformat-security -fno-common -Wmissing-prototypes -Wmissing-declarations -Wstrict-overflow -Wstrict-prototypes dupdump.c -o dupdump store.o -lcrypto dupdump.c: In function ‘callback’: dupdump.c:54:60: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘__dev_t’ {aka ‘const long long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 54 | fprintf(stderr, "%08x %s size=%jd base=%d level=%d dev=%lu ino=%lu\n", | ~~^ | | | long unsigned int | %llu ...... 58 | s->st_dev, | ~~~~~~~~~ | | | __dev_t {aka const long long unsigned int} dupdump.c:54:68: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘__ino64_t’ {aka ‘const long long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 54 | fprintf(stderr, "%08x %s size=%jd base=%d level=%d dev=%lu ino=%lu\n", | ~~^ | | | long unsigned int | %llu ...... 59 | s->st_ino); | ~~~~~~~~~ | | | __ino64_t {aka const long long unsigned int} ==> Entering fakeroot environment... ==> Starting package()... cp -vd --no-clobber dupdump /build/dupdump/pkg/dupdump/usr/bin/ 'dupdump' -> '/build/dupdump/pkg/dupdump/usr/bin/dupdump' cp -vd --no-clobber dupdump.1 /build/dupdump/pkg/dupdump/usr/share/man/man1/ 'dupdump.1' -> '/build/dupdump/pkg/dupdump/usr/share/man/man1/dupdump.1' ==> 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 "dupdump"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: dupdump 0.5-3 (Wed 12 Aug 2020 05:31:44 PM EDT) ==> Cleaning up...