ghollisjr / cl-ana

Free (GPL) Common Lisp data analysis library with emphasis on modularity and conceptual clarity.
GNU General Public License v3.0
197 stars 18 forks source link

Cannot load #17

Closed anquegi closed 8 years ago

anquegi commented 8 years ago

Hi when I tried to load cl-ana on arch linux, using sbcl 1.3.1 and slime I get this error:

on the REPL

(ql:quickload 'cl-ana)
To load "cl-ana":
  Load 6 ASDF systems:
    alexandria antik cffi gsll iterate split-sequence
  Install 8 Quicklisp releases:
    bordeaux-threads cl-ana cl-csv cl-fad cl-interpol
    cl-unicode closer-mop external-program
; Fetching #<URL "http://beta.quicklisp.org/archive/bordeaux-threads/2016-03-18/bordeaux-threads-v0.8.5.tgz">
; 19.63KB
==================================================
20,105 bytes in 0.05 seconds (417.74KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-fad/2014-12-17/cl-fad-0.7.3.tgz">
; 24.08KB
==================================================
24,658 bytes in 0.04 seconds (573.34KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/external-program/2016-03-18/external-program-20160318-git.tgz">
; 10.02KB
==================================================
10,260 bytes in 0.00 seconds (10019.53KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-unicode/2014-12-17/cl-unicode-0.1.5.tgz">
; 474.62KB
==================================================
486,011 bytes in 0.94 seconds (506.53KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-interpol/2015-12-18/cl-interpol-0.2.5.tgz">
; 44.28KB
==================================================
45,343 bytes in 0.19 seconds (233.05KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-csv/2015-06-08/cl-csv-20150608-git.tgz">
; 19.80KB
==================================================
20,271 bytes in 0.10 seconds (190.35KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/closer-mop/2016-03-18/closer-mop-20160318-git.tgz">
; 21.90KB
==================================================
22,427 bytes in 0.05 seconds (486.70KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-ana/2016-03-18/cl-ana-20160318-git.tgz">
; 479.79KB
==================================================
491,305 bytes in 3.55 seconds (135.04KB/sec)
; Loading "cl-ana"
To load "fare-utils":
  Load 1 ASDF system:
    asdf
  Install 1 Quicklisp release:
    fare-utils
; Fetching #<URL "http://beta.quicklisp.org/archive/fare-utils/2015-12-18/fare-utils-20151218-git.tgz">
; 31.51KB
==================================================
32,270 bytes in 0.05 seconds (685.08KB/sec)
; Loading "fare-utils"
..................................................
[package fare-stateful].....
; Loading "cl-ana"
To load "trivial-utf-8":
  Install 1 Quicklisp release:
    trivial-utf-8
; Fetching #<URL "http://beta.quicklisp.org/archive/trivial-utf-8/2011-10-01/trivial-utf-8-20111001-darcs.tgz">
; 5.91KB
==================================================
6,055 bytes in 0.00 seconds (0.00KB/sec)
; Loading "trivial-utf-8"
[package trivial-utf-8].
; Loading "cl-ana"
[package cl-ana.pathname-utils]...................
[package cl-ana.package-utils]....................
[package cl-ana.functional-utils].................
[package cl-ana.string-utils].....................
[package cl-ana.list-utils].......................
[package cl-ana.generic-math]...; cc -m64 -I/usr/lib/libffi-3.2.1/include -o /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmp2OWI3Q7U -I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/ /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c

on the debugger:

Subprocess (:PROCESS #<SB-IMPL::PROCESS :EXITED 1>)
 with command ("cc" "-m64" "-I/usr/lib/libffi-3.2.1/include"
               "-o"
               "/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmp2OWI3Q7U"
               "-I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/"
               "/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c")
 exited with error code 1
   [Condition of type CFFI-GROVEL:GROVEL-ERROR]

Restarts:
 0: [RETRY] Retry PROCESS-OP on #<GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">.
 1: [ACCEPT] Continue, treating PROCESS-OP on #<GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct"> as having been successful.
 2: [RETRY] Retry ASDF operation.
 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
 4: [ABORT] Give up on "cl-ana"
 5: [*ABORT] Return to SLIME's top level.
 6: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {1005168033}>)

Backtrace:
  0: (CFFI-GROVEL:GROVEL-ERROR "~a" #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {1008CC3B93}>)
  1: ((LAMBDA NIL :IN CFFI-GROVEL:PROCESS-GROVEL-FILE))
  2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN CFFI-GROVEL:PROCESS-GROVEL-FILE) {1008C9896B}>)
  3: ((:METHOD ASDF/ACTION:PERFORM (CFFI-GROVEL::PROCESS-OP CFFI-GROVEL:GROVEL-FILE)) #<CFFI-GROVEL::PROCESS-OP > #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">) [fast-method]
  4: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unavailable argument> #<unavailable argument> #<CFFI-GROVEL::PROCESS-OP > #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">)
  5: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<CFFI-GROVEL::PROCESS-OP > #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">) [fast-method]
  6: ((:METHOD ASDF/PLAN:PERFORM-PLAN (LIST)) ((#1=#<ASDF/LISP-ACTION:PREPARE-OP > . #<ASDF/SYSTEM:SYSTEM #2="cl-ana.pathname-utils">) (#1# . #3=#<ASDF/LISP-ACTION:CL-SOURCE-FILE #2# "package">) (#4=#<ASDF..
  7: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
  8: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) ((#1=#<ASDF/LISP-ACTION:PREPARE-OP > . #<ASDF/SYSTEM:SYSTEM #2="cl-ana.pathname-utils">) (#1# . #3=#<ASDF/LISP-ACTION:CL-SOURCE-FILE #2# "package">) (#4=#..
  9: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
 10: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {100899E013}> :VERBOSE NIL) [fast-method]
 11: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "cl-ana"> :VERBOSE NIL) [fast-method]
 12: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "cl-ana"> :VERBOSE NIL)
 13: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
 14: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "cl-ana"> :VERBOSE NIL) [fast-method]
 15: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP "cl-ana" :VERBOSE NIL)
 16: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
 17: (ASDF/CACHE:CALL-WITH-ASDF-CACHE #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {100898D65B}> :OVERRIDE NIL :KEY NIL)
 18: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "cl-ana" :VERBOSE NIL) [fast-method]
 19: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "cl-ana" :VERBOSE NIL) [fast-method]
 20: (ASDF/OPERATE:LOAD-SYSTEM "cl-ana" :VERBOSE NIL)
 21: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #<CLOSURE (LAMBDA NIL :IN QUICKLISP-CLIENT::APPLY-LOAD-STRATEGY) {100897D58B}>)
 22: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "cl-ana" :PROMPT NIL)
 23: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unavailable argument> #<CLOSURE (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {10090A0B5B}>) [fast-method]
 24: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {100676FED3}> #<CLOSURE (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {10090A0B5B}>) [fast-me..
 25: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) #<unavailable argument> :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method]
 26: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<CLOSURE (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {1009075B2B}>)
 27: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD (QUOTE CL-ANA)) #<NULL-LEXENV>)
 28: (EVAL (QUICKLISP-CLIENT:QUICKLOAD (QUOTE CL-ANA)))
 29: (SWANK::%EVAL-REGION "(ql:quickload 'cl-ana) ..)
 30: ((LAMBDA NIL :IN SWANK::%LISTENER-EVAL))
 31: (SWANK-REPL::TRACK-PACKAGE #<CLOSURE (LAMBDA NIL :IN SWANK::%LISTENER-EVAL) {100907595B}>)
 32: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA NIL :IN SWANK::%LISTENER-EVAL) {100907593B}>)
 33: (SWANK::%LISTENER-EVAL "(ql:quickload 'cl-ana) ..)
 34: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK-REPL:LISTENER-EVAL "(ql:quickload 'cl-ana) ..)
 35: (EVAL (SWANK-REPL:LISTENER-EVAL "(ql:quickload 'cl-ana) ..)
 36: (SWANK:EVAL-FOR-EMACS (SWANK-REPL:LISTENER-EVAL "(ql:quickload 'cl-ana) ..)
 37: (SWANK::PROCESS-REQUESTS NIL)
 38: ((LAMBDA NIL :IN SWANK::HANDLE-REQUESTS))
 39: ((LAMBDA NIL :IN SWANK::HANDLE-REQUESTS))
 40: (SWANK/SBCL::CALL-WITH-BREAK-HOOK #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL :IN SWANK::HANDLE-REQUESTS) {100517000B}>)
 41: ((FLET SWANK/BACKEND:CALL-WITH-DEBUGGER-HOOK :IN "/home/anquegi/.roswell/impls/ALL/ALL/quicklisp/dists/quicklisp/software/slime-v2.17/swank/sbcl.lisp") #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE ..
 42: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-INPUT* . #1=#<SWANK/GRAY::SLIME-INPUT-STREAM {100507E493}>) (*STANDARD-OUTPUT* . #2=#<SWANK/GRAY::SLIME-OUTPUT-STREAM {100514E423}>) (*TRACE-OUTPUT* . #2#) (*ERR..
 43: (SWANK::HANDLE-REQUESTS #<SWANK::MULTITHREADED-CONNECTION {1004148F83}> NIL)
 44: ((FLET #:WITHOUT-INTERRUPTS-BODY-1156 :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE))
 45: ((FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE))
 46: ((FLET #:WITHOUT-INTERRUPTS-BODY-359 :IN SB-THREAD::CALL-WITH-MUTEX))
 47: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE) {7FFFF0A8ED5B}> #<SB-THREAD:MUTEX "thread result lock" owner: #<SB-THREAD:THR..
 48: (SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE #<SB-THREAD:THREAD "repl-thread" RUNNING {1005168033}> NIL #<CLOSURE (LAMBDA NIL :IN SWANK-REPL::SPAWN-REPL-THREAD) {1005167F9B}> (#<SB-THREAD:THREAD "re..
 49: ("foreign function: call_into_lisp")
 50: ("foreign function: new_thread_trampoline")

I also get this condition with gsll [Condition of type CFFI-GROVEL:GROVEL-ERROR]

and when I try to execute the c compiler on

 2016-03-25 13:52:53 ☆  manjaro-pc in ~
○ → cc -m64 -I/usr/lib/libffi-3.2.1/include -o /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmp2OWI3Q7U -I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/ /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c

In file included from /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c:10:0:
/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c: In function ‘main’:
/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/grovel/common.h:8:62: error: ‘gsl_multifit_fdfsolver {aka struct <anonymous>}’ has no member named ‘J’
 #define offsetof(type, slot) ((long) ((char *) &(((type *) 0)->slot)))
                                                              ^
/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c:32:56: note: in expansion of macro ‘offsetof’
   fprintf(output, " :offset %lli)", (long long signed) offsetof(gsl_multifit_fdfsolver, J));

I have no idea of what happens ^

ghollisjr commented 8 years ago

I actually also use Arch Linux, and it looks like you need libffi-compat since it fails at the step which needs libffi. Download libffi-compat and run the script as root and it should work.

ghollisjr commented 8 years ago

After reading through your errors in detail, I'm actually not sure what's happening. Can you confirm that you

  1. Have GSL installed
  2. Have libffi-compat installed
  3. Have run update-libffi-compat as ROOT?

I'm also using sbcl 1.3.1 on Arch Linux and can load cl-ana using quicklisp, so it looks like a system configuration issue unless there is a problem with newer compilers. I'll test after a system update and update here.

anquegi commented 8 years ago

Hi I tried what you say, sorry the shell is in catalan, but it shows that it is installed only an actualization

 2016-03-25 18:35:29 ☆  manjaro-pc in ~/bin/libffi-compat
± |master ✓| → sudo pacman -S libffi
[sudo] password for anquegi: 
avís: libffi-3.2.1-1 està al dia -- es reinstal·larà
s'estan resolent les dependències...
s'estan cercant parquets conflictius...

Paquets (1) libffi-3.2.1-1

Mida total un cop feta la instal·lació:  0,06 MiB
Mida neta de l'actualització:           0,00 MiB

:: Inicio la instal·lació? [S/n] 
(1/1) s'estan comprovant les claus del clauer                                   [##############################################] 100%
(1/1) s'està comprovant la integritat dels paquets                              [##############################################] 100%
(1/1) s'estan carregant els fitxers dels paquets                                [##############################################] 100%
(1/1) s'estan comprovant els conflictes entre els fitxers                       [##############################################] 100%
:: S'estan processant els canvis dels paquets...
(1/1) s'està reinstal·lant libffi                                               [##############################################] 100%

 2016-03-25 18:40:43 ☆  manjaro-pc in ~/bin/libffi-compat
± |master ✓| → sudo update-libffi-compat 
sudo: update-libffi-compat: no s'ha trobar l'ordre

 2016-03-25 18:40:51 ☆  manjaro-pc in ~/bin/libffi-compat
± |master ✓| → sudo ./update-libffi-compat 

 2016-03-25 18:41:04 ☆  manjaro-pc in ~/bin/libffi-compat
± |master ✓| → sudo pacman -S gsl
avís: gsl-2.1-1 està al dia -- es reinstal·larà
s'estan resolent les dependències...
s'estan cercant parquets conflictius...

Paquets (1) gsl-2.1-1

Mida total un cop feta la instal·lació:  3,85 MiB
Mida neta de l'actualització:           0,00 MiB

:: Inicio la instal·lació? [S/n] 
(1/1) s'estan comprovant les claus del clauer                                   [##############################################] 100%
(1/1) s'està comprovant la integritat dels paquets                              [##############################################] 100%
(1/1) s'estan carregant els fitxers dels paquets                                [##############################################] 100%
(1/1) s'estan comprovant els conflictes entre els fitxers                       [##############################################] 100%
:: S'estan processant els canvis dels paquets...
(1/1) s'està reinstal·lant gsl                                                  [##############################################] 100%

 2016-03-25 18:43:21 ☆  manjaro-pc in ~/bin/libffi-compat
± |master ✓| → sudo ./update-libffi-compat 
ghollisjr commented 8 years ago

OK in that case, are you able to load GSLL without errors:

(ql:quickload "gsll")

If this doesn't cause errors then I'm really not sure what's causing the problem.

anquegi commented 8 years ago

It doesn't work, I get the same error:

on the REPL:

; SLIME 2016-02-10
CL-USER> (ql:quickload "gsll")
To load "gsll":
  Load 1 ASDF system:
    gsll
; Loading "gsll"
.........; cc -m64 -o /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmpGHU3ALSV -I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/ /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c

on the debugger:

Subprocess (:PROCESS #<SB-IMPL::PROCESS :EXITED 1>)
 with command ("cc" "-m64" "-o"
               "/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmpGHU3ALSV"
               "-I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/"
               "/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c")
 exited with error code 1
   [Condition of type CFFI-GROVEL:GROVEL-ERROR]

Restarts:
 0: [RETRY] Retry PROCESS-OP on #<GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">.
 1: [ACCEPT] Continue, treating PROCESS-OP on #<GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct"> as having been successful.
 2: [RETRY] Retry ASDF operation.
 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
 4: [ABORT] Give up on "gsll"
 5: [*ABORT] Return to SLIME's top level.
 6: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {1003DA0033}>)

Backtrace:
  0: (CFFI-GROVEL:GROVEL-ERROR "~a" #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {1007243873}>)
  1: ((LAMBDA NIL :IN CFFI-GROVEL:PROCESS-GROVEL-FILE))
  2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN CFFI-GROVEL:PROCESS-GROVEL-FILE) {1006FDF63B}>)
  3: ((:METHOD ASDF/ACTION:PERFORM (CFFI-GROVEL::PROCESS-OP CFFI-GROVEL:GROVEL-FILE)) #<CFFI-GROVEL::PROCESS-OP > #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">) [fast-method]
  4: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unavailable argument> #<unavailable argument> #<CFFI-GROVEL::PROCESS-OP > #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">)
  5: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<CFFI-GROVEL::PROCESS-OP > #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">) [fast-method]
  6: ((:METHOD ASDF/PLAN:PERFORM-PLAN (LIST)) ((#1=#<ASDF/LISP-ACTION:PREPARE-OP > . #2=#<ASDF/SYSTEM:SYSTEM #3="iterate">) (#1# . #4=#<ASDF/LISP-ACTION:CL-SOURCE-FILE #3# "package">) (#5=#<ASDF/LISP-ACTIO..
  7: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
  8: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) ((#1=#<ASDF/LISP-ACTION:PREPARE-OP > . #2=#<ASDF/SYSTEM:SYSTEM #3="iterate">) (#1# . #4=#<ASDF/LISP-ACTION:CL-SOURCE-FILE #3# "package">) (#5=#<ASDF/LISP-..
  9: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
 10: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {1004A5F063}> :VERBOSE NIL) [fast-method]
 11: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "gsll"> :VERBOSE NIL) [fast-method]
 12: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "gsll"> :VERBOSE NIL)
 13: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
 14: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "gsll"> :VERBOSE NIL) [fast-method]
 15: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP "gsll" :VERBOSE NIL)
 16: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
 17: (ASDF/CACHE:CALL-WITH-ASDF-CACHE #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {1004A40F1B}> :OVERRIDE NIL :KEY NIL)
 18: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "gsll" :VERBOSE NIL) [fast-method]
 19: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "gsll" :VERBOSE NIL) [fast-method]
 20: (ASDF/OPERATE:LOAD-SYSTEM "gsll" :VERBOSE NIL)
 21: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #<CLOSURE (LAMBDA NIL :IN QUICKLISP-CLIENT::APPLY-LOAD-STRATEGY) {10049F528B}>)
 22: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "gsll" :PROMPT NIL)
 23: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unavailable argument> #<CLOSURE (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003EE42BB}>) [fast-method]
 24: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {10067C5CE3}> #<CLOSURE (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003EE42BB}>) [fast-me..
 25: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) #<unavailable argument> :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method]
 26: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<CLOSURE (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003ED864B}>)
 27: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD "gsll") #<NULL-LEXENV>)
 28: (EVAL (QUICKLISP-CLIENT:QUICKLOAD "gsll"))
 29: (SWANK::%EVAL-REGION "(ql:quickload \"gsll\") ..)
 30: ((LAMBDA NIL :IN SWANK::%LISTENER-EVAL))
 31: (SWANK-REPL::TRACK-PACKAGE #<CLOSURE (LAMBDA NIL :IN SWANK::%LISTENER-EVAL) {1003DC8EAB}>)
 32: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA NIL :IN SWANK::%LISTENER-EVAL) {1003DC8E8B}>)
 33: (SWANK::%LISTENER-EVAL "(ql:quickload \"gsll\") ..)
 34: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK-REPL:LISTENER-EVAL "(ql:quickload \"gsll\") ..)
 35: (EVAL (SWANK-REPL:LISTENER-EVAL "(ql:quickload \"gsll\") ..)
 36: (SWANK:EVAL-FOR-EMACS (SWANK-REPL:LISTENER-EVAL "(ql:quickload \"gsll\") ..)
 37: (SWANK::PROCESS-REQUESTS NIL)
 38: ((LAMBDA NIL :IN SWANK::HANDLE-REQUESTS))
 39: ((LAMBDA NIL :IN SWANK::HANDLE-REQUESTS))
 40: (SWANK/SBCL::CALL-WITH-BREAK-HOOK #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL :IN SWANK::HANDLE-REQUESTS) {1003DA800B}>)
 41: ((FLET SWANK/BACKEND:CALL-WITH-DEBUGGER-HOOK :IN "/home/anquegi/.roswell/impls/ALL/ALL/quicklisp/dists/quicklisp/software/slime-v2.17/swank/sbcl.lisp") #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE ..
 42: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-INPUT* . #1=#<SWANK/GRAY::SLIME-INPUT-STREAM {1003CB2443}>) (*STANDARD-OUTPUT* . #2=#<SWANK/GRAY::SLIME-OUTPUT-STREAM {1003D86433}>) (*TRACE-OUTPUT* . #2#) (*ERR..
 43: (SWANK::HANDLE-REQUESTS #<SWANK::MULTITHREADED-CONNECTION {1002F8ADC3}> NIL)
 44: ((FLET #:WITHOUT-INTERRUPTS-BODY-1156 :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE))
 45: ((FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE))
 46: ((FLET #:WITHOUT-INTERRUPTS-BODY-359 :IN SB-THREAD::CALL-WITH-MUTEX))
 47: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE) {7FFFF0A8ED5B}> #<SB-THREAD:MUTEX "thread result lock" owner: #<SB-THREAD:THR..
 48: (SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE #<SB-THREAD:THREAD "repl-thread" RUNNING {1003DA0033}> NIL #<CLOSURE (LAMBDA NIL :IN SWANK-REPL::SPAWN-REPL-THREAD) {1003D9FF9B}> (#<SB-THREAD:THREAD "re..
 49: ("foreign function: call_into_lisp")
 50: ("foreign function: new_thread_trampoline")

I test wiht the options Qi


 2016-03-26 16:33:46 ☆  manjaro-pc in ~
○ → pacman -Qi gsl      
Nom                    : gsl
Versió                 : 2.1-1
Descripció             : The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers
Arquitectura           : x86_64
URL                    : http://www.gnu.org/software/gsl/gsl.html
Llicències             : GPL
Grups                  : Cap
Proporciona            : Cap
Depèn de               : glibc  bash
Dependències opcionals : Cap
Requerit per           : calligra-krita
Opcional per a         : Cap
Té conflicte amb       : Cap
Reemplaça              : Cap
Mida instal·lada       : 3,85 MiB
Empaquetador           : Antonio Rojas <arojas@archlinux.org>
Data de construcció    : ds 20 feb 2016 11:31:50 CET
Data d'instal·lació    : dv 25 mar 2016 18:43:21 CET
Raó d'instal·lació     : S'ha Instal·lat com a dependència d'un altre paquet
Script d'instal·lació  : Sí
Validat per            : Signatura

 2016-03-26 16:50:26 ☆  manjaro-pc in ~
○ → pacman -Qi libffi
Nom                    : libffi
Versió                 : 3.2.1-1
Descripció             : Portable foreign function interface library
Arquitectura           : x86_64
URL                    : http://sourceware.org/libffi/
Llicències             : MIT
Grups                  : Cap
Proporciona            : Cap
Depèn de               : glibc
Dependències opcionals : Cap
Requerit per           : glib2  guile  llvm-libs  p11-kit  python  python2  ruby  ruby2.2  wayland
Opcional per a         : Cap
Té conflicte amb       : Cap
Reemplaça              : Cap
Mida instal·lada       : 64,00 KiB
Empaquetador           : Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
Data de construcció    : dj 04 des 2014 20:11:24 CET
Data d'instal·lació    : dv 25 mar 2016 18:40:43 CET
Raó d'instal·lació     : S'ha Instal·lat com a dependència d'un altre paquet
Script d'instal·lació  : Sí
Validat per            : Signatura

 2016-03-26 16:51:11 ☆  manjaro-pc in ~
○ → cd bin/
libffi-compat/  quicklisp.lisp  

 2016-03-26 16:51:11 ☆  manjaro-pc in ~
○ → cd bin/libffi-compat/

 2016-03-26 16:51:21 ☆  manjaro-pc in ~/bin/libffi-compat
± |master ✓| → sudo ./
.git/                 .gitignore            README.txt            update-libffi-compat  

 2016-03-26 16:51:21 ☆  manjaro-pc in ~/bin/libffi-compat
± |master ✓| → sudo ./update-libffi-compat 
[sudo] password for anquegi: 
Davidbhodge commented 8 years ago

Hi there,

Check that your c compiler is properly installed.

Cut and paste the cc command and see what the error is.

Cheers

Sent from my iPad

On 27 Mar 2016, at 04:55, Antonio Juan notifications@github.com wrote:

It doesn't work, I get the same error:

on the REPL:

; SLIME 2016-02-10 CL-USER> (ql:quickload "gsll") To load "gsll": Load 1 ASDF system: gsll ; Loading "gsll" .........; cc -m64 -o /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmpGHU3ALSV -I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/ /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c on the debugger:

Subprocess (:PROCESS #<SB-IMPL::PROCESS :EXITED 1>) with command ("cc" "-m64" "-o" "/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmpGHU3ALSV" "-I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/" "/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c") exited with error code 1 [Condition of type CFFI-GROVEL:GROVEL-ERROR]

Restarts: 0: [RETRY] Retry PROCESS-OP on #<GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">. 1: [ACCEPT] Continue, treating PROCESS-OP on #<GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct"> as having been successful. 2: [RETRY] Retry ASDF operation. 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration. 4: [ABORT] Give up on "gsll" 5: [*ABORT] Return to SLIME's top level. 6: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {1003DA0033}>)

Backtrace: 0: (CFFI-GROVEL:GROVEL-ERROR "~a" #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {1007243873}>) 1: ((LAMBDA NIL :IN CFFI-GROVEL:PROCESS-GROVEL-FILE)) 2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL :IN CFFI-GROVEL:PROCESS-GROVEL-FILE) {1006FDF63B}>) 3: ((:METHOD ASDF/ACTION:PERFORM (CFFI-GROVEL::PROCESS-OP CFFI-GROVEL:GROVEL-FILE)) # #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">) [fast-method] 4: ((SB-PCL::EMF ASDF/ACTION:PERFORM) # # # #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">) 5: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) # #<CFFI-GROVEL:GROVEL-FILE "gsll" "solve-minimize-fit" "solver-struct">) [fast-method] 6: ((:METHOD ASDF/PLAN:PERFORM-PLAN (LIST)) ((#1=#<ASDF/LISP-ACTION:PREPARE-OP > . #2=#<ASDF/SYSTEM:SYSTEM #3="iterate">) (#1# . #4=#<ASDF/LISP-ACTION:CL-SOURCE-FILE #3# "package">) (#5=#<ASDF/LISP-ACTIO.. 7: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)) 8: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) ((#1=#<ASDF/LISP-ACTION:PREPARE-OP > . #2=#<ASDF/SYSTEM:SYSTEM #3="iterate">) (#1# . #4=#<ASDF/LISP-ACTION:CL-SOURCE-FILE #3# "package">) (#5=#<ASDF/LISP-.. 9: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)) 10: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {1004A5F063}> :VERBOSE NIL) [fast-method] 11: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "gsll"> :VERBOSE NIL) [fast-method] 12: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "gsll"> :VERBOSE NIL) 13: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) 14: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP :VERBOSE NIL> #<ASDF/SYSTEM:SYSTEM "gsll"> :VERBOSE NIL) [fast-method] 15: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # ASDF/LISP-ACTION:LOAD-OP "gsll" :VERBOSE NIL) 16: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) 17: (ASDF/CACHE:CALL-WITH-ASDF-CACHE #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {1004A40F1B}> :OVERRIDE NIL :KEY NIL) 18: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "gsll" :VERBOSE NIL) [fast-method] 19: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "gsll" :VERBOSE NIL) [fast-method] 20: (ASDF/OPERATE:LOAD-SYSTEM "gsll" :VERBOSE NIL) 21: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #<CLOSURE (LAMBDA NIL :IN QUICKLISP-CLIENT::APPLY-LOAD-STRATEGY) {10049F528B}>) 22: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "gsll" :PROMPT NIL) 23: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) # #<CLOSURE (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003EE42BB}>) [fast-method] 24: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {10067C5CE3}> #<CLOSURE (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003EE42BB}>) [fast-me.. 25: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) # :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method] 26: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<CLOSURE (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003ED864B}>) 27: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD "gsll") #) 28: (EVAL (QUICKLISP-CLIENT:QUICKLOAD "gsll")) 29: (SWANK::%EVAL-REGION "(ql:quickload \"gsll\") ..) 30: ((LAMBDA NIL :IN SWANK::%LISTENER-EVAL)) 31: (SWANK-REPL::TRACK-PACKAGE #<CLOSURE (LAMBDA NIL :IN SWANK::%LISTENER-EVAL) {1003DC8EAB}>) 32: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA NIL :IN SWANK::%LISTENER-EVAL) {1003DC8E8B}>) 33: (SWANK::%LISTENER-EVAL "(ql:quickload \"gsll\") ..) 34: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK-REPL:LISTENER-EVAL "(ql:quickload \"gsll\") ..) 35: (EVAL (SWANK-REPL:LISTENER-EVAL "(ql:quickload \"gsll\") ..) 36: (SWANK:EVAL-FOR-EMACS (SWANK-REPL:LISTENER-EVAL "(ql:quickload \"gsll\") ..) 37: (SWANK::PROCESS-REQUESTS NIL) 38: ((LAMBDA NIL :IN SWANK::HANDLE-REQUESTS)) 39: ((LAMBDA NIL :IN SWANK::HANDLE-REQUESTS)) 40: (SWANK/SBCL::CALL-WITH-BREAK-HOOK # #<CLOSURE (LAMBDA NIL :IN SWANK::HANDLE-REQUESTS) {1003DA800B}>) 41: ((FLET SWANK/BACKEND:CALL-WITH-DEBUGGER-HOOK :IN "/home/anquegi/.roswell/impls/ALL/ALL/quicklisp/dists/quicklisp/software/slime-v2.17/swank/sbcl.lisp") # #<CLOSURE .. 42: (SWANK::CALL-WITH-BINDINGS ((STANDARD-INPUT . #1=#<SWANK/GRAY::SLIME-INPUT-STREAM {1003CB2443}>) (STANDARD-OUTPUT . #2=#<SWANK/GRAY::SLIME-OUTPUT-STREAM {1003D86433}>) (TRACE-OUTPUT . #2#) (*ERR.. 43: (SWANK::HANDLE-REQUESTS #<SWANK::MULTITHREADED-CONNECTION {1002F8ADC3}> NIL) 44: ((FLET #:WITHOUT-INTERRUPTS-BODY-1156 :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE)) 45: ((FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE)) 46: ((FLET #:WITHOUT-INTERRUPTS-BODY-359 :IN SB-THREAD::CALL-WITH-MUTEX)) 47: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE) {7FFFF0A8ED5B}> #<SB-THREAD:MUTEX "thread result lock" owner: #<SB-THREAD:THR.. 48: (SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE #<SB-THREAD:THREAD "repl-thread" RUNNING {1003DA0033}> NIL #<CLOSURE (LAMBDA NIL :IN SWANK-REPL::SPAWN-REPL-THREAD) {1003D9FF9B}> (#<SB-THREAD:THREAD "re.. 49: ("foreign function: call_into_lisp") 50: ("foreign function: new_thread_trampoline") I test wiht the options Qi

2016-03-26 16:33:46 ☆ manjaro-pc in ~ ○ → pacman -Qi gsl
Nom : gsl Versió : 2.1-1 Descripció : The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers Arquitectura : x86_64 URL : http://www.gnu.org/software/gsl/gsl.html Llicències : GPL Grups : Cap Proporciona : Cap Depèn de : glibc bash Dependències opcionals : Cap Requerit per : calligra-krita Opcional per a : Cap Té conflicte amb : Cap Reemplaça : Cap Mida instal·lada : 3,85 MiB Empaquetador : Antonio Rojas arojas@archlinux.org Data de construcció : ds 20 feb 2016 11:31:50 CET Data d'instal·lació : dv 25 mar 2016 18:43:21 CET Raó d'instal·lació : S'ha Instal·lat com a dependència d'un altre paquet Script d'instal·lació : Sí Validat per : Signatura

2016-03-26 16:50:26 ☆ manjaro-pc in ~ ○ → pacman -Qi libffi Nom : libffi Versió : 3.2.1-1 Descripció : Portable foreign function interface library Arquitectura : x86_64 URL : http://sourceware.org/libffi/ Llicències : MIT Grups : Cap Proporciona : Cap Depèn de : glibc Dependències opcionals : Cap Requerit per : glib2 guile llvm-libs p11-kit python python2 ruby ruby2.2 wayland Opcional per a : Cap Té conflicte amb : Cap Reemplaça : Cap Mida instal·lada : 64,00 KiB Empaquetador : Bartłomiej Piotrowski bpiotrowski@archlinux.org Data de construcció : dj 04 des 2014 20:11:24 CET Data d'instal·lació : dv 25 mar 2016 18:40:43 CET Raó d'instal·lació : S'ha Instal·lat com a dependència d'un altre paquet Script d'instal·lació : Sí Validat per : Signatura

2016-03-26 16:51:11 ☆ manjaro-pc in ~ ○ → cd bin/ libffi-compat/ quicklisp.lisp

2016-03-26 16:51:11 ☆ manjaro-pc in ~ ○ → cd bin/libffi-compat/

2016-03-26 16:51:21 ☆ manjaro-pc in ~/bin/libffi-compat ± |master ✓| → sudo ./ .git/ .gitignore README.txt update-libffi-compat

2016-03-26 16:51:21 ☆ manjaro-pc in ~/bin/libffi-compat ± |master ✓| → sudo ./update-libffi-compat [sudo] password for anquegi: — You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

ghollisjr commented 8 years ago

It definitely looks like a compiler is having trouble. Like Davidbhodge suggested, can you paste the output of running

"cc -m64 -o /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmpGHU3ALSV -I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/ /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c"

in the terminal?

anquegi commented 8 years ago

Hi Thanks David for your suggestion, here is the output, of the command, I added it when I opened the issue, but now I executed it again; I also have a problem ith gcc and gcc-multilib find it attached at the end:

2016-03-28 08:46:04 ☆  manjaro-pc in ~
○ → cc -m64 -o /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmpGHU3ALSV -I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/ /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c
In file included from /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c:10:0:
/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c: In function ‘main’:
/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/grovel/common.h:8:62: error: ‘gsl_multifit_fdfsolver {aka struct <anonymous>}’ has no member named ‘J’
 #define offsetof(type, slot) ((long) ((char *) &(((type *) 0)->slot)))
                                                              ^
/home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c:32:56: note: in expansion of macro ‘offsetof’
   fprintf(output, " :offset %lli)", (long long signed) offsetof(gsl_multifit_fdfsolver, J));
                                                        ^

 2016-03-28 08:46:09 ☆  manjaro-pc in ~

I also remembered that I have a conflict, this problem maybe is for the gcc-multilib, this is the installed by default in manjaro distribution so is a conflict with gcc and gcc-multilib, should I replace?:

2016-03-28 08:46:09 ☆ manjaro-pc in ~ ○ → sudo pacman -S base-devel
[sudo] password for anquegi: :: Hi ha 25 membres al grup base-devel: :: Repositori core 1) autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) file 7) findutils 8) flex 9) gawk 10) gcc 11) gettext 12) grep 13) groff 14) gzip 15) libtool 16) m4 17) make 18) pacman 19) patch 20) pkg-config 21) sed 22) sudo 23) texinfo 24) util-linux 25) which

Introduïu una selecció (per defecte=all): avís: autoconf-2.69-2 està al dia -- es reinstal·larà avís: automake-1.15-1 està al dia -- es reinstal·larà avís: binutils-2.26-3 està al dia -- es reinstal·larà avís: bison-3.0.4-1 està al dia -- es reinstal·larà avís: fakeroot-1.20.2-1 està al dia -- es reinstal·larà avís: file-5.25-1 està al dia -- es reinstal·larà avís: findutils-4.6.0-1 està al dia -- es reinstal·larà avís: flex-2.6.0-2 està al dia -- es reinstal·larà avís: gawk-4.1.3-1 està al dia -- es reinstal·larà avís: gettext-0.19.7-1 està al dia -- es reinstal·larà avís: grep-2.24-1 està al dia -- es reinstal·larà avís: groff-1.22.3-5 està al dia -- es reinstal·larà avís: gzip-1.6-1 està al dia -- es reinstal·larà avís: libtool-2.4.6-4 està al dia -- es reinstal·larà avís: m4-1.4.17-1 està al dia -- es reinstal·larà avís: make-4.1-3 està al dia -- es reinstal·larà avís: pacman-5.0.1-2 està al dia -- es reinstal·larà avís: patch-2.7.5-1 està al dia -- es reinstal·larà avís: pkg-config-0.29.1-1 està al dia -- es reinstal·larà avís: sed-4.2.2-3 està al dia -- es reinstal·larà avís: sudo-1.8.15-1 està al dia -- es reinstal·larà avís: texinfo-6.1-1 està al dia -- es reinstal·larà avís: util-linux-2.27.1-1 està al dia -- es reinstal·larà avís: which-2.21-1 està al dia -- es reinstal·larà s'estan resolent les dependències... s'estan cercant parquets conflictius... :: gcc i gcc-multilib tenen conflictes. Elimino gcc-multilib? [s/N] N error: s'ha detectat un paquet amb un conflicte impossible de resoldre error: ha fallat preparar la transacció (dependències conflictives) :: gcc i gcc-multilib tenen conflictes

2016-03-28 08:48:49 ☆ manjaro-pc in ~ ○ →

ghollisjr commented 8 years ago

I just found out that other libraries were having trouble with using GSL 2 with similar errors, so you may just need to update your quicklisp code repo and re-install GSLL:

(ql:update-dist "quicklisp") (ql:quickload "gsll")

anquegi commented 8 years ago

I dit it but nothing work, sorry:

; SLIME 2016-02-10
CL-USER> (ql:update-dist "quicklisp")
You already have the latest version of "quicklisp": 2016-03-18.
NIL
CL-USER> (ql:quickload "gsll")
To load "gsll":
  Load 1 ASDF system:
    gsll
; Loading "gsll"
.........; cc -m64 -o /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel-tmpGHU3ALSV -I/home/anquegi/quicklisp/dists/quicklisp/software/cffi_0.17.1/ /home/anquegi/.cache/common-lisp/sbcl-1.3.1-linux-x64/home/anquegi/quicklisp/dists/quicklisp/software/gsll-master-0f785ddd-git/solve-minimize-fit/solver-struct__grovel.c
; 
; compilation unit aborted
;   caught 2 fatal ERROR conditions
; Evaluation aborted on #<CFFI-GROVEL:GROVEL-ERROR "~a" {1007A8CE13}>.
CL-USER> 
anquegi commented 8 years ago

Only to clarify that system is working I use other libraries with cffi binding like gnuplot, with vgplot and it works:


CL-USER> (ql:quickload :vgplot)
To load "vgplot":
  Load 1 ASDF system:
    vgplot
; Loading "vgplot"

(:VGPLOT)
CL-USER> (vgplot:demo)
****************************************************************
vgplot demo, run commands by pressing RETURN
press q (or any other character) RETURN to leave the demo
****************************************************************
(progn
 (vgplot:plot #(1 2 3) #(0 -2 -17) ";silly example;")
 (vgplot:title "Simple curve")
 (vgplot:text 1.2 -14 "Plot vectors with legend and add a title"))

and this plot a new windows

ghollisjr commented 8 years ago

Since the problem occurs when loading GSLL and not just cl-ana, I'm not sure what to do to fix it and will close this issue. However, you may be able to find a solution in the future by communicating with the GSLL developers; their website is https://gitlab.common-lisp.net/antik/gsll

In the mean time, you can load only those parts of cl-ana you want to use:

(ql:quickload "cl-ana.plotting")

and then use the cl-ana.plotting package for commands:

(cl-ana.plotting:draw #'sin)
Davidbhodge commented 8 years ago

Hi

The likely cause is that GSL moved to version 2 late last year and GSLL has yet to catch up. The workaround would be to install an earlier version of GSL.

Cheers

Sent from my iPad

On 29 Mar 2016, at 08:23, Gary Hollis notifications@github.com wrote:

Since the problem occurs when loading GSLL and not just cl-ana, I'm not sure what to do to fix it and will close this issue. However, you may be able to find a solution in the future by communicating with the GSLL developers; their website is https://gitlab.common-lisp.net/antik/gsll

In the mean time, you can load only those parts of cl-ana you want to use:

(ql:quickload "cl-ana.plotting") and then use the cl-ana.plotting package for commands:

(cl-ana.plotting:draw #'sin) — You are receiving this because you commented. Reply to this email directly or view it on GitHub

ghollisjr commented 8 years ago

I'm using GSL 2.1 on Arch linux with the same GIT commit of GSLL as anquegi and have no problems, so I really have no idea what's going on.

But it could still work for you anquegi to install an earlier version of GSL.

anquegi commented 8 years ago

Ok, that's right I will ask to GSLL, developers , thanks for your help

anquegi commented 8 years ago

Hi, finally it seems that GSLL will load in the future with GSL 2.x from the gitlab log:

Authored by Liam M. Healy 21 days ago Commit 32bbd1aae8efa3e2e12b14683f4e92a913bc2d6c 1 parent 8ef71890 master Remainder of GSL 2.0 API changes

This completes the first pass of changes so that GSLL will load with GSL 2.0 and above. It is not tested. It will still give an error when trying to load with GSL 2.

In my mac, I managed to install gsl 1.16 and it works, but in my arch linux I cannot install gsl 1.16 and it doesn't work, do you know how to downgrade gsl, and I also now always get the error trying to load GSLL, which is one correction to GSLL and it makes more clear.


GSLL does not currently work with GSL version 2.x
   [Condition of type SIMPLE-ERROR]

Restarts:
 0: [TRY-RECOMPILING] Recompile gsl-version and try loading it again
 1: [RETRY] Retry loadin

The only thing is that I don' understand why is working in your arch linux if you are also using gsl 2.1 ....

ghollisjr commented 8 years ago

I actually ran into this issue recently as well but didn't mark it as a bug since many other software projects were failing to build against GSL 2.x.

I solved it by downgrading against gsl-1.16 as follows:

pacman -U /var/cache/pacman/pkg/gsl-1.16-1-x86_64.pkg.tar.xz

but I'm lucky to still have that package on my system. If you don't have an older version under that cache directory then it might still be possible to get an old version off a backup or mirror server somewhere, but I've never done that.

anquegi commented 8 years ago

Hi, thanks for this reply, I looked up in google and find this site:

https://archive.archlinux.org/ which I can find the package for gsl

https://archive.archlinux.org/packages/g/gsl/

I installed it using the following command, as you used:


2016-08-30 18:03:02 ☆ |ruby-2.2.3@learn| manjaro-gnome-toshiba in ~
○ → sudo pacman -U Baixades/gsl-1.16-1-x86_64.pkg.tar.xz 
[sudo] contrasenya per a anquegi: 
s'estan carregant paquets...
avís: s'està desactualitzant el paquet gsl (2.1-2 => 1.16-1)
s'estan resolent les dependències...
s'estan cercant parquets conflictius...

Paquets (1) gsl-1.16-1

Mida total un cop feta la instal·lació:   3,64 MiB
Mida neta de l'actualització:           -0,18 MiB

:: Inicio la instal·lació? [S/n] 
(1/1) s'estan comprovant les claus del clauer                                                        [############################################################] 100%
(1/1) s'està comprovant la integritat dels paquets                                                   [############################################################] 100%
(1/1) s'estan carregant els fitxers dels paquets                                                     [############################################################] 100%
(1/1) s'estan comprovant els conflictes entre els fitxers                                            [############################################################] 100%
(1/1) s'està comprovant l'espai disponible al disc                                                   [############################################################] 100%
:: S'estan executant els ganxos de preinstal·lació...
(1/1) Removing old entries from the info directory file...
:: S'estan processant els canvis dels paquets...
(1/1) s'està degradant gsl                                                                           [############################################################] 100%
:: S'estan executant els ganxos de postinstal·lació...
(1/2) Updating manpage index...
(2/2) Updating the info directory file...

and finally I managed to load gsll and as a final result cl-ana works with out problems:

CL-USER> (ql:quickload :cl-ana)
To load "cl-ana":
  Load 10 ASDF systems:
    alexandria antik cffi cl-fad cl-interpol closer-mop
    external-program gsll iterate split-sequence
  Install 2 Quicklisp releases:
    cl-ana cl-csv
Downloading http://beta.quicklisp.org/archive/cl-csv/2015-06-08/cl-csv-20150608-git.tgz
##########################################################################
Downloading http://beta.quicklisp.org/archive/cl-ana/2016-08-25/cl-ana-20160825-git.tgz
##########################################################################
; Loading "cl-ana"
[package cl-ana.pathname-utils]...................
[package cl-ana.package-utils]....................
[package cl-ana.functional-utils].................
[package cl-ana.string-utils].....................
[package cl-ana.list-utils].......................
[package cl-ana.generic-math].....................
[package cl-ana.math-functions]...................
[package cl-ana.calculus].........................
[package cl-ana.symbol-utils].....................
[package cl-ana.macro-utils]......................
[package cl-ana.binary-tree]......................
[package cl-ana.tensor]...........................
[package cl-ana.error-propogation]................
[package cl-ana.quantity].........................
[package cl-ana.table]............................
[package cl-ana.table-utils]......................
[package cl-ana.hdf-cffi].........................
[package cl-ana.memoization]......................
[package cl-ana.int-char].........................
[package cl-ana.typespec].........................
[package cl-ana.hdf-typespec].....................
[package cl-ana.hdf-utils]........................
[package cl-ana.typed-table]......................
[package cl-ana.hdf-table]........................
[package cl-ana.gsl-cffi].........................
[package cl-ana.ntuple-table].....................
..................................................
[package cl-csv]..................................
[package cl-ana.csv-table]........................
[package cl-ana.reusable-table]...................
[package cl-ana.linear-algebra]...................
[package cl-ana.lorentz]..........................
[package cl-ana.clos-utils].......................
[package cl-ana.hash-table-utils].................
[package cl-ana.map]..............................
[package cl-ana.fitting]..........................
[package cl-ana.histogram]........................
[package cl-ana.file-utils].......................
[package cl-ana.statistics].......................
[package cl-ana.gnuplot-interface]................
[package cl-ana.plotting].........................
[package cl-ana.table-viewing]....................
[package cl-ana.serialization]....................
[package cl-ana.makeres]..........................
[package cl-ana.makeres-macro]....................
[package cl-ana.makeres-block]....................
[package cl-ana.makeres-progress].................
[package cl-ana.makeres-table]....................
[package cl-ana.makeres-graphviz].................
[package cl-ana.makeres-branch]...................
[package cl-ana.makeres-utils]....................
[package cl-ana]
(:CL-ANA)

Hope that this helps, thanks take a look at this topic