bsdtar and packages vs. unionfs (was: Re: Cannot package converters/libiconv inside clean chroot)

2007-04-09 Thread Ulrich Spoerlein
Tim Kientzle wrote: > >There are at least two issues here, one is pkg_add refusing a valid > >(AFAICS) tbz file, the other is bsdtar(1) choosing a different tar > >format based on unionfs(!). > > Those two symlink entries have an "opaque" file flag. > This explains the format change (bsdtar uses t

Re: Cannot package converters/libiconv inside clean chroot

2007-04-08 Thread Tim Kientzle
There are at least two issues here, one is pkg_add refusing a valid (AFAICS) tbz file, the other is bsdtar(1) choosing a different tar format based on unionfs(!). Those two symlink entries have an "opaque" file flag. This explains the format change (bsdtar uses the extended pax format when it se

Re: Cannot package converters/libiconv inside clean chroot

2007-04-08 Thread Ulrich Spoerlein
Tim Kientzle wrote: > Sounds like 'tar' inside the chroot is different than the > one outside. You've probably found a bug in the newest > RELENG_6 tar. There are at least two issues here, one is pkg_add refusing a valid (AFAICS) tbz file, the other is bsdtar(1) choosing a different tar format ba

Re: Cannot package converters/libiconv inside clean chroot

2007-04-07 Thread Tim Kientzle
Ulrich Spoerlein wrote: I'm facing a strange problem, where I cannot pkg_add a libiconv.tbz which was build inside a clean chroot. I did the following (on RELENG_6). I just tried following the steps you listed and I don't see the same error: # pkg_add -v libiconv-1.9.2_2.tbz Requested space:

Re: Cannot package converters/libiconv inside clean chroot

2007-04-07 Thread Tim Kientzle
Ulrich Spoerlein wrote: While I can pkg_delete/pkg_add the libtool15 package at will, the libiconv package fails to pkg_add because bsdtar(1) is whining: roadrunner# pkg_add -v /usr/ports/packages/All/libiconv-1.9.2_2.tbz lib/libcharset.so: Couldn't stat file: No such file or directory lib/lib

Cannot package converters/libiconv inside clean chroot

2007-04-07 Thread Ulrich Spoerlein
Hi all, I'm facing a strange problem, where I cannot pkg_add a libiconv.tbz which was build inside a clean chroot. I did the following (on RELENG_6). 1. make buildworld 2. make installworld DESTDIR=/vol/base 2b. mkdir /vol/base/usr/ports 3. mount -t unionfs -o below,noatime /vol/base /vol/work 4.