Bug#874533: llvm-toolchain-4.0: Can't exec "gcc-7.1": No such file or directory

Igor Liferenko igor.liferenko at gmail.com
Thu Sep 7 02:43:26 UTC 2017


Package: clang-4.0
Version: 1:4.0.1-1
Severity: serious
Justification: fails to build from source

Dear Maintainer,

Your package failed to build on amd64:

apt-get source clang-4.0
Reading package lists... Done
Picking 'llvm-toolchain-4.0' as source package instead of 'clang-4.0'
NOTICE: 'llvm-toolchain-4.0' packaging is maintained in the 'Svn' version control system at:
svn://anonscm.debian.org/svn/pkg-llvm/llvm-toolchain/branches/4.0/
Need to get 54.4 MB of source archives.
Get:1 http://ftp.us.debian.org/debian testing/main llvm-toolchain-4.0 1:4.0.1-1 (dsc) [7,301 B]
...


$ dpkg-buildpackage -uc -us -rfakeroot -b
dpkg-buildpackage: info: source package llvm-toolchain-4.0
dpkg-buildpackage: info: source version 1:4.0.1-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Sylvestre Ledru <sylvestre at debian.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build llvm-toolchain-4.0-4.0.1
 fakeroot debian/rules clean
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
dh clean --with ocaml
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/tex_tmp/llvm-toolchain-4.0-4.0.1'
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
rm -rf build-llvm tools/clang/include/clang/Debian/debian_path.h docs/_build/ clang/docs/_build tools/clang/docs/_html/
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
rm -rf cov-int/ reports/
rm -f `ls debian/*.in|sed -e "s|.in$||g"`
find utils -name '*.pyc' | xargs -r rm -f
# Use -I because a test has a space in its name
find lldb/test -iname '*.pyc' | xargs -I{} -r rm -f {}
find test -name '*.pyc' -o -name '*.cm[ix]' | xargs -r rm -f
find test/Bindings -name '*.o' | xargs -r rm -f
rm -f tools/clang tools/polly tools/lld tools/lldb projects/compiler-rt
rm -rf tools/clang/tools/extra clang/tools/extra/
rm -f /tex_tmp/llvm-toolchain-4.0-4.0.1/utils/vim/llvm-4.0.vim /tex_tmp/llvm-toolchain-4.0-4.0.1/utils/vim/tablegen-4.0.vim
rm -f /tex_tmp/llvm-toolchain-4.0-4.0.1/clang/tools/clang-format/clang-format-diff-4.0
rm -f /tex_tmp/llvm-toolchain-4.0-4.0.1/clang/tools/clang-format/clang-format-4.0.py
make[1]: Leaving directory '/tex_tmp/llvm-toolchain-4.0-4.0.1'
   dh_clean
 debian/rules build
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
dh build --with ocaml
   dh_testdir
   dh_update_autotools_config
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/tex_tmp/llvm-toolchain-4.0-4.0.1'
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
dpkg-query: no packages found matching g++-7.1
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
for f in debian/*.in; do \
	f2=$(echo $f | sed 's/\.in$//;s/X\.Y/4.0/'); \
	echo "$f => $f2"; \
	sed -e 's|@DEB_HOST_MULTIARCH@|x86_64-linux-gnu|g' \
		-e "s|@OCAML_STDLIB_DIR@|/usr/lib/ocaml|g" \
		-e "s|@LLVM_VERSION_FULL@|4.0.1|g" \
		-e "s|@LLVM_VERSION@|4.0|g" $f > $f2; \
done
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
debian/clang-X.Y-doc.docs.in => debian/clang-4.0-doc.docs
debian/clang-X.Y-examples.examples.in => debian/clang-4.0-examples.examples
debian/clang-X.Y.install.in => debian/clang-4.0.install
debian/clang-X.Y.links.in => debian/clang-4.0.links
debian/clang-X.Y.lintian-overrides.in => debian/clang-4.0.lintian-overrides
debian/clang-X.Y.manpages.in => debian/clang-4.0.manpages
debian/clang-format-X.Y.install.in => debian/clang-format-4.0.install
debian/clang-format-X.Y.lintian-overrides.in => debian/clang-format-4.0.lintian-overrides
debian/clang-format-X.Y.manpages.in => debian/clang-format-4.0.manpages
debian/clang-tidy-X.Y.install.in => debian/clang-tidy-4.0.install
debian/clang-tidy-X.Y.links.in => debian/clang-tidy-4.0.links
debian/clang-tidy-X.Y.lintian-overrides.in => debian/clang-tidy-4.0.lintian-overrides
debian/clang-tidy-X.Y.manpages.in => debian/clang-tidy-4.0.manpages
debian/libclang-X.Y-dev.install.in => debian/libclang-4.0-dev.install
debian/libclang-X.Y-dev.links.in => debian/libclang-4.0-dev.links
debian/libclang-common-X.Y-dev.install.in => debian/libclang-common-4.0-dev.install
debian/libclang-common-X.Y-dev.links.in => debian/libclang-common-4.0-dev.links
debian/libclang1-X.Y.install.in => debian/libclang1-4.0.install
debian/libclang1-X.Y.links.in => debian/libclang1-4.0.links
debian/libclang1-X.Y.lintian-overrides.in => debian/libclang1-4.0.lintian-overrides
debian/libclang1-X.Y.symbols.in => debian/libclang1-4.0.symbols
debian/liblld-X.Y-dev.install.in => debian/liblld-4.0-dev.install
debian/liblld-X.Y.install.in => debian/liblld-4.0.install
debian/liblld-X.Y.links.in => debian/liblld-4.0.links
debian/liblldb-X.Y-dev.install.in => debian/liblldb-4.0-dev.install
debian/liblldb-X.Y-dev.links.in => debian/liblldb-4.0-dev.links
debian/liblldb-X.Y.install.in => debian/liblldb-4.0.install
debian/liblldb-X.Y.links.in => debian/liblldb-4.0.links
debian/liblldb-X.Y.lintian-overrides.in => debian/liblldb-4.0.lintian-overrides
debian/libllvm-X.Y-ocaml-dev.META.in => debian/libllvm-4.0-ocaml-dev.META
debian/libllvm-X.Y-ocaml-dev.dirs.in => debian/libllvm-4.0-ocaml-dev.dirs
debian/libllvm-X.Y-ocaml-dev.install.in => debian/libllvm-4.0-ocaml-dev.install
debian/libllvm-X.Y-ocaml-dev.lintian-overrides.in => debian/libllvm-4.0-ocaml-dev.lintian-overrides
debian/libllvmX.Y.install.in => debian/libllvm4.0.install
debian/libllvmX.Y.links.in => debian/libllvm4.0.links
debian/libllvmX.Y.lintian-overrides.in => debian/libllvm4.0.lintian-overrides
debian/lld-X.Y.install.in => debian/lld-4.0.install
debian/lldb-X.Y.install.in => debian/lldb-4.0.install
debian/lldb-X.Y.lintian-overrides.in => debian/lldb-4.0.lintian-overrides
debian/lldb-X.Y.manpages.in => debian/lldb-4.0.manpages
debian/lldb-X.Y.postinst.in => debian/lldb-4.0.postinst
debian/llvm-X.Y-dev.dirs.in => debian/llvm-4.0-dev.dirs
debian/llvm-X.Y-dev.install.in => debian/llvm-4.0-dev.install
debian/llvm-X.Y-dev.links.in => debian/llvm-4.0-dev.links
debian/llvm-X.Y-doc.dirs.in => debian/llvm-4.0-doc.dirs
debian/llvm-X.Y-doc.install.in => debian/llvm-4.0-doc.install
debian/llvm-X.Y-examples.dirs.in => debian/llvm-4.0-examples.dirs
debian/llvm-X.Y-examples.examples.in => debian/llvm-4.0-examples.examples
debian/llvm-X.Y-examples.links.in => debian/llvm-4.0-examples.links
debian/llvm-X.Y-runtime.binfmt.in => debian/llvm-4.0-runtime.binfmt
debian/llvm-X.Y-runtime.install.in => debian/llvm-4.0-runtime.install
debian/llvm-X.Y-runtime.lintian-overrides.in => debian/llvm-4.0-runtime.lintian-overrides
debian/llvm-X.Y-runtime.manpages.in => debian/llvm-4.0-runtime.manpages
debian/llvm-X.Y-runtime.postinst.in => debian/llvm-4.0-runtime.postinst
debian/llvm-X.Y-runtime.prerm.in => debian/llvm-4.0-runtime.prerm
debian/llvm-X.Y-tools.dirs.in => debian/llvm-4.0-tools.dirs
debian/llvm-X.Y-tools.install.in => debian/llvm-4.0-tools.install
debian/llvm-X.Y.dirs.in => debian/llvm-4.0.dirs
debian/llvm-X.Y.install.in => debian/llvm-4.0.install
debian/llvm-X.Y.lintian-overrides.in => debian/llvm-4.0.lintian-overrides
debian/llvm-X.Y.manpages.in => debian/llvm-4.0.manpages
debian/pollycc.in => debian/pollycc
debian/python-clang-X.Y.install.in => debian/python-clang-4.0.install
debian/python-lldb-X.Y.install.in => debian/python-lldb-4.0.install
debian/python-lldb-X.Y.links.in => debian/python-lldb-4.0.links
echo "Using gcc: "
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Can't exec "gcc-7.1": No such file or directory at /usr/share/perl5/Dpkg/Arch.pm line 165.
dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
Using gcc: 
gcc-7.1 -v
make[1]: gcc-7.1: Command not found
debian/rules:176: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 127
make[1]: Leaving directory '/tex_tmp/llvm-toolchain-4.0-4.0.1'
debian/rules:158: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



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

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

Versions of packages clang-4.0 depends on:
ii  binutils                 2.29-8
ii  libc6                    2.24-17
ii  libc6-dev                2.24-17
ii  libclang-common-4.0-dev  1:4.0.1-1
ii  libclang1-4.0            1:4.0.1-1
ii  libgcc-6-dev             6.4.0-1
ii  libgcc1                  1:7.2.0-3
ii  libjsoncpp1              1.7.4-3
ii  libllvm4.0               1:4.0.1-1
ii  libobjc-6-dev            6.4.0-1
ii  libstdc++-6-dev          6.4.0-1
ii  libstdc++6               7.2.0-3
ii  libxml2                  2.9.4+dfsg1-3

Versions of packages clang-4.0 recommends:
ii  llvm-4.0-dev  1:4.0.1-1
ii  python        2.7.13-2

Versions of packages clang-4.0 suggests:
pn  clang-4.0-doc  <none>
pn  gnustep        <none>
pn  gnustep-devel  <none>
pn  libomp-dev     <none>

-- no debconf information



More information about the Pkg-llvm-team mailing list