[Bug 216530] emulators/qemu-sbruno fails when build without docs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 27 19:38:58 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216530

            Bug ID: 216530
           Summary: emulators/qemu-sbruno fails when build without docs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbruno at FreeBSD.org
          Reporter: mail+freebsd at gerritbeine.de
          Assignee: sbruno at FreeBSD.org
             Flags: maintainer-feedback?(sbruno at FreeBSD.org)

poudriere-devel cannot build the port when DOCS option is not set.
Snippet from the logfile:
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        >============================
===>  Building package for qemu-sbruno-2.8.50.g20170123
pkg-static: Unable to access file
/wrkdirs/usr/ports/emulators/qemu-sbruno/work/stage/usr/local/man/man7/qemu-ga-ref.7.gz:
No such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/emulators/qemu-sbruno/work/stage/usr/local/man/man7/qemu-qmp-ref.7.gz:
No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/qemu-sbruno

The following patch resolves this error.
These two man pages do not exist if portdocs are not build.

diff -Nur qemu-sbruno.orig/pkg-plist qemu-sbruno/pkg-plist
--- qemu-sbruno.orig/pkg-plist  2017-01-27 20:32:59.000000000 +0100
+++ qemu-sbruno/pkg-plist       2017-01-27 20:23:54.000000000 +0100
@@ -48,8 +48,8 @@
 %%SOFTMMU%%@sample etc/qemu-ifdown.sample
 %%SOFTMMU%%man/man1/qemu.1.gz
 %%SOFTMMU%%man/man1/qemu-img.1.gz
-%%SOFTMMU%%man/man7/qemu-ga-ref.7.gz
-%%SOFTMMU%%man/man7/qemu-qmp-ref.7.gz
+%%PORTDOCS%%%%SOFTMMU%%man/man7/qemu-ga-ref.7.gz
+%%PORTDOCS%%%%SOFTMMU%%man/man7/qemu-qmp-ref.7.gz
 %%SOFTMMU%%man/man8/qemu-ga.8.gz
 %%SOFTMMU%%man/man8/qemu-nbd.8.gz
 %%SOFTMMU%%%%DATADIR%%/QEMU,cgthree.bin

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list