[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dealing with FTBFS with gcc 5 (Matthias?)



On Thu, 12 Feb 2015, Julien Puydt wrote:

> Hi,

> quite a number of "FTBFS with gcc 5" bugs are hitting packages under
> the debian-science umbrella ; as I'm part of the team, I'll try to

> help on those, but since I have no clue what the problem(s) exactly
> is(are) yet, I have a few questions :

> 1. How can I set up a pbuilder with that compiler ?

gcc 5 is in experimental, so I guess it should be the experimental
chroot but with forced gcc 4:5

there are various ways I guess to achieve it, but here is a fully
scripted one ;)

mkdir -p /tmp/exp-hooks; echo -ne '#!/bin/sh\nget install -t experimental gcc g++\n' >| /tmp/exp-hooks/E0expgcc; chmod +x /tmp/exp-hooks/E0expgcc
sudo pbuilder --create --mirror http://http.debian.net/debian --distribution experimental --hookdir /tmp/exp-hooks

NB might want to dump it to some other than base.tgz file

> 2. Is there a wiki page somewhere listing the most frequent issue ?

FWIW -- some of them seems to be due to internal problems with gcc
package(s) as far as I see it, e.g. in scipy

gfortran:f77: scipy/fftpack/src/dfftpack/zffti.f
x86_64-linux-gnu-gcc-ar: adding 23 object files to build/temp.linux-x86_64-2.7/libdfftpack.a
sh: 1: x86_64-linux-gnu-gcc-ar: not found
error: Command "x86_64-linux-gnu-gcc-ar rc build/temp.linux-x86_64-2.7/libdfftpack.a build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dffti.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsinqi.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dffti1.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsinqb.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zffti1.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcosqi.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcosqb.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcosti.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zfftb.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsint.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcosqf.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dfftf.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dfftf1.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsinqf.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dfftb1.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsint1.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zfftf1.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dfftb.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dcost.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zfftf.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zfftb1.o
build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/dsinti.o build/temp.linux-x86_64-2.7/scipy/fftpack/src/dfftpack/zffti.o" failed with exit status
127sh: 1: x86_64-linux-gnu-gcc-ar: not found

so it might be first worthwhile clarifying with  Matthias:

- aren't those really just have to do with internal gcc package issue
  and mass bug filing was a bit undue?

- is there a page summarizing gcc 5 issue so they could be efficiently
  tackled?

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,            Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


Reply to: