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

Bug 625960

Summary: net-nds/openldap: hardcoded systemd rootprefix /usr/lib/systemd/system/slapd.service
Product: Gentoo Linux Reporter: Hans Vercammen <hveso3>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 625954    

Description Hans Vercammen 2017-07-22 18:23:53 UTC
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;
Comment 1 Mike Gilbert gentoo-dev 2017-07-22 19:37:29 UTC
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(-)