Summary: | net-nds/openldap-2.3.31 fails to build: mkdep cannot find Makefile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | [OLD] Library | Assignee: | Gentoo LDAP project <ldap-bugs> |
Status: | RESOLVED LATER | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | openldap-emerge.log |
Description
SpanKY
2006-12-26 22:32:05 UTC
Created attachment 104789 [details]
openldap-emerge.log
Try running with MAKEOPTS="-j1" This ebuild does not seem to like parallel makes. (In reply to comment #0) > ../../../build/mkdep: line 112: Makefile: No such file or directory > make[3]: *** [depend-common] Error 1 > make[3]: *** Waiting for unfinished jobs.... > make[3]: Leaving directory > `/var/tmp/portage/net-nds/openldap-2.3.31/work/openldap-2.3.31/servers/slapd/overlays' > make[2]: *** [depend-local-srv] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/net-nds/openldap-2.3.31/work/openldap-2.3.31/servers/slapd' > make[1]: *** [depend-common] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/net-nds/openldap-2.3.31/work/openldap-2.3.31/servers' > make: *** [depend-common] Error 1 > > !!! ERROR: net-nds/openldap-2.3.31 failed. > Call stack: > ebuild.sh, line 1580: Called dyn_compile > ebuild.sh, line 945: Called src_compile > openldap-2.3.31.ebuild, line 291: Called die > > !!! make depend failed > !!! If you need support, post the topmost build error, and the call stack if > relevant. > > Portage 2.1.2_rc4-r1 (default-linux/ppc/ppc32/2006.1, gcc-4.1.1, glibc-2.5-r0, > 2.6.19.1 ppc) > ================================================================= > MAKEOPTS="-j6" I confirm this problem with MAKEOPTS="-j3" downgrading to -j1 solve the problem can we force builds to use -j1 these days? no, forcing -j1 is never a correct solution This is not ideal, since it applies in between calls to econf and emake. But nobody's presented an alternative, and this does fix the problem. Version 1.3 of openldap-2.3.30-r1.ebuild has the same issue with parallel make. --- /usr/portage/net-nds/openldap/openldap-2.3.31.ebuild 2006-12-25 15:06:16.000000000 +0000 +++ portage/net-nds/openldap/openldap-2.3.31.ebuild 2007-01-01 12:39:11.000000000 +0000 @@ -288,6 +288,11 @@ --libexecdir=/usr/$(get_libdir)/openldap \ ${myconf} || die "configure failed" + # bug #159185 + sed -i.orig \ + -e 's/^depend-common: FORCE$/depend-common: FORCE depend-local/' \ + servers/slapd/overlays/Makefile + emake depend || die "make depend failed" emake || die "make failed" In touch with upstream about this, though I got the notify that it may take some time. So marking this as LATER for now |