Your message dated Wed, 14 Oct 2015 11:19:52 +0000 (UTC)
with message-id <1487596688.298673.1444821592797.javamail.ya...@mail.yahoo.com>
and subject line closing, llvm-toolchain-3.5 uploaded in unstable.
has caused the Debian Bug report #789402,
regarding FTBFS with OCaml 4.02.2: Some fatal warnings were triggered
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
789402: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789402
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: llvm-toolchain-3.5
Version: 3.5.2-1
Severity: important
Tags: patch

Dear Maintainer,

Your package FTBFS with OCaml 4.02.2:
> [...]
> Command Output (stderr):
> --
> File 
> "/tmp/pbuilder/llvm-toolchain-3.5-3.5.2/build-llvm/test/Bindings/Ocaml/Output/bitwriter.ml.tmp.builddir/bitwriter.ml",
>  line 20, characters 12-25:
> Warning 3: deprecated: String.create
> Use Bytes.create instead.
> File 
> "/tmp/pbuilder/llvm-toolchain-3.5-3.5.2/build-llvm/test/Bindings/Ocaml/Output/bitwriter.ml.tmp.builddir/bitwriter.ml",
>  line 1:
> Error: Some fatal warnings were triggered (1 occurrences)
> [...]

I suggest to not use the -warn-error option. With the attached patch,
the package builds. It should as well build with the version of OCaml
currently in unstable, so I suggest you to upload it as soon as
possible, and not wait for the transition to start.

Cheers,

-- 
Stéphane

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru llvm-toolchain-3.5-3.5.2/debian/changelog llvm-toolchain-3.5-3.5.2/debian/changelog
--- llvm-toolchain-3.5-3.5.2/debian/changelog	2015-04-27 19:00:56.000000000 +0200
+++ llvm-toolchain-3.5-3.5.2/debian/changelog	2015-06-20 10:43:54.000000000 +0200
@@ -1,3 +1,10 @@
+llvm-toolchain-3.5 (1:3.5.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix compilation with OCaml 4.02
+
+ -- Stéphane Glondu <glo...@debian.org>  Sat, 20 Jun 2015 08:43:54 +0000
+
 llvm-toolchain-3.5 (1:3.5.2-1) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru llvm-toolchain-3.5-3.5.2/debian/patches/fix-ftbfs-ocaml-4.02 llvm-toolchain-3.5-3.5.2/debian/patches/fix-ftbfs-ocaml-4.02
--- llvm-toolchain-3.5-3.5.2/debian/patches/fix-ftbfs-ocaml-4.02	1970-01-01 01:00:00.000000000 +0100
+++ llvm-toolchain-3.5-3.5.2/debian/patches/fix-ftbfs-ocaml-4.02	2015-06-20 10:45:02.000000000 +0200
@@ -0,0 +1,146 @@
+Description: Fix compilation with OCaml 4.02
+Author: Stéphane Glondu <glo...@debian.org>
+
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/analysis.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/analysis.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_analysis.cmxa %t.builddir/analysis.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_analysis.cmxa %t.builddir/analysis.ml -o %t
+  * RUN: %t
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/bitreader.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/bitreader.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_bitreader.cmxa llvm_bitwriter.cmxa %t.builddir/bitreader.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_bitreader.cmxa llvm_bitwriter.cmxa %t.builddir/bitreader.ml -o %t
+  * RUN: %t %t.bc
+  * RUN: llvm-dis < %t.bc
+  * XFAIL: vg_leak
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/bitwriter.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/bitwriter.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A unix.cmxa llvm.cmxa llvm_bitwriter.cmxa %t.builddir/bitwriter.ml -o %t
++ * RUN: %ocamlopt  unix.cmxa llvm.cmxa llvm_bitwriter.cmxa %t.builddir/bitwriter.ml -o %t
+  * RUN: %t %t.bc
+  * RUN: llvm-dis < %t.bc
+  * XFAIL: vg_leak
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/executionengine.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/executionengine.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_target.cmxa llvm_executionengine.cmxa %t.builddir/executionengine.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_target.cmxa llvm_executionengine.cmxa %t.builddir/executionengine.ml -o %t
+  * RUN: %t
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/ext_exc.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/ext_exc.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_bitreader.cmxa llvm_executionengine.cmxa %t.builddir/ext_exc.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_bitreader.cmxa llvm_executionengine.cmxa %t.builddir/ext_exc.ml -o %t
+  * RUN: %t </dev/null
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/ipo_opts.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/ipo_opts.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_ipo.cmxa llvm_target.cmxa %t.builddir/ipo_opts.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_ipo.cmxa llvm_target.cmxa %t.builddir/ipo_opts.ml -o %t
+  * RUN: %t %t.bc
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/irreader.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/irreader.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -g -warn-error A llvm.cmxa llvm_irreader.cmxa %t.builddir/irreader.ml -o %t
++ * RUN: %ocamlopt -g  llvm.cmxa llvm_irreader.cmxa %t.builddir/irreader.ml -o %t
+  * RUN: %t
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/linker.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/linker.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_linker.cmxa %t.builddir/linker.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_linker.cmxa %t.builddir/linker.ml -o %t
+  * RUN: %t
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/passmgr_builder.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/passmgr_builder.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_passmgr_builder.cmxa %t.builddir/passmgr_builder.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_passmgr_builder.cmxa %t.builddir/passmgr_builder.ml -o %t
+  * RUN: %t %t.bc
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/scalar_opts.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/scalar_opts.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_scalar_opts.cmxa llvm_target.cmxa %t.builddir/scalar_opts.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_scalar_opts.cmxa llvm_target.cmxa %t.builddir/scalar_opts.ml -o %t
+  * RUN: %t %t.bc
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/target.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/target.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -g -warn-error A llvm.cmxa llvm_target.cmxa llvm_executionengine.cmxa %t.builddir/target.ml -o %t
++ * RUN: %ocamlopt -g  llvm.cmxa llvm_target.cmxa llvm_executionengine.cmxa %t.builddir/target.ml -o %t
+  * RUN: %t %t.bc
+  * REQUIRES: native, object-emission
+  * XFAIL: vg_leak
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/vectorize_opts.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/vectorize_opts.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_vectorize.cmxa llvm_target.cmxa %t.builddir/vectorize_opts.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_vectorize.cmxa llvm_target.cmxa %t.builddir/vectorize_opts.ml -o %t
+  * RUN: %t %t.bc
+  * XFAIL: vg_leak
+  *)
+--- llvm-toolchain-3.5-3.5.2.orig/test/Bindings/Ocaml/vmcore.ml
++++ llvm-toolchain-3.5-3.5.2/test/Bindings/Ocaml/vmcore.ml
+@@ -1,7 +1,7 @@
+ (* RUN: rm -rf %t.builddir
+  * RUN: mkdir -p %t.builddir
+  * RUN: cp %s %t.builddir
+- * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_analysis.cmxa llvm_bitwriter.cmxa %t.builddir/vmcore.ml -o %t
++ * RUN: %ocamlopt  llvm.cmxa llvm_analysis.cmxa llvm_bitwriter.cmxa %t.builddir/vmcore.ml -o %t
+  * RUN: %t %t.bc
+  * RUN: llvm-dis < %t.bc > %t.ll
+  * RUN: FileCheck %s < %t.ll
diff -Nru llvm-toolchain-3.5-3.5.2/debian/patches/series llvm-toolchain-3.5-3.5.2/debian/patches/series
--- llvm-toolchain-3.5-3.5.2/debian/patches/series	2015-04-27 19:00:18.000000000 +0200
+++ llvm-toolchain-3.5-3.5.2/debian/patches/series	2015-06-20 10:44:21.000000000 +0200
@@ -50,3 +50,4 @@
 kfreebsd-readline.diff
 ignore-ifcvt3.ll.diff
 scan-build-clang-path.diff
+fix-ftbfs-ocaml-4.02

--- End Message ---
--- Begin Message ---
Closing, the bug is fixed in unstable.

cheers,
(thanks for the patch)
G.

--- End Message ---

Reply via email to