Your message dated Sat, 31 Oct 2015 10:23:07 +0000
with message-id <e1zstjt-00031p...@franck.debian.org>
and subject line Bug#789403: fixed in llvm-toolchain-3.4 1:3.4.2-16
has caused the Debian Bug report #789403,
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.)
--
789403: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789403
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: llvm-toolchain-3.4
Version: 3.4.2-14
Severity: important
Tags: patch
Dear Maintainer,
Your package FTBFS with OCaml 4.02.2:
> [...]
> Command Output (stderr):
> --
> File
> "/tmp/pbuilder/llvm-toolchain-3.4-3.4.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.4-3.4.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.4-3.4.2/debian/changelog llvm-toolchain-3.4-3.4.2/debian/changelog
--- llvm-toolchain-3.4-3.4.2/debian/changelog 2015-05-07 09:22:00.000000000 +0200
+++ llvm-toolchain-3.4-3.4.2/debian/changelog 2015-06-20 08:07:10.000000000 +0200
@@ -1,3 +1,10 @@
+llvm-toolchain-3.4 (1:3.4.2-14.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix compilation with OCaml 4.02
+
+ -- Stéphane Glondu <glo...@debian.org> Sat, 20 Jun 2015 06:07:10 +0000
+
llvm-toolchain-3.4 (1:3.4.2-14) unstable; urgency=medium
* d/patches/isl-0.13-compat.diff, ensure compatibility with libisl13
diff -Nru llvm-toolchain-3.4-3.4.2/debian/patches/-fix-ftbfs-ocaml-4.02 llvm-toolchain-3.4-3.4.2/debian/patches/-fix-ftbfs-ocaml-4.02
--- llvm-toolchain-3.4-3.4.2/debian/patches/-fix-ftbfs-ocaml-4.02 1970-01-01 01:00:00.000000000 +0100
+++ llvm-toolchain-3.4-3.4.2/debian/patches/-fix-ftbfs-ocaml-4.02 2015-06-20 08:15:12.000000000 +0200
@@ -0,0 +1,147 @@
+Description: Fix FTBFS with OCaml 4.02
+ New warnings were introduced in OCaml 4.02; do not use -warn-error.
+Author: Stéphane Glondu <glo...@debian.org>
+
+--- llvm-toolchain-3.4-3.4.2.orig/test/Bindings/Ocaml/analysis.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/bitreader.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/bitwriter.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/executionengine.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/ext_exc.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/ipo_opts.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/irreader.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/linker.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/passmgr_builder.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/scalar_opts.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/target.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/vectorize_opts.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2.orig/test/Bindings/Ocaml/vmcore.ml
++++ llvm-toolchain-3.4-3.4.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.4-3.4.2/debian/patches/series llvm-toolchain-3.4-3.4.2/debian/patches/series
--- llvm-toolchain-3.4-3.4.2/debian/patches/series 2015-05-07 09:21:27.000000000 +0200
+++ llvm-toolchain-3.4-3.4.2/debian/patches/series 2015-06-20 08:11:13.000000000 +0200
@@ -46,3 +46,4 @@
remove-dbtree.diff
kfreebsd-path.diff
isl-0.13-compat.diff
+-fix-ftbfs-ocaml-4.02
--- End Message ---
--- Begin Message ---
Source: llvm-toolchain-3.4
Source-Version: 1:3.4.2-16
We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-3.4, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 789...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sylvestre Ledru <sylves...@debian.org> (supplier of updated llvm-toolchain-3.4
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 29 Oct 2015 09:55:59 +0100
Source: llvm-toolchain-3.4
Binary: clang-3.4 clang-format-3.4 cpp11-migrate-3.4 clang-modernize-3.4
clang-3.4-doc libclang1-3.4 libclang1-3.4-dbg libclang-3.4-dev
libclang-common-3.4-dev python-clang-3.4 clang-3.4-examples libllvm3.4
libllvm3.4-dbg llvm-3.4 llvm-3.4-runtime llvm-3.4-dev llvm-3.4-tools
libllvm-3.4-ocaml-dev llvm-3.4-doc llvm-3.4-examples lldb-3.4 liblldb-3.4
python-lldb-3.4 liblldb-3.4-dev lldb-3.4-dev
Architecture: source
Version: 1:3.4.2-16
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <pkg-llvm-t...@lists.alioth.debian.org>
Changed-By: Sylvestre Ledru <sylves...@debian.org>
Description:
clang-3.4 - C, C++ and Objective-C compiler (LLVM based)
clang-3.4-doc - C, C++ and Objective-C compiler (LLVM based) - Documentation
clang-3.4-examples - Clang examples
clang-format-3.4 - Tool to format C/C++/Obj-C code
clang-modernize-3.4 - Tool to convert C++98 and C++03 code to C++11
cpp11-migrate-3.4 - Tool to convert C++98 and C++03 code to C++11
libclang-3.4-dev - clang library - Development package
libclang-common-3.4-dev - clang library - Common development package
libclang1-3.4 - C interface to the clang library
libclang1-3.4-dbg - clang library
liblldb-3.4 - Next generation, high-performance debugger, library
liblldb-3.4-dev - Next generation, high-performance debugger - Header files
libllvm-3.4-ocaml-dev - Modular compiler and toolchain technologies, OCaml
bindings
libllvm3.4 - Modular compiler and toolchain technologies, runtime library
libllvm3.4-dbg - Modular compiler and toolchain technologies, debugging
libraries
lldb-3.4 - Next generation, high-performance debugger
lldb-3.4-dev - transitional dummy package to liblldb-3.4-dev
llvm-3.4 - Modular compiler and toolchain technologies
llvm-3.4-dev - Modular compiler and toolchain technologies, libraries and
header
llvm-3.4-doc - Modular compiler and toolchain technologies, documentation
llvm-3.4-examples - Modular compiler and toolchain technologies, examples
llvm-3.4-runtime - Modular compiler and toolchain technologies, IR interpreter
llvm-3.4-tools - Modular compiler and toolchain technologies, tools
python-clang-3.4 - Clang Python Bindings
python-lldb-3.4 - Next generation, high-performance debugger, python lib
Closes: 789403
Changes:
llvm-toolchain-3.4 (1:3.4.2-16) unstable; urgency=medium
.
* Silent the Bindings/Ocaml/bitwriter.ml test to unbreak the build
on i386/amd64
- Fix compilation with OCaml 4.02 (Stéphane Glondu) (Closes: #789403)
Checksums-Sha1:
f38f41e82a7fd1d433b99ba1cdddf0268dd01309 5829 llvm-toolchain-3.4_3.4.2-16.dsc
1a3e1a76f91ead1cb5e0ddf87f3cfd686c398800 50452
llvm-toolchain-3.4_3.4.2-16.debian.tar.xz
Checksums-Sha256:
9a3b9184ea69a6233dc3ce3671156d86768735dd8bfa09258bc66d4e7b767112 5829
llvm-toolchain-3.4_3.4.2-16.dsc
d5887d5ced80c6be6335ce1aa81f150616ccd05efe4681d58fb6d300c04320b1 50452
llvm-toolchain-3.4_3.4.2-16.debian.tar.xz
Files:
eda21fb5455e585d93e737f43d5242f8 5829 devel optional
llvm-toolchain-3.4_3.4.2-16.dsc
88fad73bd6175ea173048195775edff0 50452 devel optional
llvm-toolchain-3.4_3.4.2-16.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWNJTAAAoJEPNPCXROn13ZmOMP/2/tBldBPnR0fKde5QyKZCbm
E/0a6bGFToxdhy5K4gha2DHTn9rVzEStepLh9OsHWkbUrpfa0+ATjeF/k9MA6j2j
h1V0DeZJ6X9lnJ/8DFGlKId+KNGLUxCwUga19D+3oN8TVNxXequT627Ue/BKULwf
dNWIswnW4KoMncfW272sIDkVuGC7IVnsh9hFOaLscM+ecXJ4o8r5SE/l8CCsLSCZ
jmLCD2ScrofjD18O5vC0ZjnWDrBONvtsAecVapGbgo5x7sSA/f03N8jg91lR1XC/
WOwPvFH+qzRgYuxVPgbMjoZkeTK/TmPTe4Ts/k/h27Ws8aWQ2bWHfQTATZyHORSl
h3T5bIQByEycqjLgG93qyb6qEMNKs4GlBLFvw99yNZbnjdNFlPaQyzxzgaW7up4w
Jmx9kQfevasAdqs93Qb6c6D3+cusl+qDbyGyH+jon6GU+GjHLXkdgMMZJtqTz3vi
oj+FbmB7+59UAXMpimbqj9jpJPPswFoPN3IWPWCYA+IHzJfeFl6Y46PIjf1Rwr34
H26HpUnlPNO4sZlKDgpmXTJHuQd9Y4hQlIcd50As9mh6CxIOJzECPoV6dbExRyX+
JGSTSRA9s4aZa8LTx2JPzkIf6KrQPZumkDhQXOS8Z0R+eaVPu8imm2cgH874qaAJ
RivZAHT+wnh8X4P6BcPM
=qXwf
-----END PGP SIGNATURE-----
--- End Message ---