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: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%NetBSD.org@localhost>
Cc: "pkg-manager%netbsd.org@localhost" <pkg-manager%netbsd.org@localhost>,
"gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>, "pkgsrc-bugs%netbsd.org@localhost"
<pkgsrc-bugs%netbsd.org@localhost>
Subject: Re: pkg/50205: compile error for databases/mongodb on NetBSD 6.1
Date: Sun, 6 Sep 2015 13:43:25 +0200
--=-FPtRjYOw7tVUxD1nDwXr
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Got it compiling with code from https://mail-index.netbsd.org/netbsd-users/=
2012/12/15/msg012182.html <https://mail-index.netbsd.org/netbsd-users/2012/=
12/15/msg012182.html>. Maybe we want to create a patch for this? Or tell th=
e mongodb team so they include the #ifdef?
With NetBSD 7 the code compiles fine BTW. Patch only needed for NetBSD 6.=20
=E2=80=94BL
> On 04 Sep 2015, at 10:50, mail%benjaminlorenz.de@localhost wrote:
>=20
>> Number: 50205
>> Category: pkg
>> Synopsis: compile error for databases/mongodb on NetBSD 6.1
>> Confidential: no
>> Severity: serious
>> Priority: medium
>> Responsible: pkg-manager
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Fri Sep 04 08:50:00 +0000 2015
>> Originator: Benjamin Lorenz
>> Release: NetBSD 6.1_STABLE
>> Organization:
> =09
>> Environment:
> =09
> =09
> System: NetBSD prod.qwabbl.com 6.1_STABLE NetBSD 6.1_STABLE (PROD) #2: Su=
n Jan 18 09:15:00 CET 2015 bjjl%prod.qwabbl.com@localhost:/usr/obj/sys/arch/i386/comp=
ile/PROD i386
> Architecture: i386
> Machine: i386
>> Description:
> While compiling databases/mongodb on NetBSD 6.1 with gcc 4.8.4 from pkgsr=
c
> as build dependency:
>=20
> src/third_party/v8-3.25/src/platform/semaphore.cc: In member function 'bo=
ol v8::internal::Semaphore::WaitFor(const v8::internal::TimeDelta&)':
> src/third_party/v8-3.25/src/platform/semaphore.cc:138:52: error: 'sem_tim=
edwait' was not declared in this scope
> int result =3D sem_timedwait(&native_handle_, &ts);
> ^
> scons: *** [build/pkgsrc/third_party/v8-3.25/src/platform/semaphore.o] Er=
ror 1
> scons: building terminated because of errors.
> *** Error code 2
>=20
> Stop.
> make: stopped in /usr/pkg/src/databases/mongodb
> *** Error code 1
>=20
>=20
>> How-To-Repeat:
> =09
>> Fix:
> =09
>=20
>> Unformatted:
> =09
> =09
=
--=-FPtRjYOw7tVUxD1nDwXr
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;" class=3D"">Got it compiling w=
ith code from <a href=3D"https://mail-index.netbsd.org/netbsd-users/20=
12/12/15/msg012182.html" class=3D"">https://mail-index.netbsd.org/netbsd-us=
ers/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?<div class=3D""><br c=
lass=3D""></div><div class=3D"">With NetBSD 7 the code compiles fine BTW. P=
atch only needed for NetBSD 6. <br class=3D""><div class=3D""><br clas=
s=3D""></div><div class=3D"">=E2=80=94BL</div><div class=3D""><br class=3D"=
"><div><blockquote type=3D"cite" class=3D""><div class=3D"">On 04 Sep 2015,=
at 10:50, <a href=3D"mailto:mail%benjaminlorenz.de@localhost" class=3D"">mail@benjam=
inlorenz.de</a> wrote:</div><br class=3D"Apple-interchange-newline"><div cl=
ass=3D""><blockquote type=3D"cite" class=3D"">Number: &nb=
sp; 50205<br class=3D"">Category: =
pkg<br class=3D"">Synopsis:  =
; compile error for databases/mongodb on NetBSD 6.1<br class=3D"">Conf=
idential: no<br class=3D"">Severity: &n=
bsp; serious<br class=3D"">Priority: &nb=
sp;medium<br class=3D"">Responsible: pkg-manager<br class=
=3D"">State: open<br =
class=3D"">Class: sw-=
bug<br class=3D"">Submitter-Id: net<br class=3D"">Arrival-Date:=
Fri Sep 04 08:50:00 +0000 2015<br class=3D"">Originator:  =
; Benjamin Lorenz<br class=3D"">Release:  =
; NetBSD 6.1_STABLE<br class=3D"">Organization:<br c=
lass=3D""></blockquote><span class=3D"Apple-tab-span" style=3D"white-space:=
pre"> </span><br class=3D""><blockquote type=3D"cite" class=3D"">Environmen=
t:<br class=3D""></blockquote><span class=3D"Apple-tab-span" style=3D"white=
-space:pre"> </span><br class=3D""><span class=3D"Apple-tab-span" style=3D"=
white-space:pre"> </span><br class=3D"">System: NetBSD <a href=3D"http://pr=
od.qwabbl.com" class=3D"">prod.qwabbl.com</a> 6.1_STABLE NetBSD 6.1_STABLE =
(PROD) #2: Sun Jan 18 09:15:00 CET 2015 <a href=3D"mailto:bjjl@prod.qwabbl.=
com" class=3D"">bjjl%prod.qwabbl.com@localhost</a>:/usr/obj/sys/arch/i386/compile/PRO=
D i386<br class=3D"">Architecture: i386<br class=3D"">Machine: i386<br clas=
s=3D""><blockquote type=3D"cite" class=3D"">Description:<br class=3D""></bl=
ockquote>While compiling databases/mongodb on NetBSD 6.1 with gcc 4.8.4 fro=
m pkgsrc<br class=3D"">as build dependency:<br class=3D""><br class=3D"">sr=
c/third_party/v8-3.25/src/platform/<a href=3D"http://semaphore.cc" class=3D=
"">semaphore.cc</a>: In member function 'bool v8::internal::Semaphore::Wait=
For(const v8::internal::TimeDelta&)':<br class=3D"">src/third_party/v8-=
3.25/src/platform/<a href=3D"http://semaphore.cc" class=3D"">semaphore.cc</=
a>:138:52: error: 'sem_timedwait' was not declared in this scope<br class=
=3D""> int result =3D sem_timedwait(&native_han=
dle_, &ts);<br class=3D""> &n=
bsp;  =
; &n=
bsp;  =
; ^<br class=3D"">scons: *** [build/pkgs=
rc/third_party/v8-3.25/src/platform/semaphore.o] Error 1<br class=3D"">scon=
s: building terminated because of errors.<br class=3D"">*** Error code 2<br=
class=3D""><br class=3D"">Stop.<br class=3D"">make: stopped in /usr/pkg/sr=
c/databases/mongodb<br class=3D"">*** Error code 1<br class=3D""><br class=
=3D""><br class=3D""><blockquote type=3D"cite" class=3D"">How-To-Repeat:<br=
class=3D""></blockquote><span class=3D"Apple-tab-span" style=3D"white-spac=
e:pre"> </span><br class=3D""><blockquote type=3D"cite" class=3D"">Fix:<br =
class=3D""></blockquote><span class=3D"Apple-tab-span" style=3D"white-space=
:pre"> </span><br class=3D""><br class=3D""><blockquote type=3D"cite" class=
=3D"">Unformatted:<br class=3D""></blockquote> <span class=3D"Apple-tab-spa=
n" style=3D"white-space:pre"> </span><br class=3D""> <span class=3D"Apple-t=
ab-span" style=3D"white-space:pre"> </span><br class=3D""></div></blockquot=
e></div><br class=3D""></div></div></body></html>=
--=-FPtRjYOw7tVUxD1nDwXr--
Home |
Main Index |
Thread Index |
Old Index