Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177833 - app-admin/perl-cleaner: won't do h2ph for asm-generic/
Summary: app-admin/perl-cleaner: won't do h2ph for asm-generic/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on: 292985
Blocks:
  Show dependency tree
 
Reported: 2007-05-09 17:13 UTC by Alex Efros
Modified: 2010-07-14 06:12 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 Alex Efros 2007-05-09 17:13:03 UTC
After last upgrade one script failed in:
  require 'linux/input.ph';
because some of files loaded in /usr/lib/perl5/site_perl/5.8.8/i686-linux/linux/input.ph load something from asm-generic/ directory (I suppose it's 'asm-generic/ioctl.ph'), which isn't exists.

I've work around this by adding "asm-generic/*" into /usr/bin/perl-cleaner inside function ph_update.

Reproducible: Always
Comment 1 Nikita Savin 2008-02-23 10:30:17 UTC
Still exists in perl-cleaner-1.05

Patch: 

--- perl-cleaner.orig   2008-02-23 12:24:24.000000000 +0200
+++ perl-cleaner        2008-02-23 12:27:49.000000000 +0200
@@ -88,7 +88,7 @@
    echo ""
    echo "$(date) : Updating ph files" | tee -a $LOG
    cd /usr/include; h2ph * | tee -a $LOG
-   cd /usr/include; h2ph -r sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* gentoo* | tee -a $LOG
+   cd /usr/include; h2ph -r sys/* arpa/* netinet/* bits/* security/* asm/* asm-generic/* gnu/* linux/* gentoo* | tee -a $LOG
    cd /usr/include/linux; h2ph * | tee -a $LOG
 }
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2010-07-14 06:12:37 UTC
Should be fixed for >=dev-lang/perl-5.12.1 and >=app-admin/perl-cleaner-2.2