Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49288 - cdbkup crashed after tar update
Summary: cdbkup crashed after tar update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
: 50917 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-28 09:13 UTC by dragongrot
Modified: 2004-10-05 08:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Improved ebuild, removed patch for tar (cdbkup-1.0-r1.ebuild,1022 bytes, text/plain)
2004-05-09 09:24 UTC, Raimondo Giammanco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dragongrot 2004-04-28 09:13:19 UTC
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.
Comment 1 Raimondo Giammanco 2004-05-09 09:22:07 UTC
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... :(
Comment 2 Raimondo Giammanco 2004-05-09 09:24:10 UTC
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?
Comment 3 Raimondo Giammanco 2004-05-09 11:01:28 UTC
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.

Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2004-05-10 05:17:37 UTC
Fixed in CVS (1.0-r1), thanks!
Comment 5 Raimondo Giammanco 2004-05-12 04:35:36 UTC
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
Comment 6 Daniel Ahlberg (RETIRED) gentoo-dev 2004-10-05 08:40:05 UTC
*** Bug 50917 has been marked as a duplicate of this bug. ***