[MacPorts] #28430: Can't install with packages on volume shared over Netatalk

MacPorts noreply at macports.org
Wed Feb 16 03:43:02 PST 2011


#28430: Can't install with packages on volume shared over Netatalk
-------------------------------+--------------------------------------------
 Reporter:  dave@…             |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.9.2                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 {{{
 --->  Cleaning lzo
 --->  Fetching archive for pkgconfig
 Error: Target org.macports.archivefetch returned: lchown:
 /Volumes/Packages/darwin/x86_64: not owner
 Error: Failed to install pkgconfig
 Log for pkgconfig is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pkgconfig/main.log
 Error: The following dependencies were not installed: pkgconfig readline
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 saturn:~/Library/Keychains dave%
 }}}

 Commenting out this use of chownAsRoot seemed to allow me to proceed:

 {{{
 # Perform a standard fetch, assembling fetch urls from
 # the listed url variable and associated archive file
 proc portarchivefetch::fetchfiles {args} {
     global archivefetch.fulldestpath UI_PREFIX
     global archivefetch.user archivefetch.password archivefetch.use_epsv \
            archivefetch.ignore_sslcert
     global portverbose ports_binary_only
     variable archivefetch_urls
     variable ::portfetch::urlmap

     if {![file isdirectory ${archivefetch.fulldestpath}]} {
         if {[catch {file mkdir ${archivefetch.fulldestpath}} result]} {
             elevateToRoot "archivefetch"
             set elevated yes
             if {[catch {file mkdir ${archivefetch.fulldestpath}} result]}
 {
                 return -code error [format [msgcat::mc "Unable to create
 archive path: %s"] $result]
             }
         }
     }
 #    chownAsRoot ${archivefetch.fulldestpath}
     if {[info exists elevated] && $elevated == yes} {
 }}}

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


More information about the macports-tickets mailing list