[Pkg-pascal-devel] Bug#858553: [lazarus-doc-1.6] Package lazarus-doc-1.6 is empty and does not ship documentation files

Abou Al Montacir abou.almontacir at sfr.fr
Fri Mar 24 18:42:03 UTC 2017


On Thu, 23 Mar 2017 20:27:30 +0100 Paul Gevers <elbrus at debian.org> wrote:
> On 23-03-17 12:33, Abou Al Montacir wrote:
> > The package lazarus-doc-1.6 does not ship any documentation file.
> 
> Not sure if it explains anything, but I see two Exceptions in the build
> log¹. I suspect these are the root cause, but I would have expected the
> build to fail if that was considered fatal though:
> 
> ...
> /interfaces/gtk/gtkwsstdctrls.pp -Fi../../../lcl/include"FPDoc - Free
> Pascal Documentation Tool
> Version 3.0.0 [2016/09/12]
> (c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, sg at freepascal.org
> (c) 2005 - 2012 various FPC contributors
> 
> Exception at 00000000004BDB6C: EDOMError:
> EDOMError in DOMDocument.CreateElement.
> 
> Writing 21499 pages...
> 274 Warnings hidden. Use --warnings to see them all.
> ./build_lcl_docs --outfmt chm
> ...

humm, this is a crash in fpdoc. How does the build system not detect it? Maybe
the tool itself des not return an error code?

> and
> 
> ...
> Version 3.0.0 [2016/09/12]
> (c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, sg at freepascal.org
> (c) 2005 - 2012 various FPC contributors
> 
> Exception at 00000000004BDB6C: EDOMError:
> EDOMError in DOMDocument.CreateElement.
> 
> Writing 21499 pages...
> 274 Warnings hidden. Use --warnings to see them all.
> 
> Somewhat later we have:
> /usr/bin/make -C docs/html htmlinstall
> INSTALL_PREFIX=/«BUILDDIR»/lazarus-1.6.2+dfsg/debian/tmp2/usr
> INSTALL_DOCDIR=/«BUILDDIR»/lazarus-
1.6.2+dfsg/debian/tmp2/usr/share/doc/lazarus/1.6.2
> 
> Which is the install command from lazarus. That looks all right, except
> apparently there were no files to install, because several lines later...
> Now scanning
> "/«BUILDDIR»/lazarus-1.6.2+dfsg/debian/tmp2/usr/share/doc/lazarus/1.6.2",
> found 5 files.
> 
> Paul
> 
> ¹
> https://buildd.debian.org/status/fetch.php?pkg=lazarus&arch=all&ver=1.6.2%2Bdf
sg-1&stamp=1481146459&raw=0
> 

OK so fpdoc craches and thus no files are generated. The install dir is empty
and the package too.
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20170324/06e44241/attachment.sig>


More information about the Pkg-pascal-devel mailing list