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

Bug#947236: llvm-toolchain-9: Tries to build polly documentation when polly is disabled

Source: llvm-toolchain-9
Version: 1:9.0.1-2
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: powerpc


On powerpc, the build fails because llvm-toolchain-9 tries to build the documentation
for polly even though polly is disabled:

cd /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/clang/tools/extra/docs && /usr/bin/sphinx-build -b html -d /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/clang/tools/extra/docs/_doctrees-clang-tools-html -q /<<PKGBUILDDIR>>/clang-tools-extra/docs /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/clang/tools/extra/docs/html
/usr/lib/python3/dist-packages/sphinx/builders/html.py:138: RemovedInSphinx20Warning: builder.css_files is deprecated. Please use app.add_stylesheet() instead.
  ret += other
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins'
Built target docs-clang-tools-html
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins'
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/CMakeFiles 0
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins'
make[2]: *** No rule to make target 'docs-polly-html'.  Stop.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins'
make[1]: *** [debian/rules:479: build_doc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:276: binary-arch] Error 2

Does it actually make sense to build documentation in the binary-arch target? Shouldn't
this be moved to the binary-indep target so the documentation lands in the arch:all


 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply to: