From unknown Wed Jun 18 23:07:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55020 <55020@debbugs.gnu.org> To: bug#55020 <55020@debbugs.gnu.org> Subject: Status: parted 3.5 testsuite fails with musl libc: FAIL t0251-gpt-unicode.sh Reply-To: bug#55020 <55020@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:07:33 +0000 retitle 55020 parted 3.5 testsuite fails with musl libc: FAIL t0251-gpt-uni= code.sh reassign 55020 parted submitter 55020 Natanael Copa severity 55020 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 19 06:49:10 2022 Received: (at submit) by debbugs.gnu.org; 19 Apr 2022 10:49:11 +0000 Received: from localhost ([127.0.0.1]:41764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nglPy-0000jN-H5 for submit@debbugs.gnu.org; Tue, 19 Apr 2022 06:49:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:39946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nglPv-0000jE-3Y for submit@debbugs.gnu.org; Tue, 19 Apr 2022 06:49:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nglPs-0001L3-MR for bug-parted@gnu.org; Tue, 19 Apr 2022 06:49:06 -0400 Received: from nld3-dev1.alpinelinux.org ([147.75.101.119]:55922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nglPq-0006fc-QH for bug-parted@gnu.org; Tue, 19 Apr 2022 06:49:04 -0400 Received: from ncopa-desktop.lan (67.63.200.37.customer.cdi.no [37.200.63.67]) (Authenticated sender: ncopa@alpinelinux.org) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPSA id 14FF078149D for ; Tue, 19 Apr 2022 10:48:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1650365339; 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=y2ULOLeuJc9ZQa4KSMGwIS4AulhC7cwh/c8qOmzN+k0=; b=kAqPGyvBrCKjbfonHlmUvloZYi/PtN2pyPlFSudnTtwe67y5pn/yrL6i4jcWlpf3tYExMu HkndyJqdxKRM+5v+R4zP0herPtA/RrqNX/0I71DakwmfNqi8/bkuSTX+UgFvAMlakXkQnZ 5W/2YzJSdjTOutmOZaYCFbD1OFxFW4k= Date: Tue, 19 Apr 2022 12:48:53 +0200 From: Natanael Copa To: bug-parted@gnu.org Subject: parted 3.5 testsuite fails with musl libc: FAIL t0251-gpt-unicode.sh Message-ID: <20220419124853.520f760b@ncopa-desktop.lan> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=147.75.101.119; envelope-from=ncopa@alpinelinux.org; helo=nld3-dev1.alpinelinux.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi! The test suite fails on Alpine Linux edge. I have reproduced it on x86_64, ppc64le and s390x. I havent tested on aemv7 or aarch64 but I assume it happens there as well. ... FAIL: t0251-gpt-unicode =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + initial_cwd_=3D/home/ncopa/aports/main/parted/src/parted-3.5/tests + fail=3D0 + testdir_prefix_ + printf gt + pfx_=3Dgt + mktempd_ /home/ncopa/aports/main/parted/src/parted-3.5/tests gt-t0251-gpt= -unicode.sh.XXXX + destdir_=3D/home/ncopa/aports/main/parted/src/parted-3.5/tests + template_=3Dgt-t0251-gpt-unicode.sh.XXXX + MAX_TRIES_=3D4 + unset TMPDIR + d=3D/home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unic= ode.sh.7YFB + test -d /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-= unicode.sh.7YFB + ls -dgo /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-= unicode.sh.7YFB + tr S - + perms=3D'drwx------ 2 4096 Apr 19 10:32 /home/ncopa/aports/main/parted/sr= c/parted-3.5/tests/gt-t0251-gpt-unicode.sh.7YFB' + test 0 '=3D' 0 + echo /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-uni= code.sh.7YFB + return + test_dir_=3D/home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-= gpt-unicode.sh.7YFB + cd /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-unico= de.sh.7YFB + gl_init_sh_nl_=3D' ' + IFS=3D' =09 ' + expr 1 + 128 + eval 'trap '"'"'Exit 129'"'"' 1' + trap 'Exit 129' 1 + expr 2 + 128 + eval 'trap '"'"'Exit 130'"'"' 2' + trap 'Exit 130' 2 + expr 3 + 128 + eval 'trap '"'"'Exit 131'"'"' 3' + trap 'Exit 131' 3 + expr 13 + 128 + eval 'trap '"'"'Exit 141'"'"' 13' + trap 'Exit 141' 13 + expr 15 + 128 + eval 'trap '"'"'Exit 143'"'"' 15' + trap 'Exit 143' 15 + trap remove_tmp_ 0 + path_prepend_ ../parted + test 1 '!=3D' 0 + path_dir_=3D../parted + abs_path_dir_=3D/home/ncopa/aports/main/parted/src/parted-3.5/tests/../pa= rted + PATH=3D/home/ncopa/aports/main/parted/src/parted-3.5/tests/../parted:/hom= e/ncopa/aports/main/parted/src/parted-3.5/parted:/usr/local/bin:/usr/sbin:/= usr/bin:/sbin:/bin + create_exe_shims_ /home/ncopa/aports/main/parted/src/parted-3.5/tests/../= parted + return 0 + shift + test 0 '!=3D' 0 + export PATH + dev=3Dloop-file + truncate -s 10m loop-file + locale -a + grep en_US.utf8 + LC_ALL=3D + '[' -z ] + LC_ALL=3DC.UTF-8 + export 'LC_ALL=3DC.UTF-8' + printf 'foo\341\264\244' + part_name=3D'foo*' + parted -s loop-file mklabel gpt mkpart primary ext2 1MiB 2MiB name 1 'foo= *' + compare /dev/null empty + compare_dev_null_ /dev/null empty + test 2 '=3D' 2 + test x/dev/null '=3D' x/dev/null + test -s empty + emit_diff_u_header_ /dev/null empty + printf '%s\n' 'diff -u /dev/null empty' '--- /dev/null 1970-01-01' '+++ e= mpty 1970-01-01' diff -u /dev/null empty --- /dev/null 1970-01-01 +++ empty 1970-01-01 + sed s/^/+/ empty +Warning: failed to translate partition name + return 1 + return 1 + fail=3D1 + dd 'if=3Dloop-file' 'bs=3D1' 'skip=3D2104' 'count=3D10' + od -An -tx1 + echo ' 66 00 6f 00 6f 00 24 1d 00 00' + compare exp out + compare_dev_null_ exp out + test 2 '=3D' 2 + test xexp '=3D' x/dev/null + test xout '=3D' x/dev/null + return 2 + compare_ exp out + diff -u exp out --- exp +++ out @@ -1 +1 @@ - 66 00 6f 00 6f 00 24 1d 00 00 + 66 00 6f 00 6f 00 6d 00 61 00 + fail=3D1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=3D1 + cleanup_ + cleanup_fn_ + : + cleanup_final_ + scsi_debug_cleanup_ + test -n=20 + rm -fr /home/ncopa/aports/main/parted/src/parted-3.5/tests/scsi_debug.lock + cd /home/ncopa/aports/main/parted/src/parted-3.5/tests + chmod -R u+rwx /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t02= 51-gpt-unicode.sh.7YFB + rm -rf /home/ncopa/aports/main/parted/src/parted-3.5/tests/gt-t0251-gpt-u= nicode.sh.7YFB + exit 1 FAIL t0251-gpt-unicode.sh (exit status: 1) ... =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=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 Testsuite summary for GNU parted 3.5 =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=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 # TOTAL: 91 # PASS: 43 # SKIP: 47 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 =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=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 See tests/test-suite.log Please report to bug-parted@gnu.org =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=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