openldap ebuilds have an hardcoded systemd rootprefix for patching that causes build to fail. * Call stack: * ebuild.sh, line 115: Called src_install * environment, line 4852: Called multilib-minimal_src_install * environment, line 3592: Called multilib_foreach_abi 'multilib-minimal_abi_src_install' * environment, line 3786: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 3479: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 3477: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install' * environment, line 747: Called multilib-minimal_abi_src_install * environment, line 3582: Called multilib_src_install * environment, line 4173: Called die * The specific snippet of code: * sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i "${ED}"/etc/init.d/slapd "${ED}"/usr/lib/systemd/system/slapd.service || die;
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d4a1abe1ccbc6d32dd6d860d0701c88bea83399 commit 3d4a1abe1ccbc6d32dd6d860d0701c88bea83399 Author: Mike Gilbert <floppym@gentoo.org> Date: Sat Jul 22 15:30:47 2017 -0400 net-nds/openldap: sed init script and systemd unit before install Bug: https://bugs.gentoo.org/625960 Package-Manager: Portage-2.3.6_p23, Repoman-2.3.3_p1 net-nds/openldap/openldap-2.4.44-r1.ebuild | 12 +++++------- net-nds/openldap/openldap-2.4.44.ebuild | 12 +++++------- net-nds/openldap/openldap-2.4.45.ebuild | 12 +++++------- 3 files changed, 15 insertions(+), 21 deletions(-)