View previous topic :: View next topic |
Author |
Message |
cartler n00b
Joined: 10 Dec 2006 Posts: 9
|
Posted: Mon Dec 11, 2006 10:49 pm Post subject: [SOLVED]!!! ERROR: sys-kernel/linux-headers-2.6.17-r2 failed |
|
|
I have been trying to do a 'emerge -v --update --deep --newuse world' for a couple of days.
But the process breaks on emerging linux-headers-2.6.17-r2 with the following error(s):
Code: | *
* Library routines
*
CRC-CCITT functions (CRC_CCITT) [N/m/y/?] n
CRC16 functions (CRC16) [N/m/y/?] n
CRC32 functions (CRC32) [Y/?] y
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n
/var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 11: i686-pc-linux-gnu-gcc: command not found
/var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 12: i686-pc-linux-gnu-gcc: command not found
make[1]: i686-pc-linux-gnu-gcc: Command not found
make[1]: i686-pc-linux-gnu-gcc: Command not found
/var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 11: i686-pc-linux-gnu-gcc: command not found
/var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 12: i686-pc-linux-gnu-gcc: command not found
make: i686-pc-linux-gnu-gcc: Command not found
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 127
make: *** [prepare0] Error 2
!!! ERROR: sys-kernel/linux-headers-2.6.17-r2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called kernel-2_src_compile
kernel-2.eclass, line 1032: Called compile_headers
kernel-2.eclass, line 459: Called die
!!! prepare failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
I have been trying and reading alot of things but did not find a cause let alone a solution.
I'm getting pretty desperate by now so I hope there is someone who can shed light on this problem.
Last edited by cartler on Tue Dec 12, 2006 10:37 pm; edited 1 time in total |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Mon Dec 11, 2006 11:11 pm Post subject: |
|
|
Are you able to emerge/compile any other packages successfully right now? Looks like your GCC got fubar'd and needs rescued. |
|
Back to top |
|
|
cartler n00b
Joined: 10 Dec 2006 Posts: 9
|
Posted: Mon Dec 11, 2006 11:15 pm Post subject: |
|
|
xoomix wrote: | Are you able to emerge/compile any other packages successfully right now? Looks like your GCC got fubar'd and needs rescued. |
Yes I can??? Strangely enough. Fort instance I emerged glibc. In a desperate attempt to fix things. |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Mon Dec 11, 2006 11:15 pm Post subject: |
|
|
Did you try re-emerging gcc yet? I'd try that. Hmmm other than that maybe re-syncing and re-trying. |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Mon Dec 11, 2006 11:18 pm Post subject: |
|
|
Post the contents of your /etc/make.conf file as well |
|
Back to top |
|
|
cartler n00b
Joined: 10 Dec 2006 Posts: 9
|
Posted: Mon Dec 11, 2006 11:34 pm Post subject: |
|
|
xoomix wrote: | Did you try re-emerging gcc yet? I'd try that. Hmmm other than that maybe re-syncing and re-trying. |
Nope. didn't try that yet. And here's my /etc/make.conf.
Code: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=c3 -m3dnow -Os -pipe -fomit-frame-pointer -mmmx"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-arts -cups -encode -esd -gnome -gtk -gtk -kde -mad -pam -sdl -xmms 3dnow 3dnowext aac aalib acl alsa ao async automount apache2 bash-completio
n be bl cdparanoia cle266 cups cpudetection crciprec de_tvtoday directfb dts dv dvb dvd dvdread encode fbcon flac gif ggi gtk ieee1394 ivtv jack jav
a joystick jpeg lcd libcaca live lirc lirc lzo mad mmx mmxext musepack mysql mythtv nas nl nl_wolf png real rtc ruby samba sdl speex svga theora tga
tv_check tv_pick_cgi uk_bleb uk_rt unichrome usb v4l v4l2 x264 xanim X xv xvid xvmc"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gent
oo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="via"
|
|
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Mon Dec 11, 2006 11:36 pm Post subject: |
|
|
cartler wrote: | xoomix wrote: | Did you try re-emerging gcc yet? I'd try that. Hmmm other than that maybe re-syncing and re-trying. |
Nope. didn't try that yet. And here's my /etc/make.conf.
Code: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=c3 -m3dnow -Os -pipe -fomit-frame-pointer -mmmx"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-arts -cups -encode -esd -gnome -gtk -gtk -kde -mad -pam -sdl -xmms 3dnow 3dnowext aac aalib acl alsa ao async automount apache2 bash-completio
n be bl cdparanoia cle266 cups cpudetection crciprec de_tvtoday directfb dts dv dvb dvd dvdread encode fbcon flac gif ggi gtk ieee1394 ivtv jack jav
a joystick jpeg lcd libcaca live lirc lirc lzo mad mmx mmxext musepack mysql mythtv nas nl nl_wolf png real rtc ruby samba sdl speex svga theora tga
tv_check tv_pick_cgi uk_bleb uk_rt unichrome usb v4l v4l2 x264 xanim X xv xvid xvmc"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gent
oo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="via"
|
|
Looks like your value at is wrong. I have never heard of a c3 CFLAG. |
|
Back to top |
|
|
cartler n00b
Joined: 10 Dec 2006 Posts: 9
|
Posted: Mon Dec 11, 2006 11:55 pm Post subject: |
|
|
Quote: | Looks like your value at is wrong. I have never heard of a c3 CFLAG. |
Euhmm this is right, as far as I know. It is for an VIA/Cyrix C3 Ezra CPU. I'm using a VIA Epia m9000 board.
I've build my entire system with this value. So I guess it must be right.
There is something I don't get though.
The output says:
Quote: | /var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 11: i686-pc-linux-gnu-gcc: command not found |
I've looked at the script but it isn't executable to anyone. So I did a 'chmod +x' to it. But that gets reset when you re-emerge.
So then I changed the umask of the Portage working dir by adding the following to my /etc/make.conf:
Quote: |
# Mode bits for ${WORKDIR} (see ebuild.5).
PORTAGE_WORKDIR_MODE="7777" |
But that didn't work either. |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Mon Dec 11, 2006 11:58 pm Post subject: |
|
|
It's a Cyrix - that's why I never heard of it before Get GCC re-emerged yet? |
|
Back to top |
|
|
cartler n00b
Joined: 10 Dec 2006 Posts: 9
|
Posted: Tue Dec 12, 2006 12:06 am Post subject: |
|
|
xoomix wrote: | It's a Cyrix - that's why I never heard of it before Get GCC re-emerged yet? |
Nope. I'm trying to find out how to re-emerge the currently installed version (v3.4.4-r1).
But I'm a bit in the dark here. Any hints
edit:
Nevermind I figured it out: emerge =sys-devel/gcc-3.4.4-r1
It's getting late here Maybe I should call it a day
Last edited by cartler on Tue Dec 12, 2006 12:10 am; edited 1 time in total |
|
Back to top |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Tue Dec 12, 2006 12:08 am Post subject: |
|
|
emerge =gcc-3.4.4-r1 |
|
Back to top |
|
|
cartler n00b
Joined: 10 Dec 2006 Posts: 9
|
Posted: Tue Dec 12, 2006 12:11 am Post subject: |
|
|
OK Solved this one. I had to do a:
gcc-config -f 1
Quote: | Quote: | xoomix wrote: | emerge =gcc-3.4.4-r1 |
Ok you beat me there
I'm rebuilding as we speak. Hopefully this will help. |
OK i've rebuild GCC. But even more troubles emerge now.
It told me to do a "revdep-rebuild --library libstdc++.so.5".
So I did.
It immediately gave me the following errors:
Code: |
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Checking reverse dependencies...
Packages containing binaries and libraries using libstdc++.so.5
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Checking dynamic linking...
done.
(/root/.revdep-rebuild_fb248503.3_rebuild)
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild_fb248503.5_order)
There are no dynamic links to libstdc++.so.5... All done. |
SO I thought maybe it should have been a "revdep-rebuild --library libstdc++.so.6".
That gave me the following:
Code: | Configuring search environment for revdep-rebuild
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Environment mismatch from previous run, deleting temporary files...
Checking reverse dependencies...
Packages containing binaries and libraries using libstdc++.so.6
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Checking dynamic linking...
found /usr/bin/addftinfo
found /usr/bin/assistant
found /usr/bin/audiofilter
found /usr/bin/comp_err
found /usr/bin/designer
found /usr/bin/dvb-mpegtools_main
found /usr/bin/dvb-mplex
found /usr/bin/dvbaudio
found /usr/bin/eqn
found /usr/bin/grn
found /usr/bin/grodvi
found /usr/bin/groff
found /usr/bin/grolbp
found /usr/bin/grolj4
found /usr/bin/grops
found /usr/bin/grotty
found /usr/bin/hpftodit
found /usr/bin/indxbib
found /usr/bin/innochecksum
found /usr/bin/ivtvplay
found /usr/bin/linguist
found /usr/bin/lkbib
found /usr/bin/lookbib
found /usr/bin/lrelease
found /usr/bin/lupdate
found /usr/bin/moc
found /usr/bin/my_print_defaults
found /usr/bin/myisam_ftdump
found /usr/bin/myisamchk
found /usr/bin/myisamlog
found /usr/bin/myisampack
found /usr/bin/mysql
found /usr/bin/mysql_client_test
found /usr/bin/mysql_tzinfo_to_sql
found /usr/bin/mysql_upgrade
found /usr/bin/mysql_waitpid
found /usr/bin/mysqladmin
found /usr/bin/mysqlbinlog
found /usr/bin/mysqlcheck
found /usr/bin/mysqldump
found /usr/bin/mysqlimport
found /usr/bin/mysqlshow
found /usr/bin/mysqltest
found /usr/bin/mysqltestmanager
found /usr/bin/mysqltestmanager-pwgen
found /usr/bin/mysqltestmanagerc
found /usr/bin/mythbackend
found /usr/bin/mythcommflag
found /usr/bin/mythfilldatabase
found /usr/bin/mythfrontend
found /usr/bin/mythjobqueue
found /usr/bin/mythlcdserver
found /usr/bin/mythreplex
found /usr/bin/mythshutdown
found /usr/bin/mythtranscode
found /usr/bin/mythtv
found /usr/bin/mythtv-setup
found /usr/bin/mythtvosd
found /usr/bin/mythwelcome
found /usr/bin/perror
found /usr/bin/pfbtops
found /usr/bin/pic
found /usr/bin/post-grohtml
found /usr/bin/pre-grohtml
found /usr/bin/python2.4
found /usr/bin/qm2ts
found /usr/bin/qmake
found /usr/bin/qt3to4
found /usr/bin/qtconfig
found /usr/bin/rcc
found /usr/bin/refer
found /usr/bin/replace
found /usr/bin/resolve_stack_dump
found /usr/bin/resolveip
found /usr/bin/soelim
found /usr/bin/tbl
found /usr/bin/tfmtodit
found /usr/bin/troff
found /usr/bin/uic
found /usr/bin/uic3
found /usr/bin/v4l2-ctl
found /usr/lib/libGLU.so.1.3.060501
found /usr/lib/libasprintf.so.0.0.0
found /usr/lib/libdb_cxx-4.2.so
found /usr/lib/libmyth-0.20.so.0.20.0
found /usr/lib/libmythavcodec-0.20.so.0.20.0
found /usr/lib/libmythavformat-0.20.so.0.20.0
found /usr/lib/libmythavutil-0.20.so.0.20.0
found /usr/lib/libmythfreemheg-0.20.so.0.20.0
found /usr/lib/libmythlivemedia-0.20.so.0.20.0
found /usr/lib/libmythtv-0.20.so.0.20.0
found /usr/lib/libmythui-0.20.so.0.20.0
found /usr/lib/libmythupnp-0.20.so.0.20.0
found /usr/lib/libpcrecpp.so.0.0.0
found /usr/lib/libusbpp-0.1.so.4.4.4
found /usr/lib/mythtv/filters/libadjust.so
found /usr/lib/mythtv/filters/libbobdeint.so
found /usr/lib/mythtv/filters/libconvert.so
found /usr/lib/mythtv/filters/libcrop.so
found /usr/lib/mythtv/filters/libdenoise3d.so
found /usr/lib/mythtv/filters/libforce.so
found /usr/lib/mythtv/filters/libinvert.so
found /usr/lib/mythtv/filters/libivtc.so
found /usr/lib/mythtv/filters/libkerneldeint.so
found /usr/lib/mythtv/filters/liblinearblend.so
found /usr/lib/mythtv/filters/libonefield.so
found /usr/lib/mythtv/filters/libpostprocess.so
found /usr/lib/mythtv/filters/libquickdnr.so
found /usr/lib/qt4/libQt3Support.so.4.1.4
found /usr/lib/qt4/libQtCore.so.4.1.4
found /usr/lib/qt4/libQtDesigner.so.4.1.4
found /usr/lib/qt4/libQtDesignerComponents.so.4.1.4
found /usr/lib/qt4/libQtGui.so.4.1.4
found /usr/lib/qt4/libQtNetwork.so.4.1.4
found /usr/lib/qt4/libQtOpenGL.so.4.1.4
found /usr/lib/qt4/libQtSql.so.4.1.4
found /usr/lib/qt4/libQtSvg.so.4.1.4
found /usr/lib/qt4/libQtTest.so.4.1.4
found /usr/lib/qt4/libQtXml.so.4.1.4
found /usr/lib/qt4/plugins/designer/libqt3supportwidgets.so
found /usr/lib/qt4/plugins/imageformats/libqjpeg.so
found /usr/lib/qt4/plugins/imageformats/libqmng.so
found /usr/lib/qt4/plugins/inputmethods/libqimsw-multi.so
found /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
found /usr/qt/3/bin/assistant
found /usr/qt/3/bin/designer
found /usr/qt/3/bin/linguist
found /usr/qt/3/bin/lrelease
found /usr/qt/3/bin/lupdate
found /usr/qt/3/bin/moc
found /usr/qt/3/bin/msg2qm
found /usr/qt/3/bin/qembed
found /usr/qt/3/bin/qm2ts
found /usr/qt/3/bin/qmake
found /usr/qt/3/bin/qtconfig
found /usr/qt/3/bin/uic
found /usr/qt/3/lib/libqt-mt.so.3.3.6
found /usr/qt/3/lib/libqui.so.1.0.0
found /usr/qt/3/plugins/designer/libcppeditor.so
found /usr/qt/3/plugins/designer/libdlgplugin.so
found /usr/qt/3/plugins/designer/libgladeplugin.so
found /usr/qt/3/plugins/designer/libkdevdlgplugin.so
found /usr/qt/3/plugins/designer/librcplugin.so
found /usr/qt/3/plugins/designer/libwizards.so
found /usr/qt/3/plugins/sqldrivers/libqsqlmysql.so
found /usr/sbin/mysqld
found /usr/sbin/mysqlmanager
done.
(/root/.revdep-rebuild_d2f205e9.3_rebuild)
Assigning files to ebuilds... done.
(/root/.revdep-rebuild_d2f205e9.4_ebuilds)
Evaluating package order.../usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Warning: Failed to resolve package order.
Will merge in "random" order!
Possible reasons:
- An ebuild is no longer in the portage tree.
- An ebuild is masked, use /etc/portage/packages.keyword
and/or /etc/portage/package.unmask to unmask it
..... done.
(/root/.revdep-rebuild_d2f205e9.5_order)
All prepared. Starting rebuild...
emerge --oneshot =dev-db/mysql-5.0.26-r1 =dev-lang/python-2.4.2 =dev-libs/libpcre-6.6 =dev-libs/libusb-0.1.12 =media-libs/libdvb-0.5.5.1-r2 =media-libs/mesa-6.5.1-r1 =media-tv/ivtv-0.8.0 =media-tv/mythtv-0.20_p11626 =sys-apps/groff-1.19.2-r1 =sys-devel/gettext-0.15 =sys-libs/db-4.2.52_p2-r1 =x11-libs/qt-3.3.6-r4 =x11-libs/qt-4.1.4-r2
..........
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
revdep-rebuild failed to emerge all packages
you have the following choices:
- if emerge failed during the build, fix the problems and re-run revdep-rebuild
or
- use -X or --package-names as first argument (trys to rebuild package, not exact
ebuild)
or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
(and remove /root/.revdep-rebuild_d2f205e9.5_order to be evaluated again)
or
- modify the above emerge command and run it manually
or
- compile or unmerge unsatisfied packages manually, remove temporary files and
try again (you can edit package/ebuild list first)
To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_* |
This is getting way over my head by now |
|
|
Back to top |
|
|
cartler n00b
Joined: 10 Dec 2006 Posts: 9
|
Posted: Tue Dec 12, 2006 10:41 pm Post subject: Re: [SOLVED]!!! ERROR: sys-kernel/linux-headers-2.6.17-r2 fa |
|
|
This one is solved!
Thank you very much xoomix!
I'd proberly would have given up without your help!
cartler wrote: | I have been trying to do a 'emerge -v --update --deep --newuse world' for a couple of days.
But the process breaks on emerging linux-headers-2.6.17-r2 with the following error(s):
Code: | *
* Library routines
*
CRC-CCITT functions (CRC_CCITT) [N/m/y/?] n
CRC16 functions (CRC16) [N/m/y/?] n
CRC32 functions (CRC32) [Y/?] y
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n
/var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 11: i686-pc-linux-gnu-gcc: command not found
/var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 12: i686-pc-linux-gnu-gcc: command not found
make[1]: i686-pc-linux-gnu-gcc: Command not found
make[1]: i686-pc-linux-gnu-gcc: Command not found
/var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 11: i686-pc-linux-gnu-gcc: command not found
/var/tmp/portage/linux-headers-2.6.17-r2/work/linux-2.6.17/scripts/gcc-version.sh: line 12: i686-pc-linux-gnu-gcc: command not found
make: i686-pc-linux-gnu-gcc: Command not found
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 127
make: *** [prepare0] Error 2
!!! ERROR: sys-kernel/linux-headers-2.6.17-r2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called kernel-2_src_compile
kernel-2.eclass, line 1032: Called compile_headers
kernel-2.eclass, line 459: Called die
!!! prepare failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
I have been trying and reading alot of things but did not find a cause let alone a solution.
I'm getting pretty desperate by now so I hope there is someone who can shed light on this problem. |
|
|
Back to top |
|
|
|