missing perl directories

Marco Atzeri marco.atzeri@gmail.com
Fri Jan 22 16:36:17 GMT 2021



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



More information about the Cygwin mailing list