Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Emerge Fails on python-fchksum
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
AntoineWG
n00b
n00b


Joined: 30 May 2005
Posts: 4

PostPosted: Sun Jun 12, 2005 6:31 pm    Post subject: [Solved] Emerge Fails on python-fchksum Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Jun 12, 2005 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sun Jun 12, 2005 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
AntoineWG
n00b
n00b


Joined: 30 May 2005
Posts: 4

PostPosted: Mon Jun 13, 2005 12:20 am    Post subject: Reply with quote

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
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Mon Jun 13, 2005 2:48 am    Post subject: Reply with quote

They dont like pointing out a problem thats supposed to have been fixed a month or 2 ago :lol:
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Mon Jun 13, 2005 3:56 pm    Post subject: Reply with quote

hielvc wrote:
They dont like pointing out a problem thats supposed to have been fixed a month or 2 ago :lol:


Haha! :lol:

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. :x

personally, i think that the python ebuild maintainer needs to work a little harder. :roll:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Fri Jul 01, 2005 1:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Aug 13, 2005 12:36 pm    Post subject: Reply with quote

Bob P's explanation here should also be helpful.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5689
Location: Removed by Neddy

PostPosted: Sat Aug 13, 2005 12:40 pm    Post subject: Reply with quote

Bob P wrote:
hielvc wrote:
They dont like pointing out a problem thats supposed to have been fixed a month or 2 ago :lol:


Haha! :lol:

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. :x

personally, i think that the python ebuild maintainer needs to work a little harder. :roll:


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
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sat Aug 13, 2005 4:44 pm    Post subject: Reply with quote

Naib wrote:
Not quite true,


i guess you have your anecdotal experiences and i have mine. :wink:
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5689
Location: Removed by Neddy

PostPosted: Sat Aug 13, 2005 4:48 pm    Post subject: Reply with quote

Bob P wrote:
Naib wrote:
Not quite true,


i guess you have your anecdotal experiences and i have mine. :wink:


I was talking abt an active bug that is actively being solved to fix this python bug


???
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sat Aug 13, 2005 7:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1734
Location: Kentucky

PostPosted: Tue Sep 20, 2005 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5689
Location: Removed by Neddy

PostPosted: Tue Sep 20, 2005 7:57 pm    Post subject: Reply with quote

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 :D
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Snano
n00b
n00b


Joined: 25 Sep 2005
Posts: 1

PostPosted: Mon Sep 26, 2005 10:03 pm    Post subject: Hi all Reply with quote

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
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Tue Sep 27, 2005 1:22 pm    Post subject: Reply with quote

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

_________________
Murphy's Law of Gentoo installation: If a compile can fail, it will.

MacGillicuddy's Corollary: At the most inopportune time.

Please search and read the FAQs before posting.
Back to top
View user's profile Send private message
Sir No
Apprentice
Apprentice


Joined: 01 May 2005
Posts: 159
Location: Poland

PostPosted: Tue Sep 27, 2005 1:30 pm    Post subject: Reply with quote

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. :D

A very fine voodoo. I think I'll add that to my spellbook :mrgreen:
_________________
The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide!
Back to top
View user's profile Send private message
m3x6
n00b
n00b


Joined: 17 Mar 2006
Posts: 4

PostPosted: Sun Mar 19, 2006 10:31 am    Post subject: OK..same problem, very new to gentoo. Reply with quote

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
View user's profile Send private message
CSllama
n00b
n00b


Joined: 28 Mar 2005
Posts: 5
Location: Bowling Green, KY

PostPosted: Thu Mar 23, 2006 12:32 am    Post subject: Reply with quote

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... :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum