Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 203840

Summary: Can't build sys-libs/libstdc++-v3-3.3.6 under tcsh.
Product: Gentoo Linux Reporter: Anders Trobäck <public>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anders Trobäck 2007-12-31 00:16:56 UTC
Normally I'm a tcsh user so I changed root's default shell to tcsh and now I can't build sys-libs/libstdc++-v3-3.3.6.

If I change back to bash everything builds just fine!

Reproducible: Always

Steps to Reproduce:
1. Change root's default shell to tcsh
2. emerge sys-libs/libstdc++-v3




Expected Results:  
Build!

8<------------------------------------------------------------------
make TARGETS=oneprocess SHELL="/bin/tcsh" CC="gcc" CFLAGS="
-march=prescott -O2 -pipe s -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long -DHA FLAGS=""
LIBERTY="/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/../libib
make[2]: Entering directory
`/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/g /bin/tcsh /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/genfi
SHELL=/bin/sh: Command not found. export: Command not found.
if: Expression Syntax.
make[2]: *** [machname.h] Fel 1
make[2]: Leaving directory
`/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gc make[1]:
*** [fixinc.sh] Fel 2 make[1]: *** Inväntar oavslutade jobb...
done
Forming and outputing automata tables...done
Output functions to work with automata...done

Automaton `pentium'
       48 NDFA states,             90 NDFA arcs
       48 DFA states,              90 DFA arcs
       20 minimal DFA states,      62 minimal DFA arcs
       29 all insns         16 insn equivalence classes
   62 transition comb vector els,   320 trans table els: use comb vect
   62 state alts comb vector els,   320 state alts table els: use comb
vect 768 min delay table els, compression factor 2

Automaton `pentium_fpu'
       80 NDFA states,            172 NDFA arcs
       80 DFA states,             172 DFA arcs
       75 minimal DFA states,     162 minimal DFA arcs
       29 all insns          8 insn equivalence classes
  164 transition comb vector els,   600 trans table els: use comb vect
  164 state alts comb vector els,   600 state alts table els: use comb
vect 640 min delay table els, compression factor 1

  237 all allocated states,       236 all allocated arcs
  342 all allocated alternative states
  226 all transition comb vector els,   920 all trans table els
  226 all state alts comb vector els,   920 all state alts table els
 1408 all min delay table els
   12 locked states num

  transformation: 0.004001, building DFA: 0.012000
  DFA minimization: 0.000000, making insn equivalence: 0.000000
 all automaton generation: 0.012000, output: 0.004000
/bin/sh /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/move-if-change
echo timestamp > s-attrtab
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gc make: ***
[all-gcc] Fel 2
 * 
 * ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
 * Call stack:
 *                   ebuild.sh, line 1701:  Called dyn_compile
 *                   ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                   ebuild.sh, line   44:  Called src_compile
 *   libstdc++-v3-3.3.6.ebuild, line  228:  Called die
 * The specific snippet of code:
 *      S="${WORKDIR}/build" \
 *      emake all-target-libstdc++-v3 \
 *              LIBPATH="${LIBPATH}" \
 *              BOOT_CFLAGS="${CFLAGS}" STAGE1_CFLAGS="-O" || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/te
 * 

8<------------------------------------------------------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-31 00:20:07 UTC
Unsupported shell, tough luck.


*** This bug has been marked as a duplicate of bug 135706 ***