public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: Making largefile a global use
@ 2011-03-10  8:08 justin
  2011-03-10  8:35 ` Mike Frysinger
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: justin @ 2011-03-10  8:08 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

Hi,

there are not many packages using it, but I will add this flag to
another 10.
And I think, it is of a general, global meaning. Do you agree in making
it a global USE?

justin



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] RFC: Making largefile a global use
  2011-03-10  8:08 [gentoo-dev] RFC: Making largefile a global use justin
@ 2011-03-10  8:35 ` Mike Frysinger
  2011-03-10  8:44   ` Dale
  2011-03-10 20:12   ` Chris Richards
  2011-03-10  8:36 ` Amadeusz Żołnowski
  2011-03-10  9:44 ` [gentoo-dev] " Diego Elio Pettenò
  2 siblings, 2 replies; 14+ messages in thread
From: Mike Frysinger @ 2011-03-10  8:35 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 348 bytes --]

On Thursday, March 10, 2011 03:08:24 justin wrote:
> there are not many packages using it, but I will add this flag to
> another 10.
> And I think, it is of a general, global meaning. Do you agree in making
> it a global USE?

i cant see much value anymore in even making this an option.  just drop the 
USE flag and always use LFS.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] RFC: Making largefile a global use
  2011-03-10  8:08 [gentoo-dev] RFC: Making largefile a global use justin
  2011-03-10  8:35 ` Mike Frysinger
@ 2011-03-10  8:36 ` Amadeusz Żołnowski
  2011-03-10  8:42   ` justin
  2011-03-10  8:44   ` Mike Frysinger
  2011-03-10  9:44 ` [gentoo-dev] " Diego Elio Pettenò
  2 siblings, 2 replies; 14+ messages in thread
From: Amadeusz Żołnowski @ 2011-03-10  8:36 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

Excerpts from justin's message of Thu Mar 10 09:08:24 +0100 2011:
> there are not many packages using it, but I will add this flag to
> another 10.
> And I think, it is of a general, global meaning. Do you agree in
> making it a global USE?

I'm new here, but I think it would be good idea to list packages using
that flag with meaning described by its maintainers and your proposal.
-- 
Amadeusz Żołnowski

PGP key fpr: C700 CEDE 0C18 212E 49DA  4653 F013 4531 E1DB FAB5

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] RFC: Making largefile a global use
  2011-03-10  8:36 ` Amadeusz Żołnowski
@ 2011-03-10  8:42   ` justin
  2011-03-10  9:34     ` Nirbheek Chauhan
  2011-03-10  8:44   ` Mike Frysinger
  1 sibling, 1 reply; 14+ messages in thread
From: justin @ 2011-03-10  8:42 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1542 bytes --]

On 10/03/11 09:36, Amadeusz Żołnowski wrote:
> Excerpts from justin's message of Thu Mar 10 09:08:24 +0100 2011:
>> there are not many packages using it, but I will add this flag to
>> another 10.
>> And I think, it is of a general, global meaning. Do you agree in
>> making it a global USE?
> 
> I'm new here, but I think it would be good idea to list packages using
> that flag with meaning described by its maintainers and your proposal.

 euse -i largefile
global use flags (searching: largefile)
************************************************************
no matching entries found

local use flags (searching: largefile)
************************************************************
[+ C  ] largefile (app-text/dos2unix):
Support for large files

[+ C  ] largefile (dev-libs/eggdbus):
Support for large files

[+ C  ] largefile (net-misc/freerdp):
Support for large files

[+ C  ] largefile (net-p2p/mktorrent):
Enable largefile support on 32 bit systems

[+ C  ] largefile (sci-biology/emboss):
Support for large files

[+ C  ] largefile (sci-biology/exonerate):
Enable largefile support on 32 bit systems

[+ C  ] largefile (sci-geosciences/grass):
Enable LFS support for huge files


The sci packages and dos2unix are under my control.
Others are maintained by net-p2p@gentoo.org, hwoarang@gentoo.org,
volkmar@gentoo.org & freedesktop-bugs@gentoo.org.

And will add it or not to all sci-biology/{emboss,ambassy} packages.

But I would agree with Mike in defaulting to LFS.

justin


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] RFC: Making largefile a global use
  2011-03-10  8:35 ` Mike Frysinger
@ 2011-03-10  8:44   ` Dale
  2011-03-10 20:12   ` Chris Richards
  1 sibling, 0 replies; 14+ messages in thread
From: Dale @ 2011-03-10  8:44 UTC (permalink / raw
  To: gentoo-dev

Mike Frysinger wrote:
> On Thursday, March 10, 2011 03:08:24 justin wrote:
>    
>> there are not many packages using it, but I will add this flag to
>> another 10.
>> And I think, it is of a general, global meaning. Do you agree in making
>> it a global USE?
>>      
> i cant see much value anymore in even making this an option.  just drop the
> USE flag and always use LFS.
> -mike
>    

Just a users opinion.

I read about this on the wiki to be sure it was what I thought it was.  
Isn't this the default about everywhere else?  I agree with Mike, why 
not just turn it on as a default setting?

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] RFC: Making largefile a global use
  2011-03-10  8:36 ` Amadeusz Żołnowski
  2011-03-10  8:42   ` justin
@ 2011-03-10  8:44   ` Mike Frysinger
  1 sibling, 0 replies; 14+ messages in thread
From: Mike Frysinger @ 2011-03-10  8:44 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 502 bytes --]

On Thursday, March 10, 2011 03:36:46 Amadeusz Żołnowski wrote:
> Excerpts from justin's message of Thu Mar 10 09:08:24 +0100 2011:
> > there are not many packages using it, but I will add this flag to
> > another 10.
> > And I think, it is of a general, global meaning. Do you agree in
> > making it a global USE?
> 
> I'm new here, but I think it would be good idea to list packages using
> that flag with meaning described by its maintainers and your proposal.

quse -D largefile
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] RFC: Making largefile a global use
  2011-03-10  8:42   ` justin
@ 2011-03-10  9:34     ` Nirbheek Chauhan
  0 siblings, 0 replies; 14+ messages in thread
From: Nirbheek Chauhan @ 2011-03-10  9:34 UTC (permalink / raw
  To: gentoo-dev; +Cc: justin

On Thu, Mar 10, 2011 at 2:12 PM, justin <jlec@gentoo.org> wrote:
>  euse -i largefile
[snip]
> [+ C  ] largefile (dev-libs/eggdbus):
> Support for large files
>

For the record: eggdbus was merged into glib itself as gdbus, and
almost nothing needs it anymore. It'll be removed as soon as
libgnome-keyring-2.32.0 and polkit-0.99-r1 become stable on all
arches.


-- 
~Nirbheek Chauhan

Gentoo GNOME+Mozilla Team



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-dev] Re: RFC: Making largefile a global use
  2011-03-10  8:08 [gentoo-dev] RFC: Making largefile a global use justin
  2011-03-10  8:35 ` Mike Frysinger
  2011-03-10  8:36 ` Amadeusz Żołnowski
@ 2011-03-10  9:44 ` Diego Elio Pettenò
  2011-03-10  9:56   ` justin
  2 siblings, 1 reply; 14+ messages in thread
From: Diego Elio Pettenò @ 2011-03-10  9:44 UTC (permalink / raw
  To: gentoo-dev

Il giorno gio, 10/03/2011 alle 09.08 +0100, justin ha scritto:
> 
> there are not many packages using it, but I will add this flag to
> another 10. 

Why?

Please remember that largefile doesn't just mean files bigger than 4GiB,
it enables more than just sizeof(off_t)==8, it is also required to
access data on huge filesystems (that right now are not enabled to be
generated by anything, but still).

I don't think at all that largefile should be an option; if something
has trouble working with largefile it should be fixed, not conditioned.

-- 
Diego Elio Pettenò — Flameeyes
http://blog.flameeyes.eu/




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Re: RFC: Making largefile a global use
  2011-03-10  9:44 ` [gentoo-dev] " Diego Elio Pettenò
@ 2011-03-10  9:56   ` justin
  2011-03-10 10:49     ` [gentoo-dev] " Diego Elio Pettenò
  2011-03-10 17:52     ` [gentoo-dev] " Michał Górny
  0 siblings, 2 replies; 14+ messages in thread
From: justin @ 2011-03-10  9:56 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

On 10/03/11 10:44, Diego Elio Pettenò wrote:
> Il giorno gio, 10/03/2011 alle 09.08 +0100, justin ha scritto:
>>
>> there are not many packages using it, but I will add this flag to
>> another 10. 
> 
> Why?

just because upstream has this configure flag. but it seems we agree on
removing the flag completely, defaulting on largefile support and fixing
what needs a fix.
Correct?


justin


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-dev] Re: Re: RFC: Making largefile a global use
  2011-03-10  9:56   ` justin
@ 2011-03-10 10:49     ` Diego Elio Pettenò
  2011-03-22 12:35       ` Peter Volkov
  2011-03-10 17:52     ` [gentoo-dev] " Michał Górny
  1 sibling, 1 reply; 14+ messages in thread
From: Diego Elio Pettenò @ 2011-03-10 10:49 UTC (permalink / raw
  To: gentoo-dev

Il giorno gio, 10/03/2011 alle 10.56 +0100, justin ha scritto:
> 
> 
> just because upstream has this configure flag. but it seems we agree
> on
> removing the flag completely, defaulting on largefile support and
> fixing
> what needs a fix.
> Correct? 

Correct. Any configure with AC_SYS_LARGEFILE will get a
--enable-largefile option, but if you grep through the tree, this is
usually simply added unconditionally.

It is more interesting to see whether it actually supports LFS entirely;
quite a few packages forget to include config.h in some file or other,
and cause mixed LFS and non-LFS syscalls to be used, which is bad. I
have written an utility as part of Ruby-Elf[1] called verify-lfs that is
designed to check for that.

Also note that largefile has no meaning on most 64-bit arches (AMD64 for
sure, I guess the others as well).

[1] http://www.flameeyes.eu/projects/ruby-elf

-- 
Diego Elio Pettenò — Flameeyes
http://blog.flameeyes.eu/




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Re: RFC: Making largefile a global use
  2011-03-10  9:56   ` justin
  2011-03-10 10:49     ` [gentoo-dev] " Diego Elio Pettenò
@ 2011-03-10 17:52     ` Michał Górny
  1 sibling, 0 replies; 14+ messages in thread
From: Michał Górny @ 2011-03-10 17:52 UTC (permalink / raw
  To: gentoo-dev; +Cc: jlec

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

On Thu, 10 Mar 2011 10:56:31 +0100
justin <jlec@gentoo.org> wrote:

> On 10/03/11 10:44, Diego Elio Pettenò wrote:
> > Il giorno gio, 10/03/2011 alle 09.08 +0100, justin ha scritto:
> >>
> >> there are not many packages using it, but I will add this flag to
> >> another 10. 
> > 
> > Why?
> 
> just because upstream has this configure flag. but it seems we agree
> on removing the flag completely, defaulting on largefile support and
> fixing what needs a fix.
> Correct?

+1 on forcing it always on. gpgme already requires all packages linked
against it to use same largefile switch value as it does,
and maintaining the ability to switch it on/off just creates more
trouble than profit.

The only use case I see for the explicit switch possibility
are the dependencies of -bin packages.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] RFC: Making largefile a global use
  2011-03-10  8:35 ` Mike Frysinger
  2011-03-10  8:44   ` Dale
@ 2011-03-10 20:12   ` Chris Richards
  1 sibling, 0 replies; 14+ messages in thread
From: Chris Richards @ 2011-03-10 20:12 UTC (permalink / raw
  To: gentoo-dev

On 03/10/2011 02:35 AM, Mike Frysinger wrote:
> i cant see much value anymore in even making this an option.  just drop the
> USE flag and always use LFS.
> -mike
+1



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Re: Re: RFC: Making largefile a global use
  2011-03-10 10:49     ` [gentoo-dev] " Diego Elio Pettenò
@ 2011-03-22 12:35       ` Peter Volkov
  2011-03-22 13:59         ` Mike Frysinger
  0 siblings, 1 reply; 14+ messages in thread
From: Peter Volkov @ 2011-03-22 12:35 UTC (permalink / raw
  To: gentoo-dev

В Чтв, 10/03/2011 в 11:49 +0100, Diego Elio Pettenò пишет:
> Any configure with AC_SYS_LARGEFILE will get a
> --enable-largefile option, but if you grep through the tree, this is
> usually simply added unconditionally.

Is there any value adding --enable-largefile? autoconf macros have it
enabled by default.

-- 
Peter.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Re: Re: RFC: Making largefile a global use
  2011-03-22 12:35       ` Peter Volkov
@ 2011-03-22 13:59         ` Mike Frysinger
  0 siblings, 0 replies; 14+ messages in thread
From: Mike Frysinger @ 2011-03-22 13:59 UTC (permalink / raw
  To: gentoo-dev

On Tue, Mar 22, 2011 at 8:35 AM, Peter Volkov wrote:
> В Чтв, 10/03/2011 в 11:49 +0100, Diego Elio Pettenò пишет:
>> Any configure with AC_SYS_LARGEFILE will get a
>> --enable-largefile option, but if you grep through the tree, this is
>> usually simply added unconditionally.
>
> Is there any value adding --enable-largefile? autoconf macros have it
> enabled by default.

developers need not go through the source and manually verify that the
package is using AC_SYS_LARGEFILE and is enabled by default ?
-mike



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-03-22 14:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10  8:08 [gentoo-dev] RFC: Making largefile a global use justin
2011-03-10  8:35 ` Mike Frysinger
2011-03-10  8:44   ` Dale
2011-03-10 20:12   ` Chris Richards
2011-03-10  8:36 ` Amadeusz Żołnowski
2011-03-10  8:42   ` justin
2011-03-10  9:34     ` Nirbheek Chauhan
2011-03-10  8:44   ` Mike Frysinger
2011-03-10  9:44 ` [gentoo-dev] " Diego Elio Pettenò
2011-03-10  9:56   ` justin
2011-03-10 10:49     ` [gentoo-dev] " Diego Elio Pettenò
2011-03-22 12:35       ` Peter Volkov
2011-03-22 13:59         ` Mike Frysinger
2011-03-10 17:52     ` [gentoo-dev] " Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox