Subject: generate-wrappers not found
To: None <>
From: Thomas Klausner <>
List: tech-pkg
Date: 05/13/2007 15:53:42

p5-Math-Pari tries to extract the source code for math/pari during its
build. The code in its pkg Makefile is:
# XXX: could be improved...
PKGSRCDIR.pari=         ${.CURDIR}/../../math/pari
WRKSRC.pari_cmd=                \
        cd ${PKGSRCDIR.pari} && ${MAKE} show-var VARNAME=WRKSRC

        cd ${PKGSRCDIR.pari:Q} && ${MAKE} configure &&          \
        ${RM} -f ${WRKSRC}/pari-*
        ${LN} -sf ${WRKSRC.pari_cmd:sh:Q} ${WRKSRC}

The result during the build is:
===> Extracting for p5-Math-Pari-2.010703
cd /usr/pkgsrc/math/p5-Math-Pari/../../math/pari && /usr/bin/make configure && /bin/rm -f /usr/obj/math/p5-Math-Pari/work.x86_64/Math-Pari-2.010703/pari-*
===> Overriding tools for pari-2.1.6nb2
===> Extracting for pari-2.1.6nb2
===> Patching for pari-2.1.6nb2
=> Applying pkgsrc patches for pari-2.1.6nb2
===> Creating toolchain wrappers for pari-2.1.6nb2
make: don't know how to make generate-wrappers. Stop

make: stopped in /usr/pkgsrc/math/pari
*** Error code 2

Does anyone know what goes wrong here or how it could be fixed?