Bug#913213: libclang-common-7-dev: /usr/lib/llvm-7/lib/clang/7.0.1/include/limits.h is invalid (nbsp character)
Vincent Lefevre
vincent at vinc17.net
Thu Nov 8 08:17:05 GMT 2018
Package: libclang-common-7-dev
Version: 1:7.0.1~+rc2-1
Severity: grave
Tags: upstream
Forwarded: https://bugs.llvm.org/show_bug.cgi?id=39585
Justification: renders package unusable
/usr/lib/llvm-7/lib/clang/7.0.1/include/limits.h contains
#if !defined(__CLANG_LIMITS_H) || !defined(_LIBC_LIMITS_H_)
where the character after "||" is a no-break space (U+00A0).
This yields the following failure:
$ echo '#include <limits.h>' | clang-7 -E -
In file included from <stdin>:1:
/usr/lib/llvm-7/lib/clang/7.0.1/include/limits.h:25:34: error: invalid token at
start of a preprocessor expression
#if !defined(__CLANG_LIMITS_H) || !defined(_LIBC_LIMITS_H_)
^
# 1 "<stdin>"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 349 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "<stdin>" 2
# 1 "/usr/lib/llvm-7/lib/clang/7.0.1/include/limits.h" 1 3
# 2 "<stdin>" 2
1 error generated.
and this makes GNU MPFR testing fail.
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libclang-common-7-dev depends on:
ii lib32gcc1 1:8.2.0-9
ii lib32stdc++6 8.2.0-9
ii libc6 2.27-8
ii libc6-i386 2.27-8
ii libgcc1 1:8.2.0-9
ii libllvm7 1:7.0.1~+rc2-1
ii libstdc++6 8.2.0-9
ii libtinfo6 6.1+20181013-1
ii zlib1g 1:1.2.11.dfsg-1
libclang-common-7-dev recommends no packages.
libclang-common-7-dev suggests no packages.
-- no debconf information
More information about the Pkg-llvm-team
mailing list