From tonymaher@optusnet.com.au  Sun Sep 27 02:44:03 2009
Return-Path: <tonymaher@optusnet.com.au>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B10761065670
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Sep 2009 02:44:03 +0000 (UTC)
	(envelope-from tonymaher@optusnet.com.au)
Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10])
	by mx1.freebsd.org (Postfix) with ESMTP id 4895E8FC18
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Sep 2009 02:44:03 +0000 (UTC)
Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197])
	by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n8R0wXh0017510
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Sep 2009 10:58:33 +1000
Received: from karma.home (c211-30-249-134.blktn3.nsw.optusnet.com.au [211.30.249.134] (may be forged))
	by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n8R0wUZk015549
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Sep 2009 10:58:31 +1000
Received: from karma.home (localhost [127.0.0.1])
	by karma.home (8.14.3/8.14.3) with ESMTP id n8R0wUWP035469
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Sep 2009 10:58:30 +1000 (EST)
	(envelope-from tonym@karma.home)
Received: (from tonym@localhost)
	by karma.home (8.14.3/8.14.3/Submit) id n8R0wUWi035468;
	Sun, 27 Sep 2009 10:58:30 +1000 (EST)
	(envelope-from tonym)
Message-Id: <200909270058.n8R0wUWi035468@karma.home>
Date: Sun, 27 Sep 2009 10:58:30 +1000 (EST)
From: Tony Maher <tonymaher@optusnet.com.au>
Reply-To: Tony Maher <tonymaher@optusnet.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: math/atlas post-build target fails with WKDIRPREFIX defined.	
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         139169
>Category:       ports
>Synopsis:       math/atlas post-build target fails with WKDIRPREFIX defined.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 27 02:50:00 UTC 2009
>Closed-Date:    Sat Sep 24 19:01:31 UTC 2011
>Last-Modified:  Sat Sep 24 19:01:31 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->maho 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Sep 27 02:50:36 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139169 
Responsible-Changed-From-To: maho->bf 
Responsible-Changed-By: bf 
Responsible-Changed-When: Sat May 21 11:35:03 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139169 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139169: commit references a PR
Date: Sat, 24 Sep 2011 18:37:13 +0000 (UTC)

 bf          2011-09-24 18:36:59 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/atlas           Makefile distinfo pkg-descr pkg-plist 
     math/atlas/files     patch-CONFIG+src+SpewMakeInc.c 
                          patch-CONFIG+src+backend+archinfo_freebsd.c 
   Added files:
     math/atlas/files     patch-CONFIG+src+backend+archinfo_x86.c 
                          patch-makes+Make.sysinfo tuning-message 
   Removed files:
     math/atlas/files     Makefile.test alpha-patch 
                          patch-CONFIG+src+atlcomp.txt thread-patch 
   Log:
   Update to 3.8.4 before the 3.10 release; clean up (substantially
   reduce build times, introduce options, drop unneeded dependencies,
   and make linking with ATLAS shared libraries easier)
   
   Thanks to maho and A. Shterenlikht for review and testing, and to
   mm, T.  Ludwig, skreuzer, and E. Lemos de Sa for reminders or related
   submissions
   
   PR:             117923, 139169, 155650, 159876
   
   Revision  Changes    Path
   1.64      +198 -210  ports/math/atlas/Makefile
   1.15      +2 -2      ports/math/atlas/distinfo
   1.4       +0 -35     ports/math/atlas/files/Makefile.test (dead)
   1.2       +0 -9      ports/math/atlas/files/alpha-patch (dead)
   1.2       +52 -7     ports/math/atlas/files/patch-CONFIG+src+SpewMakeInc.c
   1.4       +0 -124    ports/math/atlas/files/patch-CONFIG+src+atlcomp.txt (dead)
   1.2       +88 -26    ports/math/atlas/files/patch-CONFIG+src+backend+archinfo_freebsd.c
   1.3       +14 -0     ports/math/atlas/files/patch-CONFIG+src+backend+archinfo_x86.c (new)
   1.1       +11 -0     ports/math/atlas/files/patch-makes+Make.sysinfo (new)
   1.5       +0 -12     ports/math/atlas/files/thread-patch (dead)
   1.1       +35 -0     ports/math/atlas/files/tuning-message (new)
   1.7       +17 -21    ports/math/atlas/pkg-descr
   1.11      +24 -48    ports/math/atlas/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: bf 
State-Changed-When: Sat Sep 24 19:01:28 UTC 2011 
State-Changed-Why:  
This should be fixed after the update to 3.8.4. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139169 
>Unformatted:
