X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD02239DC486
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1611333382;
	bh=czBu9lB4KKqwaYu7qlW7ul/AvYz5Fh7B0DZVjaW7yy8=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=aigpXPBBvmfxnXl9b2fhWdCQIr/p2f9BtobxWHl+ls4cbaiKFgFxy2rhzCdltz9Yv
	 guLTpAFmpdsS2w3oIY0mmNS9im/RWYUljMrFHVyVq3KUkSvHYOoGZq1VlGU0eLUXHR
	 EaW1Fe4NJMgw1Njj+/kyIsMD1htQrZynuyjq34Hs=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A40EB39960E5
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=j9aAFS0jfRfARJlCE0uu4RJUew76yqXFft/gaXCl0uo=;
 b=qYXV6JtTVmZgB4UuqqmAV8T+xoWgbaJcaRGfiCBNHDqoEmsUEr+hT0hcgWSnOZTRxy
 R7mIxuFsRlVV9BTHQWydDIRSoM6APBN13YlOMT/Q3UKJx871e9+2BBzHnRUkYSdm0m+m
 ztds511HklXjBW/xjej4Q1CeOlSa6QmfrtLcbS7lJOFkZ88dRIhXhUb7V9x5Kqw2gJPx
 ErYVqR98NqWfeFHCqDCKc1C4hMhlfwLtMmmWE+I5U8xRxEpst8ZSZHfvWAGwS+fG+5nT
 dnblnvybv+x+p/gr4Xwrs3wmMaNP16lY7l/DgNCI/bjuLzEg+DA/xa50lTNEtT02za7z
 PjpA==
X-Gm-Message-State: AOAM530lfreRP8K6h/npMUSb3UOL9TJ1Sx4UyAjUp0Q1Ac174m17TRAD
 j+iijCWOlBInwNXavktgei5P5Lv4NwhBVQ==
X-Google-Smtp-Source: ABdhPJxkpHhntI80Kr56liSquG3YsN6XYSehUPI9WrCmLJJvPsq4tQTnNm05rPrvNu28SzvJhqrpHw==
X-Received: by 2002:a7b:c397:: with SMTP id s23mr1977312wmj.182.1611333378704; 
 Fri, 22 Jan 2021 08:36:18 -0800 (PST)
Subject: Re: missing perl directories
To: cygwin@cygwin.com
References: <ce12be86-779e-41cc-af80-ba0ecb2b210a@www.fastmail.com>
 <d56b5b94-febf-bd4d-ead1-200b900e89a4@SystematicSw.ab.ca>
 <7e502f36-d045-4dc1-b9f1-dec329bca9f4@www.fastmail.com>
Message-ID: <715211bd-ed66-2537-9817-fe17eb6934d5@gmail.com>
Date: Fri, 22 Jan 2021 17:36:17 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <7e502f36-d045-4dc1-b9f1-dec329bca9f4@www.fastmail.com>
Content-Language: it
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT,
 NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin@cygwin.com>
Reply-To: Marco Atzeri <marco.atzeri@gmail.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>



On 22.01.2021 17:15, Anthony Heading wrote:
> Hi Brian!
> 
> On Fri, Jan 22, 2021, at 7:33 AM, Brian Inglis wrote:
>> either something has not completed correctly, or something is missing in recent
>> installations.
> 
> I think that's right.  Those the directories which are referenced in the binary,  I know the generic upstream perl source process has always created them,  but they're not included in the current cygwin package.   As a total guess, empty directories are maybe now being elided in the cygwin packaging process?
> 
> % strings - /bin/cygperl5_30.dll  | grep /usr/local
> /usr/local/lib/perl5/site_perl/5.30/x86_64-cygwin-threads
> /usr/local/share/perl5/site_perl/5.30
> 
> % cygcheck -p site_perl
> Found 4 matches for site_perl
> grepmail-5.3033-2 - grepmail: search mailboxes for mail matching an expression (installed binaries and support files)
> perl-Stow-2.3.1-1 - perl-Stow: perl library for stow
> perl-Stow-2.3.1-2 - perl-Stow: Perl library for stow
> perl-Stow-2.3.1-3 - perl-Stow: Perl library for stow

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


>> no package should touch them
> 
> Marco,  I have no idea how to interpret that statement constructively.

Sorry, I should have be more clear.

We can discuss if the perl package should deliver empty directories like

     usr/share/perl5/site_perl/

and similar. It seems reasonable but I am not a Perl expert, however
a distribution package should never write on "/usr/local"

https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/usr.html

" The /usr/local hierarchy is for use by the system administrator when 
installing software locally. It needs to be safe from being overwritten 
when the system software is updated"

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
