Bug#953806: cpp-9: no include path in which to search for limits.h

2020-03-13 Thread Vincent Lefevre
Compare:

cventin:~> cpp-8 tst.c
# 1 "tst.c"
# 1 ""
# 1 ""
# 31 ""
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "" 2
# 1 "tst.c"
# 1 "/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h" 1 3 4
[...]

cventin:~> cpp-9 tst.c
# 1 "tst.c"
# 1 ""
# 1 ""
# 31 ""
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "" 2
# 1 "tst.c"
# 1 "/usr/include/limits.h" 1 3 4
[...]

There is no /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed directory.

This could actually be a bug in libgcc-9-dev, as libgcc-8-dev
provides "/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h".

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#953806: cpp-9: no include path in which to search for limits.h

2020-03-13 Thread Vincent Lefevre
Package: cpp-9
Version: 9.3.0-1
Severity: grave
Justification: renders package unusable

The compilation of a simple program like

#include 

int main (void)
{
  return 0;
}

now fails:

cventin:~> gcc-9 tst.c -o tst
In file included from tst.c:1:
/usr/include/limits.h:124:26: error: no include path in which to search for 
limits.h
  124 | # include_next 
  |  ^

or directly with "cpp-9 tst.c".

Since this issue does not occur with other GCC versions, I suppose
that this is a bug in cpp-9, not in libc6-dev.

-- System Information:
Debian Release: bullseye/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 5.4.0-4-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
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 cpp-9 depends on:
ii  gcc-9-base  9.3.0-1
ii  libc6   2.30-2
ii  libgmp102:6.2.0+dfsg-4
ii  libisl220.22.1-1
ii  libmpc3 1.1.0-1
ii  libmpfr64.0.2-1
ii  zlib1g  1:1.2.11.dfsg-2

cpp-9 recommends no packages.

Versions of packages cpp-9 suggests:
ii  gcc-9-locales  9.3.0-1

-- no debconf information

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)