delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/03/08/00:12:30

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5285CUGd1295920
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 5285CUGd1295920
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=yb/0DsYE
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A6A3D3858C52
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1741410748;
bh=1U4Fb+9aVMGyhjTTjS8Y4F5g3gLbijwjQohjr66VNMI=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=yb/0DsYEed7RpCQ1tGeH3c358HlqEDBsGCyYwAmbfXUkUiPDLBD/4vfTpJcaHK/Dd
F4pvkEcOmbm0sBUEOnI+QZJkgaRK9uCmFgv8PbJumMDMNeokBPBGWlIHYa23gPUHze
21m+o8J4GrrjPC9jUuGCyk7k50UM6+maI//YeLcw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02B6E3858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 02B6E3858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741410689; cv=none;
b=b0cqUgg/AX97cC3fICW58khdzWq29aPgbNVViXKBguHhFDWJ2Z747M/esJiGK/r0kZOa274nYpOtVEc6Stjlq/78ZSYYTlfQ2hJtQLKubzubKIHc1Qb+JrKbEySG+VTX52NHOvsQ7Qxo5Gwr06Jh+rf8p0KGqF6MUqCd/7nA2Hc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1741410689; c=relaxed/simple;
bh=U2yB7ts3nndQpsQtYcx7bQ/NLNG79cslQfV3tEC6EBw=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=j7aH+nSYQGnDnmDcL7yts0pGNZBKFB1IK2PM6gKMQR3bMW5d4KEyC0+U4P390gla9wPncGLrZDsBmg7FIL9f3yJQRiECwJdXaTMiC3XSnT9B8elkiDJbDjt+7DtxnuiwgCgEuTf7D8fpKXZyPTFxWFXFh3MkO5whvI1nXFoFXLg=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02B6E3858D1E
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1741410688; x=1742015488;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=U2yB7ts3nndQpsQtYcx7bQ/NLNG79cslQfV3tEC6EBw=;
b=seC2pk79pM3zUmdU6BX+Es5pvq6X+R2t7o8kYXmwpR/aVno3bUZH/iT1AZoZzeIPE5
P/cV0DH+YdCoLKKScHI+ixsS++B465EwqeVMeSWFPE4awUrzXOlileNjOaw9C1l4i5d8
dMKweB7SuePWPTHnAx42OnnvIJklPtXOedND+Oq+1xqJH2oZTb2g34QPp+hIGYVlR89Y
TjmttRVKwPXAiFE2eo5S4AS2bFTuJSjjvSsD799Qe/bODolD2MHkm3JbLPeg3LQg4ZGt
aM/qqG/fhkAu/H7o+lZGw0od+2FvuwmbytwN53+UHQBiK2qrsSQJAurjMy+2zqlW5zuV
F0EQ==
X-Gm-Message-State: AOJu0YyL+qvN6AFqc8jDcRhzZhD6ctpvBqPivatZ129eShqOqgRMxE5C
9SDGh0qf3j3VaJkLMu2Y3UwcpUDVKAlc0ZquI+0l8J8K0vUGfHET/LZq/ccjEy6axsnCnZ5MC1i
qU53OramcZTJ/sspMiZNIwQZB1a4WP3kl5HA=
X-Gm-Gg: ASbGncvkW2u8Pl0vJXj0s82UL2mLhjxBmpdoJEnxr3nNtG810v8QAUsBD+wmQ5jBptf
QxYLY+5jgFb/keR4Ug2RkmzaCy7HjZbT52VDbTZTG3qN0rAZctAHpJM4E4l3njT1EeEoz6Yuujd
KinusRkIDr9SHYa+8sP57pc9o6dqf4FMAeTtY=
X-Google-Smtp-Source: AGHT+IHjIkGqtXxYfDd9GcmclaaFd2+h4Lom+NUBeBRTFHwM28pkOB4J9bCxZzTqUsZAO7huRn5YzCtd4FQLPtjaSMc=
X-Received: by 2002:a17:90b:4ac1:b0:2ee:c918:cd60 with SMTP id
98e67ed59e1d1-2ff7cea6beamr9615118a91.20.1741410687584; Fri, 07 Mar 2025
21:11:27 -0800 (PST)
MIME-Version: 1.0
Date: Sat, 8 Mar 2025 00:10:50 -0500
X-Gm-Features: AQ5f1JrX5OdQ4lCH02sLLJHJdbWPuTke9ndf05-M6HQrqooBROIhkIied2LqRaE
Message-ID: <CAPF+3FGs8YnUaa+EKnc=76=0=jECrLFPH866ExgNkyba8Kp_iQ@mail.gmail.com>
Subject: mv error building LilyPond tests, maybe MAX_PATH related
To: cygwin AT cygwin DOT com
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
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-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: Saul Tobin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Saul Tobin <saul DOT james DOT tobin AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello,

I've encountered a kind of bizarre error when trying to build GNU LilyPond
regression tests on Cygwin 3.5.7-1 on Windows 11. For one and only one
folder, `mv` fails with `mv: cannot move './out-test' to
'./out-test-baseline': Permission denied`. The distinguishing feature of
the failing folder seems to be that it contains its own subfolder with a
copy of all the regtest files, some of which have rather long names. When I
remove this subfolder, the error goes away. The error also goes away if I
execute the rename in a way that forces a physical move of the files.

Based on this, it appears to me that when an in-place rename is performed
by `mv`, it calls into a Win32 API that enforces the 260 character
MAX_PATH. I can see in the trace that the error is occurring within a Win32
call stack for resolving absolute path names, though the error code isn't
specific enough to distinguish the precise reason for the failure.

I tried enabling LongPathsEnabled in the registry, but I get the same `mv`
error after doing so and rebooting.

I reported this as a LilyPond bug with some further detail here
https://gitlab.com/lilypond/lilypond/-/issues/6799, but the initial
sentiment seems to be that this is an upstream issue.

In some respect this doesn't seem like a specifically Cygwin issue, since I
encountered the same error in the same spot on WSL2 if the build tree was
on the Windows filesystem. But I'm guessing if anybody knows how to answer
this, it's probably folks on this list.

Any ideas what's going on here and how I might get it working? Is this a
known type of issue? Is it a bug? If it's a bug, what is it a bug in?

Right now, LilyPond's developer documentation basically just says not to
bother trying to compile on Windows. It would be REALLY nice to change
that, and this is the only blocking issue from recommending Cygwin as a
viable compilation environment for LilyPond development.

Thanks in advance for your help,

Saul

-- 
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