CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/mipsel-openwrt-linux-musl-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER CMAKE_ASM_COMPILER_LAUNCHER CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_EXPORT_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY CMAKE_FIND_USE_PACKAGE_REGISTRY CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS DL_LIBRARY -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958' [1/7] Building C object CMakeFiles/ratechecker.dir/main.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c: In function 'open_serial_port': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:38:57: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 38 | snprintf(path, sizeof(path), "%s/%s-gps_trace_%zd_%zd.dump", | ~~^ | | | int | %lld ...... 41 | ts.tv_sec, | ~~~~~~~~~ | | | time_t {aka long long int} /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:38:61: warning: format '%zd' expects argument of type 'signed size_t', but argument 7 has type 'long int' [-Wformat=] 38 | snprintf(path, sizeof(path), "%s/%s-gps_trace_%zd_%zd.dump", | ~~^ | | | int | %ld ...... 42 | ts.tv_nsec); | ~~~~~~~~~~ | | | long int /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c: In function 'ev_handler_gps_read': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:114:64: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 114 | snprintf(log, sizeof(log), "{\"ts\": %zd.%zd, \"round\": %d, \"legacy\": %f, \"mcs\": %d, \"gps\": %.*s},\n", | ~~^ | | | int | %lld 115 | global->gps.ts_sys.tv_sec, global->gps.ts_sys.tv_nsec,global->output_round, data_rate_dot11p_rates[-(global->rate_chosen + 1)], global->bitrate_mcs, (int) length-1, buffer); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:114:68: warning: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'long int' [-Wformat=] 114 | snprintf(log, sizeof(log), "{\"ts\": %zd.%zd, \"round\": %d, \"legacy\": %f, \"mcs\": %d, \"gps\": %.*s},\n", | ~~^ | | | int | %ld 115 | global->gps.ts_sys.tv_sec, global->gps.ts_sys.tv_nsec,global->output_round, data_rate_dot11p_rates[-(global->rate_chosen + 1)], global->bitrate_mcs, (int) length-1, buffer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:117:64: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 117 | snprintf(log, sizeof(log), "{\"ts\": %zd.%zd, \"round\": %d, \"legacy\": %f, \"mcs\": %d, \"gps\": %.*s},\n", | ~~^ | | | int | %lld 118 | global->gps.ts_sys.tv_sec, global->gps.ts_sys.tv_nsec,global->output_round, data_rate_legacy_rates[-(global->rate_chosen + 1)], global->bitrate_mcs, (int) length-1, buffer); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:117:68: warning: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'long int' [-Wformat=] 117 | snprintf(log, sizeof(log), "{\"ts\": %zd.%zd, \"round\": %d, \"legacy\": %f, \"mcs\": %d, \"gps\": %.*s},\n", | ~~^ | | | int | %ld 118 | global->gps.ts_sys.tv_sec, global->gps.ts_sys.tv_nsec,global->output_round, data_rate_legacy_rates[-(global->rate_chosen + 1)], global->bitrate_mcs, (int) length-1, buffer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:121:56: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 121 | snprintf(log, sizeof(log), "{\"ts\": %zd.%zd, \"round\": %d, \"legacy\": %d, \"mcs\": %d, \"gps\": %.*s},\n", | ~~^ | | | int | %lld 122 | global->gps.ts_sys.tv_sec, global->gps.ts_sys.tv_nsec,global->output_round, global->bitrate_legacy, global->bitrate_mcs, (int) length-1, buffer); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:121:60: warning: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'long int' [-Wformat=] 121 | snprintf(log, sizeof(log), "{\"ts\": %zd.%zd, \"round\": %d, \"legacy\": %d, \"mcs\": %d, \"gps\": %.*s},\n", | ~~^ | | | int | %ld 122 | global->gps.ts_sys.tv_sec, global->gps.ts_sys.tv_nsec,global->output_round, global->bitrate_legacy, global->bitrate_mcs, (int) length-1, buffer); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c: In function 'rate_rx_packet': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:233:72: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 233 | snprintf(path, sizeof(path), "%s/%s/rate_analysis_%s_%ld.dump", | ~~^ | | | long int | %lld ...... 237 | time(NULL)); | ~~~~~~~~~~ | | | time_t {aka long long int} /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:302:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 302 | "{ \"round\": %d, \"systime\": %ld, \"legacy\": % 3.1f, %s\"bitmask\": \"", round, time(NULL), | ~~^ ~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:305:101: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 305 | snprintf(open_string, sizeof(open_string), "{ \"round\": %d, \"systime\": %ld, \"mcs\": %d, %s\"bitmask\": \"", | ~~^ | | | long int | %lld 306 | round, time(NULL), | ~~~~~~~~~~ | | | time_t {aka long long int} /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c: In function 'compute_send_interval': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:444:24: warning: unused variable 'rate_mbps' [-Wunused-variable] 444 | double rate_mbps; | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:442:24: warning: unused variable 'beta' [-Wunused-variable] 442 | double beta; | ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:441:24: warning: unused variable 'actual_airtime' [-Wunused-variable] 441 | double actual_airtime[sizeof(global->num_rates)]; // in ms | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:451:30: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 451 | printf("Next Tx in %ld.%06lds \n", global->output_timer_interval.tv_sec, global->output_timer_interval.tv_usec); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/main.c:451:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 451 | printf("Next Tx in %ld.%06lds \n", global->output_timer_interval.tv_sec, global->output_timer_interval.tv_usec); | ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int suseconds_t {aka long long int} | %06lld [2/7] Building C object CMakeFiles/ratechecker.dir/monitor.c.o [3/7] Building C object CMakeFiles/ratechecker.dir/radiotap.c.o [4/7] Building C object CMakeFiles/ratechecker.dir/net_radiotap.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/net_radiotap.c: In function 'ieee80211_radiotap_iterator_init': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/net_radiotap.c:117:34: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 117 | iterator->_next_bitmap = &radiotap_header->it_present; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [5/7] Building C object CMakeFiles/ratechecker.dir/ieee80211.c.o [6/7] Building C object CMakeFiles/ratechecker.dir/skb.c.o [7/7] Linking C executable bin/ratechecker FAILED: bin/ratechecker : && /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958=ratechecker-2020-01-30-a2b8b958 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wall -W -Wextra -ggdb -DNDEBUG -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/lib -znow -zrelro -rdynamic CMakeFiles/ratechecker.dir/main.c.o CMakeFiles/ratechecker.dir/monitor.c.o CMakeFiles/ratechecker.dir/radiotap.c.o CMakeFiles/ratechecker.dir/net_radiotap.c.o CMakeFiles/ratechecker.dir/ieee80211.c.o CMakeFiles/ratechecker.dir/skb.c.o -o bin/ratechecker -Wl,-Bstatic -levent -Wl,-Bdynamic -lm && : /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/../lib/gcc/mipsel-openwrt-linux-musl/12.3.0/../../../../mipsel-openwrt-linux-musl/bin/ld: BFD (GNU Binutils) 2.40.0 assertion fail elfxx-mips.c:11278 collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make[3]: *** [Makefile:42: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/ratechecker-2020-01-30-a2b8b958/.built] Error 1 time: package/feeds/packages/ratechecker/compile#3.30#0.94#4.35