>>> ncmpc 0.49 Extracting xzcat /home/buildroot/instance-0/dl/ncmpc/ncmpc-0.49.tar.xz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/ncmpc-0.49 -xf - >>> ncmpc 0.49 Patching Applying 0001-meson.build-add-atomic-dependency-for-sparc.patch using patch: patching file meson.build >>> ncmpc 0.49 Configuring rm -rf /home/buildroot/instance-0/output-1/build/ncmpc-0.49//build mkdir -p /home/buildroot/instance-0/output-1/build/ncmpc-0.49//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/instance-0/output-1/host/bin/riscv64-linux-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/instance-0/output-1/host/bin/riscv64-linux-g++%g" -e "s%@TARGET_AR@%/home/buildroot/instance-0/output-1/host/bin/riscv64-linux-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/instance-0/output-1/host/bin/riscv64-linux-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/instance-0/output-1/host/bin/riscv64-linux-strip%g" -e "s%@TARGET_ARCH@%riscv64%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@BR2_CMAKE@%/home/buildroot/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/instance-0/output-1/build/ncmpc-0.49//build/cross-compilation.conf PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/instance-0/output-1/build/ncmpc-0.49//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/instance-0/output-1/host/lib/cmake -Dcurses=ncurses -Ddocumentation=disabled -Dnls=disabled -Dlirc=disabled -Dregex=enabled /home/buildroot/instance-0/output-1/build/ncmpc-0.49/ /home/buildroot/instance-0/output-1/build/ncmpc-0.49//build The Meson build system Version: 1.3.1 Source dir: /home/buildroot/instance-0/output-1/build/ncmpc-0.49 Build dir: /home/buildroot/instance-0/output-1/build/ncmpc-0.49/build Build type: cross build Project name: ncmpc Project version: 0.49 C++ compiler for the host machine: /home/buildroot/instance-0/output-1/host/bin/riscv64-linux-g++ (gcc 13.2.0 "riscv64-linux-g++.br_real (Buildroot 2021.11-11272-ge2962af) 13.2.0") C++ linker for the host machine: /home/buildroot/instance-0/output-1/host/bin/riscv64-linux-g++ ld.bfd 2.42 C++ compiler for the build machine: /usr/bin/g++ (gcc 10.2.1 "g++ (Debian 10.2.1-6) 10.2.1 20210110") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: riscv64 Host machine cpu: Target machine cpu family: riscv64 Target machine cpu: Has header "locale.h" : YES Dependency intl skipped: feature nls disabled Header "locale.h" has symbol "locale_t" : YES Run-time dependency iconv found: YES Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkgconf) 1.6.3 Run-time dependency ncurses found: YES 6.4.20230603 Has header "curses.h" with dependency ncurses: YES Checking for function "getmouse" with dependency ncurses: YES Dependency lirc skipped: feature lirc disabled Compiler for C++ supports arguments -fvisibility=hidden: YES Compiler for C++ supports arguments -ffunction-sections: YES Compiler for C++ supports arguments -fdata-sections: YES Compiler for C++ supports arguments -Wcast-qual: YES Compiler for C++ supports arguments -Wcast-align: YES Compiler for C++ supports arguments -Wdouble-promotion: YES Compiler for C++ supports arguments -Wmissing-declarations: YES Compiler for C++ supports arguments -Wmissing-format-attribute: YES Compiler for C++ supports arguments -Wmissing-noreturn: YES Compiler for C++ supports arguments -Wredundant-decls: YES Compiler for C++ supports arguments -Wshadow: YES Compiler for C++ supports arguments -Wundef: YES Compiler for C++ supports arguments -Wvla: YES Compiler for C++ supports arguments -Wwrite-strings: YES Compiler for C++ supports arguments -Wunreachable-code-aggressive: NO Compiler for C++ supports arguments -Wused-but-marked-unused: NO Compiler for C++ supports arguments -fno-threadsafe-statics: YES Compiler for C++ supports arguments -fmerge-all-constants: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-format-truncation: YES Compiler for C++ supports arguments -Wcomma: NO Compiler for C++ supports arguments -Wheader-hygiene: NO Compiler for C++ supports arguments -Winconsistent-missing-destructor-override: NO Compiler for C++ supports link arguments -Wl,--gc-sections: YES Run-time dependency threads found: YES Library m found: YES Run-time dependency libmpdclient found: YES 2.22 Run-time dependency libpcre2-8 found: YES 10.43 Library atomic found: YES Configuring Features.h using configuration Configuring config.h using configuration Program sphinx-build skipped: feature documentation disabled Build targets in project: 5 ncmpc 0.49 User defined options Cross files : /home/buildroot/instance-0/output-1/build/ncmpc-0.49//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true curses : ncurses documentation : disabled lirc : disabled nls : disabled regex : enabled Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/instance-0/output-1/host/bin/ninja >>> ncmpc 0.49 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/ninja -C /home/buildroot/instance-0/output-1/build/ncmpc-0.49//build ninja: Entering directory `/home/buildroot/instance-0/output-1/build/ncmpc-0.49//build' [1/102] Compiling C++ object src/net/libnet.a.p/SocketDescriptor.cxx.o [2/102] Compiling C++ object src/net/libnet.a.p/HostParser.cxx.o [3/102] Compiling C++ object src/net/libnet.a.p/IPv4Address.cxx.o [4/102] Compiling C++ object src/net/libnet.a.p/AllocatedSocketAddress.cxx.o [5/102] Compiling C++ object src/system/libsystem.a.p/SignalFD.cxx.o [6/102] Compiling C++ object src/net/libnet.a.p/IPv6Address.cxx.o [7/102] Compiling C++ object src/net/libnet.a.p/SocketAddress.cxx.o [8/102] Compiling C++ object src/system/libsystem.a.p/EpollFD.cxx.o [9/102] Compiling C++ object src/io/libio.a.p/FileDescriptor.cxx.o [10/102] Compiling C++ object src/system/libsystem.a.p/EventFD.cxx.o [11/102] Linking static target src/io/libio.a [12/102] Compiling C++ object src/net/libnet.a.p/Resolver.cxx.o [13/102] Compiling C++ object src/net/libnet.a.p/AddressInfo.cxx.o [14/102] Linking static target src/net/libnet.a [15/102] Compiling C++ object src/system/libsystem.a.p/EventPipe.cxx.o [16/102] Linking static target src/system/libsystem.a [17/102] Compiling C++ object src/event/libevent.a.p/SignalMonitor.cxx.o [18/102] Compiling C++ object ncmpc.p/src_gidle.cxx.o [19/102] Compiling C++ object ncmpc.p/src_Queue.cxx.o [20/102] Compiling C++ object ncmpc.p/src_GlobalBindings.cxx.o [21/102] Compiling C++ object ncmpc.p/src_Command.cxx.o [22/102] Compiling C++ object ncmpc.p/src_Match.cxx.o [23/102] Compiling C++ object ncmpc.p/src_Options.cxx.o [24/102] Compiling C++ object ncmpc.p/src_Bindings.cxx.o [25/102] Compiling C++ object src/event/libevent.a.p/DeferEvent.cxx.o [26/102] Compiling C++ object ncmpc.p/src_Main.cxx.o [27/102] Compiling C++ object src/event/libevent.a.p/TimerWheel.cxx.o [28/102] Compiling C++ object ncmpc.p/src_KeyName.cxx.o [29/102] Compiling C++ object src/event/libevent.a.p/TimerList.cxx.o [30/102] Compiling C++ object ncmpc.p/src_AsyncUserInput.cxx.o [31/102] Compiling C++ object src/event/libevent.a.p/SocketEvent.cxx.o [32/102] Compiling C++ object ncmpc.p/src_callbacks.cxx.o [33/102] Compiling C++ object src/event/libevent.a.p/Loop.cxx.o [34/102] Compiling C++ object src/event/libevent.a.p/CoarseTimerEvent.cxx.o [35/102] Compiling C++ object ncmpc.p/src_filelist.cxx.o [36/102] Compiling C++ object src/event/libevent.a.p/FineTimerEvent.cxx.o [37/102] Linking static target src/event/libevent.a [38/102] Compiling C++ object ncmpc.p/src_TabBar.cxx.o [39/102] Compiling C++ object ncmpc.p/src_screen_list.cxx.o [40/102] Compiling C++ object ncmpc.p/src_TitleBar.cxx.o [41/102] Compiling C++ object ncmpc.p/src_Instance.cxx.o [42/102] Compiling C++ object ncmpc.p/src_ProgressBar.cxx.o [43/102] Compiling C++ object ncmpc.p/src_ncu.cxx.o [44/102] Compiling C++ object ncmpc.p/src_ProxyPage.cxx.o [45/102] Compiling C++ object ncmpc.p/src_mpdclient.cxx.o [46/102] Compiling C++ object ncmpc.p/src_screen_status.cxx.o [47/102] Compiling C++ object ncmpc.p/src_BasicColors.cxx.o [48/102] Compiling C++ object ncmpc.p/src_CustomColors.cxx.o [49/102] Compiling C++ object ncmpc.p/src_screen_init.cxx.o [50/102] Compiling C++ object ncmpc.p/src_DelayedSeek.cxx.o [51/102] Compiling C++ object ncmpc.p/src_StatusBar.cxx.o [52/102] Compiling C++ object ncmpc.p/src_player_command.cxx.o [53/102] Compiling C++ object ncmpc.p/src_screen_paint.cxx.o [54/102] Compiling C++ object ncmpc.p/src_screen.cxx.o [55/102] Compiling C++ object ncmpc.p/src_time_format.cxx.o [56/102] Compiling C++ object ncmpc.p/src_util_LocaleString.cxx.o [57/102] Compiling C++ object ncmpc.p/src_util_PrintException.cxx.o [58/102] Compiling C++ object ncmpc.p/src_screen_find.cxx.o [59/102] Compiling C++ object ncmpc.p/src_charset.cxx.o [60/102] Compiling C++ object ncmpc.p/src_util_StringUTF8.cxx.o [61/102] Compiling C++ object ncmpc.p/src_screen_client.cxx.o [62/102] Compiling C++ object ncmpc.p/src_strfsong.cxx.o [63/102] Compiling C++ object ncmpc.p/src_util_StringCompare.cxx.o [64/102] Compiling C++ object ncmpc.p/src_util_Exception.cxx.o [65/102] Compiling C++ object ncmpc.p/src_Completion.cxx.o [66/102] Compiling C++ object ncmpc.p/src_screen_utils.cxx.o [67/102] Compiling C++ object ncmpc.p/src_wreadln.cxx.o [68/102] Compiling C++ object ncmpc.p/src_util_StringStrip.cxx.o [69/102] Compiling C++ object ncmpc.p/src_save_playlist.cxx.o FAILED: ncmpc.p/src_save_playlist.cxx.o /home/buildroot/instance-0/output-1/host/bin/riscv64-linux-g++ -Incmpc.p -I. -I.. -Isrc -I../src -I/home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a -O3 -Wcast-qual -Wcast-align -Wdouble-promotion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wredundant-decls -Wshadow -Wundef -Wvla -Wwrite-strings -fno-threadsafe-statics -fmerge-all-constants -Wno-non-virtual-dtor -Wno-format-truncation -D_GNU_SOURCE -fvisibility=hidden -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DPCRE2_CODE_UNIT_WIDTH=0 -pthread -MD -MQ ncmpc.p/src_save_playlist.cxx.o -MF ncmpc.p/src_save_playlist.cxx.o.d -o ncmpc.p/src_save_playlist.cxx.o -c ../src/save_playlist.cxx In file included from ../src/save_playlist.cxx:8: /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libintl.h:39:14: error: expected unqualified-id before 'const' 39 | extern char *gettext (const char *__msgid) | ^~~~~~~ /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libintl.h:39:14: error: expected ')' before 'const' ../src/i18n.h:22:20: note: to match this '(' 22 | #define gettext(x) (x) | ^ [70/102] Compiling C++ object ncmpc.p/src_BasicMarquee.cxx.o [71/102] Compiling C++ object ncmpc.p/src_ListCursor.cxx.o [72/102] Compiling C++ object ncmpc.p/src_util_UriUtil.cxx.o [73/102] Compiling C++ object ncmpc.p/src_QueuePage.cxx.o FAILED: ncmpc.p/src_QueuePage.cxx.o /home/buildroot/instance-0/output-1/host/bin/riscv64-linux-g++ -Incmpc.p -I. -I.. -Isrc -I../src -I/home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a -O3 -Wcast-qual -Wcast-align -Wdouble-promotion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wredundant-decls -Wshadow -Wundef -Wvla -Wwrite-strings -fno-threadsafe-statics -fmerge-all-constants -Wno-non-virtual-dtor -Wno-format-truncation -D_GNU_SOURCE -fvisibility=hidden -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DPCRE2_CODE_UNIT_WIDTH=0 -pthread -MD -MQ ncmpc.p/src_QueuePage.cxx.o -MF ncmpc.p/src_QueuePage.cxx.o.d -o ncmpc.p/src_QueuePage.cxx.o -c ../src/QueuePage.cxx In file included from ../src/QueuePage.cxx:14: /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libintl.h:39:14: error: expected unqualified-id before 'const' 39 | extern char *gettext (const char *__msgid) | ^~~~~~~ /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libintl.h:39:14: error: expected ')' before 'const' ../src/i18n.h:22:20: note: to match this '(' 22 | #define gettext(x) (x) | ^ [74/102] Compiling C++ object ncmpc.p/src_ListWindow.cxx.o [75/102] Compiling C++ object ncmpc.p/src_TableLayout.cxx.o [76/102] Compiling C++ object ncmpc.p/src_SongRowPaint.cxx.o [77/102] Compiling C++ object ncmpc.p/src_TextListRenderer.cxx.o [78/102] Compiling C++ object ncmpc.p/src_FileBrowserPage.cxx.o [79/102] Compiling C++ object ncmpc.p/src_FileListPage.cxx.o [80/102] Compiling C++ object ncmpc.p/src_Styles.cxx.o FAILED: ncmpc.p/src_Styles.cxx.o /home/buildroot/instance-0/output-1/host/bin/riscv64-linux-g++ -Incmpc.p -I. -I.. -Isrc -I../src -I/home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a -O3 -Wcast-qual -Wcast-align -Wdouble-promotion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wredundant-decls -Wshadow -Wundef -Wvla -Wwrite-strings -fno-threadsafe-statics -fmerge-all-constants -Wno-non-virtual-dtor -Wno-format-truncation -D_GNU_SOURCE -fvisibility=hidden -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DPCRE2_CODE_UNIT_WIDTH=0 -pthread -MD -MQ ncmpc.p/src_Styles.cxx.o -MF ncmpc.p/src_Styles.cxx.o.d -o ncmpc.p/src_Styles.cxx.o -c ../src/Styles.cxx In file included from ../src/Styles.cxx:7: /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libintl.h:39:14: error: expected unqualified-id before 'const' 39 | extern char *gettext (const char *__msgid) | ^~~~~~~ /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libintl.h:39:14: error: expected ')' before 'const' ../src/i18n.h:22:20: note: to match this '(' 22 | #define gettext(x) (x) | ^ [81/102] Compiling C++ object ncmpc.p/src_hscroll.cxx.o [82/102] Compiling C++ object ncmpc.p/src_db_completion.cxx.o [83/102] Compiling C++ object ncmpc.p/src_ConfigFile.cxx.o [84/102] Compiling C++ object ncmpc.p/src_xterm_title.cxx.o [85/102] Compiling C++ object ncmpc.p/src_signals.cxx.o [86/102] Compiling C++ object ncmpc.p/src_ConfigParser.cxx.o FAILED: ncmpc.p/src_ConfigParser.cxx.o /home/buildroot/instance-0/output-1/host/bin/riscv64-linux-g++ -Incmpc.p -I. -I.. -Isrc -I../src -I/home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a -O3 -Wcast-qual -Wcast-align -Wdouble-promotion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wredundant-decls -Wshadow -Wundef -Wvla -Wwrite-strings -fno-threadsafe-statics -fmerge-all-constants -Wno-non-virtual-dtor -Wno-format-truncation -D_GNU_SOURCE -fvisibility=hidden -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DPCRE2_CODE_UNIT_WIDTH=0 -pthread -MD -MQ ncmpc.p/src_ConfigParser.cxx.o -MF ncmpc.p/src_ConfigParser.cxx.o.d -o ncmpc.p/src_ConfigParser.cxx.o -c ../src/ConfigParser.cxx In file included from ../src/ConfigParser.cxx:10: /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libintl.h:39:14: error: expected unqualified-id before 'const' 39 | extern char *gettext (const char *__msgid) | ^~~~~~~ /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libintl.h:39:14: error: expected ')' before 'const' ../src/i18n.h:22:20: note: to match this '(' 22 | #define gettext(x) (x) | ^ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/ncmpc-0.49/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/instance-0/buildroot'