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



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. 

—BL

On 04 Sep 2015, at 10:50, mail%benjaminlorenz.de@localhost wrote:

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:

Environment:


System: NetBSD prod.qwabbl.com 6.1_STABLE NetBSD 6.1_STABLE (PROD) #2: Sun Jan 18 09:15:00 CET 2015 bjjl%prod.qwabbl.com@localhost:/usr/obj/sys/arch/i386/compile/PROD i386
Architecture: i386
Machine: i386
Description:
While compiling databases/mongodb on NetBSD 6.1 with gcc 4.8.4 from pkgsrc
as build dependency:

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:138:52: error: 'sem_timedwait' was not declared in this scope
    int result = sem_timedwait(&native_handle_, &ts);
                                                   ^
scons: *** [build/pkgsrc/third_party/v8-3.25/src/platform/semaphore.o] Error 1
scons: building terminated because of errors.
*** Error code 2

Stop.
make: stopped in /usr/pkg/src/databases/mongodb
*** Error code 1


How-To-Repeat:

Fix:


Unformatted:





Home | Main Index | Thread Index | Old Index