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

support dune properly, remove usage of c_names #317

Closed
olafhering opened this issue Feb 15, 2020 · 5 comments
Closed

support dune properly, remove usage of c_names #317

olafhering opened this issue Feb 15, 2020 · 5 comments
Labels
build issue in unison build system effort-low issue is likely resolvable with <= 5h of effort impact-low low importance

Comments

@olafhering
Copy link
Contributor

[   70s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/unison-2.51.2.26a29f7-62.opt_409.1.x86_64
[   70s] + cd unison-2.51.2.26a29f7
[   70s] + dune_release_pkgs=unison
[   70s] + echo 2.51.2.26a29f7
[   70s] + tee VERSION
[   70s] 2.51.2.26a29f7
[   70s] + dune_for_release=
[   70s] + : dune_release_pkgs
[   70s] + test -n unison
[   70s] + echo unison
[   70s] + dune_for_release=--for-release-of-packages=unison
[   70s] + dune installed-libraries
[   70s] bigarray               (version: OCaml 4.09.0)
[   70s] bytes                  (version: OCaml 4.09.0)
[   70s] compiler-libs          (version: OCaml 4.09.0)
[   70s] compiler-libs.bytecomp (version: OCaml 4.09.0)
[   70s] compiler-libs.common   (version: OCaml 4.09.0)
[   70s] compiler-libs.optcomp  (version: OCaml 4.09.0)
[   70s] compiler-libs.toplevel (version: OCaml 4.09.0)
[   70s] dynlink                (version: OCaml 4.09.0)
[   70s] lablgtk2               (version: 2.18.8)
[   70s] lablgtk2.auto-init     (version: n/a)
[   70s] lablgtk2.glade         (version: n/a)
[   70s] lablgtk2.gnomecanvas   (version: n/a)
[   70s] lablgtk2.gtkspell      (version: n/a)
[   70s] lablgtk2.rsvg          (version: n/a)
[   70s] lablgtk2.sourceview2   (version: n/a)
[   70s] raw_spacetime          (version: OCaml 4.09.0)
[   70s] result                 (version: [distributed with Ocaml])
[   70s] seq                    (version: OCaml 4.09.0)
[   70s] stdlib                 (version: OCaml 4.09.0)
[   70s] str                    (version: OCaml 4.09.0)
[   70s] threads                (version: OCaml 4.09.0)
[   70s] threads.none           (version: OCaml 4.09.0)
[   70s] threads.posix          (version: OCaml 4.09.0)
[   70s] uchar                  (version: OCaml 4.09.0)
[   70s] unix                   (version: OCaml 4.09.0)
[   70s] + dune external-lib-deps --for-release-of-packages=unison @install
[   70s] Info: Creating file dune-project with this contents:
[   70s] | (lang dune 2.2)
[   70s] File "dune", line 10, characters 1-41:
[   70s] 10 |  (c_names bytearray_stubs osxsupport pty)
[   70s]       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[   70s] Error: 'c_names' was deleted in version 2.0 of the dune language. Use the
[   70s] (foreign_stubs ...) field instead.
[   70s] error: Bad exit status from /var/tmp/rpm-tmp.cw95L5 (%build)
@gdt gdt added feedback Information has been requested; may be closed in 30 days if not provided. impact-low low importance portability unison fails to compile or work on some particular system labels Sep 14, 2020
@gdt
Copy link
Collaborator

gdt commented Sep 14, 2020

Please actually explain what's wrong, and enough to help us sort this into "unison fails to meet specs" vs "there is some optional thing that people do and that needs help".

@glondu
Copy link
Collaborator

glondu commented Sep 14, 2020

It would be the latter. Dune is an alternative build system for OCaml projects, and support for it has been added in Unison in ee8267b. This report is about an error in Dune configuration files.

@gdt gdt added build issue in unison build system effort-low issue is likely resolvable with <= 5h of effort and removed feedback Information has been requested; may be closed in 30 days if not provided. portability unison fails to compile or work on some particular system labels Sep 14, 2020
@gdt
Copy link
Collaborator

gdt commented Nov 15, 2022

Is this PR still valid? I just ran a dune build of unison git master on NetBSD 9 amd64 and it succeeded.

@olafhering
Copy link
Contributor Author

It was apparently fixed silently with PR #582 via 45fb606

@gdt
Copy link
Collaborator

gdt commented Nov 15, 2022

Thanks; good to be sure and have it closed. I guess nobody realized we had two issues about the same underlying thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build issue in unison build system effort-low issue is likely resolvable with <= 5h of effort impact-low low importance
Projects
None yet
Development

No branches or pull requests

3 participants