Date: Sun, 27 Sep 2009 10:58:30 +1000 (EST) From: Tony Maher <tonymaher@optusnet.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/139169: math/atlas post-build target fails with WKDIRPREFIX defined. Message-ID: <200909270058.n8R0wUWi035468@karma.home> Resent-Message-ID: <200909270250.n8R2o1Es085363@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139169 >Category: ports >Synopsis: math/atlas post-build target fails with WKDIRPREFIX defined. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 27 02:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tony Maher >Release: FreeBSD 7.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD karma.home 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug 13 19:29:14 EST 2009 root@karma.home:/space/usr/obj/usr/src/sys/KARMA amd64 >Description: The post-build target of math/atlas fails. In /etc/make.conf I have defined: WRKDIRPREFIX=/space cd /usr/port/math/atlas make -DWITH_STATICLIB ... ... ATLAS install complete. Examine ATLAS/bin/<arch>/INSTALL_LOG/SUMMARY.LOG for details. make clean rm -f *.o x* config?.out *core* (cd /space/usr/ports/math/atlas/work/ATLAS; /bin/mkdir -p tmp1 ; /bin/cp `cd /space/usr/ports/math/atlas/work/lapack; make -V WRKSRC WRKDIRPREFIX=""`/liblapack.a tmp1 ; cd tmp1 ; ar x liblapack.a ; ar x ../NON_THREADED/lib/liblapack.a ; ar r ../NON_THREADED/lib/libalapack.a *.o ; ranlib ../NON_THREADED/lib/libalapack.a ) cp: /space/space/usr/ports/math/atlas/work/lapack/work/lapack-3.2.1/liblapack.a: No such file or directory *** Error code 1 Stop in /usr/ports/math/atlas. Note the duplicate '/space' in '/space/space/usr/ports/...' >How-To-Repeat: Set WRKDIRPREFIX and cd /usr/ports/math/atlas make -DWITH_STATICLIB >Fix: I worked around by unsetting WRKDIRPREFIX. I believe the problem comes from the following Makefile line LAPACKWRKSRC=`cd ${WRKDIR}/lapack; ${MAKE} -V WRKSRC WRKDIRPREFIX=""` Sorry no fix. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909270058.n8R0wUWi035468>