=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libgroove", "configure", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead. => Checksum BLAKE2s OK for libgroove-4.3.0.tar.gz => Checksum SHA512 OK for libgroove-4.3.0.tar.gz ===> Installing dependencies for libgroove-4.3.0nb26 ========================================================================== The following variables will affect the build process of this package, libgroove-4.3.0nb26. Their current value is shown below: * CURSES_DEFAULT = ncurses Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency yasm-[0-9]*: found yasm-1.3.0 => Tool dependency cmake>=3.18: found cmake-4.4.0 => Tool dependency pkgconf-[0-9]*: found pkgconf-3.0.4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency SDL2>=2.32.10nb3: found SDL2-2.32.10nb3 => Full dependency chromaprint>=1.4.3nb3: found chromaprint-1.6.0nb1 => Full dependency ffmpeg4>=4.4.6nb2: found ffmpeg4-4.4.8nb1 => Full dependency lame>=4.0: found lame-4.0nb1 => Full dependency libebur128>=1.0.1: found libebur128-1.2.6 => Full dependency speexdsp>=1.2rc3: found speexdsp-1.2.1 => Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb6 => Build dependency xorgproto>=2016.1: found xorgproto-2025.1 => Full dependency MesaLib>=3.4.2: found MesaLib-21.3.9nb5 => Full dependency brotli>=1.0.1: found brotli-1.2.0 => Full dependency bzip2>=1.0.1: found bzip2-1.0.8 => Full dependency expat>=1.95.7: found expat-2.8.2 => Full dependency flac>=1.1.0nb1: found flac-1.5.0nb1 => Full dependency fontconfig>=2.11.91: found fontconfig-2.18.2 => Full dependency freetype2>=2.13.0: found freetype2-2.14.3 => Full dependency gettext-lib>=0.22: found gettext-lib-1.0 => Full dependency libiconv>=1.9.1: found libiconv-1.19 => Full dependency libX11>=1.5: found libX11-1.8.13 => Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.5nb1 => Full dependency libXau>=1.0: found libXau-1.0.12 => Full dependency libXcursor>=1.1.1: found libXcursor-1.2.3 => Full dependency libXdamage>=1.0.3: found libXdamage-1.1.7 => Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5 => Full dependency libXext>=1.1: found libXext-1.3.7 => Full dependency libXfixes>=4.0.1: found libXfixes-6.0.2 => Full dependency libXi>=1.0.0: found libXi-1.8.3 => Full dependency libXinerama>=1.0.1: found libXinerama-1.1.6nb1 => Full dependency libXrandr>=1.1.2: found libXrandr-1.5.5 => Full dependency libXrender>=0.9.2: found libXrender-0.9.12 => Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.7nb1 => Full dependency libaom>=1.0.0: found libaom-3.14.1 => Full dependency libdrm>=2.4.15: found libdrm-2.4.134 => Full dependency libogg>=1.1: found libogg-1.3.6 => Full dependency libopus>=1.1: found libopus-1.6.1 => Full dependency libpciaccess>=0.10.4: found libpciaccess-0.19 => Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb6 => Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb3 => Full dependency libtheora>=1.0alpha3: found libtheora-1.2.0nb1 => Full dependency libvdpau>=0.3: found libvdpau-1.4nb1 => Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7 => Full dependency libvpx>=1.14.0: found libvpx-1.16.0nb1 => Full dependency libxcb>=1.6: found libxcb-1.17.0 => Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3 => Full dependency mpg123>=1.0.0: found mpg123-1.33.6 => Full dependency ncurses>=5.3nb1: found ncurses-6.6 => Full dependency png>=1.2.4: found png-1.6.58nb1 => Full dependency speex>=1.2rc1: found speex-1.2.1 => Full dependency x264>=20220601: found x264-20250608 => Full dependency xvidcore>=1.0.0: found xvidcore-1.3.7nb1 => Full dependency xz>=5.0.0: found xz-5.8.3 => Full dependency zlib>=1.1.4: found zlib-1.3.1 ===> Overriding tools for libgroove-4.3.0nb26 ===> Extracting for libgroove-4.3.0nb26 ===> Patching for libgroove-4.3.0nb26 => Applying pkgsrc patches for libgroove-4.3.0nb26 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libgroove/patches/patch-groove_encoder.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libgroove/patches/patch-groove_encoder.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-groove_encoder.c,v 1.1 2020/03/22 07:52:59 nia Exp $ | |Fix build with ffmpeg4. | |--- groove/encoder.c.orig 2015-05-26 01:32:01.000000000 +0000 |+++ groove/encoder.c -------------------------- Patching file groove/encoder.c using Plan A... Hunk #1 succeeded at 616. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libgroove/patches/patch-groove_file.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libgroove/patches/patch-groove_file.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-groove_file.c,v 1.1 2020/03/22 07:52:59 nia Exp $ | |Fix build with ffmpeg4. | |--- groove/file.c.orig 2015-05-26 01:32:01.000000000 +0000 |+++ groove/file.c -------------------------- Patching file groove/file.c using Plan A... Hunk #1 succeeded at 281. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libgroove/patches/patch-groove_playlist.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/libgroove/patches/patch-groove_playlist.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-groove_playlist.c,v 1.1 2020/03/22 07:52:59 nia Exp $ | |Fix build with ffmpeg4. | |--- groove/playlist.c.orig 2015-05-26 01:32:01.000000000 +0000 |+++ groove/playlist.c -------------------------- Patching file groove/playlist.c using Plan A... Hunk #1 succeeded at 186. Hunk #2 succeeded at 571. done ===> Creating toolchain wrappers for libgroove-4.3.0nb26 ===> Configuring for libgroove-4.3.0nb26 => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Checking for portability problems in extracted files CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is GNU 14.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbuild/work/audio/libgroove/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done Configuring libgroove version 4.3.0 Configuring libgrooveplayer version 4.3.0 Configuring libgrooveloudness version 4.3.0 Configuring libgroovefingerprinter version 4.3.0 -- Try C99 C flag = [ ] CMake Warning (policy) at cmake/FindC99.cmake:183 (check_c_source_compiles): Policy CMP0219 is not set: Macro invocations preserve backslashes in arguments. Run "cmake --help-policy CMP0219" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Command "CHECK_C_SOURCE_COMPILES" called with arguments containing backslashes. Since the policy is not set, backslashes in the arguments: "#include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\\0'; ++i) continue; return 0; } // Check varargs and va_copy. static void test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = NULL; int number = 0; float fnumber = 0.0; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); number = (number != 0) && (str != NULL) && (fnumber != 0.0); } int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ; return 0; }" will be interpreted as escape sequences for compatibility. Set the policy to NEW to instead pass "#include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\\\\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\\\\0'; ++i) continue; return 0; } // Check varargs and va_copy. static void test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = NULL; int number = 0; float fnumber = 0.0; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); number = (number != 0) && (str != NULL) && (fnumber != 0.0); } int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ; return 0; }" so that argument parsing will preserve the original values. Call Stack (most recent call first): CMakeLists.txt:52 (find_package) This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Performing Test C99_FLAG_DETECTED -- Performing Test C99_FLAG_DETECTED - Success CMake Warning (author) at /opt/pkg/share/cmake-4.4/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (EBUR128) does not match the name of the calling package (ebur128). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Findebur128.cmake:14 (find_package_handle_standard_args) CMakeLists.txt:67 (find_package) This warning is for project developers. Use -Wno-author to suppress it. -- Found EBUR128: /opt/pkg/lib/libebur128.so CMake Warning (author) at /opt/pkg/share/cmake-4.4/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (CHROMAPRINT) does not match the name of the calling package (Chromaprint). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindChromaprint.cmake:14 (find_package_handle_standard_args) CMakeLists.txt:79 (find_package) This warning is for project developers. Use -Wno-author to suppress it. -- Found CHROMAPRINT: /opt/pkg/lib/libchromaprint.so -- Found SDL2: /opt/pkg/lib/libSDL2.so CMake Warning (author) at /opt/pkg/share/cmake-4.4/Modules/FindPackageHandleStandardArgs.cmake:493 (message): The package name passed to find_package_handle_standard_args() (LIBAV) does not match the name of the calling package (LibAV). This can lead to problems in calling code that expects find_package() result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindLibAV.cmake:74 (find_package_handle_standard_args) CMakeLists.txt:100 (find_package) This warning is for project developers. Use -Wno-author to suppress it. -- Found LIBAV: /opt/pkg/lib/ffmpeg4/libavfilter.so -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE Installation Summary -------------------- * Install Directory : /opt/pkg * Build libgroove : yes * Build libgrooveplayer : yes * Build libgrooveloudness : yes * Build libgroovefingerprinter : yes System Dependencies ------------------- * C99 Compiler : OK * threads : OK * SDL2 : OK * ebur128 : OK * chromaprint : OK * libavformat : OK * libavcodec : OK * libavfilter : OK * libavutil : OK If everything is looks good, proceed with make -- Configuring done (1.6s) -- Generating done (0.1s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_MANDIR -- Build files have been written to: /home/pbuild/work/audio/libgroove/work/libgroove-4.3.0 => Rewrite cmake Dependencies files