public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge dev-lang/perl-5.12.3 failed
@ 2011-03-15 10:14 Kraus Philipp
  2011-03-15 14:50 ` [gentoo-user] " walt
  2011-03-15 19:06 ` [gentoo-user] " Arttu V.
  0 siblings, 2 replies; 7+ messages in thread
From: Kraus Philipp @ 2011-03-15 10:14 UTC (permalink / raw
  To: gentoo-user

Hello,

I've try to emerge my world target new, but the dev-lang/perl-5.12.3  
failes. I've found on the gentoo pages the hint to sync the portage  
tree again, but that does not solve the problem.

The messages during emerge are:

IO.xs: In function 'XS_IO__File_new_tmpfile':
IO.xs:229: warning: value computed is not used
IO.xs: In function 'XS_IO__Poll__poll':
IO.xs:249: error: invalid application of 'sizeof' to incomplete type  
'struct pollfd'
IO.xs:253: error: invalid use of undefined type 'struct pollfd'
IO.xs:253: error: dereferencing pointer to incomplete type
IO.xs:255: error: invalid use of undefined type 'struct pollfd'
IO.xs:255: error: dereferencing pointer to incomplete type
IO.xs:257: error: invalid use of undefined type 'struct pollfd'
IO.xs:257: error: dereferencing pointer to incomplete type
IO.xs:259: warning: implicit declaration of function 'poll'
IO.xs:261: error: invalid use of undefined type 'struct pollfd'
IO.xs:261: error: dereferencing pointer to incomplete type
IO.xs:262: error: invalid use of undefined type 'struct pollfd'
IO.xs:262: error: dereferencing pointer to incomplete type
make[1]: *** [IO.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/ 
perl-5.12.3/dist/IO'
Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
make: *** [lib/auto/IO/IO.so] Error 25

I've try to mask the 5.12.3 package to a previous version, but the  
same problemes are shown. Now I've have a "hanging" portage. Perl is  
needed for my eg. LDAP... Does anyone have any idea to solve the error?

Thanks

Phil



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
  2011-03-15 10:14 [gentoo-user] emerge dev-lang/perl-5.12.3 failed Kraus Philipp
@ 2011-03-15 14:50 ` walt
  2011-03-15 15:05   ` Philipp Kraus
  2011-03-15 19:06 ` [gentoo-user] " Arttu V.
  1 sibling, 1 reply; 7+ messages in thread
From: walt @ 2011-03-15 14:50 UTC (permalink / raw
  To: gentoo-user

On 03/15/2011 03:14 AM, Kraus Philipp wrote:
> Hello,
>
> I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem.
>
> The messages during emerge are:
>
> IO.xs: In function 'XS_IO__File_new_tmpfile':
> IO.xs:229: warning: value computed is not used
> IO.xs: In function 'XS_IO__Poll__poll':
> IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd'
> IO.xs:253: error: invalid use of undefined type 'struct pollfd'
> IO.xs:253: error: dereferencing pointer to incomplete type
> IO.xs:255: error: invalid use of undefined type 'struct pollfd'
> IO.xs:255: error: dereferencing pointer to incomplete type
> IO.xs:257: error: invalid use of undefined type 'struct pollfd'
> IO.xs:257: error: dereferencing pointer to incomplete type
> IO.xs:259: warning: implicit declaration of function 'poll'
> IO.xs:261: error: invalid use of undefined type 'struct pollfd'
> IO.xs:261: error: dereferencing pointer to incomplete type
> IO.xs:262: error: invalid use of undefined type 'struct pollfd'
> IO.xs:262: error: dereferencing pointer to incomplete type
> make[1]: *** [IO.o] Error 1
> make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO'
> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
> make: *** [lib/auto/IO/IO.so] Error 25
>
> I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a "hanging" portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error?

You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in
case your existing perl environment is broken.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
  2011-03-15 14:50 ` [gentoo-user] " walt
@ 2011-03-15 15:05   ` Philipp Kraus
  2011-03-15 17:25     ` walt
  0 siblings, 1 reply; 7+ messages in thread
From: Philipp Kraus @ 2011-03-15 15:05 UTC (permalink / raw
  To: gentoo-user

On 2011-03-15 15:50:44 +0100, walt said:

> On 03/15/2011 03:14 AM, Kraus Philipp wrote:
>> Hello,
>> 
>> I've try to emerge my world target new, but the dev-lang/perl-5.12.3 
>> failes. I've found on the gentoo pages the hint to sync the portage 
>> tree again, but that does not solve the problem.
>> 
>> The messages during emerge are:
>> 
>> IO.xs: In function 'XS_IO__File_new_tmpfile':
>> IO.xs:229: warning: value computed is not used
>> IO.xs: In function 'XS_IO__Poll__poll':
>> IO.xs:249: error: invalid application of 'sizeof' to incomplete type 
>> 'struct pollfd'
>> IO.xs:253: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:253: error: dereferencing pointer to incomplete type
>> IO.xs:255: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:255: error: dereferencing pointer to incomplete type
>> IO.xs:257: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:257: error: dereferencing pointer to incomplete type
>> IO.xs:259: warning: implicit declaration of function 'poll'
>> IO.xs:261: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:261: error: dereferencing pointer to incomplete type
>> IO.xs:262: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:262: error: dereferencing pointer to incomplete type
>> make[1]: *** [IO.o] Error 1
>> make[1]: Leaving directory 
>> `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO'
>> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
>> make: *** [lib/auto/IO/IO.so] Error 25
>> 
>> I've try to mask the 5.12.3 package to a previous version, but the same 
>> problemes are shown. Now I've have a "hanging" portage. Perl is needed 
>> for my eg. LDAP... Does anyone have any idea to solve the error?
> 
> You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in
> case your existing perl environment is broken.

perl-cleaner shows:
NO PERL INSTALLED! (at least not in your path)

Phil





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
  2011-03-15 15:05   ` Philipp Kraus
@ 2011-03-15 17:25     ` walt
  2011-03-15 17:58       ` Philipp Kraus
  0 siblings, 1 reply; 7+ messages in thread
From: walt @ 2011-03-15 17:25 UTC (permalink / raw
  To: gentoo-user

On 03/15/2011 08:05 AM, Philipp Kraus wrote:
> On 2011-03-15 15:50:44 +0100, walt said:
>
>> On 03/15/2011 03:14 AM, Kraus Philipp wrote:
>>> Hello,
>>>
>>> I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem.
>>>
>>> The messages during emerge are:
>>>
>>> IO.xs: In function 'XS_IO__File_new_tmpfile':
>>> IO.xs:229: warning: value computed is not used
>>> IO.xs: In function 'XS_IO__Poll__poll':
>>> IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd'
>>> IO.xs:253: error: invalid use of undefined type 'struct pollfd'
>>> IO.xs:253: error: dereferencing pointer to incomplete type
>>> IO.xs:255: error: invalid use of undefined type 'struct pollfd'
>>> IO.xs:255: error: dereferencing pointer to incomplete type
>>> IO.xs:257: error: invalid use of undefined type 'struct pollfd'
>>> IO.xs:257: error: dereferencing pointer to incomplete type
>>> IO.xs:259: warning: implicit declaration of function 'poll'
>>> IO.xs:261: error: invalid use of undefined type 'struct pollfd'
>>> IO.xs:261: error: dereferencing pointer to incomplete type
>>> IO.xs:262: error: invalid use of undefined type 'struct pollfd'
>>> IO.xs:262: error: dereferencing pointer to incomplete type
>>> make[1]: *** [IO.o] Error 1
>>> make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO'
>>> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
>>> make: *** [lib/auto/IO/IO.so] Error 25
>>>
>>> I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a "hanging" portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error?
>>
>> You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in
>> case your existing perl environment is broken.
>
> perl-cleaner shows:
> NO PERL INSTALLED! (at least not in your path)

I assumed you're trying to upgrade perl from an older version, but you
are not, I guess.  (I've never known anyone who didn't have perl already ;)

I just finished re-installing perl-5.12.3 on two machines with no trouble,
so there is something broken on your machine, but what?

I'm wondering if the real error occurs somewhere before the errors you
showed us, maybe dozens or even hundreds of lines earlier.

Do you have sys-libs/libperl-5.10.1?  Maybe try reemerging that package
first.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
  2011-03-15 17:25     ` walt
@ 2011-03-15 17:58       ` Philipp Kraus
  0 siblings, 0 replies; 7+ messages in thread
From: Philipp Kraus @ 2011-03-15 17:58 UTC (permalink / raw
  To: gentoo-user

On 2011-03-15 18:25:31 +0100, walt said:

> On 03/15/2011 08:05 AM, Philipp Kraus wrote:
>> On 2011-03-15 15:50:44 +0100, walt said:
>> 
>>> On 03/15/2011 03:14 AM, Kraus Philipp wrote:
>>>> Hello,
>>>> 
>>>> I've try to emerge my world target new, but the dev-lang/perl-5.12.3 
>>>> failes. I've found on the gentoo pages the hint to sync the portage 
>>>> tree again, but that does not solve the problem.
>>>> 
>>>> The messages during emerge are:
>>>> 
>>>> IO.xs: In function 'XS_IO__File_new_tmpfile':
>>>> IO.xs:229: warning: value computed is not used
>>>> IO.xs: In function 'XS_IO__Poll__poll':
>>>> IO.xs:249: error: invalid application of 'sizeof' to incomplete type 
>>>> 'struct pollfd'
>>>> IO.xs:253: error: invalid use of undefined type 'struct pollfd'
>>>> IO.xs:253: error: dereferencing pointer to incomplete type
>>>> IO.xs:255: error: invalid use of undefined type 'struct pollfd'
>>>> IO.xs:255: error: dereferencing pointer to incomplete type
>>>> IO.xs:257: error: invalid use of undefined type 'struct pollfd'
>>>> IO.xs:257: error: dereferencing pointer to incomplete type
>>>> IO.xs:259: warning: implicit declaration of function 'poll'
>>>> IO.xs:261: error: invalid use of undefined type 'struct pollfd'
>>>> IO.xs:261: error: dereferencing pointer to incomplete type
>>>> IO.xs:262: error: invalid use of undefined type 'struct pollfd'
>>>> IO.xs:262: error: dereferencing pointer to incomplete type
>>>> make[1]: *** [IO.o] Error 1
>>>> make[1]: Leaving directory 
>>>> `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO'
>>>> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
>>>> make: *** [lib/auto/IO/IO.so] Error 25
>>>> 
>>>> I've try to mask the 5.12.3 package to a previous version, but the same 
>>>> problemes are shown. Now I've have a "hanging" portage. Perl is needed 
>>>> for my eg. LDAP... Does anyone have any idea to solve the error?
>>> 
>>> You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in
>>> case your existing perl environment is broken.
>> 
>> perl-cleaner shows:
>> NO PERL INSTALLED! (at least not in your path)
> 
> I assumed you're trying to upgrade perl from an older version, but you
> are not, I guess.  (I've never known anyone who didn't have perl already ;)
> 
> I just finished re-installing perl-5.12.3 on two machines with no trouble,
> so there is something broken on your machine, but what?
> 
> I'm wondering if the real error occurs somewhere before the errors you
> showed us, maybe dozens or even hundreds of lines earlier.
> 
> Do you have sys-libs/libperl-5.10.1?  Maybe try reemerging that package
> first.

The emerging of the libperl crashs also with the same message.

Phil





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] emerge dev-lang/perl-5.12.3 failed
  2011-03-15 10:14 [gentoo-user] emerge dev-lang/perl-5.12.3 failed Kraus Philipp
  2011-03-15 14:50 ` [gentoo-user] " walt
@ 2011-03-15 19:06 ` Arttu V.
  2011-03-15 19:41   ` [gentoo-user] " Philipp Kraus
  1 sibling, 1 reply; 7+ messages in thread
From: Arttu V. @ 2011-03-15 19:06 UTC (permalink / raw
  To: gentoo-user

On 3/15/11, Kraus Philipp <philipp.kraus@flashpixx.de> wrote:
> Hello,
>
> I've try to emerge my world target new, but the dev-lang/perl-5.12.3
> failes. I've found on the gentoo pages the hint to sync the portage
> tree again, but that does not solve the problem.
>
> The messages during emerge are:
>
> IO.xs: In function 'XS_IO__File_new_tmpfile':
> IO.xs:229: warning: value computed is not used
> IO.xs: In function 'XS_IO__Poll__poll':
> IO.xs:249: error: invalid application of 'sizeof' to incomplete type
> 'struct pollfd'
> IO.xs:253: error: invalid use of undefined type 'struct pollfd'
> IO.xs:253: error: dereferencing pointer to incomplete type
> IO.xs:255: error: invalid use of undefined type 'struct pollfd'
> IO.xs:255: error: dereferencing pointer to incomplete type
> IO.xs:257: error: invalid use of undefined type 'struct pollfd'
> IO.xs:257: error: dereferencing pointer to incomplete type
> IO.xs:259: warning: implicit declaration of function 'poll'
> IO.xs:261: error: invalid use of undefined type 'struct pollfd'
> IO.xs:261: error: dereferencing pointer to incomplete type
> IO.xs:262: error: invalid use of undefined type 'struct pollfd'
> IO.xs:262: error: dereferencing pointer to incomplete type
> make[1]: *** [IO.o] Error 1
> make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/
> perl-5.12.3/dist/IO'
> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
> make: *** [lib/auto/IO/IO.so] Error 25
>
> I've try to mask the 5.12.3 package to a previous version, but the
> same problemes are shown. Now I've have a "hanging" portage. Perl is
> needed for my eg. LDAP... Does anyone have any idea to solve the error?

Maybe the following is helpful:

http://forums.gentoo.org/viewtopic-t-430269.html

-- 
Arttu V.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: emerge dev-lang/perl-5.12.3 failed
  2011-03-15 19:06 ` [gentoo-user] " Arttu V.
@ 2011-03-15 19:41   ` Philipp Kraus
  0 siblings, 0 replies; 7+ messages in thread
From: Philipp Kraus @ 2011-03-15 19:41 UTC (permalink / raw
  To: gentoo-user

On 2011-03-15 20:06:52 +0100, Arttu V. said:

> On 3/15/11, Kraus Philipp <philipp.kraus@flashpixx.de> wrote:
>> Hello,
>> 
>> I've try to emerge my world target new, but the dev-lang/perl-5.12.3
>> failes. I've found on the gentoo pages the hint to sync the portage
>> tree again, but that does not solve the problem.
>> 
>> The messages during emerge are:
>> 
>> IO.xs: In function 'XS_IO__File_new_tmpfile':
>> IO.xs:229: warning: value computed is not used
>> IO.xs: In function 'XS_IO__Poll__poll':
>> IO.xs:249: error: invalid application of 'sizeof' to incomplete type
>> 'struct pollfd'
>> IO.xs:253: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:253: error: dereferencing pointer to incomplete type
>> IO.xs:255: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:255: error: dereferencing pointer to incomplete type
>> IO.xs:257: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:257: error: dereferencing pointer to incomplete type
>> IO.xs:259: warning: implicit declaration of function 'poll'
>> IO.xs:261: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:261: error: dereferencing pointer to incomplete type
>> IO.xs:262: error: invalid use of undefined type 'struct pollfd'
>> IO.xs:262: error: dereferencing pointer to incomplete type
>> make[1]: *** [IO.o] Error 1
>> make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/
>> perl-5.12.3/dist/IO'
>> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
>> make: *** [lib/auto/IO/IO.so] Error 25
>> 
>> I've try to mask the 5.12.3 package to a previous version, but the
>> same problemes are shown. Now I've have a "hanging" portage. Perl is
>> needed for my eg. LDAP... Does anyone have any idea to solve the error?
> 
> Maybe the following is helpful:
> 
> http://forums.gentoo.org/viewtopic-t-430269.html

Nice :-P I have rebooted the system and removed all environmental 
variables and now I can compile with ermeg





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-15 19:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15 10:14 [gentoo-user] emerge dev-lang/perl-5.12.3 failed Kraus Philipp
2011-03-15 14:50 ` [gentoo-user] " walt
2011-03-15 15:05   ` Philipp Kraus
2011-03-15 17:25     ` walt
2011-03-15 17:58       ` Philipp Kraus
2011-03-15 19:06 ` [gentoo-user] " Arttu V.
2011-03-15 19:41   ` [gentoo-user] " Philipp Kraus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox