A twisted little joke

I mentioned a week or two ago that I upgraded my Thinkpad from Crux 2.5 to 2.6 the hard way, manually recompiling all the new software versions, much like a regular update. I never mentioned however, that four or five of the applications kept failing to build.

The fun part was trying to find out why. I stomped through the logs and discovered that all the failed packages had source files compressed with .tar.xz extensions. Well, that was a new one on me, but I’m also noteworthy for overlooking important changes like that, sometimes for days or weeks at a time. Fair enough — if the source files need xz archive support, I shall install this mysterious new xz, and go right back to cooking up new software.

And that’s when I discovered this.

# Description: Compression utility using the lzma algorithm, successor of lzma-utils
...
name=xz
version=4.999.9beta
source=(http://tukaani.org/xz/$name-$version.tar.xz)
...

Oh, the hilarity that ensued: an application that requires itself to decompress its own source code. It’s like a little joke of sorts.

Or maybe the joke was on me, since I knew of no other way of decompressing a .tar.xz file, and had to sit there and scratch my head for a little while, feeling rather dim-witted. I took the obvious and easy way out, by inserting the Crux 2.6 CD and installing xz as a package, rather than recompiling it.

And of course, from there, upgrading went fine. Still, I found it somewhat amusing that without having the program installed, I couldn’t decompress the source files to install the program. Catch-22-ish, if I may say so. :mrgreen:

About these ads

5 Responses to “A twisted little joke”


  1. 1 yoshi314 2009/10/02 at 2:57 AM

    you know one day i broke tar on my system. now that was BAD :]

  2. 2 bryan 2009/10/02 at 1:00 PM

    A rather long time ago, I downloaded a pirated version of WinRAR only to realize after the download finished that I had downloaded winrar.rar. I felt extremely stupid and have stuck with free alternatives ever since :/

    • 3 ArmorNick 2009/10/02 at 1:41 PM

      Why pirate winrar? Its trial period never ends ;)
      That said, I always use 7z when using windows.

      • 4 bryan 2009/10/02 at 10:48 PM

        Honestly, I don’t recall why I was downloading the pirated version, though this was before the widespread use (or possibly even before the first release) of 7zip which is now my favorite compression program (despite its horrendous interface)

  3. 5 kamiheku 2009/10/02 at 3:29 PM

    Funny! :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,645 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: