Chromium fails to find dbus/dbus.h

Thomas Hoffmann trh411 at gmail.com
Wed Feb 26 05:22:24 UTC 2014


On Tue, Feb 25, 2014 at 7:14 PM, Jan Henrik Sylvester <me at janh.de> wrote:

> Trying to build www/chromium on 10.0-RELEASE/amd64,
> /usr/local/include/dbus-1.0 is not among the include path' and
> consequently dbus/dbus.h is not found:
>
> FAILED: c++ -MMD -MF
> obj/content/browser/content_browser.power_save_blocker_x11.o.d
> -DCONTENT_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS
> -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
> -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1
> -DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN
> -DGTK_DISABLE_SINGLE_INCLUDES=1 -DUSE_XI2_MT=2 -DENABLE_REMOTING=1
> -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_CONFIGURATION_POLICY
> -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS
> -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DENABLE_EGLIMAGE=1
> -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1
> -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1
> -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1
> -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2
> -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1
> -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_MANAGED_USERS=1
> -DGL_GLEXT_PROTOTYPES -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1
> '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"'
> -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1
> -DSK_SUPPORT_LEGACY_COLORTYPE=1 -DGR_GL_IGNORE_ES3_MSAA=0
> -DSK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR=1 -DSK_USE_POSIX_THREADS
> -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DU_USING_ICU_NAMESPACE=0
> -DU_STATIC_IMPLEMENTATION -DPROTOBUF_USE_DLLS -DGOOGLE_PROTOBUF_NO_RTTI
> -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DCHROME_PNG_WRITE_SUPPORT
> -DPNG_USER_CONFIG -DFEATURE_ENABLE_SSL -DFEATURE_ENABLE_VOICEMAIL
> -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH -DJSONCPP_RELATIVE_PATH
> -DNO_MAIN_THREAD_WRAPPING -DNO_SOUND_SYSTEM -DPOSIX -DBSD -DFREEBSD
> -DFLAC__NO_DLL -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG
> -DOFFICIAL_BUILD -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
> -D_FORTIFY_SOURCE=2 -I../.. -Iobj/content/content_browser.gen
> -I../../skia/config -I../../third_party/khronos -I../../gpu
> -I../../third_party/WebKit/Source -Igen/content
> -I../../net/third_party/nss/ssl -I../../third_party/skia/src/core
> -I../../third_party/skia/include/core
> -I../../third_party/skia/include/effects
> -I../../third_party/skia/include/pdf
> -I../../third_party/skia/include/gpu
> -I../../third_party/skia/include/lazy
> -I../../third_party/skia/include/pathops
> -I../../third_party/skia/include/pipe
> -I../../third_party/skia/include/ports
> -I../../third_party/skia/include/utils -I../../skia/ext
> -I../../third_party/re2 -I../../third_party/zlib
> -I../../third_party/icu/source/i18n
> -I../../third_party/icu/source/common -Igen/ui/ui_resources
> -Igen/protoc_out -I../../third_party/protobuf
> -I../../third_party/protobuf/src -Igen/webkit
> -I../../third_party/leveldatabase/src/include
> -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase
> -I../../third_party/WebKit -I../../third_party/npapi
> -I../../third_party/npapi/bindings -I../../v8/include
> -I../../third_party/libpng -I../../third_party/libwebp
> -I../../third_party/ots/include -I../../third_party/qcms/src
> -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo
> -Igen/content/browser/tracing -I../../third_party/libyuv/include
> -I../../third_party/libyuv -I../../third_party/libjingle/overrides
> -I../../third_party/libjingle/source -I../../testing/gtest/include
> -I../../third_party -I../../third_party/webrtc
> -I../../third_party/jsoncpp/overrides/include
> -I../../third_party/jsoncpp/source/include
> -I../../third_party/speex/include -fstack-protector
> --param=ssp-buffer-size=4  -pthread -fno-exceptions -fno-strict-aliasing
> -Wall -Wno-unused-parameter -Wno-missing-field-initializers
> -fvisibility=hidden -pipe -fPIC -Wheader-hygiene -Wno-char-subscripts
> -Wno-unneeded-internal-declaration -Wno-covered-switch-default
> -Wstring-conversion -Wno-c++11-narrowing
> -Wno-reserved-user-defined-literal -Wno-deprecated-register
> -fcolor-diagnostics -I/usr/local/include/gtk-2.0
> -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0
> -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE
> -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15
> -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2
> -I/usr/local/include/harfbuzz -pthread -I/usr/local/include/glib-2.0
> -I/usr/local/include -pthread -I/usr/local/include/glib-2.0
> -I/usr/local/include -I/usr/local/include/nss
> -I/usr/local/include/nss/nss -I/usr/local/include/nspr -Wno-header-guard
> -I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE
> -I/usr/local/include -I/usr/local/include/cairo
> -I/usr/local/include/pixman-1 -I/usr/local/include/libpng15
> -D_THREAD_SAFE -I/usr/local/include/pango-1.0 -pthread
> -I/usr/local/include/glib-2.0 -I/usr/local/include
> -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz
> -Wexit-time-destructors -O2 -fdata-sections -ffunction-sections -O2
> -pipe -fno-stack-protector -Wno-unknown-warning-option
> -fno-strict-aliasing -fno-rtti -fno-threadsafe-statics
> -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11  -c
> ../../content/browser/power_save_blocker_x11.cc -o
> obj/content/browser/content_browser.power_save_blocker_x11.o
> In file included from ../../content/browser/power_save_blocker_x11.cc:28:
> ../../dbus/bus.h:8:10: fatal error: 'dbus/dbus.h' file not found
> #include <dbus/dbus.h>
>          ^
>
> Do you need anything else?
>
> Thanks,
> Jan Henrik
>

Thanks to rene@, all www/chromium build issues, including this one, for
33.0.1750.117 are resolved as of r346082. It built successfully for me on
-CURRENT (r262336) amd64.

-Tom


More information about the freebsd-chromium mailing list