View previous topic :: View next topic |
Author |
Message |
elkhunter Tux's lil' helper

Joined: 19 Sep 2004 Posts: 142
|
Posted: Tue Dec 21, 2004 4:34 am Post subject: cannot emerge anymore |
|
|
I'm unable to emerge anything on my system anymore for some reason. For example, when I try to "emerge world", the first package it wants to update is gdbm but this always reports the following libtool error:
mkdir /var/tmp/portage/gdbm-1.8.3-r1/image//usr/share/man/man3
mkdir /var/tmp/portage/gdbm-1.8.3-r1/image//usr/share/info
/bin/sh ./libtool /bin/install -c -c libgdbm.la /var/tmp/portage/gdbm-1.8.3-r1/image//usr/lib/libgdbm.la
libtool: install: `libgdbm.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
make: *** [install] Error 1
!!! ERROR: sys-libs/gdbm-1.8.3-r1 failed.
!!! Function src_install, Line 35, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Also, when I even try to emerge something simple like "emerge grep", it fails with the following errors:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/usr/share/loc
ale\" -march=athlon-xp -Os -pipe -fomit-frame-pointer -mmmx -ffast-math -c `t
est -f kwset.c || echo './'`kwset.c
In file included from ../lib/regex.h:2,
from dfa.c:115:
../lib/posix/regex.h:540:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:296,
from /usr/include/assert.h:36,
from dfa.c:25:
/usr/include/sys/cdefs.h:246:1: warning: this is the location of the previous de
finition
dfa.c: In function `lex':
dfa.c:726: error: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c:726: error: (Each undeclared identifier is reported only once
dfa.c:726: error: for each function it appears in.)
dfa.c: In function `addtok':
dfa.c:1120: error: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c: In function `atom':
dfa.c:1221: error: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c: In function `dfaparse':
dfa.c:1369: error: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c: In function `state_index':
dfa.c:1518: error: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c: In function `dfastate':
dfa.c:2131: error: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c: In function `dfaexec':
dfa.c:2781: error: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c: In function `dfainit':
dfa.c:2966: error: `MB_CUR_MAX' undeclared (first use in this function)
dfa.c: In function `dfafree':
dfa.c:3032: error: `MB_CUR_MAX' undeclared (first use in this function)
make[2]: *** [dfa.o] Error 1
make[2]: *** Waiting for unfinished jobs....
grep.c: In function `main':
grep.c:1726: error: `MB_CUR_MAX' undeclared (first use in this function)
grep.c:1726: error: (Each undeclared identifier is reported only once
grep.c:1726: error: for each function it appears in.)
make[2]: *** [grep.o] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1'
make: *** [all] Error 2
I've verified taht MB_CUR_MAX is defined in /usr/include/stdlib.h so I'm not sure why it's failing.
Any suggestions?
Thanks in advance,
- Elkhunter |
|
Back to top |
|
 |
shade266 Guru


Joined: 29 Oct 2003 Posts: 593 Location: Internal
|
Posted: Tue Dec 21, 2004 4:37 am Post subject: |
|
|
is dhcpcd running? Have you edited make.conf lately? specifically anything in the config file relative to directories portage uses? _________________ I've been away for a long time, bear with me. |
|
Back to top |
|
 |
foosh Apprentice


Joined: 11 Jan 2004 Posts: 231 Location: STL
|
Posted: Tue Dec 21, 2004 4:48 am Post subject: |
|
|
how roomy is your portage/work directory, the place where sources are downloaded and extracted? is there enough space for the temp files and tarballs? depending on how long you've run portage, this directory could easily take up several gigs, which may be crowding the ceiling of available space. _________________ http://wustlog.blogspot.com |
|
Back to top |
|
 |
elkhunter Tux's lil' helper

Joined: 19 Sep 2004 Posts: 142
|
Posted: Wed Dec 22, 2004 2:02 am Post subject: |
|
|
I just checked and my / partition has 16 G free so I'm not running out of space. I did recently add "xine" to my USE line in make.conf but I don't think that would cause this. |
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7475
|
Posted: Wed Dec 22, 2004 2:41 am Post subject: |
|
|
check twice your make.conf file...
If file is invalid, emerge is bork like that...
You recently add xine but you could have add a bad char somewhere inside it...
(i know i have done that, because of that grr@gsmlk nano that keep adding carriage return when edit a line longer than the terminal width) |
|
Back to top |
|
 |
|