[paludis-user] pbins are not installing: «Could not find any environment in…»

Ciaran McCreesh ciaran.mccreesh at googlemail.com
Sun Apr 10 13:22:40 UTC 2011


On Tue, 5 Apr 2011 22:33:48 +0400
Yevgeniy Tumanov <zhenya.tum at gmail.com> wrote:
> After some investigation I found out that this is because on archive
> creation libarchive doesn’t like simple archive_entry_copy_stat call,
> it wants additionally explicit file size setting through
> archive_entry_set_size (but _unset_size also works).

Weird. archive_entry_copy_stat does:

        archive_entry_set_size(entry, st->st_size);

So something very odd is going on...

> After reading libarchive’s documentation I made a conclusion that
> archive_read_disk_entry_from_file is just an alternative way to fill
> the archive_entry struct and doesn’t have any special features (all
> the same can be made by a set of archive_entry_set_* functions),
> though I am still not sure about that.

Yes, all it does is:

    http://code.google.com/p/libarchive/source/browse/trunk/libarchive/archive_entry_copy_stat.c?r=2056

So I've no idea why your claimed fix would work...

-- 
Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/paludis-user/attachments/20110410/dfd99bfa/attachment.asc>


More information about the paludis-user mailing list