#11245: broken tar on cygwin (Windows 7), cddlib fails to install
-----------------------+----------------------------------------------------
   Reporter:  dimpase  |          Owner:  tbd                                   
        
       Type:  defect   |         Status:  needs_review                          
        
   Priority:  major    |      Milestone:  sage-4.7.1                            
        
  Component:  cygwin   |       Keywords:                                        
        
Work_issues:           |       Upstream:  Reported upstream. Developers 
acknowledge bug.
   Reviewer:           |         Author:  Karl-Dieter Crisman, Dima Pasechnik   
        
     Merged:           |   Dependencies:                                        
        
-----------------------+----------------------------------------------------
Changes (by dimpase):

  * upstream:  N/A => Reported upstream. Developers acknowledge bug.


Old description:

> on Windows 7 tar does not unpack cddlib spkg correctly, symbolic
> links get broken. See
> http://groups.google.com/group/sage-
> windows/browse_thread/thread/d4965bfbc83a9bf8#
>
> A remedy is to replace them with files, i.e. use tar with -h option to
> recreate the spkg---on a machine where tar works, certainly. Works for
> me. Something along the following
> lines:
> {{{
> /* on a Unix, with good tar: */
> $ tar xjf foo.spkg
> $ tar chjf foo.spkg foo/
> $ tar xjf foo.spkg
> $ sage -spkg foo
> $ scp foo.spkg win7cygwinhost:/sageroot/spkg/standard/
> }}}
>
> affected packages: cddlib, networkx (and maybe more)
>
> ----
> New spkg available at [http://sage.math.washington.edu/home/kcrisman
> /cddlib-094f.p9.spkg cddlib-094f.p9.spkg].

New description:

 on Windows 7 tar does not unpack cddlib spkg correctly, symbolic
 links get broken. See
 http://groups.google.com/group/sage-
 windows/browse_thread/thread/d4965bfbc83a9bf8#

 and

 http://permalink.gmane.org/gmane.os.cygwin/127433

 A remedy is to replace them with files, i.e. use tar with -h option to
 recreate the spkg---on a machine where tar works, certainly. Works for me.
 Something along the following
 lines:
 {{{
 /* on a Unix, with good tar: */
 $ tar xjf foo.spkg
 $ tar chjf foo.spkg foo/
 $ tar xjf foo.spkg
 $ sage -spkg foo
 $ scp foo.spkg win7cygwinhost:/sageroot/spkg/standard/
 }}}

 affected packages: cddlib, networkx (and maybe more)

 ----
 New spkg available at [http://sage.math.washington.edu/home/kcrisman
 /cddlib-094f.p9.spkg cddlib-094f.p9.spkg].

--

Comment:

 Replying to [comment:12 kcrisman]:
 > I've still never seen this on networkx.
 >
 > I think that it would be enough to fix this issue to do the spkg this
 special way ONCE and then from then on just make sure there are build
 instructions to this effect in the spkg. My spkg doesn't have any changes
 like that, so this is not ready for review.


 Cygwin developers finally managed to reproduce the problem:
 http://permalink.gmane.org/gmane.os.cygwin/127433

 it boils down to a bug/feature introduced in 1.7.9, and not really related
 to tar itself; so apparently it will be fixed soon.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11245#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to