public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* Request for help: Fix building tarballs for ports add-on.
@ 2012-06-14  0:09 Carlos O'Donell
  2012-06-14  0:23 ` Roland McGrath
  2012-06-14  1:15 ` Mike Frysinger
  0 siblings, 2 replies; 9+ messages in thread
From: Carlos O'Donell @ 2012-06-14  0:09 UTC (permalink / raw)
  To: libc-ports; +Cc: libc-alpha

Community,

As we approach the 2.16 release I am reminded that building
tarballs for the ports add-on is broken.

For the 2.15 release I had to build the tarballs manually.

I'd like this to be automated like it is for glibc core
where we get a .tar.bz2, .tar.gz, and .tar.xz.

Any takers?

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026

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

* Re: Request for help: Fix building tarballs for ports add-on.
  2012-06-14  0:09 Request for help: Fix building tarballs for ports add-on Carlos O'Donell
@ 2012-06-14  0:23 ` Roland McGrath
  2012-06-14  6:54   ` Thomas Schwinge
  2012-06-14 11:02   ` Joseph S. Myers
  2012-06-14  1:15 ` Mike Frysinger
  1 sibling, 2 replies; 9+ messages in thread
From: Roland McGrath @ 2012-06-14  0:23 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: libc-ports, libc-alpha

I've been thinking that right after 2.16 will be a good time to consolidate
the repositories (just the initial step, making it ports/ under the libc
tree).  So there might not be very many more iterations of doing this,
though I guess 2.16.x could easily have a substantial upper bound for x.
That said, automation ought to be well nigh trivial.  Unless I've forgotten
about something, we're just doing git archive | compressor-of-choice.


Thanks,
Roland


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

* Re: Request for help: Fix building tarballs for ports add-on.
  2012-06-14  0:09 Request for help: Fix building tarballs for ports add-on Carlos O'Donell
  2012-06-14  0:23 ` Roland McGrath
@ 2012-06-14  1:15 ` Mike Frysinger
  2012-06-14  7:16   ` Andreas Jaeger
  1 sibling, 1 reply; 9+ messages in thread
From: Mike Frysinger @ 2012-06-14  1:15 UTC (permalink / raw)
  To: libc-alpha; +Cc: Carlos O'Donell, libc-ports

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

On Wednesday 13 June 2012 20:08:57 Carlos O'Donell wrote:
> As we approach the 2.16 release I am reminded that building
> tarballs for the ports add-on is broken.
> 
> For the 2.15 release I had to build the tarballs manually.
> 
> I'd like this to be automated like it is for glibc core
> where we get a .tar.bz2, .tar.gz, and .tar.xz.
> 
> Any takers?

isn't it just:
	git archive --prefix=glibc-ports-2.16/ glibc-2.16 | xz \
		> glibc-ports-2.16.tar.xz
-mike

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

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

* Re: Request for help: Fix building tarballs for ports add-on.
  2012-06-14  0:23 ` Roland McGrath
@ 2012-06-14  6:54   ` Thomas Schwinge
  2012-06-14 11:02   ` Joseph S. Myers
  1 sibling, 0 replies; 9+ messages in thread
From: Thomas Schwinge @ 2012-06-14  6:54 UTC (permalink / raw)
  To: Roland McGrath, Carlos O'Donell; +Cc: libc-ports, libc-alpha

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

Hi!

On Wed, 13 Jun 2012 17:23:03 -0700 (PDT), Roland McGrath <roland@hack.frob.com> wrote:
> I've been thinking that right after 2.16 will be a good time to consolidate
> the repositories (just the initial step, making it ports/ under the libc
> tree).

I agree (and will implement as discussed unless someone else suggests a
different way).

> So there might not be very many more iterations of doing this,
> though I guess 2.16.x could easily have a substantial upper bound for x.
> That said, automation ought to be well nigh trivial.  Unless I've forgotten
> about something, we're just doing git archive | compressor-of-choice.


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

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

* Re: Request for help: Fix building tarballs for ports add-on.
  2012-06-14  1:15 ` Mike Frysinger
@ 2012-06-14  7:16   ` Andreas Jaeger
  2012-06-14 14:31     ` Carlos O'Donell
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Jaeger @ 2012-06-14  7:16 UTC (permalink / raw)
  To: libc-ports; +Cc: Mike Frysinger, libc-alpha, Carlos O'Donell

On Wednesday, June 13, 2012 21:15:13 Mike Frysinger wrote:
> On Wednesday 13 June 2012 20:08:57 Carlos O'Donell wrote:
> > As we approach the 2.16 release I am reminded that building
> > tarballs for the ports add-on is broken.
> > 
> > For the 2.15 release I had to build the tarballs manually.
> > 
> > I'd like this to be automated like it is for glibc core
> > where we get a .tar.bz2, .tar.gz, and .tar.xz.
> > 
> > Any takers?
> 
> isn't it just:
> 	git archive --prefix=glibc-ports-2.16/ glibc-2.16 | xz \
> 
> 		> glibc-ports-2.16.tar.xz

Yeah - there's a Makefile rule in libc:
%.tar: FORCE
        git archive --prefix=$*/ $* > $@.new
        mv -f $@.new $@

I guess, this just needs to be done for ports as well in the proper way 
- unless Carlos wants to call the above manually...

Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

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

* Re: Request for help: Fix building tarballs for ports add-on.
  2012-06-14  0:23 ` Roland McGrath
  2012-06-14  6:54   ` Thomas Schwinge
@ 2012-06-14 11:02   ` Joseph S. Myers
  2012-06-14 16:47     ` Roland McGrath
  1 sibling, 1 reply; 9+ messages in thread
From: Joseph S. Myers @ 2012-06-14 11:02 UTC (permalink / raw)
  To: Roland McGrath; +Cc: Carlos O'Donell, libc-ports, libc-alpha

On Wed, 13 Jun 2012, Roland McGrath wrote:

> I've been thinking that right after 2.16 will be a good time to consolidate
> the repositories (just the initial step, making it ports/ under the libc
> tree).

We'll need to work out if that comes with any change to expectations 
regarding what people update in global changes.  (My presumption would be 
that people would still be expected to identify when a change requires 
corresponding ports changes, but not necessarily to make those changes 
themselves - and if any architecture moves out of the ports subdirectory, 
and so is then expected to be included in future global changes, that 
should only happen if the architecture is believed to be up to date with 
such changes at the time of the move.)

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Re: Request for help: Fix building tarballs for ports add-on.
  2012-06-14  7:16   ` Andreas Jaeger
@ 2012-06-14 14:31     ` Carlos O'Donell
  0 siblings, 0 replies; 9+ messages in thread
From: Carlos O'Donell @ 2012-06-14 14:31 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: libc-ports, Mike Frysinger, libc-alpha

On 6/14/2012 3:16 AM, Andreas Jaeger wrote:
> On Wednesday, June 13, 2012 21:15:13 Mike Frysinger wrote:
>> On Wednesday 13 June 2012 20:08:57 Carlos O'Donell wrote:
>>> As we approach the 2.16 release I am reminded that building
>>> tarballs for the ports add-on is broken.
>>>
>>> For the 2.15 release I had to build the tarballs manually.
>>>
>>> I'd like this to be automated like it is for glibc core
>>> where we get a .tar.bz2, .tar.gz, and .tar.xz.
>>>
>>> Any takers?
>>
>> isn't it just:
>> 	git archive --prefix=glibc-ports-2.16/ glibc-2.16 | xz \
>>
>> 		> glibc-ports-2.16.tar.xz
> 
> Yeah - there's a Makefile rule in libc:
> %.tar: FORCE
>         git archive --prefix=$*/ $* > $@.new
>         mv -f $@.new $@
> 
> I guess, this just needs to be done for ports as well in the proper way 
> - unless Carlos wants to call the above manually...

Exactly. I'd like to see this added to the libc-ports makefile,
and tested by someone. That would help the upcoming release and
all the point releases based on 2.16. It's just one less thing to
do manually :-)

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026

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

* Re: Request for help: Fix building tarballs for ports add-on.
  2012-06-14 11:02   ` Joseph S. Myers
@ 2012-06-14 16:47     ` Roland McGrath
  2012-06-14 17:31       ` Mike Frysinger
  0 siblings, 1 reply; 9+ messages in thread
From: Roland McGrath @ 2012-06-14 16:47 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: Carlos O'Donell, libc-ports, libc-alpha

> On Wed, 13 Jun 2012, Roland McGrath wrote:
> 
> > I've been thinking that right after 2.16 will be a good time to consolidate
> > the repositories (just the initial step, making it ports/ under the libc
> > tree).
> 
> We'll need to work out if that comes with any change to expectations 
> regarding what people update in global changes.

I propose that the repository consolidation have no immediate ramifications
other than on the use of one repository rather than two.  Further changes
can be done incrementally and discussed on their own.


Thanks,
Roland

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

* Re: Request for help: Fix building tarballs for ports add-on.
  2012-06-14 16:47     ` Roland McGrath
@ 2012-06-14 17:31       ` Mike Frysinger
  0 siblings, 0 replies; 9+ messages in thread
From: Mike Frysinger @ 2012-06-14 17:31 UTC (permalink / raw)
  To: libc-alpha
  Cc: Roland McGrath, Joseph S. Myers, Carlos O'Donell, libc-ports

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

On Thursday 14 June 2012 12:47:30 Roland McGrath wrote:
> > On Wed, 13 Jun 2012, Roland McGrath wrote:
> > > I've been thinking that right after 2.16 will be a good time to
> > > consolidate the repositories (just the initial step, making it ports/
> > > under the libc tree).
> > 
> > We'll need to work out if that comes with any change to expectations
> > regarding what people update in global changes.
> 
> I propose that the repository consolidation have no immediate ramifications
> other than on the use of one repository rather than two.  Further changes
> can be done incrementally and discussed on their own.

+1
-mike

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

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

end of thread, other threads:[~2012-06-14 17:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14  0:09 Request for help: Fix building tarballs for ports add-on Carlos O'Donell
2012-06-14  0:23 ` Roland McGrath
2012-06-14  6:54   ` Thomas Schwinge
2012-06-14 11:02   ` Joseph S. Myers
2012-06-14 16:47     ` Roland McGrath
2012-06-14 17:31       ` Mike Frysinger
2012-06-14  1:15 ` Mike Frysinger
2012-06-14  7:16   ` Andreas Jaeger
2012-06-14 14:31     ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).