Cook: vzctl 3.0.25.1 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): sed-4.7-i486 Extracting source archive "vzctl-3.0.25.1.tar.bz2" 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 Applying patch vzctl-3.0.25.1-Makefile.u patching file Makefile.am patching file Makefile.in patching file bin/Makefile.am patching file bin/Makefile.in patching file etc/Makefile.am patching file etc/Makefile.in patching file etc/init.d/Makefile.am patching file etc/init.d/Makefile.in patching file etc/init.d/initd-functions.in patching file etc/init.d/vz-redhat.in patching file scripts/vps-create.in Applying patch extern.patch patching file src/vzlist.c configure: loading site script /etc/slitaz/cook.site checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking target system type... i486-slitaz-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i486-slitaz-linux-gcc... gcc3 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 i486-slitaz-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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/nm -B output from i486-slitaz-linux-gcc object... ok checking how to run the C preprocessor... i486-slitaz-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 i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) 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... no checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for dlopen in -ldl... yes checking for openpty in -lutil... yes checking for an ANSI C-conforming const... yes checking for inline... inline configure: creating ./config.status config.status: creating bin/Makefile config.status: creating etc/bash_completion.d/Makefile config.status: creating etc/conf/Makefile config.status: creating etc/dists/Makefile config.status: creating etc/init.d/Makefile config.status: creating etc/logrotate.d/Makefile config.status: creating etc/network/if-up.d/Makefile config.status: creating etc/network-scripts/Makefile config.status: creating etc/udev/Makefile config.status: creating etc/Makefile config.status: creating man/Makefile config.status: creating scripts/Makefile config.status: creating src/lib/Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands configure: vzctl 3.0.25.1 configured successfully: CC: i486-slitaz-linux-gcc (i486-slitaz-linux-gcc (SliTaz) 8.2.0) CFLAGS: '-march=i486 -Os -pipe -mindirect-branch=thunk -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -D_FILE_OFFSET_BITS=64' build: i486-slitaz-linux-gnu host: i486-slitaz-linux-gnu target: i486-slitaz-linux-gnu prefix: /usr sysconfdir: /etc features: +bashcomp +logrotate +udev Making all in bin make[1]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/bin' GEN vzcpucheck GEN vzmigrate GEN vznetcfg GEN vzpid GEN vznetaddbr GEN vzifup-post make[1]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/bin' Making all in etc make[1]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc' Making all in bash_completion.d make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/bash_completion.d' GEN vzctl.sh make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/bash_completion.d' Making all in conf make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/conf' GEN 0.conf GEN ve-light.conf-sample GEN ve-basic.conf-sample GEN ve-unlimited.conf-sample make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/conf' Making all in dists make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/dists' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/dists' Making all in init.d make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/init.d' GEN initd-functions make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/init.d' Making all in logrotate.d make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/logrotate.d' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/logrotate.d' Making all in network/if-up.d make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/network/if-up.d' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/network/if-up.d' Making all in network-scripts make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/network-scripts' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/network-scripts' Making all in udev make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/udev' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc/udev' make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc' make[1]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/etc' Making all in man make[1]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/man' Making all in scripts make[1]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/scripts' GEN vps-create GEN vps-net_add GEN vps-net_del GEN vps-functions GEN vzevent-stop GEN vzevent-reboot GEN vps-pci make[1]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/scripts' Making all in src make[1]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/src' Making all in lib make[2]: Entering directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/src/lib' CC cap.lo CC config.lo CC cpt.lo CC cpu.lo CC create.lo CC destroy.lo config.c: In function 'parse_devices_str': config.c:941:14: warning: implicit declaration of function 'makedev'; did you mean 'make_dir'? [-Wimplicit-function-declaration] dev->dev = makedev(major, 0); ^~~~~~~ make_dir cpt.c: In function 'real_chkpnt': cpt.c:152:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cmd == CMD_CHKPNT) ^~ cpt.c:154:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ioctl(cpt_fd, CPT_RESUME, 0) < 0) ^~ config.c: In function 'store_dev': config.c:995:11: error: called object 'major' is not a function or function pointer major = major(res->dev); ^~~~~ config.c:986:7: note: declared here int major, minor, i = 0; ^~~~~ config.c:996:11: error: called object 'minor' is not a function or function pointer minor = minor(res->dev); ^~~~~ config.c:986:14: note: declared here int major, minor, i = 0; ^~~~~ CC dev.lo destroy.c: In function 'destroydir': destroy.c:241:35: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s/%s", tmp, tmp_nm); ^ config.c: In function 'parse_netif': In file included from /usr/include/stdio.h:873, from destroy.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ destroy.c:259:32: warning: '/rm.lck' directive output may be truncated writing 7 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s/rm.lck", tmp); ^~~~~~~ In file included from /usr/include/stdio.h:873, from destroy.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 519 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:1451:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ destroy.c:156:35: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 511 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s/%s", root, ep->d_name); ^~ In file included from /usr/include/stdio.h:873, from destroy.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 768 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ destroy.c:161:39: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 505 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "rm -rf %s/%s", ^~ destroy.c:288:15: _destroydir(tmp); ~~~ In file included from /usr/include/stdio.h:873, from destroy.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 775 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpt.c: In function 'restrore_FN': cpt.c:358:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(wait_p, &len, sizeof(len)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpt.c:377:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(err_p, &status, sizeof(status)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpt.c:389:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(err_p, &status, sizeof(status)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC dist.lo create.c: In function 'fs_create': create.c:118:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "PRIVATE_TEMPLATE=%s", tarball); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from create.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 273 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ create.c:120:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 248 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "VE_PRVT=%s", tmp_dir); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from create.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 264 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c: In function 'parse_netif_cmd': config.c:1691:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ config.c: In function 'vps_save_config': config.c:2216:11: warning: variable 'n' set but not used [-Wunused-but-set-variable] int ret, n; ^ make[2]: *** [Makefile:437: config.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... CC env.lo dist.c: In function 'read_dist_actions': dist.c:136:30: warning: '.conf' directive output may be truncated writing 5 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(file, len, "%s/%s.conf", dir, buf); ^~~~~ In file included from /usr/include/stdio.h:873, from dist.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ env.c: In function 'vz_env_create': env.c:500:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDIN_FILENO, &ret, sizeof(ret)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ env.c: In function 'vz_real_env_create': env.c:456:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDIN_FILENO, &ret, sizeof(ret)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ env.c: In function '_env_create': env.c:426:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(err_p, &ret, sizeof(ret)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ env.c: In function 'vps_start_custom': env.c:651:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(wait_p[1], &err, sizeof(err)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/src/lib' make[1]: *** [Makefile:515: all-recursive] Error 1 make[1]: Leaving directory '/home/slitaz/wok/vzctl/source/vzctl-3.0.25.1/src' make: *** [Makefile:330: all-recursive] Error 1 Build dependencies to remove: 1 Removing: sed Debug information ret1. ================================================================================ Cook date: 2020-09-13 07:04 Wasted time : 10s 223:config.c:995:11: error: called object 'major' is not a function or function pointer 229:config.c:996:11: error: called object 'minor' is not a function or function pointer ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================