Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
859 stars 155 forks source link

cannot build proton-tkg (fresh git clone) #659

Closed Xephobia closed 2 years ago

Xephobia commented 2 years ago

uname -a : Linux xephlap 5.14.21-230-tkg-bmq #1 TKG SMP PREEMPT Tue, 11 Jan 2022 18:15:40 +0000 x86_64 GNU/Linux makepkg -si :

==> Making package: proton-tkg-git 0-1 (Wed 12 Jan 2022 18:29:21 CET)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for xeph: 
resolving dependencies...
looking for conflicting packages...

Packages (4) libsidplay-1.36.59-10  tcl-8.6.12-3  gst-plugins-ugly-1.18.5-2  tk-8.6.12-1

Total Download Size:    4.66 MiB
Total Installed Size:  12.49 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 libsidplay-1.36.59-10-x86_64        75.6 KiB   434 KiB/s 00:00 [###################################] 100%
 tk-8.6.12-1-x86_64                1925.3 KiB  5.19 MiB/s 00:00 [###################################] 100%
 gst-plugins-ugly-1.18.5-2-x86_64   213.5 KiB   439 KiB/s 00:00 [###################################] 100%
 tcl-8.6.12-3-x86_64                  2.5 MiB  4.16 MiB/s 00:01 [###################################] 100%
 Total (4/4)                          4.7 MiB  7.38 MiB/s 00:01 [###################################] 100%
(4/4) checking keys in keyring                                  [###################################] 100%
(4/4) checking package integrity                                [###################################] 100%
(4/4) loading package files                                     [###################################] 100%
(4/4) checking for file conflicts                               [###################################] 100%
(4/4) checking available disk space                             [###################################] 100%
:: Processing package changes...
(1/4) installing tcl                                            [###################################] 100%
(2/4) installing tk                                             [###################################] 100%
(3/4) installing libsidplay                                     [###################################] 100%
(4/4) installing gst-plugins-ugly                               [###################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (4) python-future-0.18.2-7  python-fonttools-4.28.5-1  python-pefile-2021.9.3-3
             schedtool-1.3.0-7

Total Download Size:    2.33 MiB
Total Installed Size:  13.24 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 schedtool-1.3.0-7-x86_64            26.3 KiB   206 KiB/s 00:00 [###################################] 100%
 python-future-0.18.2-7-any         713.3 KiB  2.16 MiB/s 00:00 [###################################] 100%
 python-pefile-2021.9.3-3-any       122.2 KiB   380 KiB/s 00:00 [###################################] 100%
 python-fonttools-4.28.5-1-x86_64  1526.7 KiB  3.04 MiB/s 00:00 [###################################] 100%
 Total (4/4)                          2.3 MiB  4.49 MiB/s 00:01 [###################################] 100%
(4/4) checking keys in keyring                                  [###################################] 100%
(4/4) checking package integrity                                [###################################] 100%
(4/4) loading package files                                     [###################################] 100%
(4/4) checking for file conflicts                               [###################################] 100%
(4/4) checking available disk space                             [###################################] 100%
:: Processing package changes...
(1/4) installing python-fonttools                               [###################################] 100%
Optional dependencies for python-fonttools
    python-brotli: to compress/decompress WOFF 2.0 web fonts
    python-fs: to read/write UFO source files
    python-lxml: faster backend for XML files reading/writing [installed]
    python-lz4: for graphite type tables in ttLib/tables
    python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel
    python-pyqt5: for drawing glyphs with Qt’s QPainterPath [installed]
    python-reportlab: to drawing glyphs as PNG images
    python-scipy: for finding wrong contour/component order between different masters
    python-sympy: for symbolic font statistics analysis
    python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx
    python-zopfli: faster backend fom WOFF 1.0 web fonts compression
(2/4) installing schedtool                                      [###################################] 100%
(3/4) installing python-future                                  [###################################] 100%
Optional dependencies for python-future
    python-setuptools: futurize and pasteurize scripts [installed]
(4/4) installing python-pefile                                  [###################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> Extracting sources...
==> Starting prepare()...
==> WARNING: The next step might take some time, please be patient...
Cloning into bare repository 'wine-mirror-git'...
remote: Enumerating objects: 1132456, done.
remote: Counting objects: 100% (158/158), done.
remote: Compressing objects: 100% (85/85), done.
remote: Total 1132456 (delta 75), reused 138 (delta 73), pack-reused 1132298
Receiving objects: 100% (1132456/1132456), 775.22 MiB | 11.99 MiB/s, done.
Resolving deltas: 100% (927715/927715), done.
Cloning into bare repository 'wine-staging-git'...
remote: Enumerating objects: 48019, done.
remote: Counting objects: 100% (2905/2905), done.
remote: Compressing objects: 100% (942/942), done.
remote: Total 48019 (delta 1796), reused 2759 (delta 1778), pack-reused 45114
Receiving objects: 100% (48019/48019), 35.08 MiB | 25.09 MiB/s, done.
Resolving deltas: 100% (32313/32313), done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
  -> 
==> Updated version: proton-tkg-git 7.0rc4.r4.ge1c496b2-1
==> Starting build()...
==> WARNING: Using this PKGBUILD is not the recommended way to build proton-tkg.
==> WARNING: Unless you really want a package, please favor the proton-tkg.sh script route instead.
==> WARNING: Also note that SteamVR support is forcefully disabled when using the PKGBUILD,
==> WARNING: independently of its functioning state in proton-tkg.

 ______              __                      __   __
|   __ \.----.-----.|  |_.-----.-----.______|  |_|  |--.-----.
|    __/|   _|  _  ||   _|  _  |     |______|   _|    <|  _  |
|___|   |__| |_____||____|_____|__|__|      |____|__|__|___  |
                                                       |_____|

Also known as "Some kind of build wrapper for wine-tkg-git"

 -> Non-makepkg build script will be used.

 ->        .---.`               `.---.
 ->     `/syhhhyso-           -osyhhhys/`
 ->    .syNMdhNNhss/``.---.``/sshNNhdMNys.
 ->    +sdMh.`+MNsssssssssssssssNM+`.hMds+
 ->    :syNNdhNNhssssssssssssssshNNhdNNys:
 ->     /ssyhhhysssssssssssssssssyhhhyss/
 ->     .ossssssssssssssssssssssssssssso.
 ->    :sssssssssssssssssssssssssssssssss:
 ->   /sssssssssssssssssssssssssssssssssss/
 ->  :sssssssssssssoosssssssoosssssssssssss:
 ->  osssssssssssssoosssssssoossssssssssssso
 ->  osssssssssssyyyyhhhhhhhyyyyssssssssssso
 ->  /yyyyyyhhdmmmmNNNNNNNNNNNmmmmdhhyyyyyy/
 ->   smmmNNNNNNNNNNNNNNNNNNNNNNNNNNNNNmmms
 ->    /dNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd/
 ->     `:sdNNNNNNNNNNNNNNNNNNNNNNNNNds:`
 ->        `-+shdNNNNNNNNNNNNNNNdhs+-`
 ->              `.-:///////:-.`
 -> 
 -> #################################################################
 -> 
 -> You can configure your wine build flavour (right now for example)
 -> by editing the proton-tkg.cfg file in the proton-tkg dir,
 -> or by creating a custom config, for example
 -> ~/.config/frogminer/proton-tkg.cfg (path set in config file)
 -> to override some or all of its values.
 -> 
 -> Current path is '/home/xeph/wine-tkg-git/wine-tkg-git'
 -> 
 -> If you are rebuilding using the same configuration, you may want
 -> to delete/move previously built package if in the same dir.
 -> 
 -> ###################################TkG##########was##########here
When you are ready, press enter to continue.
 -> Using staging patchset
 -> Using fsync patchset
 -> Using pba patchset
 -> Cloning and preparing sources... Please be patient.
 -> Cleaning wine-staging source code tree...
 -> Cleaning wine source code tree...
 ==> WARNING: ! Staging has disabled mfplat support on this revision, so video playback will not work in games using mfplat !
 -> Changing wine HEAD to the wine-staging base commit...
Note: switching to '76c9fc8a761c9faff72f97ab508a1afcb28eeb12'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 76c9fc8a761 wined3d: Handle WINED3DSPSM_NONE in shader_sm4_read_param().
 -> Cloning community-patches repo into \'/home/xeph/community-patches\'...
Cloning into '/home/xeph/community-patches'...
remote: Enumerating objects: 1047, done.
remote: Counting objects: 100% (416/416), done.
remote: Compressing objects: 100% (279/279), done.
remote: Total 1047 (delta 255), reused 267 (delta 137), pack-reused 631
Receiving objects: 100% (1047/1047), 2.25 MiB | 11.37 MiB/s, done.
Resolving deltas: 100% (656/656), done.
 ==> WARNING: Hotfix: Restore staging's mfplat support patchset
 ==> WARNING: Hotfix: Fix for Riot Client updates
 ==> WARNING: Hotfix: Revert Quartz changes breaking Tokyo Xanadu Xe+
 ==> WARNING: Hotfix: Bcrypt fixes for RDR2
 ==> WARNING: Hotfix: Restore staging's winepulse pulsaudio support patchset - Fixes audio skips and crackling in various games
 ==> WARNING: Hotfix: Protonify staging syscall emu
 ==> WARNING: Hotfix: Remove a TRACE in the DXGIGetDebugInterface1 stub causing segfaults.
 -> Hotfixing...
error: could not revert 4398e8aba2d... wmvcore/tests: Add tests for asynchronous reader media types.
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
 ==> ERROR: Patch application has failed. The error was logged to /home/xeph/wine-tkg-git/wine-tkg-git/prepare.log for your convenience.
 -> To use the last known good mainline version, please set _plain_version="" in your .cfg
 -> To use the last known good staging version, please set _staging_version="" in your .cfg (requires _use_staging="true")
 -> Removed BIG_UGLY_FROGMINER - Ribbit
 -> Removed Proton-tkg token - Valve Ribbit
 -> exit cleanup done
==> ERROR: A failure occurred in build().
    Aborting...
  -> exit cleanup done

prepare.log

There is a similar error with wine-tkg

Xephobia commented 2 years ago

seems to build with v7.0-rc3

Astrobald commented 2 years ago

"Hotfix: Restore staging's mfplat support patchset" is broken.

You should answer "N" at the "Restore" command prompt

Edit : _hotfixes_no_confirm="false" at the end of the "proton-tkg.cfg" file

Astrobald commented 2 years ago

If you need to restore staging's mfplat, just edit /wine-tkg-git-master/wine-tkg-git/wine-tkg-patches/hotfixes/hotfixer, and add these three bold lines at 599 :

_hotfix_mainlinereverts+=(cb41e4b1753891f5aa22cb617e8dd124c3dd8983 03d92af78a5000097b26560bba97320eb013441a 4d2a628dfe9e4aad9ba772854717253d0c6a7bb7 c5a9373dbed9bb53e7739dfb6d2a1a2a5818871b

source