[MacPorts] #20461: ${destroot} is not set to correct value in pre-destroot

MacPorts noreply at macports.org
Tue Jul 28 01:40:39 PDT 2009


#20461: ${destroot} is not set to correct value in pre-destroot
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:  MacPorts 1.8.0                       
Component:  base                   |     Version:  1.8.0                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
 My /opt/local/var/macports/build was a dead symlink, so ~/.macports was
 used instead.  This worked for most cases, but not destroot in pre-
 destroot:

 {{{
 pre-destroot {
                xinstall -d -o root -g admin -m 775
 ${destroot}${prefix}/var/lock
 }
 }}}

 ${destroot} was still /opt/local/var/macports/build/... instead of
 ~/.macports/opt/local/var/macports/build/...

 {{{
  /usr/bin/install -c -m 644 'README.windows'
 '/Users/jeremy/.macports/opt/local/var/macports/build
 /_Users_jeremy_src_macports-trunk_dports_graphics_sane-
 backends/work/destroot/opt/local/share/doc/sane-backends/README.windows'
  /usr/bin/install -c -m 644 'README.zeta'
 '/Users/jeremy/.macports/opt/local/var/macports/build
 /_Users_jeremy_src_macports-trunk_dports_graphics_sane-
 backends/work/destroot/opt/local/share/doc/sane-backends/README.zeta'
 Error: Target org.macports.destroot returned: xinstall: mkdir
 /opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_graphics_sane-backends/work/destroot/opt/local/var/lock, File
 exists
 Warning: the following items did not execute (for sane-backends):
 org.macports.destroot

 }}}

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


More information about the macports-tickets mailing list