Re: setup-gcc.sh

2013-06-07 Thread eles
On Friday, 7 June 2013 at 16:07:46 UTC, Iain Buclaw wrote: On 7 June 2013 16:28, eles wrote: On Friday, 7 June 2013 at 14:07:27 UTC, Iain Buclaw wrote: On 7 June 2013 13:26, eles wrote: So you must remove these by hand. If it doesn't give that error to you, let me know. =) Shouldn't b

Re: setup-gcc.sh

2013-06-07 Thread Iain Buclaw
(4.8.1) package to include a src/libphobos and a > src/gcc/d folders. The code that I quoted in the beginning will fail with > asking to manually remove the d sources form the gcc tree. > > The setup-gcc.sh should be modified accordingly: it does not try to remove > the folders libphobo

Re: setup-gcc.sh

2013-06-07 Thread eles
"* Build D and libphobos packages from this source package." That makes the gcc-4.8 (4.8.1) package to include a src/libphobos and a src/gcc/d folders. The code that I quoted in the beginning will fail with asking to manually remove the d sources form the gcc tree. The setup-gcc.sh

Re: setup-gcc.sh

2013-06-07 Thread Iain Buclaw
On 7 June 2013 13:26, eles wrote: > Hello, > > What is the purpose of this code in setup-gcc.sh? > > # 1. Remove d sources from d_gccsrc if already exist > test -h "$d_gccsrc/gcc/d" && rm "$d_gccsrc/gcc/d" > test -d "$d_gccsrc/libphobos"

Re: setup-gcc.sh

2013-06-07 Thread Joseph Rushton Wakeling
On 06/07/2013 04:05 PM, Iain Buclaw wrote: > You should run setup-gcc.sh with --update. That skips applying the > patches (again) Cool, thanks. :-)

Re: setup-gcc.sh

2013-06-07 Thread Iain Buclaw
On 7 June 2013 13:55, Joseph Rushton Wakeling wrote: > Slightly different question about setup-gcc.sh. > > If you run it on the gcc-4.8.1 sources, having run it previously, you get the > following error message: > > Reversed (or previously applied) patch detect

Re: setup-gcc.sh

2013-06-07 Thread Joseph Rushton Wakeling
Slightly different question about setup-gcc.sh. If you run it on the gcc-4.8.1 sources, having run it previously, you get the following error message: Reversed (or previously applied) patch detected! Assume -R? [n] ... what's the correct response here? :-)

setup-gcc.sh

2013-06-07 Thread eles
Hello, What is the purpose of this code in setup-gcc.sh? # 1. Remove d sources from d_gccsrc if already exist test -h "$d_gccsrc/gcc/d" && rm "$d_gccsrc/gcc/d" test -d "$d_gccsrc/libphobos" && rm -r "$d_gccsrc/libphobos" if test -e &quo

setup-gcc.sh: fails to match some gcc versions

2012-08-21 Thread Johannes Pfau
The regular expressions used in setup-gcc.sh fail to match the BASE-VER version used in raspbian's (debian for raspberry pi) gcc-4.7 package source. The BASE-VER content is "4.7", but the regex checks for "4.7.", so it fails. I'm not an regex expert, but this would