Gentoo Archives: gentoo-dev

From: Grant <emailgrant@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] anybody interested in writing a Perl ebuild?
Date: Fri, 25 May 2012 06:17:07
Message-Id: CAN0CFw1VY3h_wwHit5f2G4FYm5TShEkxXz9kSNsyGLEd3VUH0Q@mail.gmail.com
In Reply to: Re: [gentoo-dev] anybody interested in writing a Perl ebuild? by Kent Fredric
1 > add this:
2 >
3 > MODULE_VERSION="v${PV}"
4 >
5 > just before the inherit line and that *should* do the trick.
6
7 That did it, but there's more trouble. g-cpan strikes again?
8
9 >>> Configuring source in /var/tmp/portage/dev-perl/local-lib-1.008004/work/local-lib-1.008004 ...
10 * Using ExtUtils::MakeMaker
11 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
12 DESTDIR=/var/tmp/portage/dev-perl/local-lib-1.008004/image/
13 ACCESS DENIED open_wr: /usr/lib64/perl5/5.12.4/CPAN/Config.pm
14 Cannot open >/usr/lib64/perl5/5.12.4/CPAN/Config.pm at
15 /usr/lib64/perl5/5.12.4/CPAN/HandleConfig.pm line 470
16 CPAN::HandleConfig::_configpmtest('/usr/lib64/perl5/5.12.4/CPAN',
17 '/usr/lib64/perl5/5.12.4/CPAN/Config.pm') called at
18 /usr/lib64/perl5/5.12.4/CPAN/HandleConfig.pm line 551
19 CPAN::HandleConfig::load('CPAN::HandleConfig') called at
20 /usr/lib64/perl5/5.12.4/CPAN/Shell.pm line 1517
21 CPAN::Shell::optprint('CPAN::Shell', 'load_module', 'CPAN:
22 File::HomeDir loaded ok (v0.98)\x{a}') called at
23 /usr/lib64/perl5/5.12.4/CPAN.pm line 1101
24 CPAN::has_inst('CPAN=HASH(0x1e0d4114e8)', 'File::HomeDir', undef)
25 called at /usr/lib64/perl5/5.12.4/CPAN.pm line 982
26 CPAN::has_usable('CPAN=HASH(0x1e0d4114e8)', 'File::HomeDir') called
27 at /usr/lib64/perl5/5.12.4/CPAN/HandleConfig.pm line 506
28 CPAN::HandleConfig::home() called at
29 /usr/lib64/perl5/5.12.4/CPAN/HandleConfig.pm line 478
30 CPAN::HandleConfig::require_myconfig_or_config('CPAN::HandleConfig')
31 called at Makefile.PL line 212
32 * ERROR: dev-perl/local-lib-1.008004 failed (configure phase):
33 * Unable to build!
34 *
35 * Call stack:
36 * ebuild.sh, line 85: Called src_configure
37 * environment, line 2220: Called perl-module_src_configure
38 * environment, line 1936: Called perl-module_src_prep
39 * environment, line 2008: Called die
40 * The specific snippet of code:
41 * perl Makefile.PL "$@" <<< "${pm_echovar}" || die
42 "Unable to build!";
43 *
44 * If you need support, post the output of 'emerge --info
45 =dev-perl/local-lib-1.008004',
46 * the complete build log and the output of 'emerge -pqv
47 =dev-perl/local-lib-1.008004'.
48 * This ebuild is from an overlay named 'x-portage': '/usr/local/portage/'
49 * The complete build log is located at
50 '/var/log/portage/dev-perl:local-lib-1.008004:20120525-061124.log'.
51 * The ebuild environment file is located at
52 '/var/tmp/portage/dev-perl/local-lib-1.008004/temp/environment'.
53 * S: '/var/tmp/portage/dev-perl/local-lib-1.008004/work/local-lib-1.008004'
54 --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
55 LOG FILE "/var/log/sandbox/sandbox-10934.log"
56
57 VERSION 1.0
58 FORMAT: F - Function called
59 FORMAT: S - Access Status
60 FORMAT: P - Path as passed to function
61 FORMAT: A - Absolute Path (not canonical)
62 FORMAT: R - Canonical Path
63 FORMAT: C - Command Line
64
65 F: open_wr
66 S: deny
67 P: /usr/lib64/perl5/5.12.4/CPAN/Config.pm
68 A: /usr/lib64/perl5/5.12.4/CPAN/Config.pm
69 R: /usr/lib64/perl5/5.12.4/CPAN/Config.pm
70 C: perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
71 DESTDIR=/var/tmp/portage/dev-perl/local-lib-1.008004/image/
72 --------------------------------------------------------------------------------
73
74 >>> Failed to emerge dev-perl/local-lib-1.008004
75
76 - Grant

Replies

Subject Author
Re: [gentoo-dev] anybody interested in writing a Perl ebuild? Kent Fredric <kentfredric@×××××.com>