From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cgJHS6dgFz2xfT for ; Mon, 06 Oct 2025 12:19:48 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cgJHP4L8hz2xQ9 for ; Mon, 06 Oct 2025 12:19:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cgJHP0WdJzct for ; Mon, 06 Oct 2025 12:19:45 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1759753185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EMd1aIGASsPfC5kK5s7R3AjQYFGWJs98X3Rnbsiq464=; b=EJG9CHkO7bmvfTnt/tSN1Awh11qWTRFEmSQsPNBsszilug69nrUyi27wHwXn70S+8YNix4 KfWYeIsLYyR7vBBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1759753185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EMd1aIGASsPfC5kK5s7R3AjQYFGWJs98X3Rnbsiq464=; b=oylXesP4UAlCOqJkysHL8l+CDBYaiyXsiiBBUoaS50GRN7znn+HA9PirgBmONzXYerP7rp il47P+kfYlAsxYSW83h1UiiXWfySpKd4JXpPgZjRc6n752s3xuSSMOvbHVJ84NIasvPKsK iTGuiEMk4mHr6kuaB6dnTY01BspUezSSa1Xv7qD2qbQ4VBP07THTbffd6za0g8qDiRi0BQ phqHkd7d9qQXqvOrL1HYIRQk4nRUipuYVLWPDuAn/nK7jCb6v3yGa81k5dx1czPC+UXla8 QTlQZCFYS/TAFAlTcwQNEn8UKYNqf247nxw/jKGRoL6AS93WSFxXzSRI7jaFBw== Message-ID: Date: Mon, 6 Oct 2025 14:19:41 +0200 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Language: en-GB To: "IPFire: Development-List" From: Adolf Belka Subject: mympd build failure with coreutils-9.8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi All, For information. mympd fails to build when the latest version of coreutils (9.8) is used. Looking at the failure message that occurs ----------------------------------------- Oct 5 20:34:30: Building mympd make: Entering directory '/home/ahb/sandbox/ipfire-2-builder2/lfs' make: Nothing to be done for 'download'. make: Leaving directory '/home/ahb/sandbox/ipfire-2-builder2/lfs' make: Entering directory '/usr/src/lfs' myMPD-22.0.4.tar.gz checksum OK ====================================== Installing myMPD-22.0.4 ... Install started; saving file list to /usr/src/lsalr ... # Do not try to re-define _FORTIFY_SOURCE cd /usr/src/myMPD-22.0.4 && sed -e "/D_FORTIFY_SOURCE/d" -i CMakeLists.txt cd /usr/src/myMPD-22.0.4 && mkdir -p build cd /usr/src/myMPD-22.0.4/build && cmake -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU 15.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tools_x86_64/ccache/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done Cmake version: 4.1.1 Cmake src dir: /usr/src/myMPD-22.0.4 Cmake build dir: /usr/src/myMPD-22.0.4/build Cmake build type: Release Cmake generator: Unix Makefiles Compiler: GNU 15.2.0 CMAKE_C_FLAGS: -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -m64 -mtune=generic -fcf-protection=full CMAKE_EXE_LINKER_FLAGS: Arch: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Found PCRE2: /usr/lib/libpcre2-8.so -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.5.1") Searching for libid3tag -- Found LIBID3TAG: /usr/lib/libid3tag.so Searching for flac -- Found FLAC: /usr/lib/libFLAC.so Searching for lua -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.so (found version "5.4.7") Searching for libmygpio -- Could NOT find LIBMYGPIO (missing: LIBMYGPIO_LIBRARY LIBMYGPIO_INCLUDE_DIR) Compiling static version of libmygpio Executables in: /usr/bin Workdir: /var/lib/mympd Cachedir: /var/cache/mympd Embedding assets in binary Creating assets in /usr/src/myMPD-22.0.4/build Validating translation phrases Creating i18n json Minifying /usr/src/myMPD-22.0.4/build/htdocs/js/i18n.js Creating version file Minifying javascript Creating mympd.js Minifying htdocs/sw.js Minifying /usr/src/myMPD-22.0.4/build/htdocs/js/mympd.js Combining and compressing javascript ERROR: dist/bootstrap-native/bootstrap-native.min.js don't end with newline character CMake Error at CMakeLists.txt:198 (message): Creating assets failed -- Configuring incomplete, errors occurred! make: *** [mympd:87: /usr/src/log/myMPD-22.0.4] Error 1 ----------------------------------------- I found that the "Combining and compressing javascript comment is in the build.sh file in the top level of the mympd tarball. In build.sh there is a section ----------------------------------------- echo "Combining and compressing javascript" echo "//${COPYRIGHT}" > "$MYMPD_BUILDDIR/htdocs/js/copyright.min.js" if [ "$MYMPD_MINIFY_JS" = "0" ] then JSFILES="dist/bootstrap-native/bootstrap-native.js dist/long-press-event/long-press-event.js" else JSFILES="dist/bootstrap-native/bootstrap-native.min.js dist/long-press-event/long-press-event.min.js" fi JSFILES="$JSFILES $MYMPD_BUILDDIR/htdocs/js/*.min.js" for F in $JSFILES do if tail -1 "$F" | perl -npe 'exit 1 if m/\n/; exit 0' then echo_error "$F don't end with newline character" exit 1 fi done ----------------------------------------- and this has the error message that is shown. The file mentioned just has a single line of the js code. This section uses the tail command and that command is one that has had 25 commits applied to it in coreutils-9.8 I am not sure if this error is due to a problem in mympd or if there are errors in mympd which are now being flagged up by the updated coreutils. I have not been able to find any mention of this issue currently. I also tested it with the latest version of mympd (22.1.0) but that also ended up with the same error message. Regards, Adolf.