>>> Installing (1 of 1) dev-libs/cyrus-sasl-2.1.27-r2::net-kit * Generating an empty sasldb2 with correct permissions ... call implies an access method which is inconsistent with previous calls /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/temp/environment: line 5098: 5884 Done echo "p" 5885 Segmentation fault (core dumped) | "${EROOT}/usr/sbin/saslpasswd2" -f "${EROOT}/etc/sasl2/sasldb2" -p login * ERROR: dev-libs/cyrus-sasl-2.1.27-r2::net-kit failed (postinst phase): * Failed to generate sasldb2 * * Call stack: * ebuild.sh, line 93: Called pkg_postinst * environment, line 5101: Called die * The specific snippet of code: * echo "p" | "${EROOT}/usr/sbin/saslpasswd2" -f "${EROOT}/etc/sasl2/sasldb2" -p login || die "Failed to generate sasldb2"; * * If you need support, post the output of `emerge --info '=dev-libs/cyrus-sasl-2.1.27-r2::net-kit'`, * the complete build log and the output of `emerge -pqv '=dev-libs/cyrus-sasl-2.1.27-r2::net-kit'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =cyrus-sasl-2.1.27 * The complete build log is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/homedir' * S: '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/work/cyrus-sasl-2.1.27' * FAILED postinst: 1>>> Failed to execute postinst for dev-libs/cyrus-sasl-2.1.27-r2 * Messages for package dev-libs/cyrus-sasl-2.1.27-r2: * FAILED postinst: 1 * ERROR: dev-libs/cyrus-sasl-2.1.27-r2::net-kit failed (postinst phase): * Failed to generate sasldb2 * * Call stack: * ebuild.sh, line 93: Called pkg_postinst * environment, line 5101: Called die * The specific snippet of code: * echo "p" | "${EROOT}/usr/sbin/saslpasswd2" -f "${EROOT}/etc/sasl2/sasldb2" -p login || die "Failed to generate sasldb2"; * * If you need support, post the output of `emerge --info '=dev-libs/cyrus-sasl-2.1.27-r2::net-kit'`, * the complete build log and the output of `emerge -pqv '=dev-libs/cyrus-sasl-2.1.27-r2::net-kit'`. * The complete build log is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/homedir' * S: '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27-r2/work/cyrus-sasl-2.1.27' * GNU info directory index is up-to-date.
With this use flags:
USE="-authdaemond -gdbm -java -kerberos -libressl -mysql -openldap pam -postgres -selinux -sqlite berkdb ssl" emerge dev-libs/cyrus-sasl:2
Disable the `berkdb` fix the issue