Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2017 19:38:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216530] emulators/qemu-sbruno fails when build without docs
Message-ID:  <bug-216530-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216530

            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@FreeBSD.org
          Reporter: mail+freebsd@gerritbeine.de
          Assignee: sbruno@FreeBSD.org
             Flags: maintainer-feedback?(sbruno@FreeBSD.org)

poudriere-devel cannot build the port when DOCS option is not set.
Snippet from the logfile:
=3D=3D=3D=3D> Compressing man pages (compress-man)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216530-13>