ports/139169: math/atlas post-build target fails with WKDIRPREFIX defined.
Tony Maher
tonymaher at optusnet.com.au
Sun Sep 27 02:50:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list