Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624198 - [hossie overlay] app-emulation/wine with ABI_X86 = 64 -32 compile error due to wrong "builtin_ms_va_list" check(ACCEPT_KEYWORDS=~amd64)
Summary: [hossie overlay] app-emulation/wine with ABI_X86 = 64 -32 compile error due t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Daniel Augustin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-08 04:44 UTC by Leonik
Modified: 2017-07-18 20:45 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge-info.txt,17.50 KB, text/plain)
2017-07-08 04:44 UTC, Leonik
Details
build.log (build.log,1.84 KB, text/x-log)
2017-07-10 15:18 UTC, Leonik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonik 2017-07-08 04:44:04 UTC
Created attachment 481800 [details]
emerge --info

Can't build any version of wine because of wrong check for "builtin_ms_va_list".
Successfully installed with custom .ebuild without section that checking  builtin_ms_va_list.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-07-10 12:49:34 UTC
Please attach the build log.
Comment 2 Leonik 2017-07-10 15:18:53 UTC
Created attachment 482894 [details]
build.log
Comment 3 Leonik 2017-07-10 15:26:06 UTC
I'm almost sure that problem in function $(tc-getCC) in this part of ebuild

"...
# Compile in subshell to prevent "Aborted" message
                ( $(tc-getCC) -O2 "${FILESDIR}"/builtin_ms_va_list.c -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
                if ! eend $?; then
                        eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
...
"
i've tried to compile /builtin_ms_va_list.c manually. Compilation was successful, compiled code doesn't show any error.
Comment 4 Daniel Augustin 2017-07-18 18:15:49 UTC
This is coming from FILESDIR not available in pkg_* anymore (#586416).

If you remove the >/dev/null you get:

x86_64-pc-linux-gnu-gcc: error: >>>/var/tmp/portage/app-emulation/wine-2.12/files<<</builtin_ms_va_list.c: No such file or directory

If you downgrade portage, the ebuild works again. This seems to be implemented in a current portage version now, although I could not find any news item or Changelog about it, except that tracker bug.

@Leonik: As you seem to be already using my overlay ("hossie") I have removed the compiler checks from 2.12-r1 for now. Im not quite sure how to handle the compiler checks.
Comment 5 Adam Feldman gentoo-dev 2017-07-18 19:23:36 UTC
This is not an issue with official packaging.

@jstein: Please make sure that the package is from ::gentoo before assigning to maintainer.

@Leonik: In the future, please state that the package you are compiling is from another repo

@Hossie: I'm reassigning this to you since this is an issue with your packaging in your overlay, not the packaging in the main repo.  You can see the fix if you check the commit log for the package in the main repo, but since I'm going to be unmasking the slotted packaging shortly, I'd highly recommend that you switch to that in the near future.
Comment 6 Daniel Augustin 2017-07-18 20:44:44 UTC
Hi,

indeed, in wine::gentoo the compiler checks have been moved to src_configure. I have rebased the wine ebuilds on 2.3, @Leonik please test 2.12-r2.