Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stage 2 build stopped half-way [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
racitup
n00b
n00b


Joined: 18 Sep 2005
Posts: 3
Location: UK

PostPosted: Sun Sep 18, 2005 7:53 pm    Post subject: Stage 2 build stopped half-way [SOLVED] Reply with quote

Guys,

I'm new to this gentoo lark so I'm hoping you can help! :D
I've tried installing gentoo from another linux distribution as per the documentation on gentoo's site (nice work there!) since none of the boot disks worked for me (couldn't install from my scsi cdrom since my card is unsupported - tmscsim module, and for some reason it didn't detect my external usb cdrom either... :( but that's a whole different story! )
I've been a brave boy and tried with a stage 1! So in short I've created a new partition for gentoo, extracted the x86 stage 1 tarball, modified "make.conf", chrooted, emerged from stage 1 to stage 2 but have run into a problem when I try going from stage 2 to stage 3.
In the documentation I'm at: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6#doc_chap4
The last thing I tried to run was:
emerge --emptytree system
The build stopped with error message:
Code:
>>> emerge (36 of 88) dev-python/python-fchksum-1.7.1 to /
>>> Downloading http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/python-fchksum-1.7.1.tar.gz
--10:56:39--  http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/python-fchksum-1.7.1.tar.gz
           => `/usr/portage/distfiles/python-fchksum-1.7.1.tar.gz'
Resolving www.mirrorservice.org... 212.219.56.131, 212.219.56.146, 212.219.56.152, ...
Connecting to www.mirrorservice.org[212.219.56.131]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26,724 [application/x-gzip]

100%[=====================================>] 26,724         8.91K/s

10:56:43 (8.91 KB/s) - `/usr/portage/distfiles/python-fchksum-1.7.1.tar.gz' saved [26,724/26,724]

>>> md5 files   ;-) python-fchksum-1.7.1.ebuild
>>> md5 files   ;-) python-fchksum-1.6.1-r1.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
>>> 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-i686-2.3
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=athlon-xp -O3 -pipe -fPIC -I/usr/include/python2.3 -c md5.c -o build/temp.linux-i686-2.3/md5.ounable to execute i386-pc-linux-gnu-gcc: No such file or directory
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.


I did a bit of poking around and sure enough there isn't a i386-pc-linux-gnu-gcc in the /usr/bin (though there are some other i386-pc-linux-gnu-* files in there), but there is a i686-pc-linux-gnu-gcc in there and some other gcc* files too.
Is the "emerge 36 of 88" part of the build wrong and should it be using another gcc file?
If so, should I report a bug/how do I fix it?
If not, what am I doing wrong?
I can't see that I'm doing too much wrong since it got to "36 of 88" right? :?

Any help would be much appreciated! :P
Richard
(see below also)

Other background:
make.conf
Code:
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
#CXXFLAGS="-O2 -pipe"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT=120
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.blueyonder.co.uk http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
USE="alsa -oss apm -acpi divx4linux dvd dvb dvdr dvdread ethereal xvid -xmms mplayer xml qt perl png arts esd -gstreamer -xine gnome -kde -gpm gif jpeg kerberos -matrox mpeg mp3 mysql -nas -msn -oscar mmx -oracle pdf opengl nptl -msql -mssql -odbc opengl X -afs -aim -yahoo xv win32codecs v4l usb sse -snmp samba radius python quicktime -pda ogg oggvorbis -motif gtk cdr cdparanoia -scanner userlocales"


hardware
Code:
[root@egg proc]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:0f.0 SCSI storage controller: Advanced Micro Devices [AMD] 53c974 [PCscsi] (rev 10)
00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:11.0 Network controller: Compaq Computer Corporation Netelligent 10/100 TX PCI UTP (rev 10)
00:12.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:12.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:12.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:12.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
00:13.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4200] (rev a2)

[root@egg proc]# cat cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP
stepping        : 1
cpu MHz         : 1495.388


Last edited by racitup on Sun Sep 18, 2005 10:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
vinky
Apprentice
Apprentice


Joined: 24 Feb 2005
Posts: 214
Location: Sweden

PostPosted: Sun Sep 18, 2005 8:29 pm    Post subject: Reply with quote

this is a bug(a knowned one) in portage or something(emerging in wrong order) when changing CHOST
just continue by applying --resume --skipfirst to your command
and then recompile fchksum after it is done
Back to top
View user's profile Send private message
racitup
n00b
n00b


Joined: 18 Sep 2005
Posts: 3
Location: UK

PostPosted: Sun Sep 18, 2005 9:20 pm    Post subject: sounds promising.... Reply with quote

Ahhh... perhaps I should have spent more time searching the bugs :roll:

Cool, I tried:
emerge --resume --skipfirst system
And the build has continued on it's merry way! 8)

Just to clarify though, once it has finished building I should do another:
emerge system
to make sure it has also done fchksum :?:

Thanks vinky!!!
Richard
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Sun Sep 18, 2005 9:22 pm    Post subject: Re: sounds promising.... Reply with quote

racitup wrote:
Just to clarify though, once it has finished building I should do another:
emerge system
to make sure it has also done fchksum :?:

No, emerge fchksum

That is, unless you are bored and feel like watching text scroll by for another hour.
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
racitup
n00b
n00b


Joined: 18 Sep 2005
Posts: 3
Location: UK

PostPosted: Sun Sep 18, 2005 9:32 pm    Post subject: Reply with quote

D'OH :!:

Phew, that was close. Thanks Dlareh! :oops:

(Ahhhh, scrolling text!)


Last edited by racitup on Sun Sep 18, 2005 9:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Sun Sep 18, 2005 9:37 pm    Post subject: Reply with quote

Hmm, actually "emerge system" would be fine too.

I was mistakedly thinking of "emerge -e system", since that is a much more common command ;)
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
Amon_Re
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2005
Posts: 83

PostPosted: Tue Sep 20, 2005 5:07 pm    Post subject: *bump* Reply with quote

Well, i've been struggling with this particular bug aswell, and i issued instead of emerge --emptytree --resume --skip system just "emerge system", should i hit ctrl c or will this also work?

(Yes, it's still compiling :P)
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Tue Sep 20, 2005 5:10 pm    Post subject: Re: *bump* Reply with quote

Amon_Re wrote:
Well, i've been struggling with this particular bug aswell, and i issued instead of emerge --emptytree --resume --skip system just "emerge system"

Huh? It's supposed to be emerge -e system, followed by emerge --resume --skipfirst if the emerge -e system fails.

What you are doing may work, but you should follow it with an emerge -uD system to make sure it also updates things as -e would have done.
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
Amon_Re
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2005
Posts: 83

PostPosted: Tue Sep 20, 2005 5:12 pm    Post subject: Re: *bump* Reply with quote

Dlareh wrote:
Amon_Re wrote:
Well, i've been struggling with this particular bug aswell, and i issued instead of emerge --emptytree --resume --skip system just "emerge system"

Huh? It's supposed to be emerge -e system, followed by emerge --resume --skipfirst if the emerge -e system fails.

What you are doing may work, but you should follow it with an emerge -uD system to make sure it also updates things as -e would have done.


Cool thx, will do, i typed that command in just before i had the luminus idea to search the forum :P
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 20, 2005 11:59 pm    Post subject: Reply with quote

Duplicate of https://forums.gentoo.org/viewtopic-t-348363.html

Please search the forums before making a new topic.
_________________
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
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed Sep 21, 2005 7:18 am    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads, please see this topic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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