Opened 9 years ago

Closed 9 years ago

#48788 closed update (fixed)

subversion @1.9.1: Berkeley DB 4.0.14 or 5.x wasn't found

Reported by: trond.kandal@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: blair (Blair Zajac)
Port: subversion

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Upgrade subversion from 1.9.0 to 1.9.1 failed on checking for Berkley DB.

Berkley DB v. 5.3.21 is installed in Macports.

checking for availability of Berkeley DB... no
configure: error: Berkeley DB 4.0.14 or 5.x wasn't found.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_subversion/subversion/work/subversion-1.9.1" && ./configure --prefix=/opt/local --with-berkeley-db=:/opt/local/include/db46:/opt/local/lib/db46:db-4.6 --with-apr=/opt/local/bin/apr-1-config --with-apr-util=/opt/local/bin/apu-1-config --without-apxs --mandir=\${prefix}/share/man --with-serf=/opt/local --with-sasl=/opt/local --with-libmagic=/opt/local --without-gnome-keyring 
Exit code: 1

Attachments (1)

config.log (45.3 KB) - added by trond.kandal@… 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by trond.kandal@…

Attachment: config.log added

comment:1 Changed 9 years ago by trond.kandal@…

Bekley DB v. 4.6.21 is also installed.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: blair@… added
Description: modified (diff)
Keywords: upgrade removed
Owner: changed from macports-tickets@… to dluke@…
Port: subversion added; subversion-1.9.1 removed
Summary: Upgrade to subversion-1.9.1 failed on Yosemitesubversion @1.9.1: Berkeley DB 4.0.14 or 5.x wasn't found

comment:3 Changed 9 years ago by danielluke (Daniel J. Luke)

please clean and attach a full build log.

comment:4 in reply to:  3 Changed 9 years ago by trond.kandal@…

Replying to dluke@…:

please clean and attach a full build log.

The config.log is already attached to the ticket.

Something like this?

--->  Cleaning subversion
--->  Removing work directory for subversion
: sjefen@kandal -bash:~; sudo port -v upgrade subversion
--->  Computing dependencies for subversion.
--->  Fetching archive for subversion
--->  subversion-1.9.1_0.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch subversion-1.9.1_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/subversion
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0--->  Attempting to fetch subversion-1.9.1_0.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/subversion
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   292  100   292    0     0    479      0 --:--:-- --:--:-- --:--:--   479
--->  Attempting to fetch subversion-1.9.1_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/subversion
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0--->  Fetching distfiles for subversion
--->  Verifying checksums for subversion
--->  Checksumming subversion-1.9.1.tar.bz2
--->  Extracting subversion
--->  Extracting subversion-1.9.1.tar.bz2
--->  Applying patches to subversion
--->  Applying config_impl.h.patch
patching file subversion/libsvn_subr/config_impl.h
Hunk #1 succeeded at 135 (offset 4 lines).
--->  Patching config_impl.h: s|__PREFIX__|/opt/local|
--->  Configuring subversion
--->  Patching configure: s|hardcode_direct=yes|hardcode_direct=no|g
configure: Configuring Subversion 1.9.1
configure: creating config.nice
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking if /usr/bin/clang accepts -std=c90... yes
checking if /usr/bin/clang accepts -w... yes
checking if /usr/bin/clang accepts -Werror=unknown-warning-option... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking if /usr/bin/clang++ accepts -std=c++98... yes
checking if /usr/bin/clang++ accepts -w... yes
checking if /usr/bin/clang++ accepts -Werror=unknown-warning-option... yes
checking how to run the C preprocessor... /usr/bin/clang -E
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking build system type... x86_64-apple-darwin14.5.0
checking host system type... x86_64-apple-darwin14.5.0
checking target system type... x86_64-apple-darwin14.5.0
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 1.5.2
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... yes
checking APRUTIL version... 1.5.4
checking for pkg-config... /opt/local/bin/pkg-config
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
configure: serf library configuration via pkg-config
checking for serf-2 library... no
checking for serf-1 library... yes
checking serf library version... 1.3.4
checking serf version is suitable... yes
checking was serf enabled... yes
configure: looking for apr_memcache as part of apr-util
checking apr_memcache.h usability... yes
checking apr_memcache.h presence... yes
checking for apr_memcache.h... yes
checking for apr_memcache_create in -laprutil-1... yes
checking for Apache module support via DSO through APXS... no
configure: checking sqlite library
checking sqlite amalgamation... no
checking sqlite amalgamation... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sqlite library version (via header)... okay
checking for sqlite3_close in -lsqlite3... yes
checking whether the compiler provides atomic builtins... yes
configure: configuring libtool now
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /opt/local/bin/gsed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
checking the name lister (/opt/local/bin/nm) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin14.5.0 file names to x86_64-apple-darwin14.5.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin14.5.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /opt/local/bin/nm output from /usr/bin/clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.5.0 dyld
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
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for ld used by /usr/bin/clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang++ static flag -static works... no
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.5.0 dyld
checking how to hardcode library paths into programs... immediate
configure: building both shared and static libraries
checking whether libtool needs -no-undefined... no
checking for trang... none
checking for doxygen... none
checking for Expat... yes
checking for socket in -lsocket... no
checking for availability of Berkeley DB... no
configure: error: Berkeley DB 4.0.14 or 5.x wasn't found.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_subversion/subversion/work/subversion-1.9.1" && ./configure --prefix=/opt/local --with-berkeley-db=:/opt/local/include/db46:/opt/local/lib/db46:db-4.6 --with-apr=/opt/local/bin/apr-1-config --with-apr-util=/opt/local/bin/apu-1-config --without-apxs --mandir=\${prefix}/share/man --with-serf=/opt/local --with-sasl=/opt/local --with-libmagic=/opt/local --without-gnome-keyring 
Exit code: 1
Error: Failed to configure subversion, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_subversion/subversion/work/subversion-1.9.1/config.log
Error: org.macports.configure for port subversion returned: configure failure: command execution failed
Warning: targets not executed for subversion: org.macports.install org.macports.configure org.macports.build org.macports.destroot
Please see the log file for port subversion for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_subversion/subversion/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

comment:5 Changed 9 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: newclosed

Close - I was asking you to attach the log file that the port command directs you to:

Please see the log file for port subversion for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_subversion/subversion/main.log

It looks to me like you actually have apr-util installed with the +no_bdb variant. If you want subversion installed with BDB support, you need to have apr-util installed with BDB support. So you either need to re-install apr-util without the +no_bdb variant, or install subversion with the +no_bdb variant.

Note: See TracTickets for help on using tickets.