Bug 250733 - emulators/qemu compile error with docs unset
Summary: emulators/qemu compile error with docs unset
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-30 04:12 UTC by Jack
Modified: 2020-10-30 14:07 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2020-10-30 04:12:00 UTC
When qemu is built with DOCS unset, compile errors with

gmake[2]: Entering directory 'obj/usr/ports/emulators/qemu/work/qemu-5.0.1'
(printf '#define QEMU_PKGVERSION ""\n'; printf '#define QEMU_FULL_VERSION "5.0.1"\n'; ) > qemu-version.h.tmp
gmake -C/ obj/usr/ports/emulators/qemu/work/qemu-5.0.1/slirp BUILD_DIR="obj/usr/ports/emulators/qemu/work/qemu-5.0.1/slirp" PKG_CONFIG="pkgconf" CC="cc" AR="ar"        LD="ld" RANLIB="ranlib" CFLAGS="-I/usr/local/include/pixman-1  -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc/libfdt  -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99  -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1 -I/usr/local/include -DPREFIX=\""/usr/local\"" -Wno-string-plus-int -Wno-typedef-redefinition -Wno-initializer-overrides -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include  -I/usr/local/include/libpng16  -I/usr/local/include -I/usr/local/include/libdrm -D_THREAD_SAFE -pthread  -I/usr/local/include/spice-1 -I/usr/local/include/spice-server -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/pixman-1  -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/tests -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/tests/qtest -O2 -g -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -fPIC" LDFLAGS="-Lobj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc/libfdt -Wl,-z,relro -Wl,-z,now -pie -m64  -L"/usr/lib" -L"/usr/local/lib" -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1 -I/usr/local/include -DPREFIX=\""/usr/local\"" -fstack-protector-strong"
gmake[3]: Entering directory 'obj/usr/ports/emulators/qemu/work/qemu-5.0.1/slirp'
if ! cmp -s qemu-version.h qemu-version.h.tmp; then mv qemu-version.h.tmp qemu-version.h; else rm qemu-version.h.tmp; fi
gmake -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc VPATH=obj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc -C dtc V="1" LIBFDT_srcdir=obj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc/libfdt CPPFLAGS="-Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc/libfdt" CFLAGS="-O2 -g -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include/pixman-1  -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc/libfdt  -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99  -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1 -I/usr/local/include -DPREFIX=\""/usr/local\"" -Wno-string-plus-int -Wno-typedef-redefinition -Wno-initializer-overrides -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include  -I/usr/local/include/libpng16  -I/usr/local/include -I/usr/local/include/libdrm -D_THREAD_SAFE -pthread  -I/usr/local/include/spice-1 -I/usr/local/include/spice-server -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/pixman-1  -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/tests -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1/tests/qtest" LDFLAGS="-Lobj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc/libfdt -Wl,-z,relro -Wl,-z,now -pie -m64  -L"/usr/lib" -L"/usr/local/lib" -Iobj/usr/ports/emulators/qemu/work/qemu-5.0.1 -I/usr/local/include -DPREFIX=\""/usr/local\"" -fstack-protector-strong" ARFLAGS="rv" CC="cc" AR="ar" LD="ld"  BUILD_DIR=obj/usr/ports/emulators/qemu/work/qemu-5.0.1 libfdt/libfdt.a
gmake[3]: Entering directory 'obj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory 'obj/usr/ports/emulators/qemu/work/qemu-5.0.1/slirp'
gmake[3]: 'libfdt/libfdt.a' is up to date.
gmake[3]: Leaving directory 'obj/usr/ports/emulators/qemu/work/qemu-5.0.1/dtc'
perl -Ww --/ obj/usr/ports/emulators/qemu/work/qemu-5.0.1/scripts/texi2pod.pl -I docs -I scripts -I . -DVERSION="5.0.1" -DCONFDIR="/usr/local/etc/qemu" scripts/texi2pod.pl qemu.1.pod && pod2man --utf8 --section=1 --center=" " --release=" " qemu.1.pod > qemu.1
perl -Ww --/ obj/usr/ports/emulators/qemu/work/qemu-5.0.1/scripts/texi2pod.pl -I docs -I scripts -I . -DVERSION="5.0.1" -DCONFDIR="/usr/local/etc/qemu" scripts/texi2pod.pl qemu-img.1.pod && pod2man --utf8 --section=1 --center=" " --release=" " qemu-img.1.pod > qemu-img.1
perl -Ww --/ obj/usr/ports/emulators/qemu/work/qemu-5.0.1/scripts/texi2pod.pl -I docs -I scripts -I . -DVERSION="5.0.1" -DCONFDIR="/usr/local/etc/qemu" scripts/texi2pod.pl qemu-nbd.8.pod && pod2man --utf8 --section=8 --center=" " --release=" " qemu-nbd.8.pod > qemu-nbd.8
perl -Ww --/ obj/usr/ports/emulators/qemu/work/qemu-5.0.1/scripts/texi2pod.pl -I docs -I scripts -I . -DVERSION="5.0.1" -DCONFDIR="/usr/local/etc/qemu" scripts/texi2pod.pl qemu-ga.8.pod && pod2man --utf8 --section=8 --center=" " --release=" " qemu-ga.8.pod > qemu-ga.8
perl -Ww --/ obj/usr/ports/emulators/qemu/work/qemu-5.0.1/scripts/texi2pod.pl -I docs -I docs/interop -I docs/interop -DVERSION="5.0.1" -DCONFDIR="/usr/local/etc/qemu" docs/interop/qemu-qmp-ref.texi docs/interop/qemu-qmp-ref.7.pod && pod2man --utf8 --section=7 --center=" " --release=" " docs/interop/qemu-qmp-ref.7.pod > docs/interop/qemu-qmp-ref.7
No filename or title
No filename or title
gmake[2]: *** [obj/usr/ports/emulators/qemu/work/qemu-5.0.1/rules.mak:394: qemu-nbd.8] Error 255
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [obj/usr/ports/emulators/qemu/work/qemu-5.0.1/rules.mak:390: qemu.1] Error 255
No filename or title
gmake[2]: *** [obj/usr/ports/emulators/qemu/work/qemu-5.0.1/rules.mak:390: qemu-img.1] Error 255
cannot find version.texi at/ obj/usr/ports/emulators/qemu/work/qemu-5.0.1/scripts/texi2pod.pl line 160, <GEN0> line 4.
gmake[2]: *** [obj/usr/ports/emulators/qemu/work/qemu-5.0.1/rules.mak:392: docs/interop/qemu-qmp-ref.7] Error 2
No filename or title
gmake[2]: *** [obj/usr/ports/emulators/qemu/work/qemu-5.0.1/rules.mak:394: qemu-ga.8] Error 255
gmake[2]: Leaving directory 'obj/usr/ports/emulators/qemu/work/qemu-5.0.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/emulators/qemu
*** Error code 1