xdock-0.2.0/src/lib/Makefile{,.in,.am} tries to invoke 'ldconfig' in rule 'install-exec-hook' Reproducible: Always Steps to Reproduce: # FEATURES=sandbox emerge =x11-misc/xdock-0.2.0 ... make install-exec-hook make[4]: Entering directory `/var/tmp/portage/x11-misc/xdock-0.2.0/work/xdock-0.2.0/src/lib' ldconfig ACCESS DENIED open_wr: /etc/ld.so.cache~ make[4]: *** [install-exec-hook] Error 1 make[3]: *** [install-exec-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/x11-misc/xdock-0.2.0/work/xdock-0.2.0/src/lib' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-misc/xdock-0.2.0/work/xdock-0.2.0/src/lib' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-misc/xdock-0.2.0/work/xdock-0.2.0/src' make: *** [install-recursive] Error 1 * ERROR: x11-misc/xdock-0.2.0 failed: * emake install failed. * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 162: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die "emake install failed."; * * If you need support, post the output of 'emerge --info =x11-misc/xdock-0.2.0', * the complete build log and the output of 'emerge -pqv =x11-misc/xdock-0.2.0'. * The complete build log is located at '/var/tmp/portage/x11-misc/xdock-0.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xdock-0.2.0/temp/environment'. * S: '/var/tmp/portage/x11-misc/xdock-0.2.0/work/xdock-0.2.0' --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-11478.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: ldconfig --------------------------------------------------------------------------------
Created attachment 252021 [details, diff] remove install-exec-hook
Index: xdock-0.2.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/x11-misc/xdock/xdock-0.2.0.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 xdock-0.2.0.ebuild --- xdock-0.2.0.ebuild 13 Jan 2008 10:12:02 -0000 1.1 +++ xdock-0.2.0.ebuild 26 Oct 2010 12:18:27 -0000 @@ -2,6 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xdock/xdock-0.2.0.ebuild,v 1.1 2008/01/13 10:12:02 drac Exp $ +EAPI=2 + +inherit autotools eutils + DESCRIPTION="emulates Window Maker docks (runs in any window manager)" HOMEPAGE="http://xdock.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -15,6 +19,11 @@ media-libs/imlib" DEPEND="${RDEPEND}" +src_prepare() { + epatch "${FILESDIR}"/${P}-ldconfig.patch + eautoreconf +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc API AUTHORS ChangeLog README TODO
fixed + 26 Oct 2010; Michael Weber <xmw@gentoo.org> xdock-0.2.0.ebuild, + +files/xdock-0.2.0-ldconfig.patch: + Remove ldconfig from build system, thanks to Oleg Popov + <dev-random@mail.ru> on bug #342519. +