View previous topic :: View next topic |
Author |
Message |
AntoineWG n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
nixnut Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/29856733845fd04c0f3d8c.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3374 Location: USA
|
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. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AntoineWG n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
hielvc Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3374 Location: USA
|
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 ![Laughing :lol:](images/smiles/icon_lol.gif) |
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. ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Luc484 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/15087080645550c40d7524.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Maedhros Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8825449514782674ca8d88.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Naib Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/10548223558c42f2887453.jpg)
Joined: 21 May 2004 Posts: 6070 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 ![Laughing :lol:](images/smiles/icon_lol.gif) |
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. ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
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 _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3374 Location: USA
|
Posted: Sat Aug 13, 2005 4:44 pm Post subject: |
|
|
Naib wrote: | Not quite true, |
i guess you have your anecdotal experiences and i have mine. ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naib Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/10548223558c42f2887453.jpg)
Joined: 21 May 2004 Posts: 6070 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. ![Wink :wink:](images/smiles/icon_wink.gif) |
I was talking abt an active bug that is actively being solved to fix this python bug
??? _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3374 Location: USA
|
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. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
EzInKy Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Funny_Figure/owner.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Naib Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/10548223558c42f2887453.jpg)
Joined: 21 May 2004 Posts: 6070 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 ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Snano n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kimchi_sg Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Nov 2004 Posts: 3038
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Sir No Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/100158891342749fa505db9.jpg)
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 ![Mr. Green :mrgreen:](images/smiles/icon_mrgreen.gif) _________________ The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
m3x6 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
CSllama n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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... ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|