delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/22/12:54:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2C7F8386EC7D
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=ajrh.net
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anthony AT ajrh DOT net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajrh.net; h=
mime-version:message-id:in-reply-to:references:date:from:to
:subject:content-type; s=mesmtp; bh=z/ij8y3il5jyWTrFYUjP3ccyBsEV
GDVRr0rHTAhtOgo=; b=WJoLXUbsjtMggschM+grLeK5VOTtHp6JZwYmjVocLDxs
pDBiK52X7OlTC2cG5LflBUb14nRHGuatTBBZKd8nP4gdNb9evzG90TQ1bC1Qnlxq
YneZ/xA8Y06Vr1nb7FxDt3t1SfoQnArLKB9TbQfyRAger49i7TrWhD13L3AaLZ8=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to:x-me-proxy
:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=z/ij8y
3il5jyWTrFYUjP3ccyBsEVGDVRr0rHTAhtOgo=; b=cUjYNtJ0c8aa+qLcCdXE3O
BahfVsAU6EoquUL4zjWxP1tzrQQGMUAyNr/UZbNCHkS6pJNcjk8WBkc5LZjQig+u
lgNhGBdJaWtNlns6e3t/PfXodbRA8syh2bhHsJ6fcCtiIib61nTkuXWkxlnK4PGs
MdF/ECIPf6nQoXLnngt+nI+L30oOg9axRbQqgJylpwPU9mkyxgtHqoadkPYYK41a
epCpwvwBHCBTGlYpaly6zZCmWOkGglsCVsdgBrGEPgjjB7XFvdB81YsGfqTxSucY
e6MyriG/zlgEpUN/S+WQ5h/vo2t7MyETzmpKtm2YLQ/fwdsiH462Bgg3M6fEReKg
==
X-ME-Sender: <xms:PxELYKLLLhN4cm5OSuOhKl5YBMwryhdP5dwjaYVuIS0YRubsFXrM8g>
<xme:PxELYCJcLrPSBJ8gcf1bSkF3OWilkRSMAa3bAhO3-EyOMZqog6AZeD71cXV5_0Hcl
qqrcv66LfoH3YwB>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeigdduudduucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetnhht
hhhonhihucfjvggrughinhhgfdcuoegrnhhthhhonhihsegrjhhrhhdrnhgvtheqnecugg
ftrfgrthhtvghrnhepfeefhefgtdefkeejfeffveekuddvgeekteeukeejieehiedvgefg
leegkeekkeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
homheprghnthhhohhnhiesrghjrhhhrdhnvght
X-ME-Proxy: <xmx:PxELYKsePFTu6c1TcXURepFD-95Zv5toCsVivyRxDEmFLhW9TwGRng>
<xmx:PxELYPYcrrXPLYAGg6sw_NOSWfzDfYbk5hRAN2KJe3dz3tFw1EnFhA>
<xmx:PxELYBYdMwyoddxDT9cejj0iGvZl8h8n8r4dmq69RuO-_UilkckzEQ>
<xmx:PxELYCBG0P7Yr3owQb6AX7AxAXrD4f3eKeJbgSQJfi0DB9ZVHGsP9Q>
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-78-g36b56e88ef-fm-20210120.001-g36b56e88
Mime-Version: 1.0
Message-Id: <62b9ab58-2bed-4b7f-b16b-a89535e13cd5@www.fastmail.com>
In-Reply-To: <715211bd-ed66-2537-9817-fe17eb6934d5@gmail.com>
References: <ce12be86-779e-41cc-af80-ba0ecb2b210a AT www DOT fastmail DOT com>
<d56b5b94-febf-bd4d-ead1-200b900e89a4 AT SystematicSw DOT ab DOT ca>
<7e502f36-d045-4dc1-b9f1-dec329bca9f4 AT www DOT fastmail DOT com>
<715211bd-ed66-2537-9817-fe17eb6934d5 AT gmail DOT com>
Date: Fri, 22 Jan 2021 17:53:32 +0000
From: "Anthony Heading" <anthony AT ajrh DOT net>
To: "Marco Atzeri via Cygwin" <cygwin AT cygwin DOT com>
Subject: Re: missing perl directories
X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Fri, Jan 22, 2021, at 4:36 PM, Marco Atzeri via Cygwin wrote:
> 
> not on usr/local
> 
> perl-Stow: Perl library for stow
> 
>      2020-02-04 19:14           0 usr/share/perl5/
>      2020-02-04 19:14           0 usr/share/perl5/site_perl/
>      2020-02-04 19:14           0 usr/share/perl5/site_perl/5.30/
>      2020-02-04 19:14           0 usr/share/perl5/site_perl/5.30/Stow/
>      2020-02-04 19:14        5559 
> usr/share/perl5/site_perl/5.30/Stow/Util.pm
>      2020-02-04 19:14       70081 usr/share/perl5/site_perl/5.30/Stow.pm
> 

Correct.   And of course that means this Stow package doesn't actually work:

% perl -MStow -e ''
Can't locate Stow.pm in @INC (you may need to install the Stow module) (@INC contains: /usr/local/lib/perl5/site_perl/5.30/x86_64-cygwin-threads /usr/local/share/perl5/site_perl/5.30 /usr/lib/perl5/vendor_perl/5.30/x86_64-cygwin-threads /usr/share/perl5/vendor_perl/5.30 /usr/lib/perl5/5.30/x86_64-cygwin-threads /usr/share/perl5/5.30).

Similar to your reference to the FHS,  the corresponding Perl policy intends that "site_perl" is to be used by the local SA.  There is a "vendor_perl" concept instead to support this kind of cygwin packaging, as you can see referenced in the default path above.

But the Stow example is a distraction which compounds two problems, so let's leave that aside.

At core, this is catch 22.
  -  The perl build reserves, creates, and expects to exist,  an empty directory for the sole use of the SA:   "site_perl".   
  -  Cygwin perl assigns that directory location into the tree similarly intended for the SA:   "/usr/local"
  -  Your strict interpretation of the FHS disallows the empty site_perl directory to be created for use by the SA because it's positioned within a tree reserved for use by the SA

I dunno,  Marco,  I'm not so dogmatic, and I can fix my own installation.  I just thought this would be a helpful bug report for others.   It sounds like we can find enough conflicting Cygwin policy documents to ensure that there is no solution,  so that's delightful.





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