Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build compton without asciidoc #29

Closed
dikiaap opened this issue Oct 29, 2018 · 3 comments
Closed

Build compton without asciidoc #29

dikiaap opened this issue Oct 29, 2018 · 3 comments
Milestone

Comments

@dikiaap
Copy link

dikiaap commented Oct 29, 2018

Platform

Ubuntu 18.04

Compton version

Master build

Steps of reproduction

asciidoc has a lot require packages (800+ mb). So I went to install via apt-get --no-install-recommends install asciidoc for smaller packages. The log from ninja-build

[1/11] cc  -Isrc/compton@exe -Isrc -I../src -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c11 '-DCOMPTON_VERSION="v3"' -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wnonnull -Wshadow -DCONFIG_XSYNC -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -MD -MQ 'src/compton@exe/win.c.o' -MF 'src/compton@exe/win.c.o.d' -o 'src/compton@exe/win.c.o' -c ../src/win.c
[2/11] cc  -Isrc/compton@exe -Isrc -I../src -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c11 '-DCOMPTON_VERSION="v3"' -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wnonnull -Wshadow -DCONFIG_XSYNC -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -MD -MQ 'src/compton@exe/x.c.o' -MF 'src/compton@exe/x.c.o.d' -o 'src/compton@exe/x.c.o' -c ../src/x.c
[3/11] cc  -Isrc/compton@exe -Isrc -I../src -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c11 '-DCOMPTON_VERSION="v3"' -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wnonnull -Wshadow -DCONFIG_XSYNC -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -MD -MQ 'src/compton@exe/config.c.o' -MF 'src/compton@exe/config.c.o.d' -o 'src/compton@exe/config.c.o' -c ../src/config.c
[4/11] cc  -Isrc/compton@exe -Isrc -I../src -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c11 '-DCOMPTON_VERSION="v3"' -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wnonnull -Wshadow -DCONFIG_XSYNC -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -MD -MQ 'src/compton@exe/c2.c.o' -MF 'src/compton@exe/c2.c.o.d' -o 'src/compton@exe/c2.c.o' -c ../src/c2.c
[5/11] cc  -Isrc/compton@exe -Isrc -I../src -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c11 '-DCOMPTON_VERSION="v3"' -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wnonnull -Wshadow -DCONFIG_XSYNC -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -MD -MQ 'src/compton@exe/config_libconfig.c.o' -MF 'src/compton@exe/config_libconfig.c.o.d' -o 'src/compton@exe/config_libconfig.c.o' -c ../src/config_libconfig.c
[6/11] cc  -Isrc/compton@exe -Isrc -I../src -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c11 '-DCOMPTON_VERSION="v3"' -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wnonnull -Wshadow -DCONFIG_XSYNC -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -MD -MQ 'src/compton@exe/opengl.c.o' -MF 'src/compton@exe/opengl.c.o.d' -o 'src/compton@exe/opengl.c.o' -c ../src/opengl.c
[7/11] cc  -Isrc/compton@exe -Isrc -I../src -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c11 '-DCOMPTON_VERSION="v3"' -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wnonnull -Wshadow -DCONFIG_XSYNC -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -MD -MQ 'src/compton@exe/compton.c.o' -MF 'src/compton@exe/compton.c.o.d' -o 'src/compton@exe/compton.c.o' -c ../src/compton.c
[8/11] /usr/bin/a2x --format manpage ../man/compton-trans.1.asciidoc -D /home/dikiaap/.local/src/compton/build/man
FAILED: man/compton-trans.1
/usr/bin/a2x --format manpage ../man/compton-trans.1.asciidoc -D /home/dikiaap/.local/src/compton/build/man
a2x: ERROR: "xmllint" --nonet --noout --valid "/home/dikiaap/.local/src/compton/build/man/compton-trans.1.xml" returned non-zero exit status 4
[9/11] cc  -Isrc/compton@exe -Isrc -I../src -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -std=c11 '-DCOMPTON_VERSION="v3"' -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -Wno-unused-parameter -Wnonnull -Wshadow -DCONFIG_XSYNC -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_OPENGL -DCONFIG_DBUS -MD -MQ 'src/compton@exe/dbus.c.o' -MF 'src/compton@exe/dbus.c.o.d' -o 'src/compton@exe/dbus.c.o' -c ../src/dbus.c
[10/11] /usr/bin/a2x --format manpage ../man/compton.1.asciidoc -D /home/dikiaap/.local/src/compton/build/man
FAILED: man/compton.1
/usr/bin/a2x --format manpage ../man/compton.1.asciidoc -D /home/dikiaap/.local/src/compton/build/man
a2x: ERROR: "xmllint" --nonet --noout --valid "/home/dikiaap/.local/src/compton/build/man/compton.1.xml" returned non-zero exit status 4
ninja: build stopped: subcommand failed.
@yshui yshui closed this as completed in 06d8792 Oct 29, 2018
@yshui
Copy link
Owner

yshui commented Oct 29, 2018

Fixed in next. You can set build_docs build option to false to disable docs.

@dikiaap
Copy link
Author

dikiaap commented Oct 29, 2018

Awesome. Thank you!

Is this the correct way to disable it?
meson --buildtype=release . build -Dbuild_docs=false

@yshui
Copy link
Owner

yshui commented Oct 29, 2018

@dikiaap yes. and it defaults to false

@yshui yshui added this to the v4 milestone Nov 3, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants