Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with debianutils during emerge system.
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
viq
n00b
n00b


Joined: 31 May 2004
Posts: 16

PostPosted: Thu Jun 03, 2004 9:58 am    Post subject: Problems with debianutils during emerge system. Reply with quote

I decided to start a new thread, as this doesn't seem to be a problem with patching files, at least to me. Here is what i get when trying to emerge debianutils, be it by emerge system, or by itself:

Code:
>>> emerge (1 of 1) sys-apps/debianutils-1.16.7-r4 to /
>>> md5 src_uri ;-) debianutils_1.16.7.tar.gz
>>> Unpacking source...
>>> Unpacking debianutils_1.16.7.tar.gz to /var/tmp/portage/debianutils-1.16.7-r4/work
 * Applying debianutils-1.16.7-gentoo.patch...                                                                          [ ok ]
 * Applying debianutils-compress.patch...                                                                               [ ok ]
 * Applying debianutils-1.16.7-gcc33.patch...                                                                           [ ok ]
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 1427:  5670 Illegal instruction     cp "${EBUILD}" "build-info/${PF}.ebuild"
gcc -Os -march=i686 -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387    mktemp.c   -o mktemp
gcc -Os -march=i686 -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387    readlink.c   -o readlink
gcc -Os -march=i686 -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387    run-parts.c   -o run-parts
gcc -Os -march=i686 -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387    tempfile.c   -o tempfile
/var/tmp/portage/debianutils-1.16.7-r4/temp/ccrbbkqt.o(.text+0x1f4): In function `main':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/sbin/ebuild.sh: line 1427:  5696 Illegal instruction     cp "${EBUILD}" "${PF}.ebuild"

>>> Install debianutils-1.16.7-r4 into /var/tmp/portage/debianutils-1.16.7-r4/image/ category sys-apps
/usr/lib/portage/bin/dobin: line 36:  5725 Illegal instruction     install "${x}" "${D}${DESTTREE}/bin"
/usr/lib/portage/bin/dobin: line 36:  5730 Illegal instruction     install "${x}" "${D}${DESTTREE}/bin"

!!! ERROR: sys-apps/debianutils-1.16.7-r4 failed.
!!! Function src_install, Line 49, Exitcode 132
!!! (no error message)


This is Stage1 install, and i finally managed to bootstrap succesfully (a lot of errors before, but not his time). Here's my 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="-Os -march=i686 -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
USE="-gnome -kde aalib apm adns aim audiofile avi berkdb bidi bindist canna cjk crypt cups curl dga directfb divx4linux doc encode esd ethereal fam fbcon fdftk flac flash freewnn ggi gif ginac gphoto2 gpm gtk gtk2 icq imap imagemagick imlib ipv6 jabber jikes java jpeg kerberos ldap lirc mad maildir libmikmod memlimit mmx motif lesstif mozilla mpeg msn mule ncurses netcdf nls offensive oggvorbis opengl oscar oss pcmcia pdflib perl pic pie plotutils png pnp ppds prelude python qt quicktime readline samba sasl scanner sdl slang snmp socks5 speex spell sse ssl svg svga tcltk tcpd tiff truetype trusted uclibc unicode usb vhosts videos wmf wxwindows X Xaw3d xface xosd xml xml2 xv xvid yahoo yaz zlib"


System is IBM ThinkPad 390 laptop, which is 266 MHz Pentium 2 with 192 MB RAM and 10 GB HDD.

Any ideas what is the problem?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Thu Jun 03, 2004 10:14 am    Post subject: Reply with quote

That looks to be an internal portage error... try re-emerging portage and see if you still get it.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
viq
n00b
n00b


Joined: 31 May 2004
Posts: 16

PostPosted: Thu Jun 03, 2004 11:08 am    Post subject: Reply with quote

Code:
emerge -p portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-apps/debianutils-1.16.7-r4
[ebuild   R   ] sys-apps/portage-2.0.50-r7


and emerge -O portage (so it won't try to install debianutils) ends with (cut a few):
Code:
/usr/lib/portage/bin/doexe: line 38:  6196 Illegal instruction     install ${EXEOPTIONS} "${mysrc}" "${D}${EXEDESTTREE}"
/usr/lib/portage/bin/doexe: line 38:  6200 Illegal instruction     install ${EXEOPTIONS} "${mysrc}" "${D}${EXEDESTTREE}"
/usr/lib/portage/bin/doexe: line 38:  6204 Illegal instruction     install ${EXEOPTIONS} "${mysrc}" "${D}${EXEDESTTREE}"
/usr/lib/portage/bin/doexe: line 38:  6209 Illegal instruction     install ${EXEOPTIONS} "${mysrc}" "${D}${EXEDESTTREE}"
/usr/lib/portage/bin/doexe: line 38:  6213 Illegal instruction     install ${EXEOPTIONS} "${mysrc}" "${D}${EXEDESTTREE}"
/usr/lib/portage/bin/doexe: line 38:  6221 Illegal instruction     install ${EXEOPTIONS} "${mysrc}" "${D}${EXEDESTTREE}"
rm -f libsandbox.so sandbox
rm -f *.o *~ core
rm -f localdecls.h
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3

gcc   -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
gcc   -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c sandbox_futils.c -o sandbox_futils.o
gcc libsandbox.o sandbox_futils.o -shared  -fPIC -ldl -lc -nostdlib -lgcc -o libsandbox.so
gcc   -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c sandbox.c -o sandbox.o
gcc   -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox
install -d -m 0755 /var/tmp/portage/portage-2.0.50-r7/image//lib
install -d -m 0755 /var/tmp/portage/portage-2.0.50-r7/image//usr/lib/portage/bin
install -d -m 0755 /var/tmp/portage/portage-2.0.50-r7/image//usr/lib/portage/lib
install -m 0755 libsandbox.so /var/tmp/portage/portage-2.0.50-r7/image//lib
make: *** [install] Illegal instruction

!!! ERROR: sys-apps/portage-2.0.50-r7 failed.
!!! Function src_install, Line 142, Exitcode 2
!!! Failed to compile sandbox


So doesn't seem to work :/
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Thu Jun 03, 2004 11:41 am    Post subject: Reply with quote

Ah, that doesn't help!

Code:
/usr/sbin/ebuild.sh: line 1427:  5670 Illegal instruction     cp "${EBUILD}" "build-info/${PF}.ebuild"

Just noticed this from your first post - which looks mildly worrying! Can you use cp normally?
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
viq
n00b
n00b


Joined: 31 May 2004
Posts: 16

PostPosted: Thu Jun 03, 2004 11:56 am    Post subject: Reply with quote

Just a 'whatever to try it out:
Code:
# cp xfree86-dri-resume-v8.patch ~/
Illegal instruction

so it seems i can't :( So bootstrap again??
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Thu Jun 03, 2004 12:01 pm    Post subject: Reply with quote

Looks that way! I wonder what could have gone wrong to screw up something as basic as cp! :?
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
viq
n00b
n00b


Joined: 31 May 2004
Posts: 16

PostPosted: Thu Jun 03, 2004 12:04 pm    Post subject: Reply with quote

Bootstrapping. I guess I'll see how it goes in a few hours.
Back to top
View user's profile Send private message
pixie
Guru
Guru


Joined: 29 Dec 2002
Posts: 305

PostPosted: Thu Jun 03, 2004 1:31 pm    Post subject: Reply with quote

I believe it is your CFLAGS and USE settings.

Pentium II chips do not have sse. So unset sse as a use flag and change your CFLAGS to something more appropriate like....

CFLAGS="-Os -march=i686 -fomit-frame-pointer -mmmx"
Back to top
View user's profile Send private message
viq
n00b
n00b


Joined: 31 May 2004
Posts: 16

PostPosted: Fri Jun 04, 2004 7:38 am    Post subject: Reply with quote

I guess what could have broken something as basic would be unsuccesfull emerge of binutils. As for CFLAGS it's installing right now with a more conservative set of "-Os -march=i686 -fomit-frame-pointer", we shall see how it goes. Thanks for the info :)
Back to top
View user's profile Send private message
pixie
Guru
Guru


Joined: 29 Dec 2002
Posts: 305

PostPosted: Fri Jun 04, 2004 7:44 am    Post subject: Reply with quote

Just as long as you keep the 'sse' stuff out you should be fine. The -mmmx would have been fine as that is an instuction set actually IN your processor.
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