the configure script for e_dbus checks if it should build the performance test and set the variable BUILD_PERFORMANCE_TEST to true before it has actually tested if it can build it or not. When pkg-config fails to find one of the deps it sets the variable "have_edbus_performance_test" to "no" and @EDBUS_PERFORMANCE_TEST_CFLAGS@ will be substituted to "" but BUILD_PERFORMANCE_TEST is previously set to true and the build fails as can be seen in the below log. this applies at least to BUILD_PERFORMANCE_TEST and possibly also the others. >>> Configuring source in /var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus ... * econf: updating e_dbus/config.sub with /usr/share/gnuconfig/config.sub * econf: updating e_dbus/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-ebluez --enable-econnman0_7x --disable-doc --disable-ehal --enable-enotify --enable-eofono --disable-edbus-test --disable-edbus-test-client --disable-edbus-async-test --enable-eukit --disable-edbus-bluez-test --disable-edbus-connman0_7x-test --disable-edbus-notification-daemon-test --disable-edbus-notify-test --disable-edbus-ofono-test --disable-edbus-ukit-test --disable-static configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux configure: loading site script /usr/share/crossdev/include/site/linux-gnu configure: loading site script /usr/share/crossdev/include/site/x86_64-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3 checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to build documentation... no checking for DBUS... yes checking for EDBUS... yes checking for EVAS... yes checking whether to build edbus_test binary... no checking whether to build edbus_test_client binary... no checking whether to build edbus_bluez_test binary... no checking whether to build edbus_connman0_7x_test binary... no checking whether to build edbus_notification_daemon_test binary... no checking whether to build edbus_notify_send binary... yes checking whether to build edbus_notify_test binary... no checking whether to build edbus_ofono_test binary... no checking whether to build edbus_ukit_test binary... no checking whether to build edbus_performance_test binary... yes checking whether to build edbus_async_test binary... no checking for EDBUS_NOTIFY_SEND... yes checking for EDBUS_PERFORMANCE_TEST... no checking for ANSI C header files... (cached) yes checking for __attribute__... yes checking whether the compiler supports -Wshadow... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes configure: creating ./config.status config.status: creating e_dbus.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/Doxyfile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/lib/bluez/Makefile config.status: creating src/lib/connman0_7x/Makefile config.status: creating src/lib/dbus/Makefile config.status: creating src/lib/hal/Makefile config.status: creating src/lib/notification/Makefile config.status: creating src/lib/ofono/Makefile config.status: creating src/lib/ukit/Makefile config.status: creating src/bin/Makefile config.status: creating ebluez.pc config.status: creating econnman-0.7x.pc config.status: creating edbus.pc config.status: creating ehal.pc config.status: creating enotify.pc config.status: creating eofono.pc config.status: creating eukit.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ------------------------------------------------------------------------ e_dbus 1.6.99.74445 ------------------------------------------------------------------------ Configuration Options Summary: Modules: EBluez.............: no EConnman (0.7x)....: yes EHal...............: no ENotify............: yes EOfono.............: yes EUkit..............: yes Binaries: EDbus test.........: no EDbus client test..: no EDbus async test...: no EDbus performance..: no EBluez test........: no EConnman (0.7x)test: no ENotify Daemon test: no ENotify send.......: yes ENotify test.......: no EOfono test........: no EUkit test.........: no Documentation..........: no Compilation............: make (or gmake) CPPFLAGS.............: CFLAGS...............: -O2 -ggdb -pipe -march=native -fno-delete-null-pointer-checks -floop-interchange -floop-strip-mine -floop-block -Wshadow LDFLAGS..............: -Wl,--as-needed,-O1,--sort-common Installation...........: make install (as root if needed, with 'su' or 'sudo') prefix...............: /usr >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus ... make -j5 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus' Making all in src make[2]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src' Making all in lib make[3]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib' Making all in dbus make[4]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/dbus' CC e_dbus.lo CC e_dbus_message.lo CC e_dbus_methods.lo CC e_dbus_object.lo CC e_dbus_interfaces.lo CC e_dbus_util.lo CC e_dbus_signal.lo CCLD libedbus.la make[4]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/dbus' Making all in connman0_7x make[4]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/connman0_7x' CC e_connman.lo CC e_connman_element.lo CC e_connman_manager.lo CC e_connman_profile.lo CC e_connman_service.lo CC e_connman_technology.lo CCLD libeconnman0_7x.la make[4]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/connman0_7x' Making all in notification make[4]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/notification' CC notification.lo CC marshal.lo CC client.lo CC daemon.lo CCLD libenotify.la make[4]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/notification' Making all in ofono make[4]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/ofono' CC e_ofono.lo CC e_ofono_element.lo CC e_ofono_manager.lo CC e_ofono_modem.lo CC e_ofono_network_reg.lo CC e_ofono_sms.lo CCLD libeofono.la make[4]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/ofono' Making all in ukit make[4]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/ukit' CC e_udisks.lo CC e_upower.lo CC e_ukit_util.lo CC e_ukit_main.lo CC e_ukit_private_util.lo CCLD libeukit.la make[4]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib/ukit' make[4]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib' make[3]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/lib' Making all in bin make[3]: Entering directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/bin' CC e_notify_send-notify-send.o CC e_dbus_performance-performance.o CCLD e-notify-send performance.c:2:18: fatal error: Eina.h: No such file or directory compilation terminated. make[3]: *** [e_dbus_performance-performance.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/e_dbus-9999/work/e_dbus' make: *** [all] Error 2 emake failed