Post a Comment On: /dev/dump

"Why I *hate* external dependencies!"

6 Comments -

1 – 6 of 6
Blogger zdzichuBG said...

Python 2.4? This version is abandoned for something like million years, now. Even 2.7 is on life support right now.
Dependency on 2.4 is really crazy.

June 3, 2012 at 2:30 AM

Blogger Brian Utterback said...

Here, Here, Garrett! I cannot tell you how often I have been bitten by this.

zdzichuBG: You're missing the point. It wouldn't matter of it was the latest version of Python. The problem is the dependency, not the version.

June 3, 2012 at 8:27 AM

Blogger James Mansion said...

I would have thought that reverting to 'C or sh' is just going to be retrograde. Its worth having something that can do intermidate level stuff. If having a core of Python or Perl in the (just to support the build, right?) is painful, then at least consider lua, and build it early and keep it away from actual deployment - just use it in build.

June 26, 2012 at 8:43 AM

Blogger Garrett D'Amore said...

For building, you can do "intermediate" level stuff in shell, awk, even *version agnostic* perl. I don't want runtime dependencies, nor do I want version sensitive stuff. Compilation should never require much more than modest text processing, apart from the compilers themselves.

June 27, 2012 at 2:55 AM

Blogger Nick said...

Garrett, I couldn't agree more.

The fact that only _one_ distro is capable of building Illumos is very unfortunate.

The fact that the package manager is part of the build process at all, makes the Illumos kernel have enmity toward other distros that may use other or custom package managers.

However, while a rewrite of perl and python utilities in C and ksh is ideal, why not temporarily include python and perl in the Illumos source tree, so that users only have to fetch the illumos-gate repo?

As for IPS, that is the larger problem, IMHO.

Aside from fetching build dependencies for Illumos, what else is IPS needed for? If it is needed for installing Illumos to the system (looks like it), why not replace that with a shell script or make-file option?

Anyway, this comment has gotten too long already. What can enthusiasts like me do to help with this situation? I don't like it, and want to make it go away (I'm bitten by external dependencies all the time).

July 11, 2012 at 8:20 PM

Blogger Nick said...

The dependency on runtimes like python or perl is unfortunate.

Clearly, it would be ideal to rewrite all of these utils in C. But in the meantime, why not add python, perl, etc to the Illumos source tree, so that users don't have to chase dependencies? I am sure there are great reasons not to, I would just like to know what they are :)

Also, IPS is the biggest blemish as far building Illumos goes. Is it needed for anything except fetching build dependencies? Or is it itself a build dependency.

If it _is_ a build dependency, what do we need it for, and how can we ween ourselves off of it?

I am not a fan of IPS, but a dependency on _any_ package manager for building the kernel, makes the kernel implicitly hostile to other package managers (and distros that use those other package managers).

What can enthusiasts like me do to rid Illumos of this blight?

Thanks.

July 11, 2012 at 8:34 PM