[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#482303: luatex: getpwnam() implicitly converted to pointer



On 22.05.08 Taco Hoekwater (taco@elvenkind.com) wrote:
> dann frazier wrote:

Hi Taco,

> >Our automated buildd log filter[1] detected a problem that is likely to
> >cause your package to segfault on architectures where the size of a
> >pointer is greater than the size of an integer, such as ia64 and amd64.
> >
> >  Function `getpwnam' implicitly converted to pointer at 
> >  ../../../src/texk/kpathsea/tilde.c:103
> >
> >This is often due to a missing function prototype definition.
> >For more information, see [2].
> >
> >luatex provides its own pwd.h file which is getting included
> >instead of the system pwd.h file and does not include a prototype
> >for getpwnam(). If the luatex pwd.h file is not available in the
> >include path, the system one gets properly included:
> 
> Thanks, I have come up with a solution where luatex is
> using the system-wide pwd.h except while crosscompiling
> for win32 (that is what the file was there for).
> 
The problem meanwhile causes an FTBFS (fails to build from source) on
ia64. I've seen a patch in the SVN (Revision 1279), which seems to
address the problem. Can we check it out and use it to work around
the problem?

Hilmar
-- 
sigmentation fault



Reply to: