Gentoo Archives: gentoo-user

From: Philipp Kraus <philipp.kraus@×××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
Date: Tue, 15 Mar 2011 18:00:17
Message-Id: ilo9bh$qqs$1@dough.gmane.org
In Reply to: [gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed by walt
1 On 2011-03-15 18:25:31 +0100, walt said:
2
3 > On 03/15/2011 08:05 AM, Philipp Kraus wrote:
4 >> On 2011-03-15 15:50:44 +0100, walt said:
5 >>
6 >>> On 03/15/2011 03:14 AM, Kraus Philipp wrote:
7 >>>> Hello,
8 >>>>
9 >>>> I've try to emerge my world target new, but the dev-lang/perl-5.12.3
10 >>>> failes. I've found on the gentoo pages the hint to sync the portage
11 >>>> tree again, but that does not solve the problem.
12 >>>>
13 >>>> The messages during emerge are:
14 >>>>
15 >>>> IO.xs: In function 'XS_IO__File_new_tmpfile':
16 >>>> IO.xs:229: warning: value computed is not used
17 >>>> IO.xs: In function 'XS_IO__Poll__poll':
18 >>>> IO.xs:249: error: invalid application of 'sizeof' to incomplete type
19 >>>> 'struct pollfd'
20 >>>> IO.xs:253: error: invalid use of undefined type 'struct pollfd'
21 >>>> IO.xs:253: error: dereferencing pointer to incomplete type
22 >>>> IO.xs:255: error: invalid use of undefined type 'struct pollfd'
23 >>>> IO.xs:255: error: dereferencing pointer to incomplete type
24 >>>> IO.xs:257: error: invalid use of undefined type 'struct pollfd'
25 >>>> IO.xs:257: error: dereferencing pointer to incomplete type
26 >>>> IO.xs:259: warning: implicit declaration of function 'poll'
27 >>>> IO.xs:261: error: invalid use of undefined type 'struct pollfd'
28 >>>> IO.xs:261: error: dereferencing pointer to incomplete type
29 >>>> IO.xs:262: error: invalid use of undefined type 'struct pollfd'
30 >>>> IO.xs:262: error: dereferencing pointer to incomplete type
31 >>>> make[1]: *** [IO.o] Error 1
32 >>>> make[1]: Leaving directory
33 >>>> `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO'
34 >>>> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
35 >>>> make: *** [lib/auto/IO/IO.so] Error 25
36 >>>>
37 >>>> I've try to mask the 5.12.3 package to a previous version, but the same
38 >>>> problemes are shown. Now I've have a "hanging" portage. Perl is needed
39 >>>> for my eg. LDAP... Does anyone have any idea to solve the error?
40 >>>
41 >>> You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in
42 >>> case your existing perl environment is broken.
43 >>
44 >> perl-cleaner shows:
45 >> NO PERL INSTALLED! (at least not in your path)
46 >
47 > I assumed you're trying to upgrade perl from an older version, but you
48 > are not, I guess. (I've never known anyone who didn't have perl already ;)
49 >
50 > I just finished re-installing perl-5.12.3 on two machines with no trouble,
51 > so there is something broken on your machine, but what?
52 >
53 > I'm wondering if the real error occurs somewhere before the errors you
54 > showed us, maybe dozens or even hundreds of lines earlier.
55 >
56 > Do you have sys-libs/libperl-5.10.1? Maybe try reemerging that package
57 > first.
58
59 The emerging of the libperl crashs also with the same message.
60
61 Phil