pkgsrc-Users archive

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

Re: Unable to build devel/libuv on NetBSD 6_1_Stable



> On Mon, 23 Jan 2017 13:51:25 -0000 yancm%SDF.ORG@localhost wrote:
>> I'm still having problems with this package, has this caused anyone
>> else problems? Has anyone updated and built successfully on NetBSD 6x
>> (or 7x)?
>
> I just rebuilt libuv-1.10.2 on NetBSD/amd64 7.99.29 with no problems.
>
>> src/unix/fs.c: In function 'uv__to_stat':
>
> It looks like there's some twisty #ifdefs in fs.c that decide whether
> those field names get an 'e' at the end or not. According to stat(2),
> on NetBSD they should have an 'e'. I'm not actually sure why this is
> working for me, since it looks to me like the #ifdefs get this wrong
> (e.g. at line 832 in fs.c). Someone with a better knowledge of stat(2)
> and its (evidently inconsistent) behaviour across platforms should
> chime in.
>

Excellent! I just hacked the #ifdef to choose the "e" branch and that
allowed me to build.

I'll assume this will bite others over time, so hopefully this thread will
help them...

thanks for the assist!



Home | Main Index | Thread Index | Old Index