[Lunar-bugs] [Lunar Linux 0000275]: db 4.6.18 conflict with openldap

Lunar bug reports list lunar-bugs at lunar-linux.org
Sat Oct 11 19:40:07 CEST 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=275 
====================================================================== 
Reported By:                piggy
Assigned To:                ratler
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   275
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Moonbase Version:           20070807.02 
Core Tools:                 Lunar 
Core Tools Version:         2007MMDD (I'm an idiot and didn't edit this field.) 
Resolution:                 reopened
Fixed in Version:           
====================================================================== 
Date Submitted:             08-27-2007 04:47 CEST
Last Modified:              10-11-2008 19:40 CEST
====================================================================== 
Summary:                    db 4.6.18 conflict with openldap
Description: 
Dear sir:
I had tried update my server with
lunar -v update
then it update my OpenLDAP and its database.
After server restart.
I had tried to connect my ldap. But it always faild.
I had roll back to db 4.5.20 then my system work find.
Best Regards


====================================================================== 

---------------------------------------------------------------------- 
 ratler - 08-27-07 06:56  
---------------------------------------------------------------------- 
Could you please try again and send us the compile log of openldap. Also
logs from openldap when you try to connect to openldap would be of great
value. 

---------------------------------------------------------------------- 
 ratler - 08-27-07 07:14  
---------------------------------------------------------------------- 
One more thing, you might have to run db_upgrade in /var/openldap-data
followed by a db_recover. Please make backups before doing so. If neither
of the approaches work, make a LDIF dump of your entire ldap database with
db 4.5.20. Then upgrade db and rebuild openldap. After that start with a
fresh /var/openldap-data and then import that LDIF again.

But as I said make sure you have proper backups before doing this. 

---------------------------------------------------------------------- 
 ratler - 09-09-07 12:00  
---------------------------------------------------------------------- 
So is this still an issue? If not I'm going to close this bug report. 

---------------------------------------------------------------------- 
 ratler - 09-14-07 08:32  
---------------------------------------------------------------------- 
No response. Assuming that it was not a module problem. 

---------------------------------------------------------------------- 
 piggy - 09-17-07 09:44  
---------------------------------------------------------------------- 
Dear Sir:
Sorry for reply very late.
I just came back from upcountry.
Thank you for your advice.
Today I follow your instruction on 08-27-07 07:14.
My server still have the same problem.
These are compile log of Berkerly DB and Openldap.
Could you please check them and give me the advices.
Best Regards
Tosapol

================================================================================
root at master ~ # lin -r db
+ Reconfiguring "db"
db: Install & use optional (not installed) module tcl 
          Purpose: to build the tcl api ? [n] 
+ adding "optional" depends for "db" on "tcl" (off)
db: Install & use optional (not installed) module sun-jdk 
          Purpose: for java support ? [n] 
+ adding "optional" depends for "db" on "sun-jdk" (off)
+ Spawning download manager
+ download queue:   db
+ starting lin "db"
Checking dependencies for db 
+ downloading module "db"
+ Skipping download of "db-4.6.18.tar.gz" (in cache)
Building db version 4.6.18
+ running "default_pre_build"
+ validating "/usr/src/db-4.6.18"
+ creating building dir "/usr/src/db-4.6.18"
+ Unpacking "/var/spool/lunar/db-4.6.18.tar.gz" in "/usr/src"
+ building "db" version "4.6.18" in /usr/src/db-4.6.18
+ CC_EXT="ccache "
+ CXX_EXT="ccache "
+ CC="gcc"
+ CXX="g++"
+ CPP="cpp"
+ CFLAGS=""
+ CXXFLAGS=""
+ CPPFLAGS=""
+ LDFLAGS=" -s -Wl,-O1"
+ Enabled wrapper script usage
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-mutexsupport option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... yes
checking if --enable-cxx option specified... yes
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-fine_grained_lock_manager option specified... no
checking if --enable-o_direct option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-pthread_api option specified... no
checking if --enable-rpc option specified... no
checking if --enable-smallbuild option specified... no
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for chmod... chmod
checking for cp... cp
checking for ln... ln
checking for mkdir... mkdir
checking for rm... rm
checking for sh... /bin/sh
checking for a BSD-compatible install... /usr/bin/install -c
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether C++ supports the ISO C++ standard includes... yes
checking whether we are using gcc version 2.96... no
checking whether g++ requires -fhandle-exceptions... no
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /var/lib/lunar/compilers/ld
checking if the linker (/var/lib/lunar/compilers/ld) is GNU ld... yes
checking for /var/lib/lunar/compilers/ld option to reload object files...
-r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cpp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/var/lib/lunar/compilers/ld) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /var/lib/lunar/compilers/ld
checking if the linker (/var/lib/lunar/compilers/ld) is GNU ld... yes
checking whether the g++ linker (/var/lib/lunar/compilers/ld) supports
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/var/lib/lunar/compilers/ld) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking SOSUFFIX from libtool... .so
checking MODSUFFIX from libtool... .so
checking JMODSUFFIX from libtool... .so
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for struct stat.st_blksize... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... yes
checking if stdint.h can be used by C++... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for unistd.h... (cached) yes
checking for char... yes
checking size of char... 1
checking for unsigned char... yes
checking size of unsigned char... 1
checking for short... yes
checking size of short... 2
checking for unsigned short... yes
checking size of unsigned short... 2
checking for int... yes
checking size of int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for long... yes
checking size of long... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for long long... yes
checking size of long long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for char *... yes
checking size of char *... 4
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for int16_t... yes
checking for u_int32_t... yes
checking for int32_t... yes
checking for u_int64_t... yes
checking for int64_t... yes
checking for FILE... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for time_t... yes
checking for size_t... (cached) yes
checking size of size_t... 4
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 mutexes... POSIX/pthreads/library/x86/gcc-assembly
checking for main in -lpthread... yes
checking for library containing sched_yield... none required
checking for library containing fdatasync... none required
checking for library containing getaddrinfo... none required
checking for library containing hstrerror... none required
checking for main in -lm... yes
checking for main in -lnsl... yes
checking for main in -lpthread... (cached) yes
checking for main in -lsocket... no
checking for abort... yes
checking for atoi... yes
checking for atol... yes
checking for getcwd... yes
checking for getenv... yes
checking for getopt... yes
checking for isalpha... yes
checking for isdigit... yes
checking for isprint... yes
checking for isspace... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for printf... yes
checking for qsort... yes
checking for raise... yes
checking for rand... yes
checking for strcasecmp... yes
checking for strcat... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncat... yes
checking for strncmp... yes
checking for strrchr... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoul... yes
checking for _fstati64... no
checking for directio... no
checking for fchmod... yes
checking for fclose... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for fgetc... yes
checking for fgets... yes
checking for fopen... yes
checking for fwrite... yes
checking for getaddrinfo... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for getuid... yes
checking for hstrerror... yes
checking for localtime... yes
checking for mprotect... yes
checking for pstat_getdynamic... no
checking for pthread_yield... yes
checking for sched_yield... yes
checking for select... yes
checking for sigaction... yes
checking for snprintf... yes
checking for stat... yes
checking for strftime... yes
checking for sysconf... yes
checking for time... yes
checking for vsnprintf... yes
checking for yield... no
checking for ftruncate... yes
checking for clock_gettime... no
checking for ctime_r... yes
checking for 2 or 3 argument version of ctime_r... 2-argument
checking for pread... yes
checking for pwrite... yes
checking for fcntl/F_SETFD... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for mlock... yes
checking for munlock... yes
checking for mmap... yes
checking for munmap... yes
checking for shmget... yes
checking for 64-bit integral type support for sequences... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating db_cxx.h
config.status: creating db_int.h
config.status: creating clib_port.h
config.status: creating include.tcl
config.status: creating db.h
config.status: creating db_185.h
config.status: creating db185_int.h
config.status: creating db_config.h
+ Editing "Makefile"
+ Editing "Makefile"
+ running "default_make"
...

===============================================================================
root at master ~ # lin -r openldap
+ Reconfiguring "openldap"
+ removing all depends for and optional on "openldap"
openldap: Use NTLM patch for Windows AD support? [y] 
+ adding "required" depends for "openldap" on "db" (on)
+ Auto-adding optional dependency "openssl"
+ adding "optional" depends for "openldap" on "openssl" (on)
openldap: Use optional (installed) module cyrus-sasl 
          Purpose: for secure authentication ? [y] n
+ adding "optional" depends for "openldap" on "cyrus-sasl" (off)
openldap: Install & use optional (not installed) module krb5 
          Purpose: for Kerberos V.5 authentication ? [n] 
+ adding "optional" depends for "openldap" on "krb5" (off)
openldap: Use optional (installed) module tcp_wrappers 
          Purpose: for TCP wrapper support ? [y] 
+ adding "optional" depends for "openldap" on "tcp_wrappers" (on)
+ Spawning download manager
+ download queue:   openldap
+ starting lin "openldap"
Checking dependencies for openldap 
+ downloading module "openldap"
+ Skipping download of "openldap-2.3.38.tgz" (in cache)
+ Skipping download of "openldap-2.3.x-ntlm.diff" (in cache)
Building openldap version 2.3.38
+ running "default_pre_build"
+ validating "/usr/src/openldap-2.3.38"
+ creating building dir "/usr/src/openldap-2.3.38"
+ Removing old source directory first!
+ Unpacking "/var/spool/lunar/openldap-2.3.38.tgz" in "/usr/src"
+ building "openldap" version "2.3.38" in /usr/src/openldap-2.3.38
+ CC_EXT="ccache "
+ CXX_EXT="ccache "
+ CC="gcc"
+ CXX="g++"
+ CPP="cpp"
+ CFLAGS=""
+ CXXFLAGS=""
+ CPPFLAGS=""
+ LDFLAGS=" -s -Wl,-O1"
+ Enabled wrapper script usage
+ patch_it "openldap-2.3.x-ntlm.diff" "0"
patching file include/ldap.h
Hunk http://bugs.lunar-linux.org/view.php?id=1 succeeded at 2118 with fuzz 2
(offset 365 lines).
patching file libraries/libldap/Makefile.in
Hunk http://bugs.lunar-linux.org/view.php?id=2



More information about the Lunar-bugs mailing list