[MacPorts] #21346: odcctools fails to build on Snow Leopard (tar: Option --strip-path=1 is not supported)
#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
#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: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: odcctools | ------------------------------------+--------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => fixed Comment: I suspect your ports tree is out of date - but I've made it more likely to work in r57583 -- Ticket URL: <http://trac.macports.org/ticket/21346#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: odcctools | ------------------------------------+--------------------------------------- Comment(by stefan.janecek@…): Replying to [comment:2 toby@…]:
I suspect your ports tree is out of date - but I've made it more likely to work in r57583
OK, thanks. After doing a "ports selfupdate" the error is gone. Now the build fails with {{{ sudo port install pgplot ---> Computing dependencies for pgplot ---> Fetching odcctools ---> Verifying checksum(s) for odcctools ---> 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: Merging content from /Developer/SDKs/MacOSX10.4u.sdk /Developer/SDKs/MacOSX10.4u.sdk must be present }}} To be honest, I don't have the slightest clue what odcctools does, so I can't tell whether this is a bug or not. I am actually trying to install pgplot, which requires odcctools as a dependency. -- Ticket URL: <http://trac.macports.org/ticket/21346#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: odcctools | ------------------------------------+--------------------------------------- Comment(by blb@…): It looks like the issue here is actually g95 which is bringing in odcctools (it doesn't on 10.5); I've filed #21355 to get odcctools deleted on 10.6 as well. Your other choice would be to use one of the gfortran dependencies (+gcc42 or +gcc43) which avoid g95. Note that odcctools fails to build on 10.5 (ticket #13148) though it is a bit of a different reason. As commented on that ticket, odcctools should probably go away at some point... -- Ticket URL: <http://trac.macports.org/ticket/21346#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: odcctools | ------------------------------------+--------------------------------------- Comment(by stefan.janecek@…): Replying to [comment:4 blb@…]:
It looks like the issue here is actually g95 which is bringing in odcctools (it doesn't on 10.5); I've filed #21355 to get odcctools deleted on 10.6 as well. Your other choice would be to use one of the gfortran dependencies (+gcc42 or +gcc43) which avoid g95.
:) Seems like I'm a bit out of luck at the moment - I actually tried the +gcc42/+gcc43 variants first, but both gcc42 and gcc43 fail to build on SL at the moment (#20933)... Many thanks for your help! -- Ticket URL: <http://trac.macports.org/ticket/21346#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: odcctools | ------------------------------------+--------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 toby@…]:
I suspect your ports tree is out of date - but I've made it more likely to work in r57583 This caused a patch failure described in #21693 which I fixed in r60574.
-- Ticket URL: <http://trac.macports.org/ticket/21346#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts