I crashed on the same bug when trying to compile gcc-3.4 on 32-bit
installation (compiles fine on 64-bit, but not on 32-bit machines).
Possible explanation:

Script debian/runcheck.sh assumes /bin/sh to be bash, which might not be the 
case.
The script is called in debian/rules.defs  (lines 625 .. 631):

ifeq ($(biarch32),yes)
  with_32bit_check := $(shell CC="gcc -m32" sh debian/runcheck.sh)
endif

ifeq ($(biarch),yes)
  with_64bit_check := $(shell CC="gcc -m64" sh debian/runcheck.sh)
endif

If one changes 'sh' to 'bash' on those lines, everything works again.
Better solution is, of course, to fix debian/runcheck.sh to not depend on 
/bin/sh implementation.

-- 
can't build gcc-3.4 source package
https://bugs.launchpad.net/bugs/286413
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to