While building dev-libs/ecore-1.7.8 without X support, I'm getting the following error : make[6]: Entering directory `/var/tmp/portage/dev-libs/ecore-1.7.8/work/ecore-1.7.8/src/modules/immodules/xim' /bin/sh ../../../../libtool --tag=CC --tag=disable-static --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../.. -I../../../../src/lib/ecore -I../../../../src/lib/ecore_input -I../../../../src/lib/ecore_x -I../../../../src/lib/ecore_imf -I../../../../src/lib/ecore -I../../../../src/lib/ecore_input -I../../../../src/lib/ecore_x -I../../../../src/lib/ecore_imf -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/ecore\" -I/usr/X11R6/include -I/usr/include/eina-1 -I/usr/include/eina-1/eina -march=native -O2 -pipe -fomit-frame-pointer -Wall -W -MT xim_la-ecore_imf_xim.lo -MD -MP -MF .deps/xim_la-ecore_imf_xim.Tpo -c -o xim_la-ecore_imf_xim.lo `test -f 'ecore_imf_xim.c' || echo './'`ecore_imf_xim.c libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../.. -I../../../../src/lib/ecore -I../../../../src/lib/ecore_input -I../../../../src/lib/ecore_x -I../../../../src/lib/ecore_imf -I../../../../src/lib/ecore -I../../../../src/lib/ecore_input -I../../../../src/lib/ecore_x -I../../../../src/lib/ecore_imf -DPACKAGE_LIB_DIR=\"/usr/lib64\" -DPACKAGE_DATA_DIR=\"/usr/share/ecore\" -I/usr/X11R6/include -I/usr/include/eina-1 -I/usr/include/eina-1/eina -march=native -O2 -pipe -fomit-frame-pointer -Wall -W -MT xim_la-ecore_imf_xim.lo -MD -MP -MF .deps/xim_la-ecore_imf_xim.Tpo -c ecore_imf_xim.c -fPIC -DPIC -o .libs/xim_la-ecore_imf_xim.o mv -f .deps/xim_la-ecore_imf_xim.Tpo .deps/xim_la-ecore_imf_xim.Plo make[6]: *** No rule to make target `../../../../src/lib/ecore_x/libecore_x.la', needed by `xim.la'. Stop. Full log attached and emerge --info Reproducible: Always Steps to Reproduce: 1. MAKEOPTS=-j1 USE="evas inotify ipv6 ssl threads -X -ares -curl -directfb -doc -examples -fbcon -gles -glib -gnutls -nls -opengl -sdl -static-libs -tslib -wayland -xcb -xinerama -xprint -xscreensaver" emerge -vat edje_list edje_smart_thumb 2. 3.
Created attachment 355636 [details] build.log
Created attachment 355638 [details] emerge --info
(In reply to Bertrand Jacquin from comment #0) > Steps to Reproduce: > 1. MAKEOPTS=-j1 USE="evas inotify ipv6 ssl threads -X -ares -curl -directfb > -doc -examples -fbcon -gles -glib -gnutls -nls -opengl -sdl -static-libs > -tslib -wayland -xcb -xinerama -xprint -xscreensaver" emerge -vat edje_list > edje_smart_thumb Should be: 1. MAKEOPTS=-j1 USE="evas inotify ipv6 ssl threads -X -ares -curl -directfb -doc -examples -fbcon -gles -glib -gnutls -nls -opengl -sdl -static-libs -tslib -wayland -xcb -xinerama -xprint -xscreensaver" emerge -vat dev-libs/ecore
It's a sort of an automagic problem. '--enable-ecore-imf --enable-ecore-input' combined with libX11 being detected results in that module being built, regardless of '--disable-xim'.
Response from upstream : > there is no efl build config that allows building just "middleware" bits of efl. it was discussed as an option - no one did anything about it. > > you can PACKAGE efl up to only include the non-x11 bits. after compilation - and that's a perfectly fine solution - unless you live on gentoo where packaging doesn't exist. :)
*** Bug 557164 has been marked as a duplicate of this bug. ***
The bottom line is likely that some those +useflags should be REQUIRED_USEd.
Resolving since dev-libs/ecore has been deprecated