When emerging wine, the configure fails, leaving an orphaned process somewhere. I tried to emerge three times, each time it gave me the same error: checking jpeglib.h usability... !!! Please attach the following file when seeking support: !!! /home/dan/.portage/portage/app-emulation/wine-1.7.15/work/wine-1.7.15-x86/config.log * ERROR: app-emulation/wine-1.7.15::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 4975: Called multilib_parallel_foreach_abi 'do_configure' * environment, line 4293: Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'do_configure' * environment, line 3930: Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'do_configure' yes checking jpeglib.h presence... * environment, line 3878: Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'do_configure' yes checking for jpeglib.h... yes checking for -ljpeg... * environment, line 3876: Called _multibuild_parallel '_multilib_multibuild_wrapper' 'do_configure' * environment, line 3921: Called _multilib_multibuild_wrapper 'do_configure' * environment, line 1356: Called do_configure * environment, line 1818: Called autotools-utils_src_configure * environment, line 1524: Called econf '--docdir=/usr/share/doc/wine-1.7.15' '--sysconfdir=/etc/wine' '--with-alsa' '--without-capi' '--with-cms' '--with-cups' '--with-curses' '--with-dbus' '--with-fontconfig' '--with-gnutls' '--without-gphoto' '--without-gsm' '--with-gstreamer' '--without-hal' '--with-jpeg' '--with-ldap' '--with-mpg123' '--without-netapi' '--with-gettext' '--without-openal' '--without-opencl' '--with-opengl' '--without-osmesa' '--without-oss' '--with-png' '--with-pthread' '--without-sane' '--disable-tests' '--with-freetype' '--without-v4l' '--with-x' '--without-xcomposite' '--without-xinerama' '--with-xml' '--with-xslt' '--with-pulse' '--without-netapi' '--disable-win64' * phase-helpers.sh, line 584: Called die * The specific snippet of code: libjpeg.so.62 * die "econf failed" * * If you need support, post the output of `emerge --info '=app-emulation/wine-1.7.15::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.7.15::gentoo'`. /usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `econf failed': not a pid or valid job spec * The complete build log is located at '/home/dan/.portage/portage/app-emulation/wine-1.7.15/temp/build.log'. checking png.h usability... * The ebuild environment file is located at '/home/dan/.portage/portage/app-emulation/wine-1.7.15/temp/environment'. * Working directory: '/home/dan/.portage/portage/app-emulation/wine-1.7.15/work/wine-1.7.15-x86' * S: '/home/dan/.portage/portage/app-emulation/wine-1.7.15/work/wine-1.7.15' yes checking png.h presence... yes checking for png.h... yes checking for -lpng... libpng16.so.16 Reproducible: Always Steps to Reproduce: 1. Have wine installed 2. Upgrade to latest version ~amd64 Actual Results: Configure fails as laid out above Expected Results: Wine emerges properly # emerge --info Portage 2.2.9-r1 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.18-r1, 3.13.6-gentoo-nvidia x86_64) ================================================================= System uname: Linux-3.13.6-gentoo-nvidia-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2 KiB Mem: 8179624 total, 3527748 free KiB Swap: 4194292 total, 3149936 free Timestamp of tree: Sun, 23 Mar 2014 17:15:01 +0000 ld GNU ld (GNU Binutils) 2.24 app-shells/bash: 4.2_p45-r1 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6, 3.3.4 dev-util/cmake: 2.8.12.2-r1::kde dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.14.1 sys-devel/binutils: 2.24-r2 sys-devel/gcc: 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.18-r1 Repositories: gentoo gnome enlightenment vmware zugaina voyageur mozilla steam-overlay infinality lcd-filtering benf Techwolf aidecoe megacoffee seden perl-experimental lisp kde testing_bed Installed sets: @file-roller-set, @kdeadmin, @kdebase, @kdegraphics, @kdemultimedia, @kdepim, @plasmoids ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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" CXXFLAGS="-march=native -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/home/dan/.portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/enlightenment /var/lib/layman/vmware /var/lib/layman/zugaina /var/lib/layman/voyageur /var/lib/layman/mozilla /var/lib/layman/steam /var/lib/layman/infinality /var/lib/layman/lcd-filtering /var/lib/layman/benf /var/lib/layman/techwolf /var/lib/layman/aidecoe /var/lib/layman/megacoffee /var/lib/layman/seden /var/lib/layman/perl-experimental /var/lib/layman/lisp /var/lib/layman/kde /usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bindist branding bzip2 cairo cdda cdr cleartype cli colord corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr eds emacs emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg kde kdepim lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl semantic-desktop session socialweb spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff truetype type3 udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth systemd" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Please attach the entire build log to this bug report.
Created attachment 373428 [details] build.log Here you go
...and now - predictably - you need to attach the mentioned config.log.
Created attachment 373450 [details] config.log Wow, I have no idea how I missed the big text right at the top there...sorry
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libfreetype.so.6, needed by /usr/lib32/libfontconfig.so, not found (try using -rpath or -rpath-link)
I have version 2.5.3-r1 of freetype installed, and 2.11.0-r1 of fontconfig. libfreetype.so.6 exists at /usr/lib64/libfreetype.so.6 and is a symlink to /usr/lib64/libfreetype.so.6.11.2
Actually interestingly enough, I'm assuming that it would be looking for the x86 version of libfreetype. I have /usr/lib32/libfreetype.so and /usr/lib32/libfreetype.so.6.10.0, but not libfreetype.so.6
Please try re-merging freetype and then building wine again. If that doesn't work, paste emerge -pqv freetype as a comment.
Same result with just reemerging sudo emerge -pqv freetype [ebuild R ] media-libs/freetype-2.5.3-r1 USE="X adobe-cff bzip2 infinality png static-libs -auto-hinter -bindist -debug -doc -fontforge (-harfbuzz) -utils" ABI_X86="(64) -32 (-x32)" Looks like wine with abi_x86_32 isn't depending on abi_x86_32 for freetype? Unfortunately I cannot test that useflag for freetype, as it causes an insane amount of blocks for me. This leads to a very unusual problem. Wine depends on app-emulation/emul-linux-x86-xlibs, which provides /usr/lib32/libfreetype.so.6.10.0 but not /usr/lib32/libfreetype.so.6. If I make that symlink manually the configuration process completes and wine begins to build
app-emulation/emul-linux-x86-xlibs-20131008 installs /usr/lib32/libfreetype.so.6 if you didn't emerge it with ABI_X86=32. And if you did have ABI_X86=32, then emul*xlibs should have pulled in media-libs/freetype[abi_x86_32] and therefore you would still get libfreetype.so.6. What is the output of "emerge -pv emul-linux-x86-xlibs freetype fontconfig" ?
emerge -pv emul-linux-x86-xlibs freetype fontconfig These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/freetype-2.5.3-r1:2::infinality USE="X adobe-cff bzip2 infinality png static-libs -auto-hinter -bindist -debug -doc -fontforge (-harfbuzz) -utils" ABI_X86="(64) -32 (-x32)" 0 kB [ebuild R ] app-emulation/emul-linux-x86-xlibs-20131008 USE="(development) opengl" ABI_X86="-32" 0 kB [ebuild R ] media-libs/fontconfig-2.11.0-r1:1.0::infinality USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 0 kB Total: 3 packages (3 reinstalls), Size of downloads: 0 kB I dont have -abi_x86_32 anywhere, I just don't have it enabled globally
Try re-emerging emul-linux-x86-xlibs, you should get /usr/lib32/libfreetype.so.6
Well that's bizarre, I could have swore I re-emerged this earlier and got nothing. Sure enough, reemerging emul-linux-x86-xlibs yields libfreetype.so.6
All right, so something deleted your /usr/lib32/libfreetype.so.6 file - maybe a script that you ran, or a seriously broken and unsafe pkg_postinst() function in some ebuild from one of your overlays. But the wine and emul-linux-x86-xlibs ebuilds themselves appear to be correct. If you find out what deleted libfreetype.so.6, please reopen the bug so that we can assign it to the right gentoo developer.