>>> cpulimit 0.2 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/.cpulimit-0.2.tar.gz.We9wfE/output' 'https://github.com/opsengine/cpulimit/archive/v0.2/cpulimit-0.2.tar.gz' --2022-05-06 13:56:36-- https://github.com/opsengine/cpulimit/archive/v0.2/cpulimit-0.2.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/opsengine/cpulimit/tar.gz/refs/tags/v0.2 [following] --2022-05-06 13:56:36-- https://codeload.github.com/opsengine/cpulimit/tar.gz/refs/tags/v0.2 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/.cpulimit-0.2.tar.gz.We9wfE/output' 0K .......... ... 631K=0.02s 2022-05-06 13:56:36 (631 KB/s) - '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/.cpulimit-0.2.tar.gz.We9wfE/output' saved [14289] cpulimit-0.2.tar.gz: OK (sha256: 64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da) >>> cpulimit 0.2 Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-0/dl/cpulimit/cpulimit-0.2.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2 -xf - >>> cpulimit 0.2 Patching Applying 0001-Fix-crash-and-compiler-warnings.patch using patch: patching file src/cpulimit.c patching file src/process_group.c patching file tests/process_iterator_test.c Applying 0002-Remove-sys-sysctl.h-and-add-missing-libgen.h-include.patch using patch: patching file src/cpulimit.c patching file src/process_group.c Hunk #1 succeeded at 24 with fuzz 2. >>> cpulimit 0.2 Configuring >>> cpulimit 0.2 Building PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc-ar" AS="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-as" LD="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-ld" NM="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc-nm" CC="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc" GCC="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc" CPP="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-cpp" CXX="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-g++" FC="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gfortran" F77="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gfortran" RANLIB="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc-ranlib" READELF="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-readelf" STRIP="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-strip" OBJCOPY="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/giuliobenetti/autobuild/run/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/giuliobenetti/autobuild/run/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/giuliobenetti/autobuild/run/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2 CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_GNU_SOURCE" LDLIBS="" make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2' cd src && /usr/bin/make all make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2/src' /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -c list.c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_GNU_SOURCE /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -c process_iterator.c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_GNU_SOURCE /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -c process_group.c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_GNU_SOURCE /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -o cpulimit cpulimit.c list.o process_iterator.o process_group.o -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_GNU_SOURCE make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2/src' cd tests && /usr/bin/make all make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2/tests' /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -o busy busy.c -lpthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_GNU_SOURCE /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -I../src -o process_iterator_test process_iterator_test.c ../src/list.o ../src/process_iterator.o ../src/process_group.o -lpthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_GNU_SOURCE busy.c:3:10: fatal error: pthread.h: No such file or directory 3 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:16: busy] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: cannot find -lpthread collect2: error: ld returned 1 exit status make[2]: *** [Makefile:19: process_iterator_test] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2/tests' make[1]: *** [Makefile:5: all] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2' make: *** [package/pkg-generic.mk:293: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/cpulimit-0.2/.stamp_built] Error 2 make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/buildroot'