Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 470646

Summary: app-emulation/wine-1.5.30 fails due to incompatible libexif (it needs a 32 bit version)
Product: Gentoo Linux Reporter: Fabio Rossi <rossi.f>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log.gz
emerge-info.txt.gz

Description Fabio Rossi 2013-05-19 13:50:14 UTC
Created attachment 348668 [details]
config.log.gz

The configuration of wine fails during libgphoto detection:

checking gphoto2-camera.h presence... yes
checking for gphoto2-camera.h... yes
checking for gp_camera_new in -lgphoto2... libv4l1.so.0
checking gphoto2-camera.h usability... no
checking gphoto2-port.h usability... yes
checking gphoto2-camera.h presence... yes
checking for gphoto2-camera.h... yes
checking for gp_camera_new in -lgphoto2... yes
checking gphoto2-port.h presence... yes
checking for gphoto2-port.h... yes
checking for gp_port_info_list_new in -lgphoto2_port... yes
checking gphoto2-port.h usability... yes
configure: error: libgphoto2 development files not found, digital cameras won't be supported.
This is an error since --with-gphoto was requested.
yes
checking gphoto2-port.h presence... yes
checking for gphoto2-port.h... yes
checking for gp_port_info_list_new in -lgphoto2_port... 
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-emulation/wine-1.5.30/work/wine-1.5.30-x86/config.log
 * ERROR: app-emulation/wine-1.5.30 failed (configure phase):
 *   econf failed
yes
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 4415:  Called multilib_parallel_foreach_abi 'do_configure'
 *        environment, line 3852:  Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'do_configure'
 *        environment, line 3604:  Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'do_configure'
 *        environment, line 3555:  Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'do_configure'
 *        environment, line 3553:  Called _multibuild_parallel '_multilib_multibuild_wrapper' 'do_configure'
 *        environment, line 3595:  Called _multilib_multibuild_wrapper 'do_configure'
 *        environment, line  802:  Called do_configure
 *        environment, line 1304:  Called autotools-utils_src_configure
 *        environment, line 1016:  Called econf '--docdir=/usr/share/doc/wine-1.5.30' '--sysconfdir=/etc/wine' '--with-alsa' '--without-capi' '--with-cms' '--with-cups' '--with-curses' '--without-dbus' '--with-fontconfig' '--with-gnutls' '--with-gphoto' '--without-gsm' '--with-gstreamer' '--without-hal' '--with-jpeg' '--without-ldap' '--with-mpg123' '--with-gettext' '--without-openal' '--without-opencl' '--with-opengl' '--without-osmesa' '--with-oss' '--with-png' '--with-pthread' '--with-sane' '--disable-tests' '--with-freetype' '--with-v4l' '--with-x' '--without-xcomposite' '--with-xinerama' '--with-xml' '--with-xslt' '--with-pulse' 'CCAS=i686-pc-linux-gnu-as' '--disable-win64'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/wine-1.5.30'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.5.30'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 215: wait: `econf failed': not a pid or valid job spec
 * The complete build log is located at '/var/log/portage/app-emulation:wine-1.5.30:20130519-132827.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/wine-1.5.30/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.5.30/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-1.5.30/work/wine-1.5.30-x86'
 * S: '/var/tmp/portage/app-emulation/wine-1.5.30/work/wine-1.5.30'

The config.log is attached
Comment 1 Fabio Rossi 2013-05-19 13:51:16 UTC
Created attachment 348670 [details]
emerge-info.txt.gz

emerge --info output
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-05-26 03:36:57 UTC
I think this might be caused by a mismatch between your 32-bit and 64-bit libgphoto2 libraries. Please give the output of the following commands:

gphoto2-config --libs
pkg-config --libs libgphoto2
PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig pkg-config --libs libgphoto2
Comment 3 Fabio Rossi 2013-05-27 21:01:34 UTC
$ gphoto2-config --libs
-L/usr/lib64 -lgphoto2 -lgphoto2_port -lm

$ pkg-config --libs libgphoto2
-lgphoto2 -lm -lgphoto2_port -lm -lexif 

$ PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig pkg-config --libs libgphoto2
-L/usr/lib32 -lgphoto2 -lm -lgphoto2_port -lm
Comment 4 Fabio Rossi 2013-06-01 17:50:54 UTC
same result with wine 1.5.31 while it works with 1.5.29 so something is changed with gphoto detection between 1.5.29 and 1.5.30.

I have found this post http://forum.winehq.org/viewtopic.php?f=8&t=18951 on winehq forums.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-11 04:14:22 UTC
The following line from your config.log

> PKG_CONFIG='i686-pc-linux-gnu-pkg-config'

suggests that the wrong version of pkg-config got detected (wine should have been using the normal systemwide /usr/bin/pkg-config executable), which may have led wine to use incorrect include paths. Please try with wine-1.6_rc1, which should detect pkg-config more reliably.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-11 04:43:35 UTC
Also, please check if doing

PKG_CONFIG=/usr/bin/pkg-config emerge -1 wine

fixes the problem
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-12 03:47:28 UTC
I believe that like bug #472038, this issue was caused by wine attempting to use crossdev's i686-pc-linux-gnu-pkg-config instead of the normal system pkg-config tool. Fixed in cvs without a revision bump.

*** This bug has been marked as a duplicate of bug 472038 ***