Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 918938

Summary: dev-libs/apr-util-1.6.3 - [clang] configure: error: Berkeley db6 not found
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-libs:apr-util-1.6.3:20231201-032953.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-01 09:23:35 UTC
checking for db.h... yes
checking for -ldb6... no
checking for db60/db.h... no
checking for db6/db.h... no
checking for db.h... yes
checking for -ldb... no
configure: error: Berkeley db6 not found

!!! Please attach the following file when seeking support:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231128-203237

  -------------------------------------------------------------------

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  (none found)
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit a115647ca244bbc971e66d5101cd0a2a42af4b53
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 1 00:17:03 2023 +0000

    2023-12-01 00:17:02 UTC

emerge -qpvO dev-libs/apr-util
[ebuild  N    ] dev-libs/apr-util-1.6.3  USE="berkdb gdbm sqlite -doc -ldap -mysql -nss -odbc -openssl -postgres -static-libs"
Comment 1 Toralf Förster gentoo-dev 2023-12-01 09:23:36 UTC
Created attachment 876075 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-01 09:23:37 UTC
Created attachment 876076 [details]
dev-libs:apr-util-1.6.3:20231201-032953.log
Comment 3 Toralf Förster gentoo-dev 2023-12-01 09:23:39 UTC
Created attachment 876077 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-01 09:23:40 UTC
Created attachment 876078 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-01 09:23:41 UTC
Created attachment 876079 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-01 09:23:42 UTC
Created attachment 876080 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-01 09:23:42 UTC
Created attachment 876081 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-01 09:23:44 UTC
Created attachment 876082 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-01 09:23:46 UTC
Created attachment 876083 [details]
temp.tar.xz
Comment 10 Hans de Graaff gentoo-dev Security 2023-12-01 09:45:46 UTC
This looks to be fixed in (not released) 1.6.4: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.6.x/CHANGES
Comment 11 Larry the Git Cow gentoo-dev 2023-12-01 12:26:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132cdde44707185d0aa87107e6e8904803d38b8b

commit 132cdde44707185d0aa87107e6e8904803d38b8b
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-12-01 12:25:31 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-12-01 12:26:33 +0000

    dev-libs/apr-util: fix configure for strict C99 compilers
    
    Closes: https://bugs.gentoo.org/918938
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-libs/apr-util/apr-util-1.6.3.ebuild            |  1 +
 .../files/apr-util-1.6.3-configure-int.patch       | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)