Bug#700290: pbuilder: clang support

2013-04-04 Thread Hideki Yamane
On Fri, 05 Apr 2013 07:23:58 +0900 Junichi Uekawa wrote: > by the way, > > asn1c) > > asn1c is a compiler for ASN.1 which probably won't compile any C program, is > that a joke or did you actually find a use for it? Just a sample to add it, probably no one use it as you say... -- Reg

Bug#700290: pbuilder: clang support

2013-04-04 Thread Junichi Uekawa
At Fri, 8 Mar 2013 14:38:24 +0900, Hideki Yamane wrote: > > by the way, asn1c) asn1c is a compiler for ASN.1 which probably won't compile any C program, is that a joke or did you actually find a use for it? -- dancer@{netfort.gr.jp,debian.org} -- To UNSUBSCRIBE, email to debia

Bug#700290: pbuilder: clang support

2013-03-10 Thread Hideki Yamane
Hi, On Sat, 09 Mar 2013 13:33:31 +0100 Sylvestre Ledru wrote: > Could you push it somewhere ? I would like to do some modifications on it :) > > (or fork the pbuilder repository before asking for a merge) prepare temporary repo: g...@github.com:henrich/pbuilder.git -- Regards, Hideki Yama

Bug#700290: pbuilder: clang support

2013-03-09 Thread Sylvestre Ledru
On 08/03/2013 06:38, Hideki Yamane wrote: > On Fri, 8 Mar 2013 05:16:26 +0900 > Hideki Yamane wrote: >> update it, please use attached one. > > Update it again ;) > Could you push it somewhere ? I would like to do some modifications on it :) (or fork the pbuilder repository before asking for

Bug#700290: pbuilder: clang support

2013-03-07 Thread Hideki Yamane
On Fri, 8 Mar 2013 05:16:26 +0900 Hideki Yamane wrote: > update it, please use attached one. Update it again ;) -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane D65various-complier-support Description: Binary data

Bug#700290: pbuilder: clang support

2013-03-07 Thread Hideki Yamane
On Fri, 8 Mar 2013 04:52:51 +0900 Hideki Yamane wrote: > file attached, tested gcc-4.6 and clang works (in my environment, at least). > tcc failed since it refused some gcc option. update it, please use attached one. Thanks. -- Regards, Hideki Yamane henrich @ debian.or.jp/org http:

Bug#700290: pbuilder: clang support

2013-03-07 Thread Hideki Yamane
Hi, On Thu, 07 Mar 2013 19:27:27 +0100 Sylvestre Ledru wrote: > > but your approach is more appropriate than mine, so I'll update > > and test your script and post it to BTS later. file attached, tested gcc-4.6 and clang works (in my environment, at least). tcc failed since it refused some g

Bug#700290: pbuilder: clang support

2013-03-07 Thread Sylvestre Ledru
On 07/03/2013 19:24, Hideki Yamane wrote: > Hi, > > On Sun, 3 Mar 2013 15:43:10 + (UTC) > Thorsten Glaser wrote: >> This would allow switching to any gcc version, tcc and clang; >> adding pcc, TenDRA and other compilers is surely possible, >> and this hook script is controlled by $PBUILDER_CO

Bug#700290: pbuilder: clang support

2013-03-07 Thread Hideki Yamane
Hi, On Sun, 3 Mar 2013 15:43:10 + (UTC) Thorsten Glaser wrote: > This would allow switching to any gcc version, tcc and clang; > adding pcc, TenDRA and other compilers is surely possible, > and this hook script is controlled by $PBUILDER_COMPILER which > you can just export before calling pbu

Bug#700290: pbuilder: clang support

2013-03-03 Thread Thorsten Glaser
Hideki Yamane dixit: > Hookdir cannot satisfy its purpose - build with gcc, then check with clang, > back to gcc, and use clang again... - if we choose using hookdir, we should > add script to hookdir then remove it every time, it's not handy and doesn't > encourage maintainers to check with clang

Bug#700290: pbuilder: clang support

2013-03-02 Thread Hideki Yamane
On Thu, 28 Feb 2013 07:24:47 +0900 Junichi Uekawa wrote: > I'm attaching a proposed hook script. Will this work for you? I missed this, now I've checked and it works. -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane -- To UNSUBSCRIBE, email

Bug#700290: pbuilder: clang support

2013-03-02 Thread Hideki Yamane
On Sat, 02 Mar 2013 16:59:35 +0900 Junichi Uekawa wrote: > Sorry, no please use a hookdir, it's there to be used. I don't like to > add too many options to pbuilder. I understand you don't like too many options, but also you don't consider the situations for usage of my proposal, as "switching"

Bug#700290: pbuilder: clang support

2013-03-02 Thread Junichi Uekawa
At Thu, 28 Feb 2013 12:05:32 +0900, Hideki Yamane wrote: > > Hi, > > On Thu, 28 Feb 2013 07:02:54 +0900 > Junichi Uekawa wrote: > > I like the way this is very compact patch, but I dislike that it > > requires adding a config parameter to pbuilder (because it will need > > to be propagated to co

Bug#700290: pbuilder: clang support

2013-02-27 Thread Hideki Yamane
Hi, On Thu, 28 Feb 2013 07:02:54 +0900 Junichi Uekawa wrote: > I like the way this is very compact patch, but I dislike that it > requires adding a config parameter to pbuilder (because it will need > to be propagated to cowbuilder etc. I wonder if it could just be > implemented in a hook and co

Bug#700290: pbuilder: clang support

2013-02-27 Thread Thorsten Glaser
Junichi Uekawa dixit: >to be propagated to cowbuilder etc. I wonder if it could just be >implemented in a hook and configuration. This looks like simply a (one) hook can do it, yeah. I’d suggest a D hook, so a package can still Build-Conflicts on clang if needed. bye, //mirabilos -- „nein: Be

Bug#700290: pbuilder: clang support

2013-02-27 Thread Junichi Uekawa
I'm attaching a proposed hook script. Will this work for you? #!/bin/bash # Force use of clang instead of GCC. function setup_clang() { local GCC_VERSION=$(readlink /usr/bin/gcc | sed 's/^gcc\-//') apt-get -y "${APTGETOPT[@]}" install clang echo -e "\e[33mReplace gcc, g++ & cpp by cl

Bug#700290: pbuilder: clang support

2013-02-27 Thread Junichi Uekawa
Hi, Thanks for the patch. I have a question. At Mon, 11 Feb 2013 17:01:29 +0900, Hideki Yamane wrote: > > diff -Nru pbuilder-0.213/bash_completion.d/pbuilder > pbuilder-0.213+nmu1/bash_completion.d/pbuilder > --- pbuilder-0.213/bash_completion.d/pbuilder 2012-03-25 14:53:45.0 > +0900

Bug#700290: pbuilder: clang support

2013-02-23 Thread Hideki Yamane
Hi, On Tue, 19 Feb 2013 07:10:26 +0100 Luca Falavigna wrote: > Instead of hardcoding GCC version (which can vary across different > architectures), you can use something similar to the following: > GCC_VERSION=$(readlink /usr/bin/gcc | sed 's/gcc-//') Thanks Luca, that's really good than mine,

Bug#700290: pbuilder: clang support

2013-02-21 Thread Nobuhiro Iwamatsu
Hi, > Hi, > > I've made a tiny patch for clang support in pbuilder, it runs with > "--with-clang" option. It would make build check in clang easier, > and encourage maintainers to do that. > > Could you check and apply it, please? You need to update cowbuilder too. Because cowbuilder and pbui

Bug#700290: pbuilder: clang support

2013-02-18 Thread Luca Falavigna
Instead of hardcoding GCC version (which can vary across different architectures), you can use something similar to the following: GCC_VERSION=$(readlink /usr/bin/gcc | sed 's/gcc-//') -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble?

Bug#700290: pbuilder: clang support

2013-02-11 Thread Sylvestre Ledru
On 11/02/2013 09:01, Hideki Yamane wrote: > Package: pbuilder > Severity: wishlist > Tags: patch > X-Debbugs-CC: sylves...@debian.org > > Hi, > > I've made a tiny patch for clang support in pbuilder, it runs with > "--with-clang" option. It would make build check in clang easier, > and encoura

Bug#700290: pbuilder: clang support

2013-02-11 Thread Hideki Yamane
Package: pbuilder Severity: wishlist Tags: patch X-Debbugs-CC: sylves...@debian.org Hi, I've made a tiny patch for clang support in pbuilder, it runs with "--with-clang" option. It would make build check in clang easier, and encourage maintainers to do that. Could you check and apply it, ple