Summary: | app-emulation/wine-vanilla-4.14 USE=faudio - configure: error: libFAudio development files not found, XAudio2 won't be supported. This is an error since --with-faudio was requested. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthew Schultz <mattsch> |
Component: | Current packages | Assignee: | Wine Maintainers <wine> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
config.log env faudio build.log |
emerge --info Portage 2.3.69 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-8.3.0, glibc-2.29-r2, 5.1.12-gentoo x86_64) ================================================================= System uname: Linux-5.1.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.6 KiB Mem: 16287224 total, 6955384 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 29 Aug 2019 00:45:01 +0000 Head commit of repository gentoo: 9a603654815ad89efabac6929440d782b9ab74ff sh dash 0.5.9.1-r3 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.2-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo dev-util/cmake: 3.14.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 8.3.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes LocalOverlay location: /usr/local/portage masters: gentoo priority: 0 grub2-themes location: /var/lib/layman/grub2-themes sync-type: laymansync sync-uri: https://github.com/gentoo/grub2-themes-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx2 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /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=core-avx2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://portage.home http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ https://mirror.sjc02.svwh.net/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en ru" MAKEOPTS="-j6" 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 --exclude=/.git" PORTAGE_TMPDIR="/tmp" USE="X a52 aac acl acpi activities adns aes alsa amd64 apache2 audiofile avi avx avx2 bcmath bdf berkdb bluetooth branding bzip2 cairo calendar caps cdda cdr chardet cjk cli consolekit crypt css ctype cups curl curlwrappers cxx dbus declarative device-mapper dga dhcp directfb dri dri3 dts dvb dvd dvdr dvdread egl emboss enca encode exif fbcon ffmpeg flac fma3 fontconfig foomaticdb ftp fts3 gd gdbm gif git glamor gmp google gpm gsm gstreamer gtk gtk2 gtk3 gzip hal hash hbci hls hotkeys iconv icu ieee1394 imagemagick imap imlib innodb iproute2 ipv6 java javascript jpeg jpeg2k json kde keymap kipi kwallet lcms libcaca libkms libnotify libtirpc lm_sensors logrotate lz4 lzma lzo mad matroska mcal mhash mime mjpeg mms mmx mmxext mng mp3 mp4 mpeg mplayer msession multilib mysql mysqli mythtv ncurses network nls nptl nptlonly nsplugin nss ntp nvidia offensive ofx ogg openal opengl openmp osc osmesa pam pango pcntl pcre pdf pdo pear perl pgo phonon php plasma pm-utils png policykit popcnt posix postproc ppds python qml qt5 quicktime readline real reflection rtc samba sasl scanner sdl seccomp session simplexml soap sockets spell spl split-usr sql sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion suhosin svg syslog system-harfbuzz system-icu system-jpeg system-sqlite tcpd theora thumbnail tidy tiff tokenizer transcode truetype tslib udev udisks unicode upower usb utempter v4l v4l2 vaapi vcd vdpau vorbis vpx wddx webp widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xmp xpm xsl xslt xv xvfb xvid xvmc zip zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel" APACHE2_MODULES="access_compat actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_file authz_dbm authz_core authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers http2 ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so slotmem_shm socache_shmcb speling status unique_id userdir usertrack vhost_alias macro" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 f16c" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev tslib wacom synaptics" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1 php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia modesetting" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS !!! Please attach the following file when seeking support: !!! /tmp/portage/app-emulation/wine-vanilla-4.14/work/wine-4.14-abi_x86_32.x86/config.log You forgot to attach that. Created attachment 589034 [details]
config.log
(In reply to Jeroen Roovers from comment #2) > !!! Please attach the following file when seeking support: > !!! > /tmp/portage/app-emulation/wine-vanilla-4.14/work/wine-4.14-abi_x86_32.x86/ > config.log > > You forgot to attach that. Sorry about that. I have attached it now. What is the output of: find /usr/include | grep -i faudio find /usr/include | grep -i faudio /usr/include/FAudio /usr/include/FAudio/FAPOBase.h /usr/include/FAudio/FACT.h /usr/include/FAudio/FAPO.h /usr/include/FAudio/FAPOFX.h /usr/include/FAudio/F3DAudio.h /usr/include/FAudio/FAudio.h /usr/include/FAudio/FACT3D.h /usr/include/FAudio/FAudioFX.h The problem is that it can't include FAudio.h conftest.c:218:10: fatal error: FAudio.h: No such file or directory I'm not sure if wine uses pkgconfig, but let's check anyway. What is the output of cat /usr/lib/pkgconfig/faudio.pc and cat /usr/lib64/pkgconfig/faudio.pc cat /usr/lib/pkgconfig/faudio.pc prefix=%PREFIX% exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include/FAudio Name: faudio Description: Accuracy-focused XAudio reimplementation for open platforms Version: Libs: -L${libdir} -lFAudio Cflags: -I${includedir} cat /usr/lib64/pkgconfig/faudio.pc prefix=%PREFIX% exec_prefix=${prefix} libdir=${prefix}/lib64 includedir=${prefix}/include/FAudio Name: faudio Description: Accuracy-focused XAudio reimplementation for open platforms Version: Libs: -L${libdir} -lFAudio Cflags: -I${includedir} It looks like the problem is in this line prefix=%PREFIX% Mine is prefix=/usr %PREFIX% seems to be invalid syntax Do you have any idea where this is coming from? Did do you have a custom prefix in make.conf, and are you using the gentoo ebuild for faudio? Can you try manually editing both fixes to have prefix=/usr, just to see if that fixes it? Thanks I have not specified any prefix in make.conf and I am using the app-emulation/faudio ebuild. I specified /usr in those spots and wine compiled. Perhaps the bug is with app-emulation/faudio? I unmerged it and reemerged it and it creates the file with prefix=%PREFIX% in it. Can you send the result of 'env', while making sure to remove any sensitive information? Created attachment 589156 [details]
env
results of env
Sorry, I have no idea. Can you post the logs from the build of faudio? Created attachment 589168 [details]
faudio build.log
I'm running into this building wine-staging with faudio enabled. When faudio-19.03 installed, the pkgconfig files have prefix=%PREFIX% With faudio-19.06 - the pkgconfigs are 'correct' prefix=/usr With the live faudio-9999 ebuild (as of this morning) the pkgconfigs are back to prefix=%PREFIX% Looking through the faudio git changelogs on the various cmake bits there seem to have been some changes in that timeframe. Not sure if the gentoo builds need to do different things with them though: https://github.com/FNA-XNA/FAudio/commits/master/cmake/install_shared_libs.cmake https://github.com/FNA-XNA/FAudio/commits/master/CMakeLists.txt Good find, seems like an upstream issue then. I don't see anything obvious in build system changes. Can you report it upstream? Thanks This actually has a fix in the 19.06 ebuild - see here: https://gitweb.gentoo.org/repo/gentoo.git/commit/app-emulation/faudio?id=90e8a784482cfff2bc780e695351a2537766a43d Manually applying the same fix the the faudio live ebuild fixes this there as well. Perhaps current wine-* versions should have a version bump to require 19.06 if faudio is enabled? And apply the same sed fix the the live ebuild? I'm not sure why changes are being made to the Wine team's ebuilds by people outside of the Wine team without us being told, but okay. I'll just drop 19.03 and fix 9999 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=d2acd255464a0f374c31dc5905756003b25ee8d1 commit d2acd255464a0f374c31dc5905756003b25ee8d1 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2019-09-15 15:24:06 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2019-09-15 15:24:06 +0000 app-emulation/faudio: Sync with ::gentoo and port to 9999 Fixes: https://bugs.gentoo.org/693404 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> app-emulation/faudio/faudio-19.06.ebuild | 6 +++--- app-emulation/faudio/faudio-9999.ebuild | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) |
Created attachment 588888 [details] build.log wine-vanilla refuses to compile with the faudio flag enabled (despite app-emulation/faudio already being installed).