dirtyepic ([info]psykil) wrote,
@ 2008-10-20 18:14:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:gentoo

lzma in system packages
here's a fun trap. if you're going to be changing major compiler versions often, you'll want to build lzma-utils with the nocxx flag enabled so you don't find yourself unable to unpack certain patch tarballs when you switch back.

i still don't understand why we even bother with lzma...




(Post a new comment)


(Anonymous)
2008-10-21 01:52 am UTC (link)
I remember following a topic on lzma, I think in gentoo-dev and it was actually upstream ( the software vendors ) that are distributing their files via lzma.

Are these patches gentoo contributed or sourced elsewhere ? ( just curious ).

(Reply to this) (Thread)


[info]psykil
2008-10-21 04:09 am UTC (link)
i was mistaken. in the case i hit (libtool) the upstream distfile is compressed with lzma, not our patchset.

(Reply to this) (Parent)


[info]psykil
2008-10-21 04:23 am UTC (link)
but it looks like gdb does in fact have a lzma patchset

(Reply to this) (Parent)

problem
(Anonymous)
2008-10-21 12:50 pm UTC (link)
so whats the lzma problem exactly?
it sounds like a gcc problem when you put it like that. Details are interesting, not the complain =/

(Reply to this) (Thread)

Re: problem
[info]psykil
2008-10-21 10:09 pm UTC (link)
just the same nonsense that always comes with c++ when you switch gcc versions:

lzma: /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by lzma)

i just don't like hitting it in system packages.

(Reply to this) (Parent)


[info]yoshi314.openid.pl
2008-10-21 04:15 pm UTC (link)
maybe there should be a collection of static versions of tar/lzma/bzip2/gzip/7zip for package managers put in the system, somewhere, built along normal ones.

i still remember the horror of having broken tar once on my system.

(Reply to this) (Thread)


[info]psykil
2008-10-21 10:13 pm UTC (link)
tar, bzip2, and gzip are all in busybox.

and look what i found


kali ~ # busybox --help unlzma
BusyBox v1.12.0 (2008-08-29 21:00:29 CST) multi-call binary

Usage: unlzma [OPTION]... [FILE]

Uncompress FILE (or standard input if FILE is '-' or omitted)

Options:
-c Write to standard output
-f Force


nice.

(Reply to this) (Parent)(Thread)


[info]yoshi314.openid.pl
2008-10-22 06:18 am UTC (link)
cool, i didn't know busybox had lzma extraction. are those busybox replacements 100% compatible, as far as extraction goes with the original tools, or do they have something missing?

i think 7zip might be able to handle unpacking of all the other archive types in a full-featured way.

(Reply to this) (Parent)(Thread)


[info]psykil
2008-10-22 06:48 pm UTC (link)
they're less featured and designed to be as small as possible, but i've used them to revive a dead box after a glibc catastrophe more than a couple times.

(Reply to this) (Parent)


(Anonymous)
2008-10-22 05:48 pm UTC (link)
why? why is everybody using lzma? it isn't even stable yet! Mostly untested, new, strange.

Stay with the known good ones (gzip, bzip2). Back in the early nineties it would have made sense. But today?

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…