Received: (at 72770) by debbugs.gnu.org; 23 Aug 2024 17:35:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 23 13:35:05 2024 Received: from localhost ([127.0.0.1]:40069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1shYBk-0007Hc-SJ for submit <at> debbugs.gnu.org; Fri, 23 Aug 2024 13:35:05 -0400 Received: from mail-ej1-f43.google.com ([209.85.218.43]:43342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pixelbeat@HIDDEN>) id 1shYBh-0007H0-2u for 72770 <at> debbugs.gnu.org; Fri, 23 Aug 2024 13:35:03 -0400 Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a86910caf9cso359365566b.1 for <72770 <at> debbugs.gnu.org>; Fri, 23 Aug 2024 10:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724434388; x=1725039188; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:cc:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=KgW2WPqGCtph3EOnVdPy+us/Z+ks0Eqz0lJFaP0P07g=; b=TWWInAykpzfhSFA7XjrOgfzjYxes3pyRQ1kLt3K1GLFlnXT/p0eOINr8Rs2UOwcUdO BOR6JS5SbG1N/p9Xxlopd8iudOhk1PE9+jQhuNAq1LM1VeZXdCOGr03M9Dpp5OMPLHR5 sDP7iwfYDjkDybOXlWKmBhhnGLrVK+0mBukaCOcwfDlydsnE80SOluFFIGCkrUt35mym J/SpMEbdyk9es+Lqgtl3KC3U0evVWrcz9B9zmauPwmU1vnlb2SwLtOoEbVlcRrObSh2o 7HT4exSkblQuGHu832QqUjiJN0C1RYlfFERDoT14tkIUUYY82ATOBFkTRLYNGrwOR0iL 4yag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724434388; x=1725039188; h=content-transfer-encoding:in-reply-to:cc:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KgW2WPqGCtph3EOnVdPy+us/Z+ks0Eqz0lJFaP0P07g=; b=lrqO0QTSJRyPwFWWLeWu61OIpxIOFQf8fFQz905ZV+3Ey6HFckicw29H0c1Gv6FuM9 8wN3j/09bqePmy6zqJWq+CPR2NfQO0RXJkRUafzKkSU+2/CCYtSuZNRRIyeFlgmwm/En gzAVHH2aT27z6e3Qo1MCFAJe27oOF8SbGxQZOffplc3yob8GgkMDmLHINP2wZYSHx9N6 De8mHgakpoIrQ89x1Kp11e5SPFbZ4nuixfLWV1FYtyJ/9QoObmgkiS31QG38t2z7nSkb knSJv0U4Zg+nyMt9Of4b7RGplHUoZW3HG9ztDpmFlD900aSOdBLGEF2RwDNZWoXhOrFT 0gjA== X-Gm-Message-State: AOJu0Yzm+iTzuYSy2PYLD7iRaaM3CGPvFtCTzZlcxQ9B8tGAgHgQRWPX afZ7/D2ihCXaALSItETyK3X9lS4x8Br9beuM4wnzhPoaXw309MEqh7g2rA== X-Google-Smtp-Source: AGHT+IFyiuW93J4LOl+SsYQZb4UEgAR3V7ctU8Tm8+KPkNyV/UC45VUHEw/KNOEmIvqJiDzoV/NJRg== X-Received: by 2002:a17:907:1c25:b0:a77:c051:36a9 with SMTP id a640c23a62f3a-a86a2f5c197mr328589466b.9.1724434387289; Fri, 23 Aug 2024 10:33:07 -0700 (PDT) Received: from [192.168.1.54] (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-a868f437c23sm288831766b.110.2024.08.23.10.33.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Aug 2024 10:33:06 -0700 (PDT) Message-ID: <6c48697a-4c4b-4623-8c5d-1df8d41ae118@HIDDEN> Date: Fri, 23 Aug 2024 18:33:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: bug#72770: stat: filesystem ID regression in 9.5 with musl libc To: Natanael Copa <ncopa@HIDDEN> References: <20240823091434.50f31161@ncopa-desktop> <08922ef2-e433-497f-a657-ca1799fadd21@HIDDEN> <20240823133958.405bc9e7@ncopa-desktop> Content-Language: en-US From: =?UTF-8?Q?P=C3=A1draig_Brady?= <P@HIDDEN> In-Reply-To: <20240823133958.405bc9e7@ncopa-desktop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72770 Cc: 72770 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 23/08/2024 12:39, Natanael Copa wrote: > On Fri, 23 Aug 2024 11:41:28 +0100 > Pádraig Brady <P@HIDDEN> wrote: > >> On 23/08/2024 08:14, Natanael Copa wrote: >>> With coreutils 9.5 stat -f -c %i returns wrong value with musl libc. >>> >>> $ docker run --rm -it -v /tmp:/tmp alpine:3.20 sh -c "apk add --quiet coreutils && stat --version && stat -f -c %i /tmp && busybox stat -f -c %i /tmp" >>> stat (GNU coreutils) 9.5 >>> Copyright (C) 2024 Free Software Foundation, Inc. >>> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. >>> This is free software: you are free to change and redistribute it. >>> There is NO WARRANTY, to the extent permitted by law. >>> >>> Written by Michael Meskes. >>> 4dc59e8900000000 >>> 4dc59e89680d9b7c >>> >>> Coreutils returns 4dc59e8900000000 instead of the expected 4dc59e89680d9b7c. >>> >>> With 9.4 this works as expected: >>> >>> $ docker run --rm -it -v /tmp:/tmp alpine:3.19 sh -c "apk add --quiet coreutils && stat --version && stat -f -c %i /tmp && busybox stat -f -c %i /tmp" >>> stat (GNU coreutils) 9.4 >>> Copyright (C) 2023 Free Software Foundation, Inc. >>> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. >>> This is free software: you are free to change and redistribute it. >>> There is NO WARRANTY, to the extent permitted by law. >>> >>> Written by Michael Meskes. >>> 4dc59e89680d9b7c >>> 4dc59e89680d9b7c >>> >>> Downstream report: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16386 >> >> I can't see what might have changed on the coreutils side with a quick look. >> It would help eliminate cases if you provided strace output from 9.4 and 9.5 > > I think the difference is that with 9.4 it ends up using statfs(2), and > with 9.5 it ends up using statvfs(3). > > musl only uses 32 bits of the returned 64 bits from statfs(2) to match the POSIX interface. > > https://git.musl-libc.org/cgit/musl/tree/src/stat/statvfs.c?id=dd1e63c3638d5f9afb857fccf6ce1415ca5f1b8b#n39 > > I believe they do so to have consistent fsid on 32 bit and 64 bit architectures. Interesting. I see musl has been doing this truncation since 2011, but I guess the coreutils build picked up statvfs() since musl started returning f_type in it: https://git.musl-libc.org/cgit/musl/commit/src/stat/statvfs.c?id=7291c6c6 I suppose we could adjust m4/stat-prog.m4 in coreutils to avoid statvfs detection on musl It would be worth suggesting to the musl folks to avoid this truncation. thanks, Pádraig
bug-coreutils@HIDDEN
:bug#72770
; Package coreutils
.
Full text available.Received: (at 72770) by debbugs.gnu.org; 23 Aug 2024 11:41:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 23 07:41:00 2024 Received: from localhost ([127.0.0.1]:39096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1shSf6-0005FI-4Z for submit <at> debbugs.gnu.org; Fri, 23 Aug 2024 07:41:00 -0400 Received: from gbr-app-1.alpinelinux.org ([213.219.36.190]:58532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ncopa@HIDDEN>) id 1shSf3-0005F2-Rb for 72770 <at> debbugs.gnu.org; Fri, 23 Aug 2024 07:40:58 -0400 Received: from ncopa-desktop (ti0056a400-5780.bb.online.no [85.165.97.167]) (Authenticated sender: ncopa@HIDDEN) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPSA id CCB3B222F74; Fri, 23 Aug 2024 11:40:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1724413202; 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=056V/CRbOl45yH7qhAzmdVoYvC3FXahpex0f/xiEahc=; b=i3wk/f6uscQ2KqqRR86bp3gU9jI2l+gFO5W8G6PAO0z9dTF2S3tJvQLM0OwTYEp5GXdZYj tkMatCCnWYRj481DpUz+vlfLrNnmw0koGwmHD9yjRFegX024Voq6dX68h4lncsUC87DGLX jd+rZ8o93DrbX7U9CYsiL5bWRd1SZRk= Date: Fri, 23 Aug 2024 13:39:58 +0200 From: Natanael Copa <ncopa@HIDDEN> To: =?ISO-8859-1?B?UOFkcmFpZw==?= Brady <P@HIDDEN> Subject: Re: bug#72770: stat: filesystem ID regression in 9.5 with musl libc Message-ID: <20240823133958.405bc9e7@ncopa-desktop> In-Reply-To: <08922ef2-e433-497f-a657-ca1799fadd21@HIDDEN> References: <20240823091434.50f31161@ncopa-desktop> <08922ef2-e433-497f-a657-ca1799fadd21@HIDDEN> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72770 Cc: 72770 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Fri, 23 Aug 2024 11:41:28 +0100 P=E1draig Brady <P@HIDDEN> wrote: > On 23/08/2024 08:14, Natanael Copa wrote: > > With coreutils 9.5 stat -f -c %i returns wrong value with musl libc. > >=20 > > $ docker run --rm -it -v /tmp:/tmp alpine:3.20 sh -c "apk add --quiet c= oreutils && stat --version && stat -f -c %i /tmp && busybox stat -f -c %i /= tmp" > > stat (GNU coreutils) 9.5 > > Copyright (C) 2024 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gp= l.html>. > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. > >=20 > > Written by Michael Meskes. > > 4dc59e8900000000 > > 4dc59e89680d9b7c > >=20 > > Coreutils returns 4dc59e8900000000 instead of the expected 4dc59e89680d= 9b7c. > >=20 > > With 9.4 this works as expected: > >=20 > > $ docker run --rm -it -v /tmp:/tmp alpine:3.19 sh -c "apk add --quiet c= oreutils && stat --version && stat -f -c %i /tmp && busybox stat -f -c %i /= tmp" > > stat (GNU coreutils) 9.4 > > Copyright (C) 2023 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gp= l.html>. > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. > >=20 > > Written by Michael Meskes. > > 4dc59e89680d9b7c > > 4dc59e89680d9b7c > >=20 > > Downstream report: https://gitlab.alpinelinux.org/alpine/aports/-/issue= s/16386 =20 >=20 > I can't see what might have changed on the coreutils side with a quick lo= ok. > It would help eliminate cases if you provided strace output from 9.4 and = 9.5 I think the difference is that with 9.4 it ends up using statfs(2), and with 9.5 it ends up using statvfs(3). musl only uses 32 bits of the returned 64 bits from statfs(2) to match the = POSIX interface. https://git.musl-libc.org/cgit/musl/tree/src/stat/statvfs.c?id=3Ddd1e63c363= 8d5f9afb857fccf6ce1415ca5f1b8b#n39 I believe they do so to have consistent fsid on 32 bit and 64 bit architect= ures. >=20 > thanks, > P=E1draig
bug-coreutils@HIDDEN
:bug#72770
; Package coreutils
.
Full text available.Received: (at 72770) by debbugs.gnu.org; 23 Aug 2024 10:43:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 23 06:43:25 2024 Received: from localhost ([127.0.0.1]:39053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1shRlN-0003jA-Ht for submit <at> debbugs.gnu.org; Fri, 23 Aug 2024 06:43:25 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:59604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pixelbeat@HIDDEN>) id 1shRlK-0003iv-WC for 72770 <at> debbugs.gnu.org; Fri, 23 Aug 2024 06:43:24 -0400 Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4281ca54fd3so14518045e9.2 for <72770 <at> debbugs.gnu.org>; Fri, 23 Aug 2024 03:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724409690; x=1725014490; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=wJb6tfQ1mTXpvxGkRxo1MSZ9ragFYl5zU+VKa+C0tx4=; b=UgMgtdMefvSUz/dyIO3JYIM8r0BVfKrcW3IVjMkJOu4wm0O7gljzdGG952/pHGUkH4 KrE0HRZUcEOoF3FIM+3alyk+kJKJtmo2ZQ6jaXByLbk1b+2Q1qiKqfMOlYCtVslU+24c +HLM/mpYvxabnGzYtO8CFuOUV14K2LjbqhcJlt3+UJ4orQI6avT8cBOlxTfKPMfmGP4X RagiJ9rUfnMRxI4RKTW8dJ/9FsXdDUg75hzRF/L5tOxyLKHwC40KV5zU8NNXz0SKJPqg sUsmHcEiGJHgOdvBEFWpe1TIjuM8O8aYJS4C5S0CWSGdAf+w0pzFVmRLILEVll28JmzM j93A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724409690; x=1725014490; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wJb6tfQ1mTXpvxGkRxo1MSZ9ragFYl5zU+VKa+C0tx4=; b=K6EMeRwnk2V7PkIXQ1+b+FF7DyCrBICoxAzZgdELmdV8fS8aVgz97WtXdXVpKL4nwn 6ZZn3hCr0DrAnUC+ost1Uz43uiBQkB3vQ3rrrD+WNL7mbTDpDDl90zrr89TY0qfKoIGx n1FbtNZFpS+rmb74PP1Fjg3mpRuStu9A1bqnxYU5Osjq4TWXJwcezuf9oGaQZXvkO9c+ yzCFntYuh4RONVQvYOQt/WzoSJJYaOre/J08hji+UxT/CdTk94UoB393f5UUBKm8SYU9 3Kxvw+PjvOnuAM5NhW1dcbMAqnljZL1Pli1LMGHKmS8OLy0O1q4pcBZRShipvV5ySYLc cUtA== X-Forwarded-Encrypted: i=1; AJvYcCUBmaMfPFCQF6AY11FaId9pe6b7EnCrEW4ikzuzs7Szx3uufWlcJk4ieGX2Erxb6tKL3aHpgg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy/4mzD8nTGP1ObshE2ouu6Tqrw36hiiuYQh54/7H63HtT8D0F9 u1viGL18TwW5MUPDl+eJfLQya/IVUZuMq0ynGWiDlv5HOv+fYqkePUyDnA== X-Google-Smtp-Source: AGHT+IFHlnxFTPVv9t7KNO6S1TF7fd8S9a37oacy/bXkVxTnP/WWXfuzVdAs2P06pw/g/erk31yzqg== X-Received: by 2002:a5d:6b03:0:b0:368:12ef:92cf with SMTP id ffacd0b85a97d-373118e3735mr1265687f8f.48.1724409689807; Fri, 23 Aug 2024 03:41:29 -0700 (PDT) Received: from [192.168.1.54] (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-42ac518038asm55929945e9.45.2024.08.23.03.41.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Aug 2024 03:41:29 -0700 (PDT) Message-ID: <08922ef2-e433-497f-a657-ca1799fadd21@HIDDEN> Date: Fri, 23 Aug 2024 11:41:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: bug#72770: stat: filesystem ID regression in 9.5 with musl libc To: Natanael Copa <ncopa@HIDDEN>, 72770 <at> debbugs.gnu.org References: <20240823091434.50f31161@ncopa-desktop> Content-Language: en-US From: =?UTF-8?Q?P=C3=A1draig_Brady?= <P@HIDDEN> In-Reply-To: <20240823091434.50f31161@ncopa-desktop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72770 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 23/08/2024 08:14, Natanael Copa wrote: > With coreutils 9.5 stat -f -c %i returns wrong value with musl libc. > > $ docker run --rm -it -v /tmp:/tmp alpine:3.20 sh -c "apk add --quiet coreutils && stat --version && stat -f -c %i /tmp && busybox stat -f -c %i /tmp" > stat (GNU coreutils) 9.5 > Copyright (C) 2024 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by Michael Meskes. > 4dc59e8900000000 > 4dc59e89680d9b7c > > Coreutils returns 4dc59e8900000000 instead of the expected 4dc59e89680d9b7c. > > With 9.4 this works as expected: > > $ docker run --rm -it -v /tmp:/tmp alpine:3.19 sh -c "apk add --quiet coreutils && stat --version && stat -f -c %i /tmp && busybox stat -f -c %i /tmp" > stat (GNU coreutils) 9.4 > Copyright (C) 2023 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by Michael Meskes. > 4dc59e89680d9b7c > 4dc59e89680d9b7c > > Downstream report: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16386 I can't see what might have changed on the coreutils side with a quick look. It would help eliminate cases if you provided strace output from 9.4 and 9.5 thanks, Pádraig
bug-coreutils@HIDDEN
:bug#72770
; Package coreutils
.
Full text available.Received: (at submit) by debbugs.gnu.org; 23 Aug 2024 07:15:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 23 03:15:45 2024 Received: from localhost ([127.0.0.1]:38895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1shOWP-0006cD-Hu for submit <at> debbugs.gnu.org; Fri, 23 Aug 2024 03:15:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:47982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ncopa@HIDDEN>) id 1shOWN-0006c5-Kr for submit <at> debbugs.gnu.org; Fri, 23 Aug 2024 03:15:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ncopa@HIDDEN>) id 1shOVb-0000d6-2u for bug-coreutils@HIDDEN; Fri, 23 Aug 2024 03:14:56 -0400 Received: from smtp.alpinelinux.org ([2a01:7e00:e000:2fc::20] helo=gbr-app-1.alpinelinux.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ncopa@HIDDEN>) id 1shOVP-0004io-S6 for bug-coreutils@HIDDEN; Fri, 23 Aug 2024 03:14:54 -0400 Received: from ncopa-desktop (ti0056a400-5780.bb.online.no [85.165.97.167]) (Authenticated sender: ncopa@HIDDEN) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPSA id 9135F2200D4 for <bug-coreutils@HIDDEN>; Fri, 23 Aug 2024 07:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1724397278; 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=Ekk62egQse3v93ztgt69Sl0Tp99w8+vqwM9gqKOlLRg=; b=wLi+qtSDRhuzPHlWUu907M2BnWDx0SbPc8AOc4t878rhSClp3jhEmdt4fJf57Le0azm0El VG/RJO2S6ODBS60PuyQ78MuMhMIeNz5akRRF66uHAjUe72CJscnNuVBPAKr/aluWLESph7 3XlAWwH71Y46ummcJclVE2B9YWUZsGE= Date: Fri, 23 Aug 2024 09:14:34 +0200 From: Natanael Copa <ncopa@HIDDEN> To: bug-coreutils@HIDDEN Subject: stat: filesystem ID regression in 9.5 with musl libc Message-ID: <20240823091434.50f31161@ncopa-desktop> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a01:7e00:e000:2fc::20; envelope-from=ncopa@HIDDEN; helo=gbr-app-1.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, 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.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) With coreutils 9.5 stat -f -c %i returns wrong value with musl libc. $ docker run --rm -it -v /tmp:/tmp alpine:3.20 sh -c "apk add --quiet coreutils && stat --version && stat -f -c %i /tmp && busybox stat -f -c %i /tmp" stat (GNU coreutils) 9.5 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. 4dc59e8900000000 4dc59e89680d9b7c Coreutils returns 4dc59e8900000000 instead of the expected 4dc59e89680d9b7c. With 9.4 this works as expected: $ docker run --rm -it -v /tmp:/tmp alpine:3.19 sh -c "apk add --quiet coreutils && stat --version && stat -f -c %i /tmp && busybox stat -f -c %i /tmp" stat (GNU coreutils) 9.4 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. 4dc59e89680d9b7c 4dc59e89680d9b7c Downstream report: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16386
Natanael Copa <ncopa@HIDDEN>
:bug-coreutils@HIDDEN
.
Full text available.bug-coreutils@HIDDEN
:bug#72770
; Package coreutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.