Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14384 - Sawfish will not compile
Summary: Sawfish will not compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-22 12:25 UTC by Ben Ricker
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Ricker 2003-01-22 12:25:20 UTC
I am compiling x11-wm/sawfish and I get the following backtrace:

make[1]: Entering directory
`/var/tmp/portage/sawfish-1.2/work/sawfish-1.2-gtk2/lisp'
SAWFISHLISPDIR=. SAWFISHEXECDIR=../src/.libexec SAWFISHDOCFILE=../DOC
../src/sawfish --batch --no-rc compiler -f compile-batch sawfish/wm.jl
rep: received fatal signal: Illegal instruction

struct debug_buf common:

Backtrace in `fatal_signal_handler':
	<(null)+1077455880>
	<__gmpz_init_set_str+79>
	<rep_parse_number+395>
	<(null)+1073988883>
	<(null)+1073973989>
	<(null)+1073987657>
	<(null)+1073974772>
	<(null)+1073987657>

Lisp backtrace:
#7   intern-structure (sawfish.wm.state.wm-spec)
#6   load-module (sawfish.wm.state.wm-spec)
#4   make-structure (() #<closure 80c1610> #<closure 80c15d4> user)
#2   load ("sawfish/wm/user")
#1   (lambda (session-id session-prefix) ...) (() ())

make[1]: *** [sawfish/wm.jlc] Illegal instruction
make[1]: Leaving directory `/var/tmp/portage/sawfish-1.2/work/sawfish-1.2-gtk2/lisp'
make: *** [all] Error 1

!!! ERROR: x11-wm/sawfish-1.2 failed.
!!! Function src_compile, Line 69, Exitcode 2
!!! (no error message)
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-01-22 12:27:57 UTC
please paste
#emerge info
Comment 2 Ben Ricker 2003-01-22 12:35:34 UTC
[bricker@localhost x11-wm]$ sudo emerge info
Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.18-redhat-4custom i686 Pentium III (Coppermine)
USE="x86 oss 3dnow apm arts avi crypt cups encode gif gpm jpeg kde libg++ libwww
mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xv
zlib gtkhtml gdbm berkdb slang readline bonobo svga java guile sdl tcpd pam ssl
perl python esd imlib oggvorbis qt motif opengl mozilla X gtk gnome -alsa xmms
evolution"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CXXFLAGS="-march=pentium4 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME=""
JAVA_HOME="/opt/blackdown-jre-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-01-22 12:52:14 UTC
please update portage

emerge sync

emerge -u portage

emerge -pu world --deep (watch out for updates and keep it up2date)

then try again
Comment 4 Ben Ricker 2003-01-24 09:03:07 UTC
I tried to emerge -u --deep world but it fails on the first package, perl. Here
is the backtrace:

make[2]: Entering directory `/var/tmp/portage/perl-5.8.0-r9/work/perl-5.8.0'
./miniperl -Ilib configpm configpm.tmp
make[2]: *** [lib/Config.pm] Illegal instruction
make[2]: Leaving directory `/var/tmp/portage/perl-5.8.0-r9/work/perl-5.8.0'
make[1]: [minitest] Error 2 (ignored)
 
You may see some irrelevant test failures if you have been unable
to build lib/Config.pm or lib/lib.pm.
 
cd t && (rm -f perl; /bin/ln -s ../miniperl perl) \
	&&  ./perl TEST base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
make[1]: [minitest] Error 132 (ignored)
make[1]: Leaving directory `/var/tmp/portage/perl-5.8.0-r9/work/perl-5.8.0'
make: [extra.pods] Error 1 (ignored)
./miniperl -Ilib configpm configpm.tmp
make: *** [lib/Config.pm] Illegal instruction

!!! ERROR: sys-devel/perl-5.8.0-r9 failed.
!!! Function src_compile, Line 263, Exitcode 2
!!! Unable to make

Additionally, i cannot emerge Evolution 1.2.1. before I updated Portage, I was
able to get through the entire compile with no error. However, when I try to run
the binary, all I get is 'Illegal Instruction' and it exits. After I upgraded
portage, I get the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I .. -I ../camel -I ../e-util -I ../shell -I
../camel/providers/mbox -I ../shell -I -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
-I/usr/X11R6/include -DFILTER_GLADEDIR=\"/usr/share/evolution/glade\"
-DG_LOG_DOMAIN=\"filter\" -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/freetype2 -I/usr/include/gnome-xml -I/usr/include
-I/usr/include/orbit-1.0 -I/usr/include/libglade-1.0 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-march=pentium4 -O3 -pipe -I/usr/include/libpisock -Wall -Wunused
-Wp,-MD,.deps/vfolder-editor.pp -c vfolder-editor.c  -fPIC -DPIC -o
.libs/vfolder-editor.lo
ACCESS DENIED  unlink:    /vfolder-rule.o
rm: cannot remove `vfolder-rule.o': Permission denied
ACCESS DENIED  unlink:    /vfolder-rule.lo
rm: cannot remove `vfolder-rule.lo': Permission denied
mkdir .libs
ACCESS DENIED  mkdir:     /.libs
mkdir: cannot create directory `.libs': Permission denied
make[2]: *** [vfolder-rule.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
vfolder-editor.c:31:28: vfolder-editor.h: No such file or directory
vfolder-editor.c:32:29: vfolder-context.h: No such file or directory
vfolder-editor.c:33:26: vfolder-rule.h: No such file or directory
vfolder-editor.c:37: parse error before '*' token
vfolder-editor.c:37: parse error before '*' token
vfolder-editor.c:37: warning: type defaults to `int' in declaration of `create_rule'
vfolder-editor.c:37: warning: data definition has no type or storage class
vfolder-editor.c:39: parse error before '*' token
vfolder-editor.c:40: parse error before '*' token
vfolder-editor.c:48: parse error before '*' token
vfolder-editor.c:48: warning: type defaults to `int' in declaration of
`parent_class'
vfolder-editor.c:48: warning: data definition has no type or storage class
vfolder-editor.c:54: warning: excess elements in array initializer
vfolder-editor.c:54: warning: (near initialization for `signals')
vfolder-editor.c: In function `vfolder_editor_get_type':
vfolder-editor.c:64: `VfolderEditor' undeclared (first use in this function)
vfolder-editor.c:64: (Each undeclared identifier is reported only once
vfolder-editor.c:64: for each function it appears in.)
vfolder-editor.c:65: `VfolderEditorClass' undeclared (first use in this function)
vfolder-editor.c:72: warning: implicit declaration of function
`rule_editor_get_type'
vfolder-editor.c: At top level:
vfolder-editor.c:79: parse error before '*' token
vfolder-editor.c: In function `vfolder_editor_class_init':
vfolder-editor.c:81: `class' undeclared (first use in this function)
vfolder-editor.c:82: `RuleEditorClass' undeclared (first use in this function)
vfolder-editor.c:82: `re_class' undeclared (first use in this function)
vfolder-editor.c:82: parse error before ')' token
vfolder-editor.c: At top level:
vfolder-editor.c:97: parse error before '*' token
vfolder-editor.c: In function `vfolder_editor_init':
vfolder-editor.c:99: `o' undeclared (first use in this function)
vfolder-editor.c: In function `vfolder_editor_finalise':
vfolder-editor.c:105: `VfolderEditor' undeclared (first use in this function)
vfolder-editor.c:105: `o' undeclared (first use in this function)
vfolder-editor.c:105: parse error before ')' token
vfolder-editor.c: At top level:
vfolder-editor.c:119: parse error before '*' token
vfolder-editor.c:120: parse error before '*' token
vfolder-editor.c:121: warning: return type defaults to `int'
vfolder-editor.c: In function `vfolder_editor_new':
vfolder-editor.c:123: `VfolderEditor' undeclared (first use in this function)
vfolder-editor.c:123: `o' undeclared (first use in this function)
vfolder-editor.c:123: parse error before ')' token
vfolder-editor.c:127: warning: implicit declaration of function
`rule_editor_construct'
vfolder-editor.c:127: `RuleEditor' undeclared (first use in this function)
vfolder-editor.c:127: parse error before ')' token
vfolder-editor.c: At top level:
vfolder-editor.c:137: parse error before '*' token
vfolder-editor.c:138: parse error before '*' token
vfolder-editor.c:139: warning: return type defaults to `int'
vfolder-editor.c: In function `create_rule':
vfolder-editor.c:140: `FilterRule' undeclared (first use in this function)
vfolder-editor.c:140: `rule' undeclared (first use in this function)
vfolder-editor.c:140: warning: implicit declaration of function `filter_rule_new'
vfolder-editor.c:141: `FilterPart' undeclared (first use in this function)
vfolder-editor.c:141: `part' undeclared (first use in this function)
vfolder-editor.c:144: parse error before ')' token
vfolder-editor.c:145: warning: implicit declaration of function
`rule_context_next_part'
vfolder-editor.c:145: `re' undeclared (first use in this function)
vfolder-editor.c:146: warning: implicit declaration of function
`filter_rule_add_part'
vfolder-editor.c:146: warning: implicit declaration of function `filter_part_clone'
ACCESS DENIED  unlink:    /vfolder-editor.o
rm: cannot remove `vfolder-editor.o': Permission denied
ACCESS DENIED  unlink:    /vfolder-editor.lo
rm: cannot remove `vfolder-editor.lo': Permission denied
make[2]: *** [vfolder-editor.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/evolution-1.2.1/work/evolution-1.2.1/filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-1.2.1/work/evolution-1.2.1'
make: *** [all-recursive-am] Error 2
cd . && automake --gnu Makefile
make: *** [Makefile.in] Error 139

!!! ERROR: net-mail/evolution-1.2.1 failed.
!!! Function src_compile, Line 185, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-evolution-1.2.1-22052.log"

unlink:    /vfolder-rule.o
unlink:    /vfolder-rule.lo
mkdir:     /.libs
unlink:    /vfolder-editor.o
unlink:    /vfolder-editor.lo
--------------------------------------------------------------------------------


Comment 5 Brad Cowan (RETIRED) gentoo-dev 2003-01-25 18:55:55 UTC
seems u have something else on your system thats broken...marking works for me 
Comment 6 Ben Ricker 2003-01-27 16:21:58 UTC
Sorry for the delay.....found the problem. I foobared one of my USE flags which
was compiling for a pentium4 when I had a pentium3. It is compiling as I type,
and it has gotten way beyond the point where it was failing before.

Thank you for your time and sorry is I wasted it.