Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625960 - net-nds/openldap: hardcoded systemd rootprefix /usr/lib/systemd/system/slapd.service
Summary: net-nds/openldap: hardcoded systemd rootprefix /usr/lib/systemd/system/slapd....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 625954
  Show dependency tree
 
Reported: 2017-07-22 18:23 UTC by Hans Vercammen
Modified: 2017-07-22 19:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)