pkgsrc-Bugs archive

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

pkg/53900: databases/db5 does not build on evbarm



>Number:         53900
>Category:       pkg
>Synopsis:       databases/db5 does not build on evbarm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 22 12:00:00 +0000 2019
>Originator:     Hauke Fath
>Release:        NetBSD 8.99.30
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD Aibel.nt.e-technik.tu-darmstadt.de 8.99.30 NetBSD 8.99.30 (PINE64-$Revision$) #0: Thu Jan 17 15:54:20 CET 2019 hf@Hochstuhl:/var/obj/netbsd-builds/developer/evbarm/sys/arch/evbarm/compile/PINE64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:

	On a -current evbarm system, databases/db5 fails in the
	configure phase with

[...]
checking size of size_t... 8
checking for ssize_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for socklen_t... yes
checking for ANSI C exit success/failure values... yes
checking for getopt optreset variable... yes
checking for mutexes... UNIX/fcntl
configure: error: Support for FCNTL mutexes was removed in BDB 4.8.
*** Error code 1

Stop.
make[2]: stopped in /amd/hochstuhl/public/pkgsrc/databases/db5
*** Error code 1


	The corresponding configure test is

[...]
  21999 # UNIX fcntl system call mutexes.
  22000 # Note that fcntl mutexes are no longer supported as of 4.8.  This code has been
  22001 # left in place in case there is some system that we are not aware of that
  22002 # only uses fcntl mutexes.  In that case, contact Oracle for support.
  22003 if test "$db_cv_mutex" = no; then
  22004         db_cv_mutex=UNIX/fcntl
  22005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22006 /* end confdefs.h.  */
  22007 
  22008 #include <fcntl.h>
  22009 int
  22010 main ()
  22011 {
  22012 
  22013         struct flock l;
  22014         l.l_whence = SEEK_SET;
  22015         l.l_start = 10;
  22016         l.l_len = 1;
  22017         l.l_type = F_WRLCK;
  22018         fcntl(0, F_SETLK, &l);
  22019 
  22020   ;
  22021   return 0;
  22022 }
  22023 _ACEOF
  22024 if ac_fn_c_try_link "$LINENO"; then :
  22025   db_cv_mutex=UNIX/fcntl
  22026 fi
[...]


	
>How-To-Repeat:

	Build db5 on NetBSD/evbarm.

	
>Fix:

	Missing #include, maybe? No idea...

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index