Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13896] gcc34 compile fails when root has a shell other than bash

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13896] gcc34 compile fails when root has a shell other than bash
  • Date: 19 Jul 2007 09:41:15 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13896





------- Additional Comments From wich AT stack.nl 2007-07-19 04:41 -------
Hmmn, a simple:

cd $SOURCE_DIRECTORY &&
sed -i -e 's,$(SHELL),/bin/sh,' gcc/fixinc/Makefile.in &&

doesn't fix the problem, I now get:

./fixincl -v < /dev/null
'fixincl version 1.1'
if: Expression Syntax.
make[3]: *** [install-bin] Error 1
make[3]: Leaving directory `/usr/src/gcc-3.4.6.bld/gcc/fixinc'

Makefile snippet:
install-bin : $(TARGETS)
./fixincl -v < /dev/null
@if [ -f ../fixinc.sh ] ; then rm -f ../fixinc.sh || \
mv -f ../fixinc.sh ../fixinc.sh.$$ || exit 1 ; else : ; fi
@cp $(srcdir)/fixincl.sh ../fixinc.sh
chmod 755 ../fixinc.sh

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page