"not owner" when installing readline as non-root

Kevin Reid kpreid at mac.com
Mon Dec 14 19:58:51 PST 2009


On Oct 15, 2009, at 12:37, Ryan Schmidt wrote:
>>>> --->  Applying patches to readline
>>>> Error: Target org.macports.patch returned: could not set group  
>>>> for file "/Users/thomas/Documents/prgm/bin/autoinstall/macports/ 
>>>> var/macports/build/ 
>>>> _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sources_rsync 
>>>> .macports.org_release_ports_devel_readline/work/readline-6.0/ 
>>>> support/shobj-conf": not owner
>>>> Error: Unable to upgrade port: 1
>>>
>>> Ok, that's the first and real error, and is:
>>>
>>> http://trac.macports.org/ticket/20896
> ...
> You could apply the patch I attached to that ticket, and rebuild  
> MacPorts.

I'm having what looks like this same problem, after having just  
selfupdated MacPorts.


bash-3.2$ port upgrade readline
MacPorts running without privileges. You may be unable to complete  
certain actions (eg install).
--->  Computing dependencies for readline
MacPorts running without privileges. You may be unable to complete  
certain actions (eg install).
--->  Fetching readline
MacPorts running without privileges. You may be unable to complete  
certain actions (eg install).
--->  Verifying checksum(s) for readline
MacPorts running without privileges. You may be unable to complete  
certain actions (eg install).
--->  Extracting readline
MacPorts running without privileges. You may be unable to complete  
certain actions (eg install).
--->  Applying patches to readline
Error: Target org.macports.patch returned: could not set group for  
file "/Stuff/ports/var/macports/build/ 
_Stuff_ports_var_macports_sources_rsync 
.macports.org_release_ports_devel_readline/work/readline-6.0/support/ 
shobj-conf": not owner
Error: Unable to upgrade port: 1
bash-3.2$ locate portutil.tcl


I tried applying your patch, but it didn't apply cleanly and the code  
looks different (there is no "file copy -force" in src/port1.0/ 
portutil.tcl).

Any updated recommendations?

-- 
Kevin Reid                                  <http://switchb.org/kpreid/>






More information about the macports-users mailing list