>>> libsolv 0.7.25 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/libsolv/libsolv-0.7.25.tar.gz | /home/buildroot/autobuild/instance-2/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25 -xf - >>> libsolv 0.7.25 Patching >>> libsolv 0.7.25 Configuring (mkdir -p /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ && cd /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-2/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DENABLE_STATIC=ON -DDISABLE_SHARED=ON ) CMake Warning (dev) at CMakeLists.txt:1 (PROJECT): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/sh4a-buildroot-linux-musl-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Deprecation Warning at CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 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. -- Libraries will be installed in /usr/lib -- Header files will be installed in /usr/include -- Binaries will be installed in /usr/bin -- Man pages will be installed in /usr/share/man -- Building for no system -- Found ZLIB: /home/buildroot/autobuild/instance-2/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/lib/libz.a (found version "1.3.1") -- Looking for strchrnul -- Looking for strchrnul - found -- Looking for fopencookie -- Looking for fopencookie - found -- Looking for funopen -- Looking for funopen - not found -- Performing Test HAVE_LINKER_AS_NEEDED -- Performing Test HAVE_LINKER_AS_NEEDED - Success -- Performing Test HAVE_LINKER_VERSION_SCRIPT -- Performing Test HAVE_LINKER_VERSION_SCRIPT - Success -- Looking for modules in /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/cmake/modules -- Looking for qsort_r -- Looking for qsort_r - found -- Looking for __qsort_r -- Looking for __qsort_r - found -- Version: 0.7.25 -- Writing spec file... -- Writing pkg-config files... -- Configuring done (1.1s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25 >>> libsolv 0.7.25 Building GIT_DIR=. PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake --build /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ -j4 -- make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' [ 1%] Building C object tools/CMakeFiles/toolstuff.dir/common_write.c.o [ 5%] Building C object ext/CMakeFiles/libsolvext.dir/testcase.c.o [ 5%] Building C object ext/CMakeFiles/libsolvext.dir/solv_xfopen.c.o [ 7%] Building C object src/CMakeFiles/libsolv.dir/bitmap.c.o [ 8%] Linking C static library libtoolstuff.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' [ 8%] Built target toolstuff [ 10%] Building C object src/CMakeFiles/libsolv.dir/poolarch.c.o [ 12%] Building C object src/CMakeFiles/libsolv.dir/poolvendor.c.o [ 14%] Building C object src/CMakeFiles/libsolv.dir/poolid.c.o [ 16%] Building C object ext/CMakeFiles/libsolvext.dir/repo_testcase.c.o [ 17%] Building C object src/CMakeFiles/libsolv.dir/strpool.c.o [ 19%] Building C object src/CMakeFiles/libsolv.dir/dirpool.c.o /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ext/testcase.c: In function 'dump_genid': /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ext/testcase.c:1274:33: warning: ': genid ' directive writing 8 bytes into a region of size between 3 and 12 [-Wformat-overflow=] 1274 | sprintf(cntbuf, "genid %2d: genid ", cnt++); | ^~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ext/testcase.c:1274:7: note: 'sprintf' output between 17 and 26 bytes into a destination of size 20 1274 | sprintf(cntbuf, "genid %2d: genid ", cnt++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ext/testcase.c:1269:33: warning: ': genid ' directive writing 8 bytes into a region of size between 3 and 12 [-Wformat-overflow=] 1269 | sprintf(cntbuf, "genid %2d: genid ", cnt++); | ^~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/ext/testcase.c:1269:7: note: 'sprintf' output between 17 and 26 bytes into a destination of size 20 1269 | sprintf(cntbuf, "genid %2d: genid ", cnt++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 21%] Building C object src/CMakeFiles/libsolv.dir/solver.c.o [ 23%] Building C object src/CMakeFiles/libsolv.dir/solverdebug.c.o [ 25%] Building C object src/CMakeFiles/libsolv.dir/repo_solv.c.o [ 26%] Building C object src/CMakeFiles/libsolv.dir/repo_write.c.o [ 28%] Building C object src/CMakeFiles/libsolv.dir/evr.c.o [ 30%] Building C object src/CMakeFiles/libsolv.dir/pool.c.o [ 32%] Linking C static library libsolvext.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' [ 32%] Built target libsolvext [ 33%] Building C object src/CMakeFiles/libsolv.dir/queue.c.o [ 35%] Building C object src/CMakeFiles/libsolv.dir/repo.c.o [ 37%] Building C object src/CMakeFiles/libsolv.dir/repodata.c.o [ 39%] Building C object src/CMakeFiles/libsolv.dir/repopage.c.o /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/src/pool.c: In function 'pool_id2langid': /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/src/pool.c:1716:18: warning: '%s' directive writing up to 254 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 1716 | sprintf(p, "%s:%s", n, lang); | ^~ /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/src/pool.c:1716:3: note: 'sprintf' output between 2 and 510 bytes into a destination of size 256 1716 | sprintf(p, "%s:%s", n, lang); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building C object src/CMakeFiles/libsolv.dir/util.c.o /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/src/util.c: In function 'solv_sort': /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/src/util.c:196:30: error: passing argument 4 of 'qsort_r' from incompatible pointer type [-Wincompatible-pointer-types] 196 | qsort_r(base, nmemb, size, &d, solv_sort_helper); | ^~ | | | struct solv_sort_data * In file included from /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/src/util.c:11: /home/buildroot/autobuild/instance-2/output-1/host/sh4a-buildroot-linux-musl/sysroot/usr/include/stdlib.h:151:39: note: expected 'int (*)(const void *, const void *, void *)' but argument is of type 'struct solv_sort_data *' 151 | void qsort_r (void *, size_t, size_t, int (*)(const void *, const void *, void *), void *); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [src/CMakeFiles/libsolv.dir/build.make:300: src/CMakeFiles/libsolv.dir/util.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[2]: *** [CMakeFiles/Makefile2:252: src/CMakeFiles/libsolv.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make[1]: *** [Makefile:166: all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25' make: *** [package/pkg-generic.mk:283: /home/buildroot/autobuild/instance-2/output-1/build/libsolv-0.7.25/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'