I was trying to emerge wine-1.2 which failed out during the configure stage, complaining that "FreeType development files not found. Fonts will not be built." Reproducible: Always Steps to Reproduce: 1. emerge wine 2. 3. Actual Results: tech7 linux # emerge -v wine These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-emulation/wine-1.2 [1.1.12] USE="X alsa cups dbus* gecko gsm%* jpeg lcms ldap* mp3%* ncurses opengl oss* perl%* png%* samba ssl%* threads%* truetype%* xinerama%* xml* (-capi) -custom-cflags% (-esd) -fontconfig% -gnutls (-gphoto2) (-hal) -jack -nas -openal% -pulseaudio% (-scanner) -test% -win64% -xcomposite%" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-emulation/wine-1.2 * wine-1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * wine_gecko-1.0.0-x86.cab RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: app-emulation/wine-1.2 * REPO: gentoo * USE: X alsa amd64 cups dbus elibc_glibc gecko gsm jpeg kernel_linux lcms ldap mp3 multilib ncurses opengl oss perl png samba ssl threads truetype userland_GNU xinerama xml >>> Unpacking source... >>> Unpacking wine-1.2.tar.bz2 to /var/tmp/portage/app-emulation/wine-1.2/work >>> Source unpacked in /var/tmp/portage/app-emulation/wine-1.2/work >>> Preparing source in /var/tmp/portage/app-emulation/wine-1.2/work/wine-1.2 ... * Applying wine-1.1.15-winegcc.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/wine-1.2/work/wine-1.2 ... * econf: updating wine-1.2/tools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating wine-1.2/tools/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --sysconfdir=/etc/wine --with-alsa --without-capi --with-cms --with-cups --with-curses --without-esd --without-fontconfig --without-gnutls --without-gphoto --with-gsm --without-hal --without-jack --with-jpeg --with-ldap --with-mpg123 --without-nas --without-openal --with-opengl --with-openssl --with-oss --with-png --with-pthread --without-sane --disable-tests --with-freetype --disable-win64 --with-x --without-xcomposite --with-xinerama --with-xml --with-xslt checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 checking whether the C compiler works... yes checking for C compiler default output file name... a.out ... <snip> ... checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... libGL.so.1 checking for -lGLU... not found checking for audio/audiolib.h... (cached) no checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking for xmlParseMemory in -lxml2... yes checking for xmlReadMemory in -lxml2... yes checking for xmlNewDocPI in -lxml2... yes checking for libxslt/pattern.h... yes checking for libxslt/transform.h... yes checking for -lxslt... libxslt.so.1 checking for -lncurses... libncurses.so.5 checking for mousemask... yes checking for -lv4l1... not found checking for cmsOpenProfileFromFile in -llcms... yes checking for freetype-config... freetype-config checking for -lfreetype... not found configure: error: FreeType development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-emulation/wine-1.2/work/wine-1.2/config.log * ERROR: app-emulation/wine-1.2 failed: * econf failed * * Call stack: * ebuild.sh, line 54: Called src_configure * environment, line 3301: Called econf '--sysconfdir=/etc/wine' '--with-alsa' '--without-capi' '--with-cms' '--with-cups' '--with-curses' '--without-esd' '--without-fontconfig' '--without-gnutls' '--without-gphoto' '--with-gsm' '--without-hal' '--without-jack' '--with-jpeg' '--with-ldap' '--with-mpg123' '--without-nas' '--without-openal' '--with-opengl' '--with-openssl' '--with-oss' '--with-png' '--with-pthread' '--without-sane' '--disable-tests' '--with-freetype' '--disable-win64' '--with-x' '--without-xcomposite' '--with-xinerama' '--with-xml' '--with-xslt' * ebuild.sh, line 544: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =app-emulation/wine-1.2', * the complete build log and the output of 'emerge -pqv =app-emulation/wine-1.2'. * The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.2/temp/environment'. * S: '/var/tmp/portage/app-emulation/wine-1.2/work/wine-1.2' >>> Failed to emerge app-emulation/wine-1.2, Log file: >>> '/var/tmp/portage/app-emulation/wine-1.2/temp/build.log' * Messages for package app-emulation/wine-1.2: * ERROR: app-emulation/wine-1.2 failed: * econf failed * * Call stack: * ebuild.sh, line 54: Called src_configure * environment, line 3301: Called econf '--sysconfdir=/etc/wine' '--with-alsa' '--without-capi' '--with-cms' '--with-cups' '--with-curses' '--without-esd' '--without-fontconfig' '--without-gnutls' '--without-gphoto' '--with-gsm' '--without-hal' '--without-jack' '--with-jpeg' '--with-ldap' '--with-mpg123' '--without-nas' '--without-openal' '--with-opengl' '--with-openssl' '--with-oss' '--with-png' '--with-pthread' '--without-sane' '--disable-tests' '--with-freetype' '--disable-win64' '--with-x' '--without-xcomposite' '--with-xinerama' '--with-xml' '--with-xslt' * ebuild.sh, line 544: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =app-emulation/wine-1.2', * the complete build log and the output of 'emerge -pqv =app-emulation/wine-1.2'. * The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.2/temp/environment'. * S: '/var/tmp/portage/app-emulation/wine-1.2/work/wine-1.2' Expected Results: Finished the emerge. As suggested by the failure, here is 'emerge --info =app-emulation/wine-1.2': Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.27-gentoo-r7-linear-20091210-01 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.27-gentoo-r7-linear-20091210-01-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6700_@_2.66GHz-with-gentoo-1.12.13 Timestamp of tree: Fri, 22 Oct 2010 22:15:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.9-r2 dev-lang/python: 2.4.4-r13, 2.5.2-r7, 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc: 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirror.espri.arizona.edu/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa amd64 amr apache2 apm audiofile avahi avi berkdb bluetooth bonobo branding bsddb3 bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dirac divx4linux doc dri dts dv dvd dvdr dvdread emboss encode exif fam fame ffmpeg firefox flac flash fortran gdbm gif gimpprint gnome gpm gsm gtk hal iconv icq imagemagick ipv6 irc jabber java jpeg junit lame lcms ldap libnotify lzo mad mikmod ming mjpeg mmx mmxext mng modules mozcalendar mp3 mp4 mpeg msn mudflap multilib mysql mysqli ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support quicktime readline samba sdl session sockets speex spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb videos vorbis wma wmf x264 xcb xinerama xml xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 252427 [details] Build log of emerge failure with wine-1.2
As suggested by the failed-emerge output: ~ # emerge -pvq wine [ebuild U ] app-emulation/wine-1.2 [1.1.12] USE="X alsa cups dbus* gecko gsm%* jpeg lcms ldap* mp3%* ncurses opengl oss* perl%* png%* samba ssl%* threads%* truetype%* xinerama%* xml* (-capi) -custom-cflags% (-esd) -fontconfig% -gnutls (-gphoto2) (-hal) -jack -nas -openal% -pulseaudio% (-scanner) -test% -win64% -xcomposite%" ------------------------------------------------------------------------------ Note: When searching bugs.gentoo.org for this error, I see that about half the entries for wine-1.2* are version bumps for versions that are not in the portage tree. As of this writing (having --sync'd today), the *ONLY* version for wine-1.2* is =app-emulation/wine-1.2.ebuild. All >=app-emulation/wine-1.3 are still keyword-masked.
please do what the error output said: !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-emulation/wine-1.2/work/wine-1.2/config.log
Created attachment 255127 [details] Second config.log after an "emerge -uvDN world" Well, after all the issues I was experiencing before, I had gotten to a point of doing the full system upgrade to make sure that the libpng12 issue was finally put to rest. I suspect that the issues I was seeing with the freetype libraries may have had something to do with the packages that were still set for libpng12.so.0. The 'deep' upgrade on world did, in fact, fix a couple remaining packages that were not updated with the "revdep-rebuild -L /usr/lib/libpng12.so.0" so, this is not the same config.log that was from the above failure, but it is from the same system and is still showing failures when it comes to freetype libraries. If I can find a system that will fail in the same fashion, I will post the config.log from that system too, but here is the last config.log from the build of wine-1.2 as part of an "emerge -uvDN world".
so your freetype was probably broken due to missing revdep rebuild
(In reply to comment #5) > so your freetype was probably broken due to missing revdep rebuild > Well, at least an incomplete revdep-rebuild, since I kept trying over and over to get that resolved, which is part of why this update was scheduled in the first place. As a note, here is part of the history to show how many different ways I had to try to get that libpng12 nastiness resolved: ==================================================================== 144 revdep-rebuild 145 grep png12 /usr/lib64/* 146 emerge -pv avahi gnome-base/libbonoboui app-cdr/brasero dev-cpp/cairomm m edia-libs/libcanberra app-crypt/seahorse gnome-extra/evolution-data-server gnome -base/eel gnome-extra/evolution-data-server gnome-base/gnome-keyring dev-cpp/gtk mm media-gfx/gimp x11-libs/libgksu gnome-base/libglade gnome-base/gnome-desktop gnome-extra/gnome-media gnome-base/gnome-control-center dev-cpp/libgnomecanvasmm net-print/gnome-cups-manager gnome-base/libgnomekbd gnome-base/libgnomeui net-l ibs/gtk-vnc x11-libs/gtkglext gnome-extra/gtkhtml dev-cpp/gtkmm x11-libs/gtksour ceview app-text/gtkspell gnome-extra/gucharmap x11-wm/metacity gnome-base/nautil us x11-libs/libnotify gnome-base/gnome-panel gnome-base/librsvg x11-libs/libsexy media-libs/swfdec x11-libs/libview 147 emerge -pv avahi gnome-base/libbonoboui app-cdr/brasero dev-cpp/cairomm m edia-libs/libcanberra app-crypt/seahorse gnome-extra/evolution-data-server gnome -extra/evolution-data-server gnome-base/gnome-keyring dev-cpp/gtkmm media-gfx/gi mp x11-libs/libgksu gnome-base/libglade gnome-base/gnome-desktop gnome-extra/gno me-media gnome-base/gnome-control-center dev-cpp/libgnomecanvasmm net-print/gnom e-cups-manager gnome-base/libgnomekbd gnome-base/libgnomeui net-libs/gtk-vnc x11 -libs/gtkglext gnome-extra/gtkhtml dev-cpp/gtkmm x11-libs/gtksourceview app-text /gtkspell gnome-extra/gucharmap x11-wm/metacity gnome-base/nautilus x11-libs/lib notify gnome-base/gnome-panel gnome-base/librsvg x11-libs/libsexy media-libs/swf dec x11-libs/libview 148 emerge -v avahi gnome-base/libbonoboui app-cdr/brasero dev-cpp/cairomm me dia-libs/libcanberra app-crypt/seahorse gnome-extra/evolution-data-server gnome-extra/evolution-data-server gnome-base/gnome-keyring dev-cpp/gtkmm media-gfx/gimp x11-libs/libgksu gnome-base/libglade gnome-base/gnome-desktop gnome-extra/gnome-media gnome-base/gnome-control-center dev-cpp/libgnomecanvasmm net-print/gnome-cups-manager gnome-base/libgnomekbd gnome-base/libgnomeui net-libs/gtk-vnc x11-libs/gtkglext gnome-extra/gtkhtml dev-cpp/gtkmm x11-libs/gtksourceview app-text/gtkspell gnome-extra/gucharmap x11-wm/metacity gnome-base/nautilus x11-libs/libnotify gnome-base/gnome-panel gnome-base/librsvg x11-libs/libsexy media-libs/swfdec x11-libs/libview 149 revdep-rebuild --library libgnome-desktop-2.so.11 150 rm -f /var/cache/revdep-rebuild/[0-6]* 151 revdep-rebuild --library libgnome-desktop-2.so.11 152 man revdep-rebuild 153 revdep-rebuild -i 154 emerge -pv --depclean gnome-base/eel 155 emerge -pC gnome-base/eel 156 emerge -C gnome-base/eel 157 etc-update 158 revdep-rebuild -i 159 emerge -pv gnome 160 emerge -pv x11-proto/xineramaproto 161 emerge -pv x11-libs/libXinerama 162 emerge -v x11-libs/libXinerama 163 emerge -pv x11-proto/xf86vidmodeproto 164 emerge -pv x11-libs/libXxf86vm 165 emerge -v x11-libs/libXxf86vm 166 emerge -pv x11-proto/xextproto 167 emerge -pv gnome-extra/evolution-exchange 168 emerge -v gnome-extra/evolution-exchange 169 emerge -v x11-libs/libXi 170 vi /etc/make.conf 171 emerge -v x11-libs/libXi 172 emerge -pv inputproto 173 emerge -pv recordproto 174 emerge -pv x11-libs/libXtst 175 emerge -v x11-libs/libXtst 176 emerge -pv x11-libs/libXxf86vm 177 emerge -pv gnome 178 lafilefixer --justfixit 179 emerge -pv gnome-extra/evolution-exchange 180 emerge -v gnome-extra/evolution-exchange 181 #emerge -pv --depclean 182 revdep-rebuild -L /usr/lib/libpng12.so.0 183 emerge -pv libexif libunique gnome-icon-theme 184 emerge -v libexif libunique gnome-icon-theme 185 revdep-rebuild -L /usr/lib/libpng12.so.0 186 revdep-rebuild -i -L /usr/lib/libpng12.so.0 187 emerge -pv gnome-base/libbonoboui 188 emerge -v gnome-base/libbonoboui 189 revdep-rebuild -L /usr/lib/libpng12.so.0 190 revdep-rebuild -L /usr/lib/libpng12.so.0 191 revdep-rebuild -L /usr/lib/libpng12.so.0 --resume 192 revdep-rebuild -L /usr/lib/libpng12.so.0 -- --resume 193 revdep-rebuild -L /usr/lib/libpng12.so.0 194 df 196 dmesg | tail 197 revdep-rebuild 198 w 199 emerge -s libpng 200 emerge -pv libpng =================================================================== ... and it continues until I finally did: =================================================================== 456 emerge -vuDN world =================================================================== The huge emerges at the top are just rebuilds of the revdep lists that were coming up from the earlier attempts at 'revdep-rebuild -L /usr/lib/libpng12.so.0'. Thanks for your time and attention to this. As a side note, if the warning to grab the config.log were reiterated at the bottom of the failed emerge along with the other warning output of the failed emerge, I think I'd have been sure to grab that one too. Again, my apologies and thanks for your time.