pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/glib2

On 7/12/2012 10:43, Jonathan Perkin wrote:
* On 2012-07-12 at 09:33 BST, John Marino wrote:

?On 7/12/2012 10:20, Jonathan Perkin wrote:

Sorry, I wasn't very clear, I understand all that, my query was why
libelf is required in the first place, thus breaking what was
previously a working build.

So, I looked, and it was introduced in January as a dependency for the
new gresource tool.

Thus, my recommendation would actually be to just disable this tool on
32-bit SunOS or at least build that tool only with large file
disabled, rather than break large file support completely for every
single package which uses glib2, because my guess is the former is
much more palatable for users.

Wouldn't these users already be limited wrt to file size due to
other programs linking to the system libelf?

If they used the system libelf, sure, but I don't think that is a very
large number of packages.

Or to put it another way: Does 32-bit SunOS support large files?

Absolutely, and has done since Solaris 2.6.

This link states 32-bit has 2GB size limit:

That page is at best confusing and at worst wrong.  See largefile(5)
et al.

I'll work on a diff to fix this.

Alright, then maybe the best approach is to add "gresource" to and have it disabled on SunOS by default. If it's selected, then the libelf conditions in the Makefile come into play. That way someone building packages from source can decide for themselves if gresource or large files is more important.

I was just fixing a broken package. :)


Home | Main Index | Thread Index | Old Index