View previous topic :: View next topic |
Author |
Message |
AntoineWG n00b
Joined: 30 May 2005 Posts: 4
|
Posted: Sun Jun 12, 2005 6:31 pm Post subject: [Solved] Emerge Fails on python-fchksum |
|
|
I'm doing a stage 1 install on a K6-3/400 with the hopes of building a MythTV recorder. Everything runs smoothly until I do an emerge -e system. It fails every time (and I've tried this more than once with fresh installs) on python-fchksum. The error messages are as follows:
Code: | >>> emerge (10 of 90) dev-python/python-fchksum-1.7.1 to /
>>> md5 files ;-) python-fchksum-1.7.1.ebuild
>>> md5 files ;-) python-fchksum-1.6.1-r1.ebuild
>>> md5 files ;-) ChangeLog
>>> md5 files ;-) metadata.xml
>>> md5 files ;-) files/digest-python-fchksum-1.7.1
>>> md5 files ;-) files/digest-python-fchksum-1.6.1-r1
>>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz
>>> Unpacking source...
>>> Unpacking python-fchksum-1.7.1.tar.gz to /var/tmp/portage/python-fchksum-1.7.1/work
>>> Source unpacked.
['setup.py', 'build']
running build
running build_ext
building 'fchksum' extension
creating build
creating build/temp.linux-i586-2.3
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -mcpu=k6-3 -mmmx -m3dnow -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -fPIC -I/usr/include/python2.3 -c sum.c -o build/temp.linux-i586-2.3/sum.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1
!!! ERROR: dev-python/python-fchksum-1.7.1 failed.
!!! Function src_compile, Line 20, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
And my make.conf file:
Code: | CFLAGS="-O3 -mcpu=k6-3 -mmmx -m3dnow -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="3dnow alsa mysql mysqli ogg avi -cups -gpm -kde -gnome -mikmod -quicktime -svga -X -X11 -xmms -bmp java" |
Any suggestions?
Last edited by AntoineWG on Mon Jun 13, 2005 12:21 am; edited 1 time in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Jun 12, 2005 6:43 pm Post subject: |
|
|
Code: | gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" | Try running fix_libtool_files.sh 3.3.4 (or whatever gcc version you have) _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Sun Jun 12, 2005 7:53 pm Post subject: |
|
|
this is a very common problem -- Stage 1 installs are prone to circular dependency issues with python, and python is reknown for static library retention issues when changing a CHOST. the solutions are well documented.. have you tried the search function?
if you search for "python-fchksum" you'll find plenty of threads that tell you that the python package needs to be emerged before you emerge -e system. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
AntoineWG n00b
Joined: 30 May 2005 Posts: 4
|
Posted: Mon Jun 13, 2005 12:20 am Post subject: |
|
|
Thankyou. Emerging python first seems to have fixed the problem. It appears to be running quite nicely now. Somebody should add that to the install handbook. |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Mon Jun 13, 2005 3:56 pm Post subject: |
|
|
hielvc wrote: | They dont like pointing out a problem thats supposed to have been fixed a month or 2 ago |
Haha!
the disappointing thing about this problem is that every time somebody writes a bug report, they dismiss it with "INVALID" or "WON'T FIX" as the solution.
personally, i think that the python ebuild maintainer needs to work a little harder. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Fri Jul 01, 2005 1:36 pm Post subject: |
|
|
AntoineWG wrote: | Thankyou. Emerging python first seems to have fixed the problem. It appears to be running quite nicely now. Somebody should add that to the install handbook. |
For me too, emerging "python" first solved the problem. Thanks. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sat Aug 13, 2005 12:36 pm Post subject: |
|
|
Bob P's explanation here should also be helpful. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Aug 13, 2005 12:40 pm Post subject: |
|
|
Bob P wrote: | hielvc wrote: | They dont like pointing out a problem thats supposed to have been fixed a month or 2 ago |
Haha!
the disappointing thing about this problem is that every time somebody writes a bug report, they dismiss it with "INVALID" or "WON'T FIX" as the solution.
personally, i think that the python ebuild maintainer needs to work a little harder. |
Not quite true, I used your stage3/1 installtion and I ran into the bug since I used a x86 tarball and not a P4 one that I should of.
I submitted a bug and yes it did get closed, BUT it got opened again quite quickly and they are trying to fix it
looks like it will be easier to fix when Python2.4 becomes the LiveCD standard
https://bugs.gentoo.org/show_bug.cgi?id=88777 _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Aug 13, 2005 4:48 pm Post subject: |
|
|
Bob P wrote: | Naib wrote: | Not quite true, |
i guess you have your anecdotal experiences and i have mine. |
I was talking abt an active bug that is actively being solved to fix this python bug
??? _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Sat Aug 13, 2005 7:05 pm Post subject: |
|
|
i;m glad to hear that a bug report is still open. mine got closed a long time ago with the "won't fix" resolution, which is why i gave up on trying to solve the problem. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Tue Sep 20, 2005 7:51 pm Post subject: |
|
|
Wow, I just ran into this bug while guiding a friend through installing Gentoo for the first time and I must say the conversation in the bug report did not give a good impression of devs. Not only does the handbook clearly state to change the CHOST for nptl support it only makes sense that users will choose the option that matches their hardware.
This statement...
Code: |
I'm sorry to hear that, but this is not my fault. You could have easily chosen
a stage3 installation and saved yourself a good number of hours in doing your
installation.
|
...really takes the cake. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Tue Sep 20, 2005 7:57 pm Post subject: |
|
|
The best bit I started that bug and when I have a shite day at work I just log into Gmail and I get the next installment _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Snano n00b
Joined: 25 Sep 2005 Posts: 1
|
Posted: Mon Sep 26, 2005 10:03 pm Post subject: Hi all |
|
|
I run over this bug and to be honest I searched google (eheheh) and a good guy there wrote to go to the /usr/i?86-pc-linux-gnu/gcc-bin/3.3.5/ directory (mine is /usr/i686-pc-linux-gnu/gcc-bin/3.3.6/) and just do a symbolic link like
ln -s i686-pc-linux-gnu-gcc i386-pc-linux-gnu-gcc
It seemed correct by the way cause if you notice in emerge that packet the first command is i386-pc-linux-gnu-gcc and after that systems complaned that it isnt found.
I ve tried it and now everything is ok .
Thanks for your time |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Tue Sep 27, 2005 1:22 pm Post subject: |
|
|
For the record:
The command below will save you some time by allowing you to do a full emerge of python when python-fchksum does its abortion thing, and still be able to resume the previous "emerge -e system".
Note: You must do this command right after python-fchksum crashes. Do not run any other emerge commands, not even "emerge --info"!
Code: | cp /var/cache/edb/mtimedb /mtimedb && emerge --oneshot python && mv /mtimedb /var/cache/edb/mtimedb && emerge --resume |
|
|
Back to top |
|
|
Sir No Apprentice
Joined: 01 May 2005 Posts: 159 Location: Poland
|
Posted: Tue Sep 27, 2005 1:30 pm Post subject: |
|
|
kimchi_sg wrote: | For the record:
The command below will save you some time by allowing you to do a full emerge of python when python-fchksum does its abortion thing, and still be able to resume the previous "emerge -e system".
Note: You must do this command right after python-fchksum crashes. Do not run any other emerge commands, not even "emerge --info"!
Code: | cp /var/cache/edb/mtimedb /mtimedb && emerge --oneshot python && mv /mtimedb /var/cache/edb/mtimedb && emerge --resume |
|
That's brilliant! So portage will think it should continue happily with emerge --resume, even though another emerge --oneshot was issued in the meantime.
A very fine voodoo. I think I'll add that to my spellbook _________________ The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide! |
|
Back to top |
|
|
m3x6 n00b
Joined: 17 Mar 2006 Posts: 4
|
Posted: Sun Mar 19, 2006 10:31 am Post subject: OK..same problem, very new to gentoo. |
|
|
Hi, I'm very new when it comes to gentoo (been using slack on my server the last 5 years) and am trying it on my winblows (gaming) computer since wine seems to support gentoo primarily, and I'm dying to one day get rid of winblows completely.
Anyway, I've seen in these forums that this is a very known problem, although all the posts I found with the search seem to be really old. I'm using the graphical installer, stage 1, downloading latest, and I got this error:
Quote: |
>>> emerge (21 of 191) dev-python/python-fchksum-1.7.1 to /
>>> md5 files ;-) python-fchksum-1.6.1-r1.ebuild
>>> md5 files ;-) python-fchksum-1.7.1.ebuild
>>> md5 files ;-) files/digest-python-fchksum-1.6.1-r1
>>> md5 files ;-) files/digest-python-fchksum-1.7.1
>>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz
Exception received:
Stage2Error :FATAL: stage2: Building the system failed!
|
and I haven't found any thread in this forum with the same error message (only common thing seems to be "python-fchksum" and the failing)
So, my questions are, can I fix this, and how?
And how do I resume with the graphical installer? (it would be a pain in the a$$ in one is to restart from scratch every time the graphical installer fails)
help on any of my questions will be very appreciated. :cry: |
|
Back to top |
|
|
CSllama n00b
Joined: 28 Mar 2005 Posts: 5 Location: Bowling Green, KY
|
Posted: Thu Mar 23, 2006 12:32 am Post subject: |
|
|
kimchi_sg wrote: | For the record:
The command below will save you some time by allowing you to do a full emerge of python when python-fchksum does its abortion thing, and still be able to resume the previous "emerge -e system".
Note: You must do this command right after python-fchksum crashes. Do not run any other emerge commands, not even "emerge --info"!
Code: | cp /var/cache/edb/mtimedb /mtimedb && emerge --oneshot python && mv /mtimedb /var/cache/edb/mtimedb && emerge --resume |
|
Very useful trick in conjunction with emerge --resume! Thanks, kimichi_sg!
Just when you think you know everything about portage... |
|
Back to top |
|
|
|