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

Bug 863809

Summary: dev-libs/cyrus-sasl-2.1.28-r4 - ERROR: dev-libs/cyrus-sasl-2.1.28-r4::gentoo failed (postinst phase):
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: axl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt

Description Toralf Förster gentoo-dev 2022-08-05 13:09:17 UTC
DB->fd: method not permitted before handle's open method
illegal flag specified to DB_ENV->set_encrypt
DB->fd: method not permitted before handle's open method
saslpasswd2: generic failure
 * ERROR: dev-libs/cyrus-sasl-2.1.28-r4::gentoo failed (postinst phase):
 *   Failed to generate sasldb2


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220805-090004


gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
Python 3.10.6
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit ff6dbba96c4ed66eca38c90ff63fe9022d87c392
Author: Repository mirror & CI <>
Date:   Fri Aug 5 10:32:00 2022 +0000

    2022-08-05 10:32:00 UTC

emerge -qpvO dev-libs/cyrus-sasl
[ebuild   R   ] dev-libs/cyrus-sasl-2.1.28-r4  USE="berkdb pam ssl -authdaemond -gdbm -kerberos -ldapdb -mysql -openldap -postgres -sample (-selinux) -sqlite -srp -static-libs -urandom"
Comment 1 Toralf Förster gentoo-dev 2022-08-05 13:09:18 UTC
Created attachment 798010 [details]
Comment 2 Toralf Förster gentoo-dev 2022-08-05 13:09:20 UTC
Created attachment 798013 [details]
Comment 3 Toralf Förster gentoo-dev 2022-08-05 13:09:21 UTC
Created attachment 798016 [details]
Comment 4 Toralf Förster gentoo-dev 2022-08-05 13:09:22 UTC
Created attachment 798019 [details]
Comment 5 Alexandru N. Barloiu 2022-11-16 03:14:53 UTC
Seems to me that cyrus-sasl-2.1.28-r4.ebuild has a dependency on sys-libs/db:4.8 which in turn doesn't work for cyrus-sasl for some reason. Works ok with sys-libs/db:5.3 or sys-libs/db:6.0.