#230 3.10.1 source tar contains multiple references to same files

Both
closed-fixed
Packaging (1)
5
2014-08-05
2013-01-27
No

atlas3.10.1.tar.bz2 contains multiple reference to same files. It makes some extraction utilities confused. Current version of archive for example stops one from updating atlas package for Arch Linux. See http://code.google.com/p/libarchive/issues/detail?id=299 for discussion about this issue on libarchive tracker, one of software that cannot extract archives with multiple files with same name. Fixing this would be as simple as repackaging the archive with correct options.

Discussion

  • Frantisek Kluknavsky

    +1
    The same problem here.

     
  • R. Clint Whaley

    R. Clint Whaley - 2013-02-02

    I believe the problem can be fixed by using gnutar rather than bsdtar. Can you confirm/deny this?

    I found a similar behavior when I as working on an OS X box: it could open tarfiles that I created on my desktop at work, but not on those I created from home. The difference was that my home desktop has a far newer version of gnu tar. I thought the problem was some incompatibility between the newer gnu tar, and I fixed it by simply using gnu tar on the OS X box, and forgot about it.

    After you message, I installed bsdtar on my linux box, and reproduced a problem like yours (works fine under gnu tar), and then I found that my tar script (have been using same one for a decade) does indeed have the same file listed multiple times. I removed the multiple includes, and now even tarfiles made with new gnu tar seem to untar from bsd tar correctly.

    So, I'm guessing gnu tar changed how they handle repeated filenames in tar, in a way incompatible with bsdtar. I should be able to backport my changes to the 3.10 branch, but I'd like confirmation that this will fix things first.

    So, let me know if 3.11.8 untars for you using whatever tar was messing up before, and if possible, let me know if you can untar 3.10.1 using gnu tar.

    Thanks,
    Clint

     
  • Andrzej Giniewicz

    I can confirm, that 3.11.8 does not have this issue and works with both bsdtar and gnu tar, and that 3.10.1 worked with gnu tar (that later was mentioned in bsdtar issue I linked to). Would be great to have it also backported to 3.10.

    Thank you,
    Andrzej.

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-07-09

    Ticket moved from /p/math-atlas/support-requests/884/

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-07-09

    OK, I have backported the changes to the 3.10 basefiles, and should be able to close this once 3.10.2 is released.

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-07-09
    • status: open --> open-fixed
    • assigned_to: R. Clint Whaley
    • Group: Stable_(v3.10.x) --> Both
     
  • R. Clint Whaley

    R. Clint Whaley - 2014-08-05
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks