Re: CVS commit: pkgsrc/devel/ocaml-dune

Alexander Nasonov <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <amUtcu0CvekpWE1c@nebeda>
Thomas Klausner wrote:
> On Sat, Jul 25, 2026 at 05:46:24PM +0100, Alexander Nasonov wrote:
> > This may break some packages. Do you plan to update coq (versions 8.xxx)
> > to rocq (versions 9.xxx)?
> 
> No, I have no plans for that. Are you interested in working on this?
> 
> Otherwise we can roll back the update for now.

I don't think I will have enough spare time in the next few weeks
to work on anything non-trivial. So, it's best to rollback because
the new version breaks coq build.

--
Alex

# bob log coq
=> "/usr/bin/make" ["-C", "/usr/pkgsrc/lang/coq", "configure", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PYTHON_VERSION_REQD=314"]
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for coq-8.20.1.tar.gz
=> Checksum SHA512 OK for coq-8.20.1.tar.gz
===> Installing dependencies for coq-8.20.1nb9
==========================================================================
The supported build options for coq are:

	coqide doc

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.coq = -coqide

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
coq-8.20.1nb9.  Their current value is shown below:

        * OCAML_USE_OPT_COMPILER = yes
        * PYTHON_VERSION_DEFAULT = 314

Based on these variables, the following variables have been set:

        * PYPACKAGE = python314
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency ocaml-opaline-[0-9]*: found ocaml-opaline-0.3.3nb4
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency bash-[0-9]*: found bash-5.3.15
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency ocaml-dune>=3.21.1: found ocaml-dune-3.24.0
=> Full dependency ocaml>=4.14.3: found ocaml-4.14.3
=> Full dependency ocaml-findlib>=1.9.3nb1: found ocaml-findlib-1.9.8nb3
=> Full dependency ocaml-zarith>=1.12nb1: found ocaml-zarith-1.14nb3
=> Full dependency python314>=3.14.0: found python314-3.14.6
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for coq-8.20.1nb9
===> Extracting for coq-8.20.1nb9
===> Patching for coq-8.20.1nb9
=> Applying pkgsrc patches for coq-8.20.1nb9
===> Creating toolchain wrappers for coq-8.20.1nb9
===> Configuring for coq-8.20.1nb9
=> Replacing python interpreter in tools/make-both-single-timing-files.py tools/make-both-time-files.py tools/make-one-time-file.py.
File "dune-project", line 8, characters 0-15:
8 | (using coq 0.6)
    ^^^^^^^^^^^^^^^
Error: Extension coq was deleted in the 3.24 version of the dune language
Hint: The Coq Build Language has been replaced by the Rocq Build Language.
Use (using rocq <version>) instead.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/coq
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/coq
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.