To followup my own post:

Simon J Mudd <[EMAIL PROTECTED]> writes:

> Well it should be easy enough tomorrow for me to hack shtool to use
> bash as the shell and at least see if that allows the build to
> complete.

Changing the installed openpkg shtool shell manually to
$prefix/lib/openpkg/bash does not fix the problem.

I _think_ it is because the real problem is that the /bin/sh invoked
from the %prep part of the python build is having a problem converting
the glob into a parameter list to pass to shtool.

This appears to be the line causing the problem.

    %{l_shtool} subst -q \
        -e 's;\+ *sys\.version\[:3\];;g' \
        -e 's;\+ *get_python_version();;g' \
        Lib/*.py Lib/*/*.py Lib/*/*/*.py

Should it be possible to split this into 3 invocations for each of the
globs in the last line?

Ralf, if you are following this thread, have you not come across
issues similar to this before? (native /bin/sh limitations compared to
Linux's /bin/sh which is normally /bin/bash?)

Simon
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to