skypher / paktahn

yaourt-style package manager/install helper for ArchLinux
http://bbs.archlinux.org/viewtopic.php?pid=600126
44 stars 10 forks source link

Attempt to call an undefined alien function. #45

Closed ghost closed 13 years ago

ghost commented 13 years ago

; compiling file "/home/alex/temp/paktahn/src/alpm.lisp" (written 14 MAR 2011 12:02:52 AM): ; compiling (IN-PACKAGE :PAK) ; compiling (DEFINE-FOREIGN-LIBRARY LIBALPM ...) ; compiling (USE-FOREIGN-LIBRARY LIBALPM) ; compiling (DEFCFUN "alpm_pkg_vercmp" ...) ; compiling (DEFUN VERSION= ...) ; compiling (DEFUN VERSION< ...) ; compiling (DEFUN VERSION<= ...) ; compiling (DEFUN VERSION> ...) ; compiling (DEFUN VERSION>= ...) ; compiling (DEFUN VERSION-SPEC-SATISFIED-P ...) ; compiling (DEFCFUN "alpm_list_next" ...) ; compiling (DEFCFUN "alpm_list_getdata" ...) ; compiling (DEFUN ALPM-LIST->LISP ...) ; compiling (DEFCFUN "alpm_initialize" ...) ; compiling (DEFCFUN "alpm_option_set_root" ...) ; compiling (DEFCFUN "alpm_option_set_dbpath" ...) ; compiling (DEFCFUN "alpm_db_register_local" ...) ; compiling (DEFCFUN "alpm_db_register_sync" ...) ; compiling (DEFCFUN "alpm_db_unregister_all" ...) ; compiling (DEFUN INIT-ALPM ...) ; compiling (INIT-ALPM) ; compiling (DEFUN GET-PACMAN-CONFIG ...) ; compiling (DEFUN GET-ENABLED-REPOSITORIES ...) ; compiling (DEFUN INIT-LOCAL-DB ...) ; compiling (DEFUN INIT-SYNC-DBS ...) ; compiling (DEFPARAMETER LOCAL-DB ...) ; compiling (DEFPARAMETER SYNC-DBS ...) ; compiling (DEFUN INIT-DBS ...) ; compiling (INIT-DBS) ; compiling (DEFUN DB-NAME->DB-SPEC ...) ; compiling (DEFCFUN "alpm_db_get_pkgcache" ...) ; compiling (DEFCFUN "alpm_pkg_get_name" ...) ; compiling (DEFCFUN "alpm_pkg_get_version" ...) ; compiling (DEFCFUN "alpm_pkg_get_desc" ...) ; compiling (DEFUN MAP-DB-PACKAGES ...) ; compiling (DEFCFUN "alpm_db_get_grpcache" ...) ; compiling (DEFCFUN "alpm_grp_get_name" ...) ; compiling (DEFUN MAP-GROUPS ...) ; compiling (DEFPARAMETER PACMAN-LOCK ...) ; compiling (DEFPARAMETER PACMAN-BINARY ...) ; compiling (DEFMACRO WITH-PACMAN-LOCK ...) ; compiling (DEFUN RUN-PACMAN ...) ; compiling (DEFUN REMOVE-COMMAND ...) ; compiling (DEFUN SYNC-COMMAND ...) ; compiling (DEFUN INSTALL-BINARY-PACKAGE ...) ; compiling (DEFCFUN "alpm_pkg_get_provides" ...) ; compiling (DEFUN FIND-PROVIDING-PACKAGES ...)

; /home/alex/.cache/common-lisp/sbcl-1.0.46-linux-x86/home/alex/temp/paktahn/src/ASDF-TMP-alpm.fasl written ; compilation finished in 0:00:01.315 STYLE-WARNING: Undefined alien: "alpm_db_register_local" STYLE-WARNING: redefining PAKTAHN::ALPM-PKG-VERCMP in DEFUN STYLE-WARNING: redefining PAKTAHN::VERSION= in DEFUN STYLE-WARNING: redefining PAKTAHN::VERSION< in DEFUN STYLE-WARNING: redefining PAKTAHN::VERSION<= in DEFUN STYLE-WARNING: redefining PAKTAHN::VERSION> in DEFUN STYLE-WARNING: redefining PAKTAHN::VERSION>= in DEFUN STYLE-WARNING: redefining PAKTAHN::VERSION-SPEC-SATISFIED-P in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-LIST-NEXT in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-LIST-GETDATA in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-LIST->LISP in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-INITIALIZE in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-OPTION-SET-ROOT in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-OPTION-SET-DBPATH in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-DB-REGISTER-LOCAL in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-DB-REGISTER-SYNC in DEFUN STYLE-WARNING: redefining PAKTAHN::ALPM-DB-UNREGISTER-ALL in DEFUN STYLE-WARNING: redefining PAKTAHN::INIT-ALPM in DEFUN STYLE-WARNING: redefining PAKTAHN::GET-PACMAN-CONFIG in DEFUN STYLE-WARNING: redefining PAKTAHN::GET-ENABLED-REPOSITORIES in DEFUN STYLE-WARNING: redefining PAKTAHN::INIT-LOCAL-DB in DEFUN STYLE-WARNING: redefining PAKTAHN::INIT-SYNC-DBS in DEFUN STYLE-WARNING: redefining PAKTAHN::INIT-DBS in DEFUN

debugger invoked on a SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR in thread #<THREAD "initial thread" RUNNING {AA89F81}>: Attempt to call an undefined alien function.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Retry loading component ("paktahn" "alpm"). 1: [ACCEPT ] Continue, treating loading component ("paktahn" "alpm") as having been successful. 2: [CONTINUE] Ignore runtime option --eval "(asdf:oos 'asdf:load-op 'paktahn)". 3: [ABORT ] Skip rest of --eval and --load options. 4: Skip to toplevel READ/EVAL/PRINT loop. 5: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).

kingcons commented 13 years ago

Thanks very much for filing this as a github issue. I'll ask the same questions here I asked on the aur.archlinux.org page.

"Are you running 64-bit or 32-bit systems? Are you building from source, using the binary at http://redlinernotes.com/docs/ or using makepkg or paktahn to upgrade via AUR? What is the output of grep "alpm_db_register_local" /usr/include/alpm.h?"

kingcons commented 13 years ago

Fixed in my master commit 0.94.3, 9cc5aa06f1116912bb0eaf55e270cff5e6b7fe3c