DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 528AeLnZ1410121 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 528AeLnZ1410121 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=HMNcmC60 X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0AE03858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1741430419; bh=r7KChGT/l0Ym1PJZc9hAraBJQLXCl+eEhIGmSTXvhDs=; 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=HMNcmC60DVdaxs34eEmCQmSqv3THYON2aWDZPxj8C3reB+QstwbDqp7QTXMJp+cS9 2jZpxp6ws6ybC0DVJc5NiDHlKCyB88ImjAgVlo+ZARYtMJcrXTUXdS+VfBDZd1C/lF 3eHKMLDZFFgfnCTHKtHuqVzwN17xAYtLWyGtB/TE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4B51E3858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4B51E3858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741430358; cv=none; b=j0pF29k4RAZEkPjsAuSr04Qcd36dMNBaj74tlQTyDoIHXIRkzuuq/B4BGC50wScKfzbdA3Nom4HVaPNVozGVCI6o2fNP3T+evFgy3rHepefTbwW/NGNCLniB4w1BTuqppI2Gku/C88zQVpTSE5U7uDqdudv5XADmsI8mZvl45xM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741430358; c=relaxed/simple; bh=wQPBXYohLY6vK7hbSPeeS2CyrrIh5DYu7aj6bt25Zy4=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=ggr0u8yq1hiqcR/PvKHrgiFW6FhiEKgMunGCeGUjjAjM9W2zBl7vqb+VHawsYWe/YXK9JtlDkgQC/Fxmr4YRgBtJc+Nbj4QMHDCD4k6Wyk30pJBZKLZHLo3IMswOuvD7X3aoR7TRESnfQR9lt1Pq4ozwXLvXqkA6u1uUlCb4bmQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B51E3858D20 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741430357; x=1742035157; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ndekBvJx0/JIWafWR5p/5ZnsKF6msKY3c1G/5MJ4E/Y=; b=jbGTc8qSfbmKB/BseImNscv1+1ktCXqY6aLRwtCGlnpvZDvJjuAG0zJyhHgfpIP+Cq eBgMi+C0jtEyAzrDNXLSs2o4e8sHRgu+d3P6Cy3iDva1CdXpf/0FEeaTopCI6yfI4PJH pQo9JXHuBetcuyPVWt1G6jypEXuIk+/9h+4Wn9dw+Z+pKB6AeRXoaaIUT/kCQGi9FHr5 Vu+NE8aVigi5cI5rpgp+Q3fKCxm4Sw0kv3doEixlLwMwH4MU+RtVWCmyOxrRt0OuA6CJ d13ynboLpKAMk7KuFlT0S/gxFvECXoRciPQsH1y9q8Sj2KGbEbOUEbQiTfjw5BTnpBM7 hybQ== X-Gm-Message-State: AOJu0Yxz5a1Fjc7Ve//kYj2OPahz4rUavkV9R96VCspW/YY6SpKttNEv o6SZOr3OnS3P7tYCvXv5yvIg4PRe4FpTdBkkft9UyInVIk7P+6DuCDMlJw== X-Gm-Gg: ASbGncsbvvYbrImWcF+2cXLD87aI+j/gVx4mqLiYG5fD//gBTtpjbvObwrs4LbU+jo2 sCZsNmZW0OBOJ8VXj3kkn+g9HKidqICSFASqHRw+LuIuZcfxGJhz/h+jUU1yAN8yneyJmNFVLPn h/kLXdjwRqOatESgIn4GNe/lfr9VS8epTpLfi5OijS9uRltqzQmKNN5IRk+szU5z/WfjX3ulpUm BhJkw854KsUzeeELr00dJtiQGLTG8B/WGfFAWSifu7ICqLBoySaRIGLii9xE08w4Hby5uAcITZ8 i0lfocSltBHiLBkOhjEJ/N/tg/bTqKHmBnHDYT4CzqqFll7Pq7fRUxjC5asm18NfUZ+WvtpZDAb 94Oa5BQY7O1RLCaVpxJ+iS4USZ9k= X-Google-Smtp-Source: AGHT+IEyrCEg7Prw8qgb3ncKjqv2hPZCdFICDVb0aCEXXYdAmP1gZHW/dpmneAQOuszVtaWZVV2sMw== X-Received: by 2002:a05:6402:35c7:b0:5e0:9390:f0d2 with SMTP id 4fb4d7f45d1cf-5e5e248f10amr7759148a12.20.1741430356584; Sat, 08 Mar 2025 02:39:16 -0800 (PST) Message-ID: Date: Sat, 8 Mar 2025 11:39:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: mv error building LilyPond tests, maybe MAX_PATH related To: cygwin AT cygwin DOT com References: Content-Language: en-US In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 08/03/2025 06:10, Saul Tobin via Cygwin wrote: > 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 > Hi Saul, it is a know issue by long but I never did an analysis like yours to identify the root cause. I just skip to run the full tests when uploading the lilypond pkg When I have extra time I will look again Regards Marco -- 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