This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Request for help: Fix building tarballs for ports add-on.
- From: Carlos O'Donell <carlos_odonell at mentor dot com>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: <libc-ports at sourceware dot org>, Mike Frysinger <vapier at gentoo dot org>, <libc-alpha at sourceware dot org>
- Date: Thu, 14 Jun 2012 10:31:21 -0400
- Subject: Re: Request for help: Fix building tarballs for ports add-on.
- References: <4FD92B99.3050605@mentor.com> <201206132115.15642.vapier@gentoo.org> <1889834.8sqT8COGaf@byrd>
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