Skip to content

Fix META file#9

Closed
samoht wants to merge 1 commit intodsheets:masterfrom
samoht:META
Closed

Fix META file#9
samoht wants to merge 1 commit intodsheets:masterfrom
samoht:META

Conversation

@samoht
Copy link
Copy Markdown
Collaborator

@samoht samoht commented Apr 26, 2017

The github library needs a weird linking trick: it needs to have github.unix
specified before github -- as some tools can reorder the findlinb deps, be
sure that github has a github.unix on both sides ...

The github library needs a weird linking trick: it needs to have `github.unix`
specified before `github` -- as some tools can reorder the findlinb deps, be
sure that `github` has a `github.unix` on both sides ...
@samoht
Copy link
Copy Markdown
Collaborator Author

samoht commented Apr 26, 2017

/cc @dsheets ideally this should be solved in ocaml-github but I am not sure to know exactly how ...

@dsheets
Copy link
Copy Markdown
Owner

dsheets commented Apr 26, 2017

That's very strange. What's the error?

@samoht
Copy link
Copy Markdown
Collaborator Author

samoht commented Apr 26, 2017

That the same as #7. Seems that ocamlbuild and jbuilder doesn't use the same ordering when reading the META deps. Not sure we should rely on that anyway ...

The exact error is without that patch (using jbuilder) is:

Error: No implementations provided for the following modules:
         Github referenced from /Users/thomas/.opam/datakit/lib/github-hooks/github-hooks.cmxa(Github_hooks)

@dsheets
Copy link
Copy Markdown
Owner

dsheets commented Apr 26, 2017

Does putting github-hooks first not fix it?

@dsheets
Copy link
Copy Markdown
Owner

dsheets commented Apr 26, 2017

This sounds like a jbuilder bug... the closure of deps isn't being spliced in to the package link list in the right place.

@samoht samoht closed this Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants