From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 14:39:57 2025 Received: (at submit) by debbugs.gnu.org; 16 Jan 2025 19:39:57 +0000 Received: from localhost ([127.0.0.1]:34724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYVie-000603-OJ for submit@debbugs.gnu.org; Thu, 16 Jan 2025 14:39:57 -0500 Received: from lists.gnu.org ([2001:470:142::17]:39292) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYVic-0005zp-GH for submit@debbugs.gnu.org; Thu, 16 Jan 2025 14:39:54 -0500 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 ) id 1tYViW-0001Sy-W5 for bug-coreutils@gnu.org; Thu, 16 Jan 2025 14:39:49 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tYViU-0003zw-Tp for bug-coreutils@gnu.org; Thu, 16 Jan 2025 14:39:48 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1737056384; cv=none; d=strato.com; s=strato-dkim-0002; b=F88NqNqblwhuWPJz8oBRezhye2bLEH1ZHEK09D0LeYOiIyEzk3YgmD1oHuoHHwqz+Y dLnT2MuegqgPJKHEtQk8wIVU72J7ZL+HRMeo9YvbIxHbXKg8OSqs+aFAHy1cIp0ORs0/ sjO7ADM0r94gxGBbYVJ2w+6pBlDNAJyuFZB77YeukdTCJ8mztPSFfM3yjJOfs5wwX328 gVP3jcbUzsBnh1HkSwTkzFi+SJUxOhpNfaDjY5xfTw52QeB/63VyA0As8rMw54rdkmes n/YwQNCtRDC8dYYLskRPXb5BqDAt0XbzbPkQp6WshOsY9XqLijdhNQeBSdcvF1JWfzA9 CvUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1737056384; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=iGnSz4/P1Lk4GQuBVXXqlee2WZPiaeqaskVbf3Fjfqk=; b=RiqWWM3ejnUrp/UTsH6g47zPhZcbDGp63NHPUD/H2cB7ZDXSkyGiHhL6FplIK+wW6q qxmZLS2dOyAxktZLp0uKlWuXUmPoOPbAzt0WpSTFoZ45f7lMpSyo5qR5Dr0pHz3sA10X N6RZDzxWUuXAlf8m9toScD3hBbi/jDtXUsmqoAYRnnnZlH0cD5SHFsETQjbxQZiq90Hc 4TzPda0EfCDzse85jKJmPJf8wEs+sOiDnkilMAjDwfQLq2bKBeneKCh0UCa+RrPwc9Uv bMIHpv3A2haPjrb0vqa0C85QiP3Q9gphs26Lu+4yME+3d8oy1Bhq5K6JX3K2ltCysUMG NUvg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1737056384; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=iGnSz4/P1Lk4GQuBVXXqlee2WZPiaeqaskVbf3Fjfqk=; b=mr3zjUeaFkVPmWFyw1UXcRy7OFKfQgXuNziKo4J0Jl95UzJzPgLV1CVmSjhojRi0tO iQiaQzScdDNsZG2EfkZ/WyMAsQqYvzBkA2plh9rWVYNwHnJGJKMBwcrFR+kn6Q5JFVpv 27bY31+7Xpfmxg1v7G/yQFFi9vMRF7DCPoKzErlLGXEoxhLZAk2UPpwyXwCoLoS379b8 9pcW8/okHrc+emSCPYRw5FamULEGV8yqc8YO9/ceRIOZbFQm8IyFNJFEfBEgCrO/3PAU e5/GsRYb0PM3HhWLmdXhhMCVNYE6RHph/a2chSuf1z3ZHh9wQ0Q92zSPWu+YFUGm8Ubf nBvw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1737056384; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=iGnSz4/P1Lk4GQuBVXXqlee2WZPiaeqaskVbf3Fjfqk=; b=KnN3IIIQOpNiqvirSyA7tGsASiweRro5VphV5jSmf9l2duDzLl4VbvsSTJ87PEsT/n MrsllRf20+XY//GiszCQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlLnY4jECd2hdUURIbZgL8PX2QiTuZ3cdB8X/nqm+ZFDrj427esj3ggT1Yh0+bzw7B" Received: from nimes.localnet by smtp.strato.de (RZmta 51.2.17 AUTH) with ESMTPSA id N6df4210GJdi3N6 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 16 Jan 2025 20:39:44 +0100 (CET) From: Bruno Haible To: bug-coreutils@gnu.org Subject: FTBFS on CentOS 6 Date: Thu, 16 Jan 2025 20:39:43 +0100 Message-ID: <2214522.dkkaz22YKf@nimes> Organization: GNU MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart7690617.mr9Zh2SJbS" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=81.169.146.162; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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: -1.0 (-) This is a multi-part message in MIME format. --nextPart7690617.mr9Zh2SJbS Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Building a snapshot of the current coreutils with current gnulib, I get a compilation error on CentOS 5 and 6: CC src/ls.o ../src/ls.c: In function 'gobble_file': ../src/ls.c:3556: error: 'XATTR_NAME_CAPS' undeclared (first use in this function) ../src/ls.c:3556: error: (Each undeclared identifier is reported only once ../src/ls.c:3556: error: for each function it appears in.) make[2]: *** [src/ls.o] Error 1 The attached proposed patch fixes it. This is a similar problem as we encountered in gnulib: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=3266c08a315 https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=73a13b94b94 The lesson is: Provide fallbacks for *all* XATTR_NAME_* values, since older distros don't define them. --nextPart7690617.mr9Zh2SJbS Content-Disposition: attachment; filename="0001-ls-Fix-compilation-error-on-CentOS-6.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="x-UTF_8J"; name="0001-ls-Fix-compilation-error-on-CentOS-6.patch" >From 79f8060636fcd1a7b92d07a973ed07c6ff1f9a04 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 16 Jan 2025 20:31:08 +0100 Subject: [PATCH] ls: Fix compilation error on CentOS 6 * src/ls.c (XATTR_NAME_CAPS): Define fallback. --- src/ls.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ls.c b/src/ls.c index a64ed57ab..321536021 100644 --- a/src/ls.c +++ b/src/ls.c @@ -122,6 +122,9 @@ #if HAVE_LINUX_XATTR_H # include +# ifndef XATTR_NAME_CAPS +# define XATTR_NAME_CAPS "security.capability" +# endif #endif #define PROGRAM_NAME (ls_mode == LS_LS ? "ls" \ -- 2.43.0 --nextPart7690617.mr9Zh2SJbS-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 15:11:49 2025 Received: (at 75612-done) by debbugs.gnu.org; 16 Jan 2025 20:11:49 +0000 Received: from localhost ([127.0.0.1]:34781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYWDV-0007TN-GI for submit@debbugs.gnu.org; Thu, 16 Jan 2025 15:11:49 -0500 Received: from mail.cs.ucla.edu ([131.179.128.66]:34510) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYWDS-0007T5-Gq for 75612-done@debbugs.gnu.org; Thu, 16 Jan 2025 15:11:47 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 000413C082C8B; Thu, 16 Jan 2025 12:11:39 -0800 (PST) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id zblmcie_3eIz; Thu, 16 Jan 2025 12:11:39 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 87A093C082C91; Thu, 16 Jan 2025 12:11:39 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 87A093C082C91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1737058299; bh=KRzllEZo/EPiexQB48wBzI40g+yloPleOOw2gRVpvN8=; h=Message-ID:Date:MIME-Version:To:From; b=SnqaKpuWC3Iz6HmGqF9AiVSbeEFOXwQrKLWbIj1RhY5/QEKdfHcrElOjh0sjvsypy 0o6dfFkvcgbIQJ+JFmwkd7LKvMBKbDV77NrRIY8AiC8irIIqzh3b1tkFYjePYt42be RA3KuJuKndcm+bYE2heAhsxKYoI2uGhI3GaxFEHHKpUhqr0+0sSyVf+EXJv8knhdcW VEh0x8H8bnbrH50+GAIBP0MZWl6NprfhJFTk05ea+lhqcY8Oxx5My0X0QyT2hJX9sp Y04VUA1az5mkMdzTpHkucVLtrUUsn3FBEooqUXo82Wjd4Gj3nidYoxeOoFPoZpDT60 wEb0lPr0850pQ== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id IyrBKEdUva_n; Thu, 16 Jan 2025 12:11:39 -0800 (PST) Received: from [192.168.254.12] (unknown [47.154.28.214]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 6D7E73C082C8B; Thu, 16 Jan 2025 12:11:39 -0800 (PST) Message-ID: <5429eace-e1ec-4b7b-8af8-427801c2657b@cs.ucla.edu> Date: Thu, 16 Jan 2025 12:11:39 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#75612: FTBFS on CentOS 6 To: Bruno Haible References: <2214522.dkkaz22YKf@nimes> Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <2214522.dkkaz22YKf@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75612-done Cc: 75612-done@debbugs.gnu.org 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: -1.0 (-) Thanks, I installed that. From unknown Fri Aug 15 16:22:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 14 Feb 2025 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator