Frogging-Family / wine-tkg-git

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

Package libllvm12:i386 does not exists on Debian ? #1199

Open Marietto2008 opened 2 weeks ago

Marietto2008 commented 2 weeks ago

Hello to everyone.

I'm trying to compile wine-tkg from this repo :

https://github.com/Frogging-Family/wine-tkg-git

This is what I did,according with the short tutorial :

root@debian-now:/home/marietto/Scaricati/wine-tkg-git/wine-tkg-git# ./non-makepkg-build.sh

=> Installing package: libllvm12:i386 | Using apt
E: Can't find package libllvm12:i386
==> WARNING: Failed to install package: libllvm12:i386
=> Installing apt-smart | Using pip
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.

Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

==> WARNING: Failed to install apt-smart, cannot update mirror.
=> Installing apt-smart | Using pip| Attempt: 2/3
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.

Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

==> WARNING: Failed to install apt-smart, cannot update mirror.
=> Installing apt-smart | Using pip| Attempt: 3/3
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.

Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
==> WARNING: Failed to install apt-smart, cannot update mirror.
===> ERROR: Failed to update mirror after 3 attempts.
=> Installing package: libllvm12:i386 | Using apt| Attempt: 2/3
E: Can't find package libllvm12:i386
==> WARNING: Failed to install package: libllvm12:i386
=> Installing apt-smart | Using pip
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.

Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
==> WARNING: Failed to install apt-smart, cannot update mirror.
=> Installing apt-smart | Using pip| Attempt: 2/3
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.

Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
==> WARNING: Failed to install apt-smart, cannot update mirror.
=> Installing apt-smart | Using pip| Attempt: 3/3
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

==> WARNING: Failed to install apt-smart, cannot update mirror.
===> ERROR: Failed to update mirror after 3 attempts.
=> Installing package: libllvm12:i386 | Using apt| Attempt: 3/3
E: Can't find package libllvm12:i386

==> WARNING: Failed to install package: libllvm12:i386
===> ERROR: Failed to install package: libllvm12:i386 after 3 attempts.
===> ERROR: 32-bit dependencies installation failed. Please check the error message and install the missing dependencies manually.
=> Removed BIG_UGLY_FROGMINER - Ribbit
=> Removed Proton-tkg token - Valve Ribbit
=> exit cleanup done

root@debian-now:/home/marietto/Scaricati/wine-tkg-git/wine-tkg-git# apt install libllvm12:i386
E: Can't find package libllvm12:i386

So,I would like to know how to install the package "libllvm12:i386".

I tried to look for that packages below :

https://packages.debian.org/search?keywords=libllvm12

but it says :

You have searched for packages that contain libllvm12 in all suites, all sections, and all architectures.

So,I haven't any other idea about how to find that package. Where can I find it ? thanks. Without it the script can't finish its job.

mikeserv-git commented 2 weeks ago

Those are probably old instructions, it probably isn't LLVM 12 anymore. You don't say what version of Debian you are using, so all I can tell you is to install the LLVM packages (including the 32 bit libllvm package) from your distro.

For starters, on Debian, you are likely going to have to ADD the 32 bit repos so your package manager, apt, will install those :i386 packages. Otherwise you are searching for packages that aren't in any of your repos.

dpkg --add-architecture i386 apt update

After that, you should be able to install packagename:i386 and it should resolve dependencies.

Marietto2008 commented 2 weeks ago

Hello Frogging-Family/wine-tkg-git.

I'm running Debian Bookworm. I've already did :

dpkg --add-architecture i386

apt update

Despite that,the package libllvm12:i386 didn't want to be installed. So to let that the script continue its job,I found the missing package here :

https://snapshot.debian.org/package/llvm-toolchain-12/1%3A12.0.1-21/#libllvm12_1:3a:12.0.1-21

and I've installed it with :

dpkg -i libllvm12_12.0.1-21_amd64.deb https://snapshot.debian.org/archive/debian/20220531T025502Z/pool/main/l/llvm-toolchain-12/libllvm12_12.0.1-21_amd64.deb

and luckily it has been accepted.

Maybe the time to upgrade the instructions and the script has come ? The script completed but an annoying consequence is that I can't run xfce4,because some packages needed by xfce4 are removed by your script.

To fix it,I should do :

apt install xfce4

but then,if I run the script again,it will remove those packages again.

On Mon, Jun 17, 2024 at 7:21 PM Mike Houston @.***> wrote:

Those are probably old instructions, it probably isn't LLVM 12 anymore. You don't say what version of Debian you are using, so all I can tell you is to install the LLVM packages (including the 32 bit libllvm package) from your distro.

For starters, on Debian, you are likely going to have to ADD the 32 bit repos so your package manager, apt, will install those :i386 packages. Otherwise you are searching for packages that aren't in any of your repos.

dpkg --add-architecture i386 apt update

After that, you should be able to install packagename:i386 and it should resolve dependencies.

— Reply to this email directly, view it on GitHub https://github.com/Frogging-Family/wine-tkg-git/issues/1199#issuecomment-2173940694, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFYNC2DW5I77IYN42WLPMLZH4LLHAVCNFSM6AAAAABJMTXBVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTHE2DANRZGQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Mario.

mikeserv-git commented 2 weeks ago

I see, so the bootstrapping itself was specifically wanting libllvm12. That wouldn't be because you're linking anything in your build to them, but as a dependency for something else it pulls in most likely. If you didn't install the corresponding -dev package, that in itself wouldn't do any harm, they are just libraries with old sonames that won't interfere.

I'm not anyone to answer about the appropriateness of the script or the instructions, I'm just trying to help you out a bit.

However, you shouldn't be spamming your box like that. (from what you said about your XFCE etc.) Set up a dev box if you are going to cause packaging conflicts etc for a build. Install Debian in a virtual machine etc. and break it in whatever manner you need.

Note that you do not actually need to run the bootstrap if you already have everything you need to build it, satisfied by whatever method you have the actual dependencies installed.

In customization.cfg:

# Enable dependency autoresolver for non-makepkg builds - Set to true to automatically install missing dependencies for your distro.
# This will autodetect your OS and install the required dependencies for building wine-tkg using the appropriate package manager.
# The autoresolver will also attempt to use the best available privileged escalation method for your system (sudo, doas, etc.)
_nomakepkg_dependency_autoresolver="true"
Marietto2008 commented 2 weeks ago

Hello.

I've been able to run Google Chrome using your version of Wine. Unfortunately I'm not able to watch Netflix because of the error that you see below. (I'm a regular paid consumer). Don't tell me that I can watch Netflix using Chrome natively on Linux because I know this already. But I want to watch it using Chrome under wine.

[image: Widewine-no.png]

Do you see some bugs that can be fixed ? Thanks.

On Mon, Jun 17, 2024 at 11:56 PM Mike Houston @.***> wrote:

I see, so the bootstrapping itself was specifically wanting libllvm12. That wouldn't be because you're linking anything in your build to them, but as a dependency for something else it pulls in most likely. If you didn't install the corresponding -dev package, that in itself wouldn't do any harm, they are just libraries with old sonames that won't interfere.

I'm not anyone to answer about the appropriateness of the script or the instructions, I'm just trying to help you out a bit.

However, you shouldn't be spamming your box like that. (from what you said about your XFCE etc.) Set up a dev box if you are going to cause packaging conflicts etc for a build. Install Debian in a virtual machine etc. and break it in whatever manner you need.

Note that you do not actually need to run the bootstrap if you already have everything you need to build it, satisfied by whatever method you have the actual dependencies installed.

In customization.cfg:

Enable dependency autoresolver for non-makepkg builds - Set to true to automatically install missing dependencies for your distro.

This will autodetect your OS and install the required dependencies for building wine-tkg using the appropriate package manager.

The autoresolver will also attempt to use the best available privileged escalation method for your system (sudo, doas, etc.)

_nomakepkg_dependency_autoresolver="true"

— Reply to this email directly, view it on GitHub https://github.com/Frogging-Family/wine-tkg-git/issues/1199#issuecomment-2174499158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFYNCYIBRMNVRW7S5RSHMLZH5LPTAVCNFSM6AAAAABJMTXBVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUGQ4TSMJVHA . You are receiving this because you authored the thread.Message ID: @.***>

-- Mario.