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

Bug 664842

Summary: dev-libs/cyrus-sasl-2.1.26-r11 : * Failed to generate sasldb2
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: net-mail+disabled, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:cyrus-sasl-2.1.26-r11:20180829-092132.log
emerge-history.txt
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2018-08-29 17:48:31 UTC
 * ERROR: dev-libs/cyrus-sasl-2.1.26-r11::gentoo failed (postinst phase):
 *   Failed to generate sasldb2
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_test_20180820-192742

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)




emerge -qpv dev-libs/cyrus-sasl
[ebuild   R   ] dev-libs/cyrus-sasl-2.1.26-r11  USE="berkdb pam ssl -authdaemond -gdbm -java -kerberos -ldapdb -libressl -mysql -openldap -postgres -sample (-selinux) -sqlite -srp -static-libs -urandom" 

!!! The following installed packages are masked:
- net-analyzer/check_mk-1.2.8_p16::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (26 Aug 2018)
# mod_python removal caused it to be reduced to agent-only, which is
# apparently redundant to net-analyzer/check_mk_agent.  The package
# is unmaintained and potentially vulnerable.  Bug #632648.
# Removal in 30 days.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-08-29 17:48:33 UTC
Created attachment 545458 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-29 17:48:36 UTC
Created attachment 545460 [details]
dev-libs:cyrus-sasl-2.1.26-r11:20180829-092132.log
Comment 3 Toralf Förster gentoo-dev 2018-08-29 17:48:39 UTC
Created attachment 545462 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-29 17:48:42 UTC
Created attachment 545464 [details]
etc.portage.tbz2
Comment 5 Justin Bronder (RETIRED) gentoo-dev 2019-03-11 17:08:00 UTC
Same issue with the currently stable 2.1.26-r10.  Trying out the relevant line from pkg_postinst ("${ROOT}/usr/sbin/saslpasswd2" -f "${ROOT}/etc/sasl2/sasldb2" -p login) yields:


call implies an access method which is inconsistent with previous calls
DB->cursor: method not permitted before handle's open method
call implies an access method which is inconsistent with previous calls
DB->cursor: method not permitted before handle's open method
saslpasswd2: generic failure


This is with the berkdb USE flag enabled and sys-libs/db-5.3.28-r2