Cook: lvmts aa72260 ================================================================================ QA: checking package receipt... Checking build dependencies... 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): linux-crypto-4.17.7-i486 Installing (pkg/local): linux-md-4.17.7-i486 Installing (pkg/local): lvm2-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): util-linux-uuid-dev-2.33.1-any Installing (pkg/local): util-linux-blkid-dev-2.33.1-any Installing (pkg/local): lvm2-dev-2.02.181-any Installing (pkg/local): libconfuse-2.7-i486 Extracting source archive "lvmts-aa72260.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 gcc -std=gnu99 -Wall -pthread -ggdb3 -lm -O1 -c activity_stats.c activity_stats.c: In function 'dump_activity_stats': activity_stats.c:291:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] printf("block %8lu, last read: %lu, read score: %e\n", ~~~^ %8u i, activity->block[i].read_time, ~ activity_stats.c:291:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] printf("block %8lu, last read: %lu, read score: %e\n", ~~^ %llu i, activity->block[i].read_time, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ activity_stats.c:294:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] printf("block %8lu, last write: %lu, write score: %e\n", ~~~^ %8u i, activity->block[i].write_time, ~ activity_stats.c:294:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] printf("block %8lu, last write: %lu, write score: %e\n", ~~^ %llu i, activity->block[i].write_time, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ activity_stats.c: In function 'write_block': activity_stats.c:318:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (n != 1) ^~ activity_stats.c:321:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ activity_stats.c: In function 'print_block_scores': activity_stats.c:567:23: warning: format '%li' expects argument of type 'long int', but argument 2 has type 'int64_t' {aka 'long long int'} [-Wformat=] printf("block %10li score: %8f\n", bs[i].offset, bs[i].score); ~~~~^ ~~~~~~~~~~~~ %10lli gcc -std=gnu99 -Wall -pthread -ggdb3 -lm -O1 -c config.c config.c: In function 'parse_size_value': config.c:414:40: warning: integer overflow in expression of type 'long int' results in '0' [-Woverflow] res *= 1024L * 1024L * 1024L * 1024L; ^ gcc -std=gnu99 -Wall -pthread -ggdb3 -lm -O1 -c lvmls.c gcc -std=gnu99 -Wall -pthread -ggdb3 -lm -O1 -c volumes.c volumes.c: In function 'get_volume_stats': volumes.c:145:62: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] fprintf(stderr, "error when translating extent %li\n", i); ~~^ ~ %i volumes.c:132:11: warning: unused variable 'hit_score' [-Wunused-variable] float hit_score = get_hit_score(pp, lv_name); ^~~~~~~~~ volumes.c:116:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&file, "%s.lvmts", lv_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -std=gnu99 -Wall -pthread -ggdb3 -lm -O1 -c extents.c gcc -std=gnu99 -Wall -pthread -ggdb3 -lm -O1 lvmtscd.c activity_stats.o config.o lvmls.o volumes.o extents.o -llvm2cmd -pthread -lconfuse -o lvmtscd lvmtscd.c: In function 'create_temp_file_name': lvmtscd.c:326:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&ret, ".%s", file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lvmtscd.c: In function 'main': lvmtscd.c:560:7: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&pp.lv_dev_name, "/dev/%s/%s", get_volume_vg(pp.pp, vol_name), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_volume_lv(pp.pp, vol_name)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: activity_stats.o: undefined reference to symbol 'exp@@GLIBC_2.0' /usr/bin/ld: /usr/lib/gcc/i486-slitaz-linux/8.2.0/../../../libm.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:30: lvmtscd] Error 1 Build dependencies to remove: 21 Removing: dbus eudev eudev-dev libaio libconfuse libdevmapper libdevmapper-dev libx11 libxau libxcb libxdmcp linux-crypto linux-md lvm2 lvm2-dev util-linux-blkid util-linux-blkid-dev util-linux-mount util-linux-smartcols util-linux-uuid util-linux-uuid-dev Debug information ret1. ================================================================================ Cook date: 2020-09-12 22:13 Wasted time : 17s 103:/usr/bin/ld: activity_stats.o: undefined reference to symbol 'exp@@GLIBC_2.0' 105:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================