Package Details: wine-git 9.19.r0.g7ee99608f46-1

Git Clone URL: https://aur.archlinux.org/wine-git.git (read-only, click to copy)
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-2.1-or-later
Conflicts: bin32-wine, wine, wine-wow64
Provides: bin32-wine, wine, wine-wow64
Replaces: bin32-wine
Submitter: None
Maintainer: dbermond
Last Packager: dbermond
Votes: 86
Popularity: 0.000027
First Submitted: 2007-07-18 16:01 (UTC)
Last Updated: 2024-10-06 15:02 (UTC)

Dependencies (99)

Required by (378)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 15 Next › Last »

Beiruty commented on 2024-05-24 03:08 (UTC) (edited on 2024-05-24 03:11 (UTC) by Beiruty)

@dbermond It could be outdated. There is M (modified) git flag for this file

build() {
    export CFLAGS+=' -ffat-lto-objects'

    # apply flags for cross-compilation
    export CROSSCFLAGS="${CFLAGS/-Werror=format-security/}"
    export CROSSCXXFLAGS="${CXXFLAGS/-Werror=format-security/}"
    export CROSSLDFLAGS="${LDFLAGS//-Wl,-z*([^[:space:]])/}"

dbermond commented on 2024-05-24 02:54 (UTC)

@Beiruty The question is not if your binutils supports or not the '-z' option. Of course if supports, but only in GNU/linux. But here we are cross compiling for a windows target using mingw-w64, and the '-z' option is not supported in mingw-w64 ld. The question is why your mingw-w64 ld is using it, since it's explicitly removed from CROSSLDFLAGS in the PKGBUILD. It looks like you have a modified LDFLAGS or an outdated one. What is in your makepkg's LDFLAGS?

Beiruty commented on 2024-05-23 23:10 (UTC) (edited on 2024-05-24 03:09 (UTC) by Beiruty)

@dbermond

extra/mingw-w64-binutils 2.39-1 (4.2 MiB 36.6 MiB) [mingw-w64-toolchain mingw-w64] (Installed)
    Cross binutils for the MinGW-w64 cross-compiler
core/binutils 2.42+r91+g6224493e457-1 (7.5 MiB 39.9 MiB) (Installed)
    A set of programs to assemble and manipulate binary and object files


└─(18:16:17)──> yay -Ss mingw G Installed                                                 ──(Thu,May23)─┘
aur/dxvk-mingw 2.3.1-1 (+9 0.03) (Installed)
extra/mingw-w64-binutils 2.39-1 (4.2 MiB 36.6 MiB) [mingw-w64-toolchain mingw-w64] (Installed)
extra/mingw-w64-winpthreads 11.0.0-1 (206.5 KiB 1.6 MiB) [mingw-w64-toolchain mingw-w64] (Installed)
extra/mingw-w64-headers 11.0.0-1 (10.6 MiB 132.2 MiB) [mingw-w64-toolchain mingw-w64] (Installed)
extra/mingw-w64-gcc 13.1.0-1 (224.8 MiB 969.3 MiB) [mingw-w64-toolchain mingw-w64] (Installed)
extra/mingw-w64-crt 11.0.0-1 (5.9 MiB 152.2 MiB) [mingw-w64-toolchain mingw-w64] (Installed)

Beiruty commented on 2024-05-23 22:54 (UTC) (edited on 2024-05-23 23:25 (UTC) by Beiruty)

@dbermond

└─(17:44:24)──> /usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld -v     
GNU ld (GNU Binutils) 2.39

The GNU ld (GNU Binutils) version 2.42 supports-z option

Beiruty commented on 2024-05-23 22:21 (UTC) (edited on 2024-05-23 22:21 (UTC) by Beiruty)

Here is the error transcript

tools/winegcc/winegcc -o dlls/appwiz.cpl/x86_64-windows/appwiz.cpl --wine-objdir . -b x86_64-w64-mingw32 -Wl,--wine-builtin -shared \
  ../wine/dlls/appwiz.cpl/appwiz.cpl.spec dlls/appwiz.cpl/x86_64-windows/addons.o \
  dlls/appwiz.cpl/x86_64-windows/appwiz.o dlls/appwiz.cpl/appwiz.res \
  libs/uuid/x86_64-windows/libuuid.a dlls/urlmon/x86_64-windows/liburlmon.a \
  dlls/advpack/x86_64-windows/libadvpack.a dlls/comctl32/x86_64-windows/libcomctl32.a \
  dlls/advapi32/x86_64-windows/libadvapi32.a dlls/shell32/x86_64-windows/libshell32.a \
  dlls/ole32/x86_64-windows/libole32.a dlls/user32/x86_64-windows/libuser32.a \
  dlls/comdlg32/x86_64-windows/libcomdlg32.a dlls/bcrypt/x86_64-windows/libbcrypt.a \
  dlls/kernelbase/x86_64-windows/libkernelbase.a dlls/msi/x86_64-windows/libmsi.delay.a \
  dlls/winecrt0/x86_64-windows/libwinecrt0.a dlls/ucrtbase/x86_64-windows/libucrtbase.a \
  dlls/kernel32/x86_64-windows/libkernel32.a dlls/ntdll/x86_64-windows/libntdll.a -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: unrecognized option '-z'
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/x86_64-w64-mingw32-gcc failed
make: *** [Makefile:4876: dlls/apphelp/tests/x86_64-windows/apphelp_test.exe] Error 2
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: unrecognized option '-z'
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/x86_64-w64-mingw32-gcc failed
make: *** [Makefile:4795: dlls/apphelp/x86_64-windows/apphelp.dll] Error 2
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: unrecognized option '-z'
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/x86_64-w64-mingw32-gcc failed
make: *** [Makefile:5010: dlls/appwiz.cpl/x86_64-windows/appwiz.cpl] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: wine-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
wine-git - exit status 4

dbermond commented on 2024-05-23 15:33 (UTC)

@Beiruty I've just checked, and the package is building fine. What is the error that you are getting?

Beiruty commented on 2024-05-23 09:48 (UTC)

Compilation is failing.

dbermond commented on 2024-01-06 23:43 (UTC)

@alex.henrie Nice, thanks for the feedback.

alex.henrie commented on 2024-01-06 03:48 (UTC)

@dbermond The wine-git package is working much better now, thank you!

dbermond commented on 2024-01-04 19:23 (UTC)

@alex.henrie Package updated to match repository package. No additional dependencies added, in order to strictly match the repository one.