News for hackers. Stuff that matters.
Re:Mongrel2 Says, "Goodbye Python" by statictype on Tuesday September 21, 2010 @10:26AM (#1712690)
I think that's more symptomatic of the open source culture around most Unix systems than Unix itself.

Being able to share and depend on other people's libraries is great for the developers as long as they're not tied to providing support for when users can't compile or run their software.

Re:Mongrel2 Says, "Goodbye Python" by kfool on Tuesday September 21, 2010 @02:29PM (#1713564)
No, it's not symptomatic.

The problem is that about 80% of packages in distributions could be compiled against older versions of dependencies, but never do. Be default, distributions mark in the packages the dependency of their currently installed libraries, ignoring the fact that the software could have been compiled against an older version of the library too.

There's no mechanism for identifying such minimum possible dependencies.

Re:Mongrel2 Says, "Goodbye Python" by dinedal on Tuesday September 21, 2010 @03:00PM (#1713680)
Not sure that's true, most packaging systems allow the maintainer to specify the lowest version their software is compatible with.

Of course, it may be that the maintainer always specifies the latest version,

Re:Mongrel2 Says, "Goodbye Python" by kfool on Tuesday September 21, 2010 @07:08PM (#1714469)
The maintainer does not specify a version and expects the automatic process of determining minimumum dependencies to take over.

But it takes over with dependencies of newer versions than necessary.

Re:Mongrel2 Says, "Goodbye Python" by nailer on Tuesday September 21, 2010 @03:28PM (#1713783)
> There's no mechanism for identifying such minimum possible dependencies.

Er, yes there is, and there has been for at least the last 12 years, and probably more.

Requires: python >= 2.6.1

Re:Mongrel2 Says, "Goodbye Python" by kfool on Tuesday September 21, 2010 @07:06PM (#1714465)
What you mention is a manual mechanism which is not often used. Instead, developers say:

Requires: python

The automatic mechanism in place is to run ldd, identify the list of libraries used by the executables distributed, and mark those libraries as dependencies. Since the package is build on your newer, Debian 5 package, it requires (automatically) the newer libfoo (like python-2.7), while it would have worked just fine with the older libfoo (python-2.5).

Re:Mongrel2 Says, "Goodbye Python" by nailer on Wednesday September 22, 2010 @05:51AM (#1715668)
>>> There's no mechanism for identifying such minimum possible dependencies.

>> Yes there is

> What you mention is a manual mechanism

I agree, they should ditch the automatic ldd method. I justy wanted to correct the inaccuracy of saying there wasn't a way to specify min versions.

Re:Mongrel2 Says, "Goodbye Python" by jacobolus on Tuesday September 21, 2010 @02:53PM (#1713654)
> There's no mechanism for identifying such minimum possible dependencies.

Is this true? It seems like this would be one of the most obvious essential features of any package management system.