[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#894634: gcc-7: Missing dependency on g++ ?



Package: gcc-7
Version: 7.3.0-14, 7.3.0-12
Severity: important

Hi,

I am unable to compile C++ sources on a fresh Debian install, with
the `cpp` package installed:

> $ cc main.cc
> cc: error trying to exec 'cc1plus': execvp: No such file or directory

Investigating with `strace -e trace=process -f cc main.cc` confirms that
GCC tries to run a command involving cc1plus and fails to find it in $PATH.

Installing build-essential resulted in g++-7 being installed, which
“fixed” the problem, so it looks like there are missing dependencies
in whichever package provides cc.


Best,

  nicoo

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-7 depends on:
ii  binutils      2.30-8
ii  cpp-7         7.3.0-14
ii  gcc-7-base    7.3.0-14
ii  libc6         2.27-2
ii  libcc1-0      8-20180321-1
ii  libgcc-7-dev  7.3.0-14
ii  libgcc1       1:8-20180321-1
ii  libgmp10      2:6.1.2+dfsg-3
ii  libisl19      0.19-1
ii  libmpc3       1.1.0-1
ii  libmpfr6      4.0.1-1
ii  libstdc++6    8-20180321-1
ii  zlib1g        1:1.2.8.dfsg-5

Versions of packages gcc-7 recommends:
ii  libc6-dev  2.27-2

Versions of packages gcc-7 suggests:
pn  gcc-7-doc         <none>
pn  gcc-7-locales     <none>
pn  gcc-7-multilib    <none>
pn  libasan4-dbg      <none>
pn  libatomic1-dbg    <none>
pn  libcilkrts5-dbg   <none>
pn  libgcc1-dbg       <none>
pn  libgomp1-dbg      <none>
pn  libitm1-dbg       <none>
pn  liblsan0-dbg      <none>
pn  libmpx2-dbg       <none>
pn  libquadmath0-dbg  <none>
pn  libtsan0-dbg      <none>
pn  libubsan0-dbg     <none>

-- no debconf information

Reply to: