[MacPorts] #21346: odcctools fails to build on Snow Leopard (tar: Option --strip-path=1 is not supported)

MacPorts noreply at macports.org
Sun Sep 13 10:54:43 PDT 2009


#21346: odcctools fails to build on Snow Leopard (tar: Option --strip-path=1 is not
supported)
-----------------------------------+----------------------------------------
 Reporter:  stefan.janecek@…       |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.0                                
 Keywords:                         |        Port:  odcctools                            
-----------------------------------+----------------------------------------
 I am trying to build odcctools on SL (fresh install of MacPorts 1.8), and
 it fails with the following error:

 {{{
 --->  Extracting odcctools
 Error: Target org.macports.extract returned: shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_odcctools/work/odcctools
 && ./extract.sh " returned error 1
 Command output: tar: Option --strip-path=1 is not supported
 }}}

 The script extract.sh in the build directory contains the lines
 {{{
 if [ "`tar --help | grep -- --strip-components 2> /dev/null`" ]; then
     TARSTRIP=--strip-components
 else
     TARSTRIP=--strip-path
 fi
 }}}

 The problem is that the output of "tar --help" doesn't contain the text
 "--strip-components", yet the correct option *is* --strip-components,
 --strip-path is not recognized.

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


More information about the macports-tickets mailing list