[MacPorts] #16434: aspell-0.60.6 tries to write directly to ${prefix}

MacPorts noreply at macports.org
Sun Aug 31 14:52:07 PDT 2008


#16434: aspell-0.60.6 tries to write directly to ${prefix}
------------------------------+---------------------------------------------
 Reporter:  blb at macports.org  |       Owner:  jochen at macports.org
     Type:  defect            |      Status:  new                
 Priority:  Normal            |   Milestone:  Port Bugs          
Component:  ports             |     Version:  1.7.0              
 Keywords:                    |  
------------------------------+---------------------------------------------
 Was just running a destroot on textproc/aspell 0.60.6 as my uid (who
 doesn't have write access to ${prefix}) and saw this:
 {{{
 Command output: /opt/local/share/info/dir: could not read (No such file or
 directory) and could not create (Permission denied)
 }}}

 This appears to be due to the following lines in post-destroot:
 {{{
     system "${prefix}/bin/install-info
 ${destroot}${prefix}/share/info/aspell.info ${prefix}/share/info/dir"
     system "${prefix}/bin/install-info ${destroot}${prefix}/share/info
 /aspell-dev.info ${prefix}/share/info/dir"
 }}}

 Those should either access ${destroot}${prefix}/share/info/dir or be done
 in a post-activate phase.

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


More information about the macports-tickets mailing list