Up-to-date packages and pkgsrc

Ulrich Habel wants to update some of the Perl 5 modules in pkgsrc.  He published a request for comments, describing what he plans to do for changing some dependencies.  He does note that Perl 5 in pkgsrc is at 5.14.2, which is very recent.

I was talking to a relative today who works at a large financial company, which is standardizing on Red Hat Enterprise.  I find it strange that Red Hat, which has a lot of money behind it, still ships a years-old and arguably broken version of perl.   By using pkgsrc, you’re getting more up-to-date software than people that actually shell out money for the privilege of compiling software.

Gnat-aux is the way to go

John Marino has pointed out, with a number of examples, that gnat-aux is the best pkgsrc-based compiler for DragonFly right now, in terms of compatibility and support.  It’s certainly good news if you are an Ada programmer.  He lists some interesting numbers to demonstrate this superiority, though you can’t buildworld with it yet.  (gcc 4.4, on DragonFly as part of the system, will do this normally.)

Lazy Reading for 2011/12/18

The links are sheer entertainment this week.  No strong options or anything, not even about that U.S. legislative mess called SOPA.

Your unrelated comic link of the week: Basic Instructions.  Well, not totally unrelated, since BSD author Michael Lucas’s tweet about it reminded me.  I’ve got the first book; I need to get the second and third.

Two pkgsrc work directory tips

Two tips for working with pkgsrc, derived in part from this mailing list post on users@ (follow the thread) and from my own experience.  If you put WRKOBJDIR=/usr/obj/pkgsrc into /usr/pkg/etc/mk.conf :

  1. You can clean up any leftover package building files by deleting the files in that directory and leave your pkgsrc files untouched.
  2. You can have a read-only /usr/pkgsrc, which means it can be shared over NFS (or SMB?) between multiple machines, DragonFly or otherwise.

DESTDIR: 31 left

Almost all the packages in pkgsrc support non-root installation now…  except these last 31.  I recall something about their removal by the next quarterly release if they still don’t work, or maybe just after.  Jump in if one of these packages is useful to you.

Some pkgsrc bulk build comparisons

Here’s some recent x86_64 bulk builds: one on DragonFly 2.11, one on NetBSd 5.0.2, and one on Linux 2.6.37.4.  Some data of note: DragonFly is within 8%-ish total packages built compared to NetBSD, which could be considered the baseline.  Linux, the more common platform for most of the software built, is another step less.  I don’t know if there’s any dramatic conclusion to get from this other than, “Hey, a lot of packages build on DragonFly!”

Lazy Reading for 2011/10/23

Not a lot of links this week, for some reason.

Your unrelated comics link for the week: Oglaf.  This week’s OK, but it’s frequently NSFW, and frequently hilarious.

Bulk build results for 2011Q3

I have some pkgsrc-2011Q3 builds done, for x86_64 and i386.  I performed them on DragonFly 2.11, but they should work fine for 2.12/2.13.  They’re uploading to the pkgsrc-2011Q3 folder on mirror-master, so you’ll need to set PKG_PATH correctly to use them via pkg_radd.

PKG_PATH=http://mirror-master.dragonflybsd.org/packages/x86_64/DragonFly-2.13/stable/

The x86_64 package upload is done, and I anticipate the i386 one will be done within the next 24 hours.