On Sat, Oct 25, 2003 at 11:49:43PM +0200, Alexandre Duret-Lutz wrote: > >>> "Patrick" == Patrick Welche <[EMAIL PROTECTED]> writes: > Patrick> All attached.. There is plenty of sed between > Patrick> "creating Makefile" and "creating sub/Makefile" :( > > That was a wrong track. > > The problem is with tar. Old versions of tar do not archive > empty directories when passed the `o' flag. (In our case sub/ is > an empty directory, and in your initial report it is missing > from the source directory. Hence the failure.) > > This behavior of tar was corrected some time ago: > > | 1997-02-25 Fran�ois Pinard <[EMAIL PROTECTED]> > | > | * create.c (dump_file): Allow saving directories even with -o. > | Reported by Daniel Trinkle. > > Version 1.12 was released on 1997-04-25 with this fix. > > Apparently NetBSD 1.6.1 still ships with GNU tar 1.11.2 (which > is ten year old), so it has an -o flag that excludes empty > directories, hence the failure.
Good work! In my case the story is even a little stranger - I'm running NetBSD-current, where tar is a hard link to pax. I suppose the tar front end to pax is taking "-o" to be "work exactly like really old tar" :) Something to change.. Cheers, Patrick
