After update from tar-1.13.25-r3 to tar-1.13.92-r3 cdbkup crashed with the tar-patch in cdbkup ebuild. Reproducible: Always Steps to Reproduce: 1. 2. 3.
I do not know if by "crashed" you mean that cdbkup gives now messages like #################### Use of uninitialized value in chomp at /usr/sbin/cdbkup line 276. Use of uninitialized value in pattern match (m//) at /usr/sbin/cdbkup line 278. /bin/tar: GNU features wanted on incompatible archive format Try `/bin/tar --help' for more information. Use of uninitialized value in string eq at /usr/sbin/cdsplit line 334. #################### I modified the ebuild to use a new version of cdbkup (without the patch that I think breaks tar) in the attached file for cdbkup-1.0-r1, but the problem for chomp remains. Somebody knows perl and can help? I use cdbkup for my backuping needs, with a series of cron jobs.. I do not want to learn mondo... :(
Created attachment 31059 [details] Improved ebuild, removed patch for tar This version has still problems with chomp. Is it gentoo related, or must be moved upstream?
Answer to myself. Problem with chomp derives possibly form corrupted snar files due the tar problem. Restart your backups from the lowest level that has been done before the tar update. Worst case, do a level 0 till 5 to regenerate correctly all the snar files. Will report furthur problems shoul them arise.
Fixed in CVS (1.0-r1), thanks!
Hello Daniel, one small thing, if we uncomment the dodoc line, we will end up with duplicate files in the wrong directory, indeed from epm -ql cdbkup is: ##################### /usr/share/doc/cdbkup-1.0/README /usr/share/doc/cdbkup-1.0/TODO /usr/share/doc/cdbkup-1.0/COMPLIANCE /usr/share/doc/cdbkup-1.0-r1/COMPLIANCE.gz /usr/share/doc/cdbkup-1.0-r1/ChangeLog.gz /usr/share/doc/cdbkup-1.0-r1/README.gz /usr/share/doc/cdbkup-1.0-r1/TODO.gz ###################### commenting the dodoc, we miss Changelog and the docs are not gzipped. I will see if I find the time to solve this small problem. [shameful promotion] By the way, I wrote some lines on how to use cdbkup with cron on http://forums.gentoo.org/viewtopic.php?t=171617&highlight=cdbkup+cron it could be useful .. >:) [\shameful promotion] Ciao
*** Bug 50917 has been marked as a duplicate of this bug. ***