Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't build wine - gcc does not support builtin_ms_va_list
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Vandr0iy
n00b
n00b


Joined: 30 May 2015
Posts: 30

PostPosted: Mon Sep 04, 2017 12:24 am    Post subject: Can't build wine - gcc does not support builtin_ms_va_list Reply with quote

Hi everybody.

I'm trying to build the new version of wine on my machine with gcc 5.4.0, and this happens:
Code:
$ emerge wine

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-auth/rtkit-0.11-r2::gentoo  124 KiB
[ebuild   R    ] app-emulation/wine-2.4::hossie  USE="X alsa custom-cflags dos fontconfig gecko gsm gstreamer jpeg lcms ldap mono mp3 ncurses netapi nls opencl opengl osmesa pcap perl png pulseaudio* realtime run-exes samba ssl threads truetype udev udisks xcomposite xinerama xml -capi -cups* -gphoto2 -odbc -openal -oss -pipelight -prelink -s3tc -scanner (-selinux) -staging {-test} -themes -v4l -vaapi" ABI_X86="64 -32 (-x32)" LINGUAS="en -ar -bg -ca -cs -da -de -el -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 0 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 124 KiB

!!! The following installed packages are masked:
- media-libs/vulkan-base-1.0.30::hossie (masked by: package.mask)
/var/lib/layman/hossie/profiles/package.mask/vulkan:
# Has been replaced by vulkan-loader

- xfce-extra/xfce4-mixer-4.11.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (21 Aug 2017)
# xfce4-mixer is discontinued upstream and no longer considered part
# of the DE since 4.12. It requires vulnerable gstreamer:0.10, and no
# longer builds with the development versions of core Xfce4 components.
# The suggested replacement is xfce-extra/xfce4-pulseaudio-plugin.
# Removal in 30 days. Bug #628424.

- net-im/slack-bin-2.4.2::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No] ye
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-auth/rtkit-0.11-r2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.12.10-gentoo/build
 * Found sources for kernel version:
 *     4.12.10-gentoo
 * Checking for suitable kernel configuration options...
 *   CONFIG_RT_GROUP_SCHED is enabled. rtkit-daemon (or any other real-time task) will not work unless run as root. Please consider unsetting this option.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
>>> Running pre-merge checks for app-emulation/wine-2.4
 * Checking for 64-bit compiler with builtin_ms_va_list support ...                                                                                                                                                                    [ !! ]
 * This version of x86_64-pc-linux-gnu-gcc does not support builtin_ms_va_list, can't enable 64-bit wine
 *
 * You need gcc-4.4+ or clang 3.8+ to build 64-bit wine
 *
 * ERROR: app-emulation/wine-2.4::hossie failed (pretend phase):
 *   (no error message)
 *
 * Call stack:
 *         ebuild.sh, line 115:  Called pkg_pretend
 *   wine-2.4.ebuild, line 269:  Called die
 * The specific snippet of code:
 *      wine_compiler_check || die
 *
 * If you need support, post the output of `emerge --info '=app-emulation/wine-2.4::hossie'`,                                                                                                                                                 
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-2.4::hossie'`.
 * The complete build log is located at '/var/tmp/app-emulation:wine-2.4:20170904-001314.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-2.4/temp/die.env'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-2.4/homedir'
 * S: '/var/tmp/portage/app-emulation/wine-2.4/work/wine-2.4'

 * Messages for package sys-auth/rtkit-0.11-r2:

 *   CONFIG_RT_GROUP_SCHED is enabled. rtkit-daemon (or any other real-time task) will not work unless run as root. Please consider unsetting this option.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

 * Messages for package app-emulation/wine-2.4:

 * This version of x86_64-pc-linux-gnu-gcc does not support builtin_ms_va_list, can't enable 64-bit wine
 *
 * You need gcc-4.4+ or clang 3.8+ to build 64-bit wine
 *
 * ERROR: app-emulation/wine-2.4::hossie failed (pretend phase):
 *   (no error message)
 *
 * Call stack:
 *         ebuild.sh, line 115:  Called pkg_pretend
 *   wine-2.4.ebuild, line 269:  Called die
 * The specific snippet of code:
 *      wine_compiler_check || die
 *
 * If you need support, post the output of `emerge --info '=app-emulation/wine-2.4::hossie'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-2.4::hossie'`.
 * The complete build log is located at '/var/tmp/app-emulation:wine-2.4:20170904-001314.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-2.4/temp/die.env'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-2.4/homedir'
 * S: '/var/tmp/portage/app-emulation/wine-2.4/work/wine-2.4'

same goes with 6.4.0
here is the output of emerge --info wine http://sprunge.us/PIAi
and my kernels' .config: http://sprunge.us/ARVa
I can already tell that my 32 bit emulation is active and my /lib folder is symlinked correctly to /lib64, though (saw a thread from 2014 here somewhere that had similar issues that was asking for those).
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1732
Location: Here and Away Again

PostPosted: Mon Sep 04, 2017 5:04 am    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

We don't have 'app-emulation/wine-2.4' in Portage; yours is from an overlay. You may still get help with it here, or you may contact the overlay maintainer.

You may also want to look into Wine: New Packaging, and see if that solves your problem. :]
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 228
Location: Cambridge,UK

PostPosted: Wed Sep 06, 2017 11:19 pm    Post subject: Reply with quote

@Vandr0iy

There is only one Overlay that has a maintained version of the older single-slot app-emulation/wine:0 package - which is mine ::bobwya.
NP is planning to depreciate the app-emulation/wine:0 package - removing it from the main Gentoo Portage tree in the near future.

The Overlay package ebuild, you are attempting to build, is riddled with minor bugs.
Issues that have been fixed in the main Gentoo multislot app-emulation/wine-{any,d3d9,staging,vanilla} packages weeks ago.
Basically because the Overlay package (non-)maintainer isn't reading Gentoo Bugzilla / #gentoo-wine , etc.

For example - your particular issue - these compiler tests should not be run in the pkg_pretend() phase. This violates Portage ebuild phase rules.
Compiler tests cannot be run till the src_configure() phase.

I'd recommend switching to the newer multislot app-emulation/wine-* packages - either from my Overlay (if you don't need Gallium 9 D3D support) or the main Gentoo multislot packages.

It's not a recommended configuration to build pure 64-bit Wine (i.e. really not a good idea!)
See WineHQ: Building Wine ... tl;dr to quote:
Quote:
The problem is that by itself, that build will only run applications compiled for 64-bit Windows. Since the vast majority of Windows applications are 32-bit, you very likely want to follow the WoW64 instructions below.


gcc 6.4.0 will build 64-bit Wine without issues - but only if you have a multilib toolchain enabled.

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum