configure fail to recognize GDK IMLIB with USE="gtk imlib" Reproducible: Always Steps to Reproduce: 1.emerge fvwm 2. 3. Actual Results: ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libexecdir=/usr/lib --with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm --enable-package-subdirs --without-gnome --without-termcap-library --enable-bidi --disable-debug-msgs --disable-command-log --enable-htmldoc --enable-nls --enable-iconv --enable-perllib --with-png-library --with-readline-library --with-rplay-library --with-stroke-library --enable-rsvg --enable-xft --disable-xinerama --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu ... checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.1.0... yes checking for imlib-config... /usr/bin/imlib-config checking for GDK IMLIB - version >= 1.8.0... /usr/bin/imlib-config: line 52: --cflags: command not found /usr/bin/imlib-config: line 60: --libs: command not found no configure: creating ./config.status ... Fvwm Configuration: Version: 2.5.26 Executables: /usr/bin Man pages: /usr/share/man Modules: /usr/lib/fvwm/2.5.26 Data files: /usr/share/fvwm Doc files: /usr/share/doc/fvwm Perl lib: /usr/share/fvwm/perllib Locale msg: /usr/share/locale fr With Asian bi-direct. text support? yes With Gettext Native Lang support? yes (libc) With GTK+ required for FvwmGtk? yes With GDK image support in FvwmGtk? no: Failed on gdk-imlib, see config.log With GNOME libs support in FvwmGtk? no: Explicitly disabled With Iconv support? yes (from C library) With Mouse strokes (gestures)? yes With PNG image support? yes With ReadLine sup. in FvwmConsole? yes With RPlay support in FvwmEvent? yes With Shaped window support? yes With Shared memory for XImage? yes With Session Management support? yes With SVG image support? yes With Xcursor support? yes With Xinerama multi-head support? no: Explicitly disabled With Xft anti-alias font support? yes (version 2) With XPM image support? yes With Xrender image support? yes Build man pages? yes Build HTML documentation? yes Expected Results: That imlib check during configure did success. I have -gtk in my global USE flags and enable this flag on a per package basis. But that's not the problem. If I run imlib-config by hand, I get the following: # imlib-config --libs-gdk /usr/bin/imlib-config: line 60: --libs: command not found -L/usr/lib64 -lgdk_imlib -ljpeg -ltiff -lgif -lpng -lz -lm
Created attachment 166628 [details] config.log for fvwm-2.5.26
Created attachment 166629 [details] my emerge --info
OK, so the x11-wm/fvwm ebuilds should fail when media-libs/imlib was not built with USE=gtk. :)
Yes. I re-merged imlib with USE=gtk and emerge is now able to build fvwmgtk. Thank you.
fixed ebuild has been posted at #266937 http://bugs.gentoo.org/show_bug.cgi?id=266937
EAPI 2 USE depend added to dependency strings in 2.5.27