This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Request for help: Fix building tarballs for ports add-on.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]