Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Fabian Groffen <grobian@g.o>
Subject: Re: [PREFIX] Problem compiling libperl on Solaris 11
Date: Sat, 31 May 2008 15:40:40 +0200
On 02-03-2007 12:24:30 +0100, Fabrizio Listello wrote:
>> Which patch?  On Solaris 10/Sparc only 2.5.4 is unsuable, because it
>> doesn't recognise multiple files in single patch files.
>
> System is Solaris 11/x86, patch 2.5.9. Error is:
>
> No file to patch.  Skipping patch.
> patch: **** fseek : Invalid argument
>
>
> I did some 'truss' and I found the following:
> when using the XOPEN_SOURCE version:
> [...]
> llseek(3, 0, SEEK_CUR)                          = 1355
> stat64("pch.c", 0x08045AA0)                     = 0
> lseek(3, 538, 2147483647)                       Err#22 EINVAL
> [...]
> and it fails.
> when using the non-XOPEN_SOURCE version:
> [..]
> llseek(3, 0, SEEK_CUR)                          = 1355
> stat64("pch.c", 0x08045AB0)                     = 0
> llseek(3, 538, SEEK_SET)                        = 538
> [...]
> a call to llseek is done.
> Don't ask me why it works, but it do.
>
> Anyway, patching patch ebuild at line 33 with:
> ! use x86-solaris && append-flag -D_XOPEN_SOURCE=500
> should resolve the issue.

Thanks for the research on this one!  I hit the same issue, and fixed it
in the tree.


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-alt@g.o mailing list


Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [PREFIX] Problem compiling libperl on Solaris 11
Next by thread:
.so libraries on Darwin
Previous by date:
Re: [PREFIX] Problem compiling libperl on Solaris 11
Next by date:
AIX and gcc


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.