WINE Build and ARCH Problems
by enorbet from LinuxQuestions.org on (#5M4DQ)
Greetings All
Ever since sometime way back in Wine 2x days I've been using Dugan's excellent wine.Slackbuild scripts to build wine. It automatically downloads the latest release (unless modified to grab a specific version) and by default recognizes a multilib Slackware install and builds a multilib WINE... or at least it did up until Wine 6.2. 6.1 still works well.
Ever since 6.1 the build errors out thusly and I don't know how to fix it.
Code:./wine-staging-newest.Slackbuild
Traceback (most recent call last):
File "<stdin>", line 8, in <module>
File "/usr/lib64/python3.9/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib64/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Fixing either my Slackware Current install to comply or fixing the Slackbuild would be my preference but in frustration I tried both the wine slackbuild and the wine-staging slackbuild from SBO.
Ever since I did this and even after confirming
Code: WIN32=${WIN32:-yes}WINE reports it is 64 bit! I can change that with
Code:WINEPREFIX="$HOME/prefix32"
WINEARCH=win32 wine winebootbut WINE still errors out complaining it is a 64bit install. After having used the SBO scripts but removepkg and reinstalling my old Dugan generated 6.1 it still complains but everything works.
I have run out of ideas or even things to try as I would very much like to build a newer release of wine-staging.
Any advice?
NOTE: I'd like to take a moment to thank Dugan for his excellent build script that has served me so well for so many years. I just wish I knew enough to make it continue.
Ever since sometime way back in Wine 2x days I've been using Dugan's excellent wine.Slackbuild scripts to build wine. It automatically downloads the latest release (unless modified to grab a specific version) and by default recognizes a multilib Slackware install and builds a multilib WINE... or at least it did up until Wine 6.2. 6.1 still works well.
Ever since 6.1 the build errors out thusly and I don't know how to fix it.
Code:./wine-staging-newest.Slackbuild
Traceback (most recent call last):
File "<stdin>", line 8, in <module>
File "/usr/lib64/python3.9/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib64/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)Fixing either my Slackware Current install to comply or fixing the Slackbuild would be my preference but in frustration I tried both the wine slackbuild and the wine-staging slackbuild from SBO.
Ever since I did this and even after confirming
Code: WIN32=${WIN32:-yes}WINE reports it is 64 bit! I can change that with
Code:WINEPREFIX="$HOME/prefix32"
WINEARCH=win32 wine winebootbut WINE still errors out complaining it is a 64bit install. After having used the SBO scripts but removepkg and reinstalling my old Dugan generated 6.1 it still complains but everything works.
I have run out of ideas or even things to try as I would very much like to build a newer release of wine-staging.
Any advice?
NOTE: I'd like to take a moment to thank Dugan for his excellent build script that has served me so well for so many years. I just wish I knew enough to make it continue.