Package Details: wine-git 2.18.r144.gee7ddd1ed3-1

Git Clone URL: https://aur.archlinux.org/wine-git.git (read-only)
Package Base: wine-git
Description: A compatibility layer for running Windows programs (git version)
Upstream URL: https://www.winehq.org
Keywords: windows wine
Licenses: LGPL
Conflicts: bin32-wine, wine, wine-staging, wine-staging-git, wine-wow64
Provides: bin32-wine=2.18.r144.gee7ddd1ed3, wine=2.18.r144.gee7ddd1ed3, wine-wow64=2.18.r144.gee7ddd1ed3
Replaces: bin32-wine
Submitter: None
Maintainer: dbermond
Last Packager: dbermond
Votes: 82
Popularity: 1.201007
First Submitted: 2007-07-18 16:01
Last Updated: 2017-10-10 20:28

Dependencies (138)

Required by (145)

Sources (2)

Latest Comments

dbermond commented on 2017-10-10 20:35

I'm maintaining this package now.
After some cleanups, it's now building and working fine.
Enjoy.

Vash63 commented on 2017-09-28 06:09

Follow up - #2 below was fixed, I can now build and use wine-git when removing the Flex.patch and with no other changes.

Vash63 commented on 2017-09-27 09:57

1. Flex patch should no longer be necessary, the bug report indicates this was fixed in 2.6.4 in May.
2. Unfortunately this can't be built at all with Fontconfig 2.8.1 due to:
https://bugs.winehq.org/show_bug.cgi?id=43716

Not sure if there's a patch you could do here without requiring a downgrade of Fontconfig.

sidneycrestani commented on 2017-02-16 00:00

@greyltc flex team solved the issue in a january commit. I added a workaround anyway.

greyltc commented on 2017-02-12 14:32

It seems like flex is somehow being left out of the build system right now and that's why the build has failed for me. To fix this, make sure you have flex and lib32-flex installed, then you have to get "-lfl" into the end build command for winhlp32.

Here are the (super hacky) changes I made to the PKGBUILD here to get the build to complete.
- Add flex and lib32-flex to makedepends
- Add the following sed command to the build() function just before the make command for the 64 bit build:
sed -i 's|-lcomctl32 -lcomdlg32 -luser32 -lgdi32 \.\./\.\./libs/port/libwine_port\.a -Wb,-dshell32 -Wb,-dcomctl32 \\|-lcomctl32 -lcomdlg32 -luser32 -lgdi32 -lfl \.\./\.\./libs/port/libwine_port\.a -Wb,-dshell32 -Wb,-dcomctl32 \\|g' programs/winhlp32/Makefile
- Add the following sed command to the build() function just before the make command for the 32 bit build:
sed -i 's|macro\.lex\.yy\.o winhlp32\.res -lshell32 -lcomctl32 -lcomdlg32 -luser32 -lgdi32 \\|macro\.lex\.yy\.o winhlp32\.res -lshell32 -lcomctl32 -lcomdlg32 -luser32 -lgdi32 -lfl \\|g' programs/winhlp32/Makefile

greyltc commented on 2017-02-12 12:35

The build is failing with
macro.lex.yy.c:(.text+0xf4d): undefined reference to `yywrap'
as follows

make[1]: Entering directory 'wine-git/src/wine-git-64-build/programs/winetest'
build="BUILD_INFO STRINGRES build.nfo STRINGTABLE { 1 \"`GIT_DIR=../../../wine-git/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $build | cmp -s - build.rc) || echo $build >build.rc || (rm -f build.rc && exit 1)
make[1]: Leaving directory 'wine-git/src/wine-git-64-build/programs/winetest'
make[1]: Entering directory 'wine-git/src/wine-git-64-build/programs/winhlp32'
../../tools/winegcc/winegcc -o winhlp32.exe.so -B../../tools/winebuild -m64 -fasynchronous-unwind-tables \
-mwindows callback.o hlpfile.o macro.o string.o winhelp.o macro.lex.yy.o winhlp32.res -lshell32 \
-lcomctl32 -lcomdlg32 -luser32 -lgdi32 ../../libs/port/libwine_port.a -Wb,-dshell32 -Wb,-dcomctl32 \
-Wb,-dcomdlg32 -Wl,-O1,--sort-common,--as-needed,-z,relro
macro.lex.yy.o: In function `yylex':
macro.lex.yy.c:(.text+0xf4d): undefined reference to `yywrap'
collect2: error: ld returned 1 exit status
winegcc: gcc failed
make[1]: *** [Makefile:353: winhlp32.exe.so] Error 2
make[1]: Leaving directory 'wine-git/src/wine-git-64-build/programs/winhlp32'
make: *** [Makefile:20951: programs/winhlp32] Error 2

Is this upstream's problem or ours?

z3ntu commented on 2017-01-11 13:09

flex 2.6.3-1 seems to break the compilation. Downgrading to 2.6.1-1 (https://archive.archlinux.org/packages/f/flex/flex-2.6.1-1-x86_64.pkg.tar.xz) fixes it.

sidneycrestani commented on 2016-12-07 00:04

the --with-gstreamer option is already there, that comment is from the community repo

your issue #2 was fixed on my second commit

C0rn3j commented on 2016-12-06 17:11

Thanks! That seems to have fixed it!

I just have 2 issues left with this package
1)# Gstreamer was disabled for FS#33655
https://bugs.archlinux.org/task/33655

As you can see this issue was fixed upstream.

https://bugs.winehq.org/show_bug.cgi?id=30557

2) My comment from 2016-11-20 13:36 on this page describes the issue

sidneycrestani commented on 2016-12-06 00:22

I copied the PKGBUILD dependencies from upstream, my bad

EDIT: Should be fixed now

All comments