>>> Emerging (110 of 204) x11-libs/openmotif-2.3.0 to / * openmotif-2.3.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking openmotif-2.3.0.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking openmotif-2.3.0.tar.gz to /var/tmp/portage/x11-libs/openmotif-2.3.0/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-libs/openmotif-2.3.0/work/openmotif-2.3.0 ... * econf: updating openmotif-2.3.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating openmotif-2.3.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-x --enable-jpeg --enable-png --build=i686-pc-linux-gnu checking for /usr/X/include/X11/X.h... no ... checking X11/extensions/Xrender.h usability... no checking X11/extensions/Xrender.h presence... no checking for X11/extensions/Xrender.h... no checking for fontconfig-config... no checking fontconfig/fontconfig.h usability... yes checking fontconfig/fontconfig.h presence... yes checking for fontconfig/fontconfig.h... yes checking for FcInit... no Package xft was not found in the pkg-config search path. Perhaps you should add the directory containing `xft.pc' to the PKG_CONFIG_PATH environment variable No package 'xft' found Package xft was not found in the pkg-config search path. Perhaps you should add the directory containing `xft.pc' to the PKG_CONFIG_PATH environment variable No package 'xft' found checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_start_decompress... yes ... if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/X11\" -O3 -march=pentium4 -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -pipe -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -MT LabelG.lo -MD -MP -MF ".deps/LabelG.Tpo" -c -o LabelG.lo LabelG.c; \ then mv -f ".deps/LabelG.Tpo" ".deps/LabelG.Plo"; else rm -f ".deps/LabelG.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/X11\" -O3 -march=pentium4 -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -pipe -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -MT LabelG.lo -MD -MP -MF .deps/LabelG.Tpo -c LabelG.c -fPIC -DPIC -o .libs/LabelG.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/X11\" -O3 -march=pentium4 -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -pipe -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -MT LabelG.lo -MD -MP -MF .deps/LabelG.Tpo -c LabelG.c -o LabelG.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/X11\" -O3 -march=pentium4 -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -pipe -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -MT List.lo -MD -MP -MF ".deps/List.Tpo" -c -o List.lo List.c; \ then mv -f ".deps/List.Tpo" ".deps/List.Plo"; else rm -f ".deps/List.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/X11\" -O3 -march=pentium4 -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -pipe -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -MT List.lo -MD -MP -MF .deps/List.Tpo -c List.c -fPIC -DPIC -o .libs/List.o In file included from List.c:86: XmRenderTI.h:46:25: error: X11/Xft/Xft.h: No such file or directory In file included from List.c:86: XmRenderTI.h:133: error: expected specifier-qualifier-list before 'XftPattern' XmRenderTI.h:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token XmRenderTI.h:263: error: expected declaration specifiers or '...' before 'XftDraw' XmRenderTI.h:279: error: expected declaration specifiers or '...' before 'XftFont' XmRenderTI.h:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_XmXftGetXftColor' List.c: In function 'DrawItems': List.c:2469: error: 'struct __XmRenditionRec' has no member named 'xftForeground' List.c:2470: error: 'struct __XmRenditionRec' has no member named 'xftBackground' List.c:2474: error: 'struct __XmRenditionRec' has no member named 'xftForeground' List.c:2475: error: 'struct __XmRenditionRec' has no member named 'xftBackground' List.c:2482: error: 'struct __XmRenditionRec' has no member named 'xftForeground' List.c:2484: error: 'struct __XmRenditionRec' has no member named 'xftBackground' List.c:2490: error: 'struct __XmRenditionRec' has no member named 'xftForeground' List.c:2491: warning: implicit declaration of function '_XmXftGetXftColor' List.c:2491: error: 'struct __XmRenditionRec' has no member named 'xftForeground' make[3]: *** [List.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.0/work/openmotif-2.3.0/lib/Xm' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.0/work/openmotif-2.3.0/lib/Xm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.0/work/openmotif-2.3.0/lib' make: *** [all-recursive] Error 1 * * ERROR: x11-libs/openmotif-2.3.0 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 2759: Called die * The specific snippet of code: * emake -j1 || diefunc "$FUNCNAME" "$LINENO" "$?" "make failed, if you have lesstif installed removed it, compile openmotif and recompile lesstif" * The die message: * make failed, if you have lesstif installed removed it, compile openmotif and recompile lesstif * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/openmotif-2.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/openmotif-2.3.0/temp/environment'. Inspecting what do I have installed I see that maybe my problem is that I have recently uninstalled all x11 stuff by "emerge --unmerge" but the virtual/xft was not removed after removing libXft and that breaks dependencies. Is that a bug in portage? * virtual/xft Latest version available: 7.0 Latest version installed: 7.0 Size of files: 0 kB Homepage: http://www.gentoo.org/proj/en/desktop/x/x11/ Description: Virtual for the Xft font library License: GPL-2 * x11-libs/libXft Latest version available: 2.1.12 Latest version installed: [ Not Installed ] Size of files: 254 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org Xft library License: libXft # emerge --info Portage 2.1.4_rc9 (default-linux/x86/2006.1/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.21.1 i686) ================================================================= System uname: 2.6.21.1 i686 Intel(R) Xeon(TM) CPU 3.00GHz Timestamp of tree: Mon, 10 Dec 2007 17:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.4.4-r7, 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/spool/torque" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="R X Xaw3d acpi apache2 bash-completion bcmath berkdb bitmap-fonts blas boost bzip2 cblas clamav cli colordiff compress cpio cracklib crypt cscope css ctype curl curlwrappers cxx dbus djbfft eds emboss emf enblend encode enscript expat fam firefox fortran ftp gcj gd gdbm gif glibc-compat20 glibc-omitfp glitz glut gmp gnuplot gnutls gpm graphviz gs gstreamer gtk gtkhtml hal icc iconv ifc inifile innodb isdnlog ithreads java javascript jbig jikes jpeg jpeg2k kdtree lapack lcms libedit libwww lzo lzw maildir mhash midi mime ming mjpeg mmap mmx mng mod_python modperl modplug motif mozilla moznoirc mpeg mpi mpi_njtree mudflap mule mxdatetime mysql mysqli ncurses netcdf netpbm network nntp nptl nptlonly numeric openmp oss pam pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python rar raw readline reflection reiserfs rpm rtc scp server session sftp sift smime sndfile sockets spl srt sse sse2 ssl ssse3 svg svgz sysfs sysvipc tcl tcpd threads tiff transcode truetype-fonts type1-fonts unicode urandom userlocales uuencode vim-syntax vim-with-x vorbis wmf wxwindows x86 xanim xfs xinetd xml xorg xpm xslt xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
emerge -pv openmotif output, please.
# emerge -pv openmotif These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-libs/openmotif-2.3.0 USE="jpeg png -doc -examples -xft" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB
reopening, unmerging virtual/xft did not help
openmotif ignores USE="-xft", the whole problem here. Has nothing to do w/ portage.
Using --disable-xft in configure works, so changing use xft && myconf="${myconf} `use_enable xft`" to just myconf="${myconf} `use_enable xft`" in the ebuild works fine.
(In reply to comment #5) > use xft && myconf="${myconf} `use_enable xft`" Yeah, that's completely stupid...
Identical issue w/ png and jpeg flags.
All fixed.
*** Bug 204865 has been marked as a duplicate of this bug. ***