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 19:44:05
Message-Id: ilofe1$i2$1@dough.gmane.org
In Reply to: Re: [gentoo-user] emerge dev-lang/perl-5.12.3 failed by "Arttu V."
1 On 2011-03-15 20:06:52 +0100, Arttu V. said:
2
3 > On 3/15/11, Kraus Philipp <philipp.kraus@×××××××××.de> wrote:
4 >> Hello,
5 >>
6 >> I've try to emerge my world target new, but the dev-lang/perl-5.12.3
7 >> failes. I've found on the gentoo pages the hint to sync the portage
8 >> tree again, but that does not solve the problem.
9 >>
10 >> The messages during emerge are:
11 >>
12 >> IO.xs: In function 'XS_IO__File_new_tmpfile':
13 >> IO.xs:229: warning: value computed is not used
14 >> IO.xs: In function 'XS_IO__Poll__poll':
15 >> IO.xs:249: error: invalid application of 'sizeof' to incomplete type
16 >> 'struct pollfd'
17 >> IO.xs:253: error: invalid use of undefined type 'struct pollfd'
18 >> IO.xs:253: error: dereferencing pointer to incomplete type
19 >> IO.xs:255: error: invalid use of undefined type 'struct pollfd'
20 >> IO.xs:255: error: dereferencing pointer to incomplete type
21 >> IO.xs:257: error: invalid use of undefined type 'struct pollfd'
22 >> IO.xs:257: error: dereferencing pointer to incomplete type
23 >> IO.xs:259: warning: implicit declaration of function 'poll'
24 >> IO.xs:261: error: invalid use of undefined type 'struct pollfd'
25 >> IO.xs:261: error: dereferencing pointer to incomplete type
26 >> IO.xs:262: error: invalid use of undefined type 'struct pollfd'
27 >> IO.xs:262: error: dereferencing pointer to incomplete type
28 >> make[1]: *** [IO.o] Error 1
29 >> make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/
30 >> perl-5.12.3/dist/IO'
31 >> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
32 >> make: *** [lib/auto/IO/IO.so] Error 25
33 >>
34 >> I've try to mask the 5.12.3 package to a previous version, but the
35 >> same problemes are shown. Now I've have a "hanging" portage. Perl is
36 >> needed for my eg. LDAP... Does anyone have any idea to solve the error?
37 >
38 > Maybe the following is helpful:
39 >
40 > http://forums.gentoo.org/viewtopic-t-430269.html
41
42 Nice :-P I have rebooted the system and removed all environmental
43 variables and now I can compile with ermeg