Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555174 - dev-perl/Linux-Smaps-0.130.0 fails tests on Linux 4 w/ Cannot open /proc/1/smaps: Permission denied
Summary: dev-perl/Linux-Smaps-0.130.0 fails tests on Linux 4 w/ Cannot open /proc/1/sm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Ticket/Display.ht...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-17 10:05 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2015-11-24 22:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-07-17 10:05:04 UTC
===(       4;0   3/11  0/?   0/13  1/4 )================================
#   Failed test 'Permission denied to read process with pid 1'
#   at t/04.t line 22.
#                   'Linux::Smaps: Cannot open /proc/1/smaps: Permission denied
# '
#     doesn't match '(?^:read failed)'

#   Failed test '  ->lasterror'
#   at t/04.t line 28.
#                   'Cannot open /proc/1/smaps: Permission denied'
#     doesn't match '(?^:read failed)'
# Looks like you failed 2 tests of 4.
t/04.t .......... Dubious, test returned 2 (wstat 512, 0x200) 


http://analysis.cpantesters.org/solved?distv=Linux-Smaps-0.13#conf%3Aarchname%2Bosvers
Comment 1 Patrice Clement gentoo-dev 2015-11-24 22:55:17 UTC
commit 4a227b3 (HEAD, master)
Author: Patrice Clement <monsieurp@gentoo.org>
Date:   Tue Nov 24 22:49:36 2015 +0000

    dev-perl/Linux-Smaps: Remove dubious tests. Fixes bug 555174.
    
    Package-Manager: portage-2.2.20.1
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

--- a/dev-perl/Linux-Smaps/Linux-Smaps-0.130.0.ebuild
+++ b/dev-perl/Linux-Smaps/Linux-Smaps-0.130.0.ebuild
@@ -17,3 +17,8 @@ IUSE=""
 CONFIG_CHECK="~MMU ~PROC_PAGE_MONITOR"

 SRC_TEST="do parallel"
+
+# Remove dubious tests.
+PERL_RM_FILES=(
+       t/0{3,4}.t
+)

Let's remove those tests for the time being. Kent, reopen please when the author comes up with a solution.