py24-numeric upgrade woes

Ian Moore no-spam at swiftdsl.com.au
Sun Jul 24 11:57:10 GMT 2005


On Sunday 24 July 2005 10:37, Björn König wrote:
> You can fix this temporarily if you add the line
>
>    WRKSRC=  ${WRKDIR}/Numeric-${PORTVERSION}
>
> to Makefile, e.g. just before
>
>    .include <bsd.port.pre.mk>
>
> in line 28. I sent a mail to the maintainer yesterday.
>
> Björn

Thanks, that allows it to build now, but it falls over during the install:

-->  Installing the new version via the port
===>  Installing for py24-numeric-23.8
<snip>
MA Version 12.2.0
Numeric Version 23.8
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/Numeric-23.8/Demo/*.py /usr/local/share/examples/py-numeric
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/Numeric-23.8/Demo/NumTut/* /usr/local/share/examples/py-numeric/NumTut
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/numpy.pdf /usr/local/share/doc/py-numeric
install: /usr/ports/math/py-numeric/work/numpy.pdf: No such file or directory
*** Error code 71

Stop in /usr/ports/math/py-numeric.
*** Error code 1

Stop in /usr/ports/math/py-numeric.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2187.0 
make reinstall
egrep: /var/db/pkg/py24-numeric-23.7/+CONTENTS: No such file or directory
--->  Restoring the old version
** Fix the installation problem and try again.


numpy.pdf is actually in /usr/ports/math/py-numeric/work/Numeric-23.8
By editing line 48 of the Makefile to:
 ${INSTALL_DATA} ${WRKDIR}/Numeric-23.8/numpy.pdf ${DOCSDIR}
the port installs correctly.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050724/80d0a720/attachment.bin


More information about the freebsd-questions mailing list