CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2013/10/15 14:23:52

Modified files:
        usr.sbin/pkg_add/OpenBSD: PackingElement.pm PkgCreate.pm 

Log message:
If the fake target of a port installed an empty (0-byte) file as a
manual page, pkg_create(1) asked groff to process the empty file,
which failed, and then decided to install the empty file as a source
manual page, which later caused mandoc(1) called from man(1) to
complain to the end-user.  Instead, detect the emptiness in time,
skip the formatting attempt, skip the file, process the packing
list to its end, then abort pkg_create(1) unsuccessfully such that
the porter sees the problem and can fix whatever the root cause is.

Problem reported by naddy@ as seen in p5-Carp-Datum during a bulk build,
solution is joint work with espie@, again tested in a bulk by naddy@;
"please commit" espie@.

Reply via email to