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 4ch0sc5vRmz2yrL for ; Tue, 07 Oct 2025 15:48:20 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ch0sY35gBz2xJy for ; Tue, 07 Oct 2025 15:48:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4ch0sX5fRDz241; Tue, 07 Oct 2025 15:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1759852096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=efwJZrhcbMsHbdJClo7JzYHts4HbhOdp1NkHvlSkLFo=; b=ukk8UT1jPpqA0KGOOVTnktxgaIfk9mV2au0GEkGld4Dy6bwV8FQIYtzJv27tjc9EIcauK8 OPxsJZbgLzKq0Ywm0C4cPl2+MZF+mgXNo6k93z1UPU7/ZsrxMyzfB7GchdQnkSj3qLjFWb ReEbF2DaZ0/1kPngJVVEcC/g5JUmTS+hBdyjjUBvdrKNCYXdSeh8GK2LYmgfJtW2MvWCzC NGzcVHKBfkXsQRgiK6fm5EsoZISUyp37DTFb/+I6prD8x4Yu4OH+6W+fXJ21MecRfv6xSn 7AinzZ5RR2Z1cQfQWkJpenka8bMU5OofsRXUN70m50g618IySeQvD2DjG9w8qA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1759852096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=efwJZrhcbMsHbdJClo7JzYHts4HbhOdp1NkHvlSkLFo=; b=ueU4WPaFGEjE7d6hfLikpC28ZjpzR7o6YRQwBVOg46nCqsxyuFPsCIbz2nurbGr8l0TDff Ts1uu67v3LBMKSDQ== Content-Type: text/plain; charset=utf-8 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: mympd build failure with coreutils-9.8 From: Michael Tremer In-Reply-To: Date: Tue, 7 Oct 2025 16:48:15 +0100 Cc: "IPFire: Development-List" Content-Transfer-Encoding: quoted-printable Message-Id: <5988C59A-4BA4-449E-8315-08AA3854659F@ipfire.org> References: To: Adolf Belka Hello Adolf, Interesting question. I would assume that coreutils has a very extensive = test suite that will catch any unintended changes in behaviour of any of = the tools. I would also rule out that this is an intentional change. = That might break a lot of stuff elsewhere. I don=E2=80=99t quite understand why myMPD needs this trailing newline, = but I would suggest to report upstream and see what they say about it. Best, -Michael > On 6 Oct 2025, at 13:19, Adolf Belka wrote: >=20 > Hi All, >=20 > For information. mympd fails to build when the latest version of = coreutils (9.8) is used. >=20 > Looking at the failure message that occurs >=20 > ----------------------------------------- >=20 > 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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=3D/usr \ > -DCMAKE_BUILD_TYPE=3DRelease .. > -- 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=3D3 = -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong = -fstack-clash-protection -m64 -mtune=3Dgeneric -fcf-protection=3Dfull > 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 > =1B[0;31mERROR: dist/bootstrap-native/bootstrap-native.min.js don't = end with newline character > =1B[mCMake Error at CMakeLists.txt:198 (message): > Creating assets failed >=20 >=20 > -- Configuring incomplete, errors occurred! > make: *** [mympd:87: /usr/src/log/myMPD-22.0.4] Error 1 >=20 > ----------------------------------------- >=20 > I found that the "Combining and compressing javascript comment is in = the build.sh file in the top level of the mympd tarball. >=20 > In build.sh there is a section >=20 > ----------------------------------------- > echo "Combining and compressing javascript" > echo "//${COPYRIGHT}" > "$MYMPD_BUILDDIR/htdocs/js/copyright.min.js" > if [ "$MYMPD_MINIFY_JS" =3D "0" ] > then > JSFILES=3D"dist/bootstrap-native/bootstrap-native.js = dist/long-press-event/long-press-event.js" > else > JSFILES=3D"dist/bootstrap-native/bootstrap-native.min.js = dist/long-press-event/long-press-event.min.js" > fi > JSFILES=3D"$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 > ----------------------------------------- >=20 > and this has the error message that is shown. The file mentioned just = has a single line of the js code. >=20 > This section uses the tail command and that command is one that has = had 25 commits applied to it in coreutils-9.8 >=20 > 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. >=20 > I have not been able to find any mention of this issue currently. >=20 > I also tested it with the latest version of mympd (22.1.0) but that = also ended up with the same error message. >=20 > Regards, >=20 > Adolf. >=20 >=20