View Single Post

   
  #7 (permalink)  
Old 03-28-2008, 04:38 AM
jef
 
Posts: n/a
Default Re: reinstall from stage 3

Le Wed, 26 Mar 2008 11:48:14 +0400, jef_m a écritÂ*:

> "pk" <pk@pk.invalid> wrote in message news:fsbut6$mgh$1@aioe.org...
>> Well, it seems you've not updated your system for a *long* time. This
>> is most likely the source of your problems. You'll have to do some
>> manual work
>>>[cut]

>>
>> As a very general advice, if emerge wants to upgrade portage, do that
>> first
>> (emerge portage), followed by linux-headers and glibc (emerge
>> linux-headers
>> && emerge glibc). Then go with the generic procedure described above.
>>
>> However, be prepared to have some trouble during the process. You can
>> post your results here and ask for help, of course.
>>
>> Regards
>>
>>

> Thanks a lot for your answers , I'll try that this evening ( maybe a
> part of the night, too ) .
> Portage is up to date, merged without pb . gcc is ok too, but manually
> compiled , the emerge complained about gcc being too old !
>
> regards,
> jf


Hello

Not too much hope to emerge anything . I thought portage was up to date,
but "emerge -uDvNt world" gives :
*****************************
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/portage-2.1.4.4/work/

portage-2.1.4 ...
In file included from tbz2tool.c:3:
/usr/include/stdio.h:34:21: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from tbz2tool.c:3:
/usr/include/gconv.h:72: error: syntax error before "size_t"
/usr/include/gconv.h:88: error: syntax error before "size_t"
/usr/include/gconv.h:97: error: syntax error before "size_t"
/usr/include/gconv.h:174: error: syntax error before "size_t"
/usr/include/gconv.h:177: error: syntax error before '}' token
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from tbz2tool.c:3:
[snip]
tbz2tool.c:217: warning: data definition has no type or storage class
tbz2tool.c:218: error: syntax error before "goto"
tbz2tool.c:227: error: syntax error before numeric constant
tbz2tool.c:227: warning: data definition has no type or storage class
/usr/include/gconv.h:176: warning: array '__data' assumed to have one
element
*
* ERROR: sys-apps/portage-2.1.4.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2388: Called die
* The specific snippet of code:
* $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tbz2tool
tbz2tool.c || die "Failed to build tbz2tool";
* The die message:
* Failed to build tbz2tool
*
* If you need support, post the topmost build error, and
the call stack if relevant.
* A complete build log is located at '/var/log/portage/sys-
appsortage-2.1.4.4:20080326-215042.log'.
******************************

and each time I launch "emerge --resume --skipfirst" , it fails .

I tried to emerge glibc, and it fails with :

******************************
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... no
configure: error: forced unwind support is required
*
* ERROR: sys-libs/glibc-2.6.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3325: Called eblit-run
'src_compile'
* environment, line 1066: Called eblit-glibc-
src_compile
* src_compile.eblit, line 179: Called toolchain-
glibc_src_compile
* src_compile.eblit, line 120: Called
glibc_do_configure 'src_compile'
* src_compile.eblit, line 97: Called die
* The specific snippet of code:
* "${S}"/configure ${myconf} || die "failed to
configure glibc"
* The die message:
* failed to configure glibc
************************************************** ****

do you know what is "forced unwind support" and how to enable it ?

thanks again .

regards,
jf
Reply With Quote