pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50205: compile error for databases/mongodb on NetBSD 6.1
The following reply was made to PR pkg/50205; it has been noted by GNATS.
From: Benjamin Lorenz <bl%pocketservices.de@localhost>
To: Filip Hajny <filip%joyent.com@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/50205: compile error for databases/mongodb on NetBSD 6.1
Date: Tue, 8 Sep 2015 08:33:10 +0200
--=-tiOGRBK+DHsZCA7kfVla
Content-Type: text/plain; charset="us-ascii"
src/third_party/v8-3.25/src/platform/semaphore.cc: In member function 'bool v8::internal::Semaphore::WaitFor(const v8::internal::TimeDelta&)':
src/third_party/v8-3.25/src/platform/semaphore.cc:144:47: error: 'DCHECK' was not declared in this scope
DCHECK(errno == EAGAIN || errno == EINTR);
^
scons: *** [build/pkgsrc/third_party/v8-3.25/src/platform/semaphore.o] Error 1
scons: building terminated because of errors.
*** Error code 2
> On 07 Sep 2015, at 13:54, Filip Hajny <filip%joyent.com@localhost> wrote:
>
>> 6. 9. 2015 v 13:43, Benjamin Lorenz <bl%pocketservices.de@localhost>:
>>
>> Got it compiling with code from https://mail-index.netbsd.org/netbsd-users/2012/12/15/msg012182.html. Maybe we want to create a patch for this? Or tell the mongodb team so they include the #ifdef?
>>
>> With NetBSD 7 the code compiles fine BTW. Patch only needed for NetBSD 6.
>>
>
> Can you try now? I used the patch from lang/nodejs that addresses the same problem.
>
> -F
>
--=-tiOGRBK+DHsZCA7kfVla
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dus-ascii"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode=
: space; -webkit-line-break: after-white-space;" class=3D""><div style=3D"m=
argin: 0px; font-size: 18px; font-family: Menlo;" class=3D"">src/third_part=
y/v8-3.25/src/platform/<a href=3D"http://semaphore.cc" class=3D"">semaphore=
.cc</a>: In member function 'bool v8::internal::Semaphore::WaitFor(const v8=
::internal::TimeDelta&)':</div><div style=3D"margin: 0px; font-size: 18=
px; font-family: Menlo;" class=3D"">src/third_party/v8-3.25/src/platform/<a=
href=3D"http://semaphore.cc" class=3D"">semaphore.cc</a>:144:47: error: 'D=
CHECK' was not declared in this scope</div><div style=3D"margin: 0px; font-=
size: 18px; font-family: Menlo;" class=3D""> DCHE=
CK(errno =3D=3D EAGAIN || errno =3D=3D EINTR);</div><div style=3D"margin: 0=
px; font-size: 18px; font-family: Menlo;" class=3D""> &n=
bsp; =
^</di=
v><div style=3D"margin: 0px; font-size: 18px; font-family: Menlo;" class=3D=
"">scons: *** [build/pkgsrc/third_party/v8-3.25/src/platform/semaphore.o] E=
rror 1</div><div style=3D"margin: 0px; font-size: 18px; font-family: Menlo;=
" class=3D"">scons: building terminated because of errors.</div><div style=
=3D"margin: 0px; font-size: 18px; font-family: Menlo;" class=3D"">*** Error=
code 2</div><div style=3D"margin: 0px; font-size: 18px; font-family: Menlo=
; min-height: 21px;" class=3D""><br class=3D""></div><div><blockquote type=
=3D"cite" class=3D""><div class=3D"">On 07 Sep 2015, at 13:54, Filip Hajny =
<<a href=3D"mailto:filip%joyent.com@localhost" class=3D"">filip%joyent.com@localhost</a>>=
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><block=
quote type=3D"cite" class=3D"">6. 9. 2015 v 13:43, Benjamin Lorenz <<a h=
ref=3D"mailto:bl%pocketservices.de@localhost" class=3D"">bl%pocketservices.de@localhost</a>>=
:<br class=3D""><br class=3D"">Got it compiling with code from <a href=3D"h=
ttps://mail-index.netbsd.org/netbsd-users/2012/12/15/msg012182.html" class=
=3D"">https://mail-index.netbsd.org/netbsd-users/2012/12/15/msg012182.html<=
/a>. Maybe we want to create a patch for this? Or tell the mongodb team so =
they include the #ifdef?<br class=3D""><br class=3D"">With NetBSD 7 the cod=
e compiles fine BTW. Patch only needed for NetBSD 6. <br class=3D""><br cla=
ss=3D""></blockquote><br class=3D"">Can you try now? I used the patch from =
lang/nodejs that addresses the same problem.<br class=3D""><br class=3D"">-=
F<br class=3D""><br class=3D""></div></blockquote></div><br class=3D""></bo=
dy></html>=
--=-tiOGRBK+DHsZCA7kfVla--
Home |
Main Index |
Thread Index |
Old Index