Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 554346

Summary: dev-lang/perl and packages installing via ExtUtils::MakeMaker, Module::Build: installs perl modules u-w
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239510, 554258    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-07-09 16:04:05 UTC
dev-lang/perl:0/5.20 -r--r--r-- /usr/lib64/perl5/5.20.2/AnyDBM_File.pm
dev-lang/perl:0/5.20 -r--r--r-- /usr/lib64/perl5/5.20.2/App/Cpan.pm
dev-lang/perl:0/5.20 -r--r--r-- /usr/lib64/perl5/5.20.2/App/Prove.pm
[...]

This seems to apply to some more Perl packages (like po4a) -- not sure if it's issue within Perl itself or within different packages.

See the tracker for more complete explanation of issues with files not writeable by owner.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2016-05-21 21:31:13 UTC
Yep, another "peculiarity" of the build system.
Comment 2 Larry the Git Cow gentoo-dev 2021-05-17 21:27:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03b86e8afdff46e7a21a5317afecbb5866b655a

commit c03b86e8afdff46e7a21a5317afecbb5866b655a
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-05-17 21:26:29 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-05-17 21:27:08 +0000

    perl-functions.eclass: Add perl-fix_permissions
    
    Bug: https://bugs.gentoo.org/554346
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 eclass/perl-functions.eclass | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2021-06-19 19:12:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd937bace2f074eee910c733ca608627272b60d

commit 0dd937bace2f074eee910c733ca608627272b60d
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-06-18 21:39:33 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-06-19 19:10:33 +0000

    perl-module.eclass: Add EAPI=8 support
    
    New features: DIST_WIKI and DIST_MAKE
    File permissions are fixed on installation
    
    Bug: https://bugs.gentoo.org/733020
    Bug: https://bugs.gentoo.org/554346
    Bug: https://bugs.gentoo.org/261375
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 eclass/perl-module.eclass | 89 ++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 76 insertions(+), 13 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb3a8f170cae1fa08fc8ecb903b805d11ab6e9b

commit dcb3a8f170cae1fa08fc8ecb903b805d11ab6e9b
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-06-18 21:26:33 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-06-19 19:10:20 +0000

    perl-functions.eclass: Add new helpers for EAPI=8 ...
    
    ... and fix an existing one.
    
    fperms works on ${D} by default, so we can give it / to operate on.
    
    Bug: https://bugs.gentoo.org/554346
    Bug: https://bugs.gentoo.org/733020
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 eclass/perl-functions.eclass | 35 ++++++++++++++++++++++++++++++++---
 1 file changed, 32 insertions(+), 3 deletions(-)
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2021-06-22 00:27:30 UTC
Fixed with EAPI=8