Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1158 - Bootstrapping is dying on mc
Summary: Bootstrapping is dying on mc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-15 00:35 UTC by Michael Lang
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Lang 2002-03-15 00:35:43 UTC
>>> Completed installing into /var/tmp/portage/gcc-2.95.3-r5/image/

>>> Updating mtimes...
>>> Merging sys-devel/gcc-2.95.3-r5 to /
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'
--- /usr/
--- /usr/lib/
--- /usr/lib/gcc-lib/

<snip>

>>> Safely unmerging already-installed instance...
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'
--- !empty dir /usr/share
--- !mtime obj /usr/lib/libiberty.a
--- !mtime obj /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
--- !mtime obj /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a

<snip>
--- !mtime sym /lib/cpp
--- !empty dir /lib
--- !mtime obj /etc/env.d/05gcc
--- !empty dir /etc/env.d
--- !empty dir /etc
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'
>>> original instance of package unmerged safely.
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'
>>> Regenerating /etc/ld.so.cache...
>>> sys-devel/gcc-2.95.3-r5 merged.
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'

 * Regenerating GNU info directory index...
 * Processed 16 info files.

portage #
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-15 00:42:32 UTC
The only thing I can think of that would be doing this is a bad /etc/profile or
bad /root/.bashrc.  Try just typing "bash" at the prompt and see if you get
these errors.  Do you get these errors when you log in?
Comment 2 Michael Lang 2002-03-15 00:50:00 UTC
No errors typing bash.  No errors logging in, or chroot'n as the case is 
here...I'm following the instructions for installing, so I haven't gotten to 
booting, yet.
Comment 3 Michael Lang 2002-03-16 17:09:44 UTC
The mc error seems to be more cosmetic than anything as I have so far been able
to go through the bootstrap process and building the kernel.  However, I'm
seeing the error in every single package I build...for example fluxbox:

buzz linux # emerge fluxbox
Calculating dependencies.. done!
>>> emerge x11-base/xfree-4.2.0-r8 to /
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'
>>> Fetching X420src-1.tgz...
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-03-16 17:29:59 UTC
Forwarding to Azarah.  Azarah, do you have any idea on this one?
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-17 03:55:08 UTC
I know that mandrake, etc define a mc() in thier profile's.  Maybe you
used your old /root ?
Comment 6 Michael Lang 2002-03-18 09:09:38 UTC
I doubt it...I'm doing the following to set up the env:

mkdir /mnt/gentoo
mount /dev/hdb6 /mnt/gentoo
tar -xvjpf /home/mwlang/files/gentoo/build-*.tbz2
mount -o bind /proc /mnt/gentoo
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-18 09:52:52 UTC
Ok, let me put it this way, the only time I had that, was when I did
a Gentoo build chrooted from Mandrake.

The resulution was, to do before chroot:

# unset mc
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-25 15:16:11 UTC
Marking as WORKSFORME, until it occurs again, or the original reporter
give more details.