You are not logged in.

#1 2010-11-03 21:31:59

Franek
Member
Registered: 2010-05-16
Posts: 100

"illegal instruction" during install of xapian-ruby-bindings (AUR)

In the installation process of xapian-ruby-bindings from aur the command

/usr/bin/ruby -I.libs -I. ${dir}$tst

is run from within a shell script. On my system, it causes an "illegal instruction" error, thus the installation fails.

I read in another thread* that this is somehow related to programs being compiled "for SSE2 or something similar". I do not know anything about that, anyway below is my /proc/cpuinfo

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 10
model name      : AMD Sempron(tm)   3000+
stepping        : 0
cpu MHz         : 1996.385
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
bogomips        : 3994.13
clflush size    : 32
cache_alignment : 32
address sizes   : 34 bits physical, 32 bits virtual
power management: ts

By the way, I also get an "illegal instrucion" error when calling (not installing) the mu** program (installed from AUR). This may or may not be related.

* https://bbs.archlinux.org/viewtopic.php?id=99321
** http://www.djcbsoftware.nl/code/mu

Offline

#2 2010-11-04 00:18:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: "illegal instruction" during install of xapian-ruby-bindings (AUR)

Posting some actual error output would help...

Offline

#3 2010-11-04 00:35:12

Franek
Member
Registered: 2010-05-16
Posts: 100

Re: "illegal instruction" during install of xapian-ruby-bindings (AUR)

If you think so . . . I did not provide the output deliberately, because it really does not contain anything interesting besides "illegal instruction". Anyway, here are the last lines of the xapian-ruby-bindings build:

[. . .]
make[4]: Entering directory `/tmp/clyde-carlos/xapian-ruby-bindings/xapian-ruby-bindings/src/xapian-bindings-1.2.3/ruby'
Loaded suite ./smoketest
Started
/bin/sh: line 5: 13702 Illegal instruction     /usr/bin/ruby -I.libs -I. ${dir}$tst
FAIL: smoketest.rb
=======================================
1 of 1 test failed
Please report to http://xapian.org/bugs
=======================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/tmp/clyde-carlos/xapian-ruby-bindings/xapian-ruby-bindings/src/xapian-bindings-1.2.3/ruby'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/tmp/clyde-carlos/xapian-ruby-bindings/xapian-ruby-bindings/src/xapian-bindings-1.2.3/ruby'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/tmp/clyde-carlos/xapian-ruby-bindings/xapian-ruby-bindings/src/xapian-bindings-1.2.3/ruby'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/tmp/clyde-carlos/xapian-ruby-bindings/xapian-ruby-bindings/src/xapian-bindings-1.2.3/ruby'
make: *** [check-recursive] Error 1
    Aborting...
error: Build failed

"Ungültiger Maschinenbefehl" is german for "illegal instruction". (This one never gets translated, no matter what I do with LC_ALL etc.. I hope you do not mind the other german words—I can run the build again with english language settings if anything is not self-explanatory.)

mu is shorter:

 $  mu find bla
Ungültiger Maschinenbefehl

EDIT: Replaced german output by its english equivalent, except for mu's error message, which is german regardless of LC_ALL.

Last edited by Franek (2010-11-04 12:14:01)

Offline

Board footer

Powered by FluxBB