delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/06/16/17:47:33

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 65GLlXE9231253
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 65GLlXE9231253
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=O6tfDoM4
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A54AC48F66C9
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1781646451;
bh=ZfjSiXuOM2ljw5EHMzC9L7c0BgO9NU55M4plxfUTyfg=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=O6tfDoM43Nyeez2HmL6IDTPGp9b4ou08YkMyRK0Cs2U/UrIeLgkJJiFyf5biBhdQX
mnpI1Dxh2Rot+uYTGehWMqd+1fhzPLblO/r2iQfBGxy2UCIZ6RfcZq1UUtbiJ1u0P1
OldThwwAmlRe8jD9gceuLOP3VLhBp7u2WvrKwBF4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7730248F52C6
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7730248F52C6
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781646402; cv=none;
b=EY2wNZZvqJESpIWoDUw97PHdstlW6hcn82dHz99p/W6j/xuB3sSzB19AalR1Dv6nhHT2pLYizfDf23MZQVCJOx0vIAbjGg3xHdudAcIJi5bTJWGB8QUZvDZMSUyQa/xYHeIG6M1Ql1japMhghpyJUgzckhEvEJJqAoI0P7b53AU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1781646402; c=relaxed/simple;
bh=/ZjhNtA52tmrGeamOd/ioyW/18XDKGsqhZHMAT0sP8E=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=jhh7EBGLrzeAYVSUeLWUiL/dWFJdc9/BOUmjh2wC6VLQV5NaTwZaV3nBiApuKdbEnJN37DO1LrQvdfUG0mnTxBRExvbkMu3TEUyfMN9oS2hvwUtNhlP3dbABZhlAoZcvgdwsPFzv1DhLc6A8BM70AfBLMmr+mTY6NVtIRZLiass=
ARC-Authentication-Results: i=1; sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7730248F52C6
Message-ID: <ee8913b7-1ad4-4a31-85cd-35ee4384398d@maxrnd.com>
Date: Tue, 16 Jun 2026 14:46:38 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: BUG: /bin/file generates lots of warnings when compiling the
default magic file
To: cygwin AT cygwin DOT com
References: <CANH4o6PqzbAKBQcZ2o993tuYRNhvkn0DW3RAMK2oSp8npw08MA AT mail DOT gmail DOT com>
In-Reply-To: <CANH4o6PqzbAKBQcZ2o993tuYRNhvkn0DW3RAMK2oSp8npw08MA@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Mark Geisert via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Mark Geisert <mark AT maxrnd DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi Martin,

On 6/16/2026 6:59 AM, Martin Wege via Cygwin wrote:
> BUG: /bin/file generates lots of warnings when compiling the default magic file:
> 
> $ uname -r
> 3.7.0-0.502.g31bf91f867c5.x86_64
> $ file --version
> file-5.46
> magic file from /usr/share/misc/magic
> $ file --compile
> Warning: Duplicate magic entry `'
> /usr/share/misc/magic, 8433: > 0 byte&,=0,""]
> /usr/share/misc/magic, 43334: > 0 byte&,=0,""]
> Warning: Duplicate magic entry `'
> /usr/share/misc/magic, 29223: > 0 byte&,=0,""]
> /usr/share/misc/magic, 8433: > 0 byte&,=0,""]
> Warning: Duplicate magic entry `'
[...]

I've reproduced this.  It also occurs with (unreleased on Cygwin) file 
5.48 and does not occur with 5.44.  I've reported the issue to the 
'file' maintainers upstream.

Thanks for the report!

..mark

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019