Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472038 - >=app-emulation/wine-1.5.30[gstreamer] + sys-devel/crossdev - configure: error: gstreamer-0.10 base plugins development files not found, gstreamer support disabled [conftest.c:196:12: error: size of array 'a' is negative]
Summary: >=app-emulation/wine-1.5.30[gstreamer] + sys-devel/crossdev - configure: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 470646 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-01 20:04 UTC by Dmitry Derevyanko
Modified: 2013-06-12 03:47 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_472038.txt,23.88 KB, text/plain)
2013-06-01 20:05 UTC, Dmitry Derevyanko
Details
build.log (build.log,63.75 KB, text/plain)
2013-06-01 20:06 UTC, Dmitry Derevyanko
Details
config.log (config.log,469.36 KB, text/plain)
2013-06-01 20:07 UTC, Dmitry Derevyanko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Derevyanko 2013-06-01 20:04:25 UTC
Wine >=1.5.30 with gstreamer flag on x86_64(multilib) doesn't pass configure step with:
checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... no
configure: error: gstreamer-0.10 base plugins development files not found, gstreamer support disabled
This is an error since --with-gstreamer was requested.

Reproducible: Always

Steps to Reproduce:
1.multilib x86_64
2.USE="gstreamer " emerge -1 wine
3.configure error
Comment 1 Dmitry Derevyanko 2013-06-01 20:05:13 UTC
Created attachment 349864 [details]
emerge --info
Comment 2 Dmitry Derevyanko 2013-06-01 20:06:12 UTC
Created attachment 349866 [details]
build.log
Comment 3 Dmitry Derevyanko 2013-06-01 20:07:53 UTC
Created attachment 349868 [details]
config.log
Comment 4 Karl-Johan Karlsson 2013-06-02 13:53:25 UTC
I'm seeing the same problem.

Portage 2.2.0_alpha177 (hardened/linux/amd64, gcc-4.7.3, glibc-2.17, 3.9.4-hardened-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.4-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8125440 total,   2549188 free
KiB Swap:    4000180 total,   3707844 free
Timestamp of tree: Sun, 02 Jun 2013 12:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.2.5, 3.3.2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise seden betagarden udev steam-overlay hasufell local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 googleearth AdobeFlash-10.1 AdobeFlash-10.3 AdobeFlash-11.x google-talkplugin skype-eula QUAKE4 Oracle-BCLA-JavaSE Intel-SDP Introversion"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fweb -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.sunet.se/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--enable-new-dtags"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=10"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/seden /var/lib/layman/betagarden /var/lib/layman/udev /var/lib/layman/steam-overlay /var/lib/layman/hasufell /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acl acpi alsa amd64 anthy avi bash-completion berkdb bluetooth bluray bzip2 cairo canna cdr cjk cli consolekit cracklib crypt css cups cvs cxx dbus dri dts dvd dvdr dvdread emacs exif ffmpeg fftw flac fontconfig fortran fuse gdbm gif gimp git gles1 gles2 glitz gphoto2 gpm gstreamer gtk gtk3 hal handbook hardened iconv idn ipv6 javascript jingle jpeg justify kde laptop lensfun lm_sensors logrotate mad matroska mmap mmx mmxext mng modules motif mp3 mudflap multilib ncurses nls nptl nsplugin offensive ogg opencl opengl openmp openvg pam pax_kernel pcre pdf phonon plasma png policykit postscript qt qt3 qt3support qt4 quicktime qwt raw readline resid rtmp s3tc samba sasl sdl semantic-desktop session sid smp sndfile sqlite sse sse2 sse3 sse4_1 ssl ssse3 steamgames_tf2 subversion svg tcpd theora tiff truetype unicode urandom usb v4l vaapi vorbis wicd wifi windows_games wma wmf x264 xcb xine xinerama xrandr xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="braindump flow karbon kexi krita sheets stage words" CAMERAS="canon" 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="keyboard mouse joystick evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB en_UK sv sv_SE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="pixma hp" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-emulation/wine-1.5.29 was built with the following:
USE="X alsa -capi cups -custom-cflags fontconfig gecko gphoto2 -gsm gstreamer jpeg -lcms -ldap mono mp3 ncurses nls -odbc -openal -opencl opengl -osmesa oss perl png (-prelink) -pulseaudio samba -scanner (-selinux) ssl -test threads truetype -udisks v4l -xcomposite xinerama -xml" ABI_X86="32 64 -x32"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2013-06-08 06:23:34 UTC
In my case it's:

wine-1.5.31-x86/config.log:

configure:11458: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -mtune=corei7-avx -O2 -pipe   conftest.c >&5 
conftest.c:206:24: fatal error: gst/gstpad.h: No such file or directory
 #include <gst/gstpad.h>                               
                        ^

Looks like it failed to pass proper pkg-config --cflags flags to gstreamer-0.10.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-11 04:14:07 UTC
(In reply to Dmitry Derevyanko from comment #3)
> Created attachment 349868 [details]

pkg-config is failing on your system for some reason, and pulling in -I//usr/lib64/dbus-1.0/include and -I//usr/lib64/glib-2.0/include instead of -I/usr/lib32 variants of the same include paths.

The following line:

> 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 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-11 04:43:44 UTC
Also, please check if doing

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

fixes the problem
Comment 8 Dmitry Derevyanko 2013-06-11 17:29:15 UTC
This fixes build:
PKG_CONFIG=/usr/bin/pkg-config emerge -1 wine

Wine-1.6-rc1 without "PKG_CONFIG=/usr/bin/pkg-config" doesn't build.
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-11 17:33:01 UTC
(In reply to Dmitry Derevyanko from comment #8)

Do you have crossdev installed?
Comment 10 Dmitry Derevyanko 2013-06-11 19:40:00 UTC
Yes, I have.
23:37|nrndda@nrndda-core ~ $ LANG=C ls -l /usr/bin/*pkg-config
lrwxrwxrwx 1 root root   16 Apr  6 15:07 /usr/bin/armv5te-iwmmxt2-linux-gnueabi-pkg-config -> cross-pkg-config
lrwxrwxrwx 1 root root   16 Apr  6 15:55 /usr/bin/armv5te-softfloat-linux-gnueabi-pkg-config -> cross-pkg-config
lrwxrwxrwx 1 root root   16 Feb 20 15:21 /usr/bin/armv7a-hardfloat-linux-gnueabi-pkg-config -> cross-pkg-config
-rwxr-xr-x 1 root root 3.8K Mar 21 22:38 /usr/bin/cross-pkg-config
lrwxrwxrwx 1 root root   16 Feb 20 15:19 /usr/bin/i686-pc-linux-gnu-pkg-config -> cross-pkg-config
lrwxrwxrwx 1 root root   16 Mar  5 19:27 /usr/bin/msp430-pkg-config -> cross-pkg-config
lrwxrwxrwx 1 root root   16 Nov 16  2012 /usr/bin/pic-pkg-config -> cross-pkg-config
-rwxr-xr-x 2 root root  47K Jun 11 21:14 /usr/bin/pkg-config
-rwxr-xr-x 2 root root  47K Jun 11 21:14 /usr/bin/x86_64-pc-linux-gnu-pkg-config
Comment 11 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-12 03:44:18 UTC
Thanks. Fixed in cvs for recent wine ebuilds without a revision bump.

+  12 Jun 2013; Alexandre Rostovtsev <tetromino@gentoo.org> wine-1.5.25.ebuild,
+  wine-1.5.26.ebuild, wine-1.5.27.ebuild, wine-1.5.28.ebuild,
+  wine-1.5.29.ebuild, wine-1.5.30.ebuild, wine-1.5.31.ebuild,
+  wine-1.6_rc1.ebuild, wine-9999.ebuild:
+  Avoid crossdev's i686-pc-linux-gnu-pkg-config when building wine32 on amd64
+  (bug #472038, thanks to Dmitry Derevyanko). Update live ebuild's patches.
Comment 12 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-12 03:45:56 UTC
*** Bug 471714 has been marked as a duplicate of this bug. ***
Comment 13 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-06-12 03:47:28 UTC
*** Bug 470646 has been marked as a duplicate of this bug. ***