[MacPorts] #30577: apache-ivy not building on OSX Lion clean

MacPorts noreply at macports.org
Fri Feb 24 08:01:46 PST 2012


#30577: apache-ivy not building on OSX Lion clean
---------------------------------+------------------------------------------
 Reporter:  em.pee.oh@…          |       Owner:  singingwolfboy@…           
     Type:  defect               |      Status:  new                        
 Priority:  Normal               |   Milestone:                             
Component:  ports                |     Version:  2.0.0                      
 Keywords:  lion                 |        Port:  apache-ivy                 
---------------------------------+------------------------------------------

Comment(by mail_ben_schmidt@…):

 Attached a patch which fixes this.


 Problem: Access denied errors for $HOME/.ivy2/cache when building apache-
 ivy.

 Cause: MacPorts builds as the macports user, who doesn't have access to
 the real user's home directory.

 Solution: Simply use the /localivy target to use .ivy2 in the build
 directory instead of the user's home directory.


 Problem: /localivy has no effect.

 Cause: A dependency is missing in the build.xml file so ivy.home is not
 being set when it should, and is falling back to a hardcoded default of
 ~/.ivy2.

 Solution: Patch build.xml.


 I think the patch to build.xml should be submitted upstream. All our
 Portfile should need to do is include /localivy as a target.

-- 
Ticket URL: <https://trac.macports.org/ticket/30577#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list