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

Bug#597145: apt: does not trap errors



Source: apt
Version: 0.8.0
Severity: serious
Justification: Policy 4.6

Generating a manpage failed on kfreebsd[0]:

| Creating man page apt-cache.pl.8
| http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:3566: parser warning : PEReference: %tbl.table.att; not found
| 		%tbl.table.att;
| 		               ^
| Note: Writing apt-cache.8
| Creating man page apt-cdrom.pl.8
| http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd:151: validity error : All markup of the conditional section is not in the same entity
| ]]>
| ^
| http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd:166: parser error : XML conditional section not closed
|
| ^
| unable to parse apt-cdrom.pl.8.xml
| make[3]: *** [apt-cdrom.pl.8] Error 6

yet the build process continued.

Besides adding "set -e" to for-loops, you probably want to build-depend on docbook-xml to avoid such failures in the future.

[0] https://buildd.debian.org/fetch.cgi?&pkg=apt&ver=0.8.0&arch=kfreebsd-amd64&stamp=1282689384&file=log

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature


Reply to: