Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753122AbcKBOmg convert rfc822-to-8bit (ORCPT ); Wed, 2 Nov 2016 10:42:36 -0400 Received: from smtp2-2.goneo.de ([85.220.129.34]:34012 "EHLO smtp2-2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750944AbcKBOme (ORCPT ); Wed, 2 Nov 2016 10:42:34 -0400 X-Spam-Flag: NO X-Spam-Score: -2.9 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: make pdfdocs fails with v4.9-rc3 From: Markus Heiser In-Reply-To: Date: Wed, 2 Nov 2016 15:42:17 +0100 Cc: Mauro Carvalho Chehab , Jonathan Corbet , linux-doc List , linux-kernel List , Jani Nikula Content-Transfer-Encoding: 8BIT Message-Id: <45104DBA-5B56-48EA-9E1A-7F088BD8385A@darmarit.de> References: <20161031131524.581accdc@lwn.net> <20161031141759.7eb1c9e5@vela.lan> <20161031145850.266feaeb@vela.lan> <20161031164002.0104ddc0@vela.lan> <20161031164148.50aba3be@vela.lan> To: Jim Davis X-Mailer: Apple Mail (2.1510) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2039 Lines: 55 Am 01.11.2016 um 23:11 schrieb Jim Davis : > On Mon, Oct 31, 2016 at 3:41 PM, Mauro Carvalho Chehab > wrote: >> Em Mon, 31 Oct 2016 16:40:02 -0600 >> Mauro Carvalho Chehab escreveu: >> >>> Em Mon, 31 Oct 2016 15:04:42 -0700 >>> Jim Davis escreveu: > > I've no idea where's it's going astray, though there are a number of errors: > > jim@krebstar:~$ grep '^!' /tmp/make-pdfdocs.txt | sort -u > ! Argument of \LT@max@sel has an extra }. > ! Extra alignment tab has been changed to \cr. > ! Extra \endcsname. > ! Extra \endgroup. > ! Illegal unit of measure (pt inserted). > ! Improper alphabetic constant. > ! LaTeX Error: \begin{document} ended by \end{adjustbox}. > ! LaTeX Error: \begin{document} ended by \end{longtable}. > ! LaTeX Error: Something's wrong--perhaps a missing \item. > ! LaTeX Error: There's no line here to end. > ! Misplaced \noalign. > ! Missing \endcsname inserted. > ! Missing \endgroup inserted. > ! Missing { inserted. > ! Missing } inserted. > ! Missing # inserted in alignment preamble. > ! Missing number, treated as zero. > ! Paragraph ended before \LT@entry was complete. > ! Paragraph ended before \LT@max@sel was complete. > ! Paragraph ended before \multicolumn was complete. > ! Undefined control sequence. > ! You can't use `\hrule' here except wi > FYI: as far as I know those "!LaTeX Error" messages cause TeX to end with an error code which stops the make build. Since we are not in an interactive mode, xelatex continues after each "!LaTeX Error" messages and builds the pdf to its end (even if the content might be broken).. and then, it ends with exit status !=0. In those cases (make build stops), we have to study the log file. BTW: I prefer Jani's solution, using the "batchmode" [1] and if a pdf build fails, I have to read the *.log file in the latex output folder searching for those "!LaTeX Error". [1] https://www.mail-archive.com/linux-doc@vger.kernel.org/msg07462.html --Markus--