Bug#789402: FTBFS with OCaml 4.02.2: Some fatal warnings were triggered

Stéphane Glondu glondu at debian.org
Sat Jun 20 15:02:18 UTC 2015


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-toolchain-3.5.patch
Type: text/x-diff
Size: 7824 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20150620/4ec6ef05/attachment.patch>


More information about the Pkg-llvm-team mailing list