Cook: shell-fm 0.8 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libmad-0.15.1b-i486 Installing (pkg/local): libmad-dev-0.15.1b-any Installing (pkg/local): alsa-lib-1.2.3-i486 Installing (pkg/local): libao-1.1.0-i486 Installing (pkg/local): libao-dev-1.1.0-any Extracting source archive "shell-fm-0.8.tgz" 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 make -C source make -C manual make[1]: Entering directory '/home/slitaz/wok/shell-fm/source/shell-fm-0.8/source' make[1]: Entering directory '/home/slitaz/wok/shell-fm/source/shell-fm-0.8/manual' gzip -9 -c shell-fm.1 > shell-fm.1.gz make[1]: Leaving directory '/home/slitaz/wok/shell-fm/source/shell-fm-0.8/manual' cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o getln.o getln.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o md5.o md5.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o history.o history.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o select.o select.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o http.o http.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o completion.o completion.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o submit.o submit.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o strary.o strary.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o feeds.o feeds.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o hash.o hash.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o bookmark.o bookmark.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o tag.o tag.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o recommend.o recommend.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o pipe.o pipe.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o util.o util.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o ropen.o ropen.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o autoban.o autoban.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o sckif.o sckif.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o radio.o radio.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o split.o split.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o play.o play.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o service.o service.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o playlist.o playlist.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o readline.o readline.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o xmlrpc.o xmlrpc.c sckif.c: In function 'handle_client': sckif.c:179:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(client_socket, reply, strlen(reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sckif.c: In function 'execcmd': sckif.c:270:4: warning: this statement may fall through [-Wimplicit-fallthrough=] quit(); ^~~~~~ sckif.c:273:3: note: here case 5: ^~~~ play.c: In function 'output': play.c:412:29: warning: parameter 'head' set but not used [-Wunused-but-set-parameter] const struct mad_header * head, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o interface.o interface.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -D_GLIBCXX_USE_C99_MATH=1 -c -o settings.o settings.c interface.c: In function 'handle_keyboard_input': interface.c:101:4: warning: this statement may fall through [-Wimplicit-fallthrough=] quit(); ^~~~~~ interface.c:103:3: note: here case 'i': ^~~~ interface.c: In function 'set_volume': interface.c:632:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(playpipe, & c, 1); ^~~~~~~~~~~~~~~~~~~~~~~ interface.c: In function 'meta': interface.c:367:22: warning: '%02d' directive output may be truncated writing 2 bytes into a region of size between 0 and 6 [-Wformat-truncation=] "%c%02d:%02d", ^~~~ interface.c:367:14: note: directive argument in the range [0, 59] "%c%02d:%02d", ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from interface.c:8: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 13 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.c:349:12: warning: '%02d' directive output may be truncated writing between 2 and 3 bytes into a region of size between 0 and 8 [-Wformat-truncation=] "%d:%02d", ^~~~ interface.c:349:8: note: directive argument in the range [-59, 59] "%d:%02d", ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from interface.c:8: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 14 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar -cvq libshellfm.a getln.o md5.o history.o select.o http.o completion.o submit.o strary.o feeds.o hash.o bookmark.o tag.o recommend.o pipe.o util.o ropen.o autoban.o sckif.o radio.o split.o play.o service.o playlist.o readline.o xmlrpc.o interface.o settings.o a - getln.o a - md5.o a - history.o a - select.o a - http.o a - completion.o a - submit.o a - strary.o a - feeds.o a - hash.o a - bookmark.o a - tag.o a - recommend.o a - pipe.o a - util.o a - ropen.o a - autoban.o a - sckif.o a - radio.o a - split.o a - play.o a - service.o a - playlist.o a - readline.o a - xmlrpc.o a - interface.o a - settings.o cc -march=i486 -Os -pipe -mindirect-branch=thunk -Os -Wall -MD -W -I./include/ -DLIBAO -Wl,-Os,--as-needed main.c libshellfm.a -lmad -lao -o shell-fm main.c: In function 'main': main.c:267:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(null); ^~~~~~~~~ main.c:268:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(null); ^~~~~~~~~ main.c:490:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(np, output, strlen(output)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: libshellfm.a(play.o): in function `output': play.c:(.text+0x135): undefined reference to `scale' /usr/bin/ld: play.c:(.text+0x163): undefined reference to `scale' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:43: shell-fm] Error 1 make[1]: Leaving directory '/home/slitaz/wok/shell-fm/source/shell-fm-0.8/source' make: *** [Makefile:12: shell-fm] Error 2 Build dependencies to remove: 5 Removing: alsa-lib libao libao-dev libmad libmad-dev Debug information ret1. ================================================================================ Cook date: 2020-09-13 04:19 Wasted time : 5s 145:play.c:(.text+0x135): undefined reference to `scale' 146:/usr/bin/ld: play.c:(.text+0x163): undefined reference to `scale' 147:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================