Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on latest version #940

Closed
5 tasks done
sorix6 opened this issue Apr 15, 2019 · 3 comments
Closed
5 tasks done

Compilation error on latest version #940

sorix6 opened this issue Apr 15, 2019 · 3 comments

Comments

@sorix6
Copy link

sorix6 commented Apr 15, 2019

  • pgloader --version

    Commit 701d54b

  • did you test a fresh compile from the source tree?
    Error appears when trying to compile from source tree in a Docker container. Trying to compile in the bundle has the same effect.

  • did you search for other similar issues?

  • how can I reproduce the bug?
    Following the doc concerning compiling from source

  • pgloader output you obtain

; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Symbol "CLOSE-MEMO" not found in the DB3 package.
;   
;       Line: 26, Column: 17, File-Position: 816
;   
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /opt/pgloader/src/sources/db3/db3-schema.lisp" {1008ECAA93}>

debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#<THREAD "main thread" RUNNING {10005E85B3}>:
  COMPILE-FILE-ERROR while
  compiling #<CL-SOURCE-FILE "pgloader" "src" "sources" "db3" "db3-schema">

@dimitri
Copy link
Owner

dimitri commented Apr 15, 2019

It seems that you need to update the cl-db3 package that pgloader is using. You should be able to simply make clean then make again. If that's not working, I will need more details about how you build pgloader.

The bundle has an old version of cl-db3 too, it should possible to update it in place though by running the following command:

git clone --depth 1 https://github.com/dimitri/cl-db3.git pgloader-bundle-3.6.1/local-projects/cl-db3

@sorix6
Copy link
Author

sorix6 commented Apr 15, 2019

Great, thank you. I will try this tomorrow and comment back with the result. Awesome work :)

@sorix6
Copy link
Author

sorix6 commented Apr 16, 2019

Indeed, updating the cl-db3 in the bundle fixes the problem.
I can confirm that everything works great for MySQL, MSSQL and Postgres data loading.

Thank you again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants