* Converting shebang in 'test/Scripts/elf-dump' * Applying llvm-2.6-commandguide-nops.patch ... * Failed Patch: llvm-2.6-commandguide-nops.patch ! * ( /usr/portage/sys-devel/llvm/files/llvm-2.6-commandguide-nops.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/sys-devel/llvm-9999/temp/llvm-2.6-commandguide-nops.patch.out * ERROR: sys-devel/llvm-9999 failed (prepare phase): * Failed Patch: llvm-2.6-commandguide-nops.patch! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 4903: Called epatch '/usr/portage/sys-devel/llvm/files/llvm-2.6-commandguide-nops.patch' * environment, line 1621: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of 'emerge --info =sys-devel/llvm-9999', * the complete build log and the output of 'emerge -pqv =sys-devel/llvm-9999'. * The complete build log is located at '/var/tmp/portage/sys-devel/llvm-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-9999/temp/environment'. * S: '/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999' Reproducible: Always
I don't see any Makefile in docs/CommandGuide/ anymore. If you could try just removing that patch from the build and seeing what happens (preferably, attaching the build log or at least the '>>>' and '<<<' lines) I'd appreciate. Otherwise, I'll try to rebuild the package in the next 20 hours.
Without this patch llvm-9999 compiles and installs without error.
(In reply to comment #2) > Without this patch llvm-9999 compiles and installs without error. I was more wondering whether any particular additional files are installed or stop being installed. But I'll test it myself and commit in next, say, 2 hrs.
I see that Patrick has removed that patch already. Sadly, as a result LLVM no longer installs manpages for its commands (HTML command guides as well but that's not very important IMO).
I've added a code to the ebuild which generates the manpages using dev-python/docutils. That should serve the purpose until upstream readds manpage generation.
Unfortunatelly rst2man (docutils-0.9) has problem with generating mans: llvm[4]: ======= Finished Linking Release Executable Sample make[4]: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/projects/sample/tools/sample' make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/projects/sample/tools' make[2]: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/projects/sample' make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/projects' make[1]: Entering directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/bindings' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/bindings' llvm[0]: ***** Completed Release Build make -j2 bugpoint.1 FileCheck.1 index.1 lit.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 llvm-diff.1 llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 llvm-prof.1 llvm-ranlib.1 llvm-stress.1 opt.1 tblgen.1 rst2man.py bugpoint.rst > bugpoint.1 rst2man.py FileCheck.rst > FileCheck.1 NotImplementedError: docutils.writers.manpage.Translator visiting unknown node type: inline Exiting due to error. Use "--traceback" to diagnose. Please report errors to <docutils-users@lists.sf.net>. Include "--traceback" output, Docutils version (0.9 [release]), Python version (2.7.3), your OS type & version, and the command line used. make: *** [bugpoint.1] Error 1 make: *** Waiting for unfinished jobs.... NotImplementedError: docutils.writers.manpage.Translator visiting unknown node type: inline Exiting due to error. Use "--traceback" to diagnose. Please report errors to <docutils-users@lists.sf.net>. Include "--traceback" output, Docutils version (0.9 [release]), Python version (2.7.3), your OS type & version, and the command line used. make: *** [FileCheck.1] Error 1 * ERROR: sys-devel/llvm-9999 failed (compile phase): * emake failed With docutils-0.8.1 everything is ok.
(In reply to comment #6) > Unfortunatelly rst2man (docutils-0.9) has problem with generating mans: > llvm[4]: ======= Finished Linking Release Executable Sample > make[4]: Leaving directory > `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/projects/sample/tools/ > sample' > make[3]: Leaving directory > `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/projects/sample/tools' > make[2]: Leaving directory > `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/projects/sample' > make[1]: Leaving directory > `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/projects' > make[1]: Entering directory > `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/bindings' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory > `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/bindings' > llvm[0]: ***** Completed Release Build > make -j2 bugpoint.1 FileCheck.1 index.1 lit.1 llc.1 lli.1 llvm-ar.1 > llvm-as.1 llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 > llvm-diff.1 llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 llvm-prof.1 > llvm-ranlib.1 llvm-stress.1 opt.1 tblgen.1 > rst2man.py bugpoint.rst > bugpoint.1 > rst2man.py FileCheck.rst > FileCheck.1 > NotImplementedError: docutils.writers.manpage.Translator visiting unknown > node type: inline > Exiting due to error. Use "--traceback" to diagnose. > Please report errors to <docutils-users@lists.sf.net>. > Include "--traceback" output, Docutils version (0.9 [release]), > Python version (2.7.3), your OS type & version, and the > command line used. > make: *** [bugpoint.1] Error 1 > make: *** Waiting for unfinished jobs.... > NotImplementedError: docutils.writers.manpage.Translator visiting unknown > node type: inline > Exiting due to error. Use "--traceback" to diagnose. > Please report errors to <docutils-users@lists.sf.net>. > Include "--traceback" output, Docutils version (0.9 [release]), > Python version (2.7.3), your OS type & version, and the > command line used. > make: *** [FileCheck.1] Error 1 > * ERROR: sys-devel/llvm-9999 failed (compile phase): > * emake failed > > > With docutils-0.8.1 everything is ok. Eh, I knew relying on anything with reference implementation in Python is a bad idea :P. I'll disable the docgen for now.
Doc generation in 3.2 (and trunk) is now done with sphinx (and I updated the live ebuild to match this), so we can finally close this one :)