Cook: tcplay 2.0 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): cmake-common-3.17.3-any Installing (pkg/local): jsoncpp-1.8.4-i486 Installing (pkg/local): liblz4-1.8.3-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): libzstd-1.3.8-i486 Installing (pkg/local): libarchive-3.3.3-i486 Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.1.0-i486 Installing (pkg/local): libcurl-7.63.0-i486 Installing (pkg/local): libnsl-1.2.0-i486 Installing (pkg/local): libuv-1.25.0-i486 Installing (pkg/local): cmake-3.17.3-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): libaio-0.3.111-i486 Installing (pkg/local): libdevmapper-2.02.181-i486 Installing (pkg/local): eudev-dev-3.2.9-any Installing (pkg/local): libdevmapper-dev-2.02.181-any Installing (pkg/local): libgpg-error-1.34-i486 Installing (pkg/local): libgcrypt-1.8.4-i486 Installing (pkg/local): libgpg-error-dev-1.34-i486 Installing (pkg/local): libgcrypt-dev-1.8.4-i486 Installing (pkg/local): util-linux-uuid-dev-2.33.1-any Installing (pkg/local): openssl-dev-1.1.1d-i486 Installing (pkg/local): zlib-dev-1.2.11-any Extracting source archive "tcplay-2.0.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o tcplay.o tcplay.c cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o crc32.o crc32.c cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o safe_mem.o safe_mem.c cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o io.o io.c cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o hdr.o hdr.c cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o humanize.o humanize.c In file included from /usr/include/sys/types.h:25, from tcplay.c:31: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/uio.h:168, from io.c:38: /usr/include/bits/uio-ext.h:45: warning: "RWF_HIPRI" redefined #define RWF_HIPRI 0x00000001 /* High priority request. */ In file included from io.c:34: /usr/include/linux/fs.h:369: note: this is the location of the previous definition #define RWF_HIPRI ((__kernel_rwf_t)0x00000001) In file included from /usr/include/sys/uio.h:168, from io.c:38: /usr/include/bits/uio-ext.h:46: warning: "RWF_DSYNC" redefined #define RWF_DSYNC 0x00000002 /* per-IO O_DSYNC. */ In file included from io.c:34: /usr/include/linux/fs.h:372: note: this is the location of the previous definition #define RWF_DSYNC ((__kernel_rwf_t)0x00000002) In file included from /usr/include/sys/uio.h:168, from io.c:38: /usr/include/bits/uio-ext.h:47: warning: "RWF_SYNC" redefined #define RWF_SYNC 0x00000004 /* per-IO O_SYNC. */ In file included from io.c:34: /usr/include/linux/fs.h:375: note: this is the location of the previous definition #define RWF_SYNC ((__kernel_rwf_t)0x00000004) In file included from /usr/include/sys/uio.h:168, from io.c:38: /usr/include/bits/uio-ext.h:48: warning: "RWF_NOWAIT" redefined #define RWF_NOWAIT 0x00000008 /* per-IO nonblocking mode. */ In file included from io.c:34: /usr/include/linux/fs.h:378: note: this is the location of the previous definition #define RWF_NOWAIT ((__kernel_rwf_t)0x00000008) cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o crypto.o crypto.c humanize.c: In function '_dehumanize_number': humanize.c:93:14: warning: this statement may fall through [-Wimplicit-fallthrough=] multiplier *= 1024; ~~~~~~~~~~~^~~~~~~ humanize.c:94:2: note: here case 'z': ^~~~ humanize.c:95:14: warning: this statement may fall through [-Wimplicit-fallthrough=] multiplier *= 1024; ~~~~~~~~~~~^~~~~~~ humanize.c:96:2: note: here case 'e': ^~~~ humanize.c:97:14: warning: this statement may fall through [-Wimplicit-fallthrough=] multiplier *= 1024; ~~~~~~~~~~~^~~~~~~ humanize.c:98:2: note: here case 'p': ^~~~ humanize.c:99:14: warning: this statement may fall through [-Wimplicit-fallthrough=] multiplier *= 1024; ~~~~~~~~~~~^~~~~~~ humanize.c:100:2: note: here case 't': ^~~~ humanize.c:101:14: warning: this statement may fall through [-Wimplicit-fallthrough=] multiplier *= 1024; ~~~~~~~~~~~^~~~~~~ humanize.c:102:2: note: here case 'g': ^~~~ humanize.c:103:14: warning: this statement may fall through [-Wimplicit-fallthrough=] multiplier *= 1024; ~~~~~~~~~~~^~~~~~~ humanize.c:104:2: note: here case 'm': ^~~~ humanize.c:105:14: warning: this statement may fall through [-Wimplicit-fallthrough=] multiplier *= 1024; ~~~~~~~~~~~^~~~~~~ humanize.c:106:2: note: here case 'k': ^~~~ cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o generic_xts.o generic_xts.c cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o crypto-gcrypt.o crypto-gcrypt.c tcplay.c: In function 'xlate_maj_min': tcplay.c:1368:14: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] dev_t dev = makedev(maj, min); ^~~~~~~ tcplay.c:1368:14: warning: nested extern declaration of 'makedev' [-Wnested-externs] cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o pbkdf2-openssl.o pbkdf2-openssl.c cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o main.o main.c cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -c -o tcplay_api.o tcplay_api.c tcplay.c: In function 'dm_setup': tcplay.c:1795:27: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 512 [-Wformat-truncation=] snprintf(params, 512, "%s 0", dev); ^~ ~~~ In file included from /usr/include/stdio.h:873, from tcplay.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 4098 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcplay.c:1810:25: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 108 and 508 [-Wformat-truncation=] snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", ^~~~~~~~~ tcplay.c:1812:48: (uint64_t)INFO_TO_DM_BLOCKS(info, skip), dev, ~~~ tcplay.c:1810:43: note: format string is defined here snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", ^~ tcplay.c:1810:25: note: directive argument in the range [0, 36028797018963967] snprintf(params, 512, "%s %s %"PRIu64 " %s %"PRIu64 " %s", ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from tcplay.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 4535) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wsystem-headers -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -fPIC -DMAJ_VER=2 -DMIN_VER=0 -D_FILE_OFFSET_BITS=64 -O3 -D_GNU_SOURCE -march=i486 -Os -pipe -mindirect-branch=thunk -o tcplay tcplay.o crc32.o safe_mem.o io.o hdr.o humanize.o crypto.o generic_xts.o crypto-gcrypt.o pbkdf2-openssl.o main.o -lgcrypt -lgpg-error -ldevmapper -luuid -lcrypto cc -shared -Wl,-version-script=tcplay.map -Wl,-soname=libtcplay.so.2.0 -Wl,-Os,--as-needed \ -o libtcplay.so.2.0 tcplay.o crc32.o safe_mem.o io.o hdr.o humanize.o crypto.o generic_xts.o crypto-gcrypt.o pbkdf2-openssl.o tcplay_api.o -lgcrypt -lgpg-error -ldevmapper -luuid -lcrypto ar -rs libtcplay.a tcplay.o crc32.o safe_mem.o io.o hdr.o humanize.o crypto.o generic_xts.o crypto-gcrypt.o pbkdf2-openssl.o tcplay_api.o ar: creating libtcplay.a ln -sf libtcplay.so.2.0 libtcplay.so /usr/bin/ld: tcplay.o: in function `xlate_maj_min.constprop.1': tcplay.c:(.text+0x180): undefined reference to `makedev' collect2: error: ld returned 1 exit status make: *** [Makefile.classic:87: tcplay] Error 1 Build dependencies to remove: 33 Removing: cmake cmake-common dbus eudev eudev-dev jsoncpp libaio libarchive libcurl libdevmapper libdevmapper-dev libgcrypt libgcrypt-dev libgpg-error libgpg-error-dev libidn2 liblz4 libnsl libunistring libuv libx11 libxau libxcb libxdmcp libxml2 libzstd openssl-dev util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid util-linux-uuid-dev zlib-dev Debug information ret1. ================================================================================ Cook date: 2020-09-13 05:29 Wasted time : 20s 185:tcplay.c:(.text+0x180): undefined reference to `makedev' 186:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================