[MacPorts] #18613: building from svn checkout is currently broken

MacPorts noreply at macports.org
Mon Feb 23 21:13:09 PST 2009


#18613: building from svn checkout is currently broken
-------------------------------------+--------------------------------------
 Reporter:  jordan.breeding@…        |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  High                     |   Milestone:  Port Bugs                            
Component:  ports                    |     Version:  1.8.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------

Comment(by jordan.breeding@…):

 Replying to [comment:1 blb@…]:
 > Does
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/PortIndex
 in fact exist?  If not make sure to 'port sync' since that is what updates
 what's in
 /opt/local/var/macports/sources/rsync.macports.org/release/ports.

 No,
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/PortIndex
 does not exist, /opt/local/dports/PortIndex does because this is an svn
 checkout.  Prior to the latest round of changes what I was able to do is
 `svn update`, then run `make; make install` the Makefile in /opt/local
 (checked out from svn) contains the following:

 {{{
 install: all
         @(cd base; make install)
         @if egrep -q ^rsync ${SRCS}; then \
           echo file://`pwd`/dports/ [default] >> ${SRCS}; \
           sed -i .orig -e 's/^rsync/#rsync/' ${SRCS}; \
           echo "${SRCS} automatically configured"; \
         fi
 }}}

 Which used to be just fine, and then I could either do an `svn update` on
 my own later to update portfiles and macports software, or I could do
 `port sync` to get just the portfiles, `port sync` was smart enough to
 notice that the source was "file://" and just use svn to do the update.

 Now during `make install` in base it bails out because of not finding
 PortIndex though, even though one exists, it is just in /opt/local/dports,
 controlled by svn, and /opt/local/etc/macports/sources.conf hasn't been
 edited by the main Makefile yet.

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


More information about the macports-tickets mailing list