Pgloader: Fatal error in "buildapp" : Error #<SILENT-EXIT-ERROR #x145E5626>

Created on 24 Mar 2018  路  8Comments  路  Source: dimitri/pgloader

Could not compile pgloader successfully. Here my findings:

  • Target: armhf
  • OS: Ubuntu 16.04.4. LTS
  • Kernel: Linux xu4svrp01 4.14.7+ #1 SMP PREEMPT Wed Dec 20 03:06:36 CST 2017 armv7l armv7l armv7l GNU/Linux
  • CCL: Clozure Common Lisp Version 1.11.5/v1.11.5 (LinuxARM32)
  • pgloader: git clone https://github.com/dimitri/pgloader.git
  • make: /usr/bin/make CL=ccl DYNSIZE=256 pgloader
  • Error: loading file #P"/home/rpiadmin/tmp/work/pgloader/src/hooks.lisp"
    Fatal error in "buildapp" : Error #

Output:

/usr/bin/make CL=ccl DYNSIZE=256 pgloader
ccl --no-init --load build/quicklisp/setup.lisp                   \
             --eval '(push "/home/rpiadmin/tmp/work/pgloader/" ql:*local-project-directories*)' \
             --eval '(ql:quickload "pgloader")'                       \
             --eval '(quit)'
To load "pgloader":
  Load 1 ASDF system:
    pgloader
; Loading "pgloader"
...
touch build/libs.stamp
ccl --no-init --load build/quicklisp/setup.lisp                \
             --eval '(ql:write-asdf-manifest-file "build/manifest.ql")'  \
             --eval '(quit)'
mkdir -p build/bin
build/bin/buildapp.ccl      --logfile /tmp/build.log                \
                                                 \
                         --sbcl ccl                            \
                         --asdf-path .                           \
                         --asdf-tree build/quicklisp/local-projects     \
                         --manifest-file build/manifest.ql             \
                         --asdf-tree build/quicklisp/dists              \
                         --asdf-path .                           \
                         --load-system pgloader               \
                         --load src/hooks.lisp                   \
                         --entry pgloader:main                   \
                         --dynamic-space-size 256         \
                                             \
                         --output build/bin/pgloader.tmp
;; loading system "pgloader"
;; loading file #P"/home/rpiadmin/tmp/work/pgloader/src/hooks.lisp"
Fatal error in "buildapp" : Error #<SILENT-EXIT-ERROR #x145E5626>
Makefile:133: recipe for target 'build/bin/pgloader' failed
make: *** [build/bin/pgloader] Error 255

All 8 comments

Is it possible for you to upload the /tmp/build.log file contents, that's where we have the full error message.

I'm not sure what to think of that build output really :/

If I use sbcl 1.3.12 instead, I could successfully build pgloader.

$ pgloader --version
pgloader version "3.4.e4dca1a"
compiled with SBCL 1.3.12

Nice! Should we close this issue then, maybe?

Ran into a similar looking issue to my lisp-ignorant eyes (SILENT-EXIT-ERROR in buildapp). Worked around it by renaming the CCL binary to ccl as suggested in https://github.com/dimitri/pgloader/issues/541 that seemed to fix the problem. Although the original report at the top here has CL=ccl, it would appear to be a different problem.

yep.
first time i tried to use make CL=/usr/local/bin/ccl64 pgloader
but it failed.
next i did it: ln -s /usr/local/bin/ccl64 /bin/ccl
and all went fine

Closing the issue then, although to be fair maybe some integration / build work is still necessary. If you know how to make the build experience better please consider re-opening this issue with some clues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drouarb picture drouarb  路  6Comments

phoe picture phoe  路  4Comments

nibty picture nibty  路  4Comments

AnrDaemon picture AnrDaemon  路  7Comments

Jim-Robbins picture Jim-Robbins  路  3Comments