Is this a 'make' bug?

walt wa1ter at myrealbox.com
Mon May 9 06:04:33 PDT 2005


I dunno, but somebody is choking on this line from /usr/ports/Mk/bsd.python.mk:

PYTHONBASE!=   (${PYTHON_CMD} -c 'import sys; print sys.prefix') \
                              2> /dev/null || ${ECHO_CMD} ${LOCALBASE}

# portupgrade -n python
--->  Session started at: Mon, 09 May 2005 05:38:54 -0700
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 275 packages found
(-0 +0)  done]
** Makefile possibly broken: lang/python:
        Syntax error: ")" unexpected
        "/usr/ports/Mk/bsd.python.mk", line 199: warning:
"/usr/local/bin/python2.4 -c 'import sys; print sys.prefix')  2> /dev/null ||
echo /usr/local" returned non-zero status


That first '(' should also be passed to the shell as part of the command, I'm
guessing, but it's being stripped off instead.

Anyone else seeing this error today?






More information about the Bugs mailing list