Summary: | net-nds/openldap-2.4.45-r1 with /bin/mksh - ../../libtool: line 925: print: command not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | William <sirrobin2318> |
Component: | Current packages | Assignee: | Gentoo LDAP project <ldap-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kfm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268 | ||
Attachments: | build.log |
The reason is that the ebuild pollutes the environment thusly: # sed -n 534p openldap-2.4.45.ebuild emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash What happens is that libtool deduces that `print -r --` is a safe 'echo' command for ksh, but then the applicable functions end up being executed in a bash shell anyway. Of course, print is not a valid builtin for bash. Changing the definition of the SHELL variable to be "${EPREFIX}"/bin/sh allows the compile phase to conclude successfully. s/for ksh/for mksh/ FWIW, I'm still running into this with openldap-2.4.47-r1. |
Created attachment 565708 [details] build.log Hi all, it builds if I set eselect sh set bash.