Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build modules on openSUSE (GLib-CRITICAL) #279

Open
Spaceboy60 opened this issue Sep 4, 2024 · 3 comments
Open

Unable to build modules on openSUSE (GLib-CRITICAL) #279

Spaceboy60 opened this issue Sep 4, 2024 · 3 comments

Comments

@Spaceboy60
Copy link

Spaceboy60 commented Sep 4, 2024

I have the following patterns installed

[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development

When trying to compile i get:

[EDIT] After a reboot I now get:

Cloning into 'vmware-host-modules'...
remote: Enumerating objects: 4811, done.
remote: Counting objects: 100% (1622/1622), done.
remote: Compressing objects: 100% (293/293), done.
remote: Total 4811 (delta 1520), reused 1379 (delta 1329), pack-reused 3189 (from 1)
Receiving objects: 100% (4811/4811), 1.85 MiB | 1.80 MiB/s, done.
Resolving deltas: 100% (3707/3707), done.
git archive -o vmmon.tar --format=tar HEAD vmmon-only
git archive -o vmnet.tar --format=tar HEAD vmnet-only
'vmmon.tar' -> '/usr/lib/vmware/modules/source/vmmon.tar'
'vmnet.tar' -> '/usr/lib/vmware/modules/source/vmnet.tar'
[AppLoader] GLib does not have GSettings support.
Failed to get gcc information.
Press 'Enter' to continue...

@Spaceboy60
Copy link
Author

So i need to install gcc14 I think, but when i try to install:

Problem: 1: the to be installed gcc14-14.2.0+git10526-2.0.2.1.sr20240803.x86_64 requires 'libhwasan0 >= 14.2.0+git10526-2.0.2.1.sr20240803', but this requirement cannot be provided
not installable providers: libhwasan0-14.2.0+git10526-2.0.2.1.sr20240803.x86_64[repo-update]

Solution 1: Following actions will be done:
deinstallation of libhwasan0-gcc13-13.3.1+git8964-1.0.2.1.sr20240803.x86_64
deinstallation of liblsan0-gcc13-13.3.1+git8964-1.0.2.1.sr20240803.x86_64
deinstallation of libtsan2-gcc13-13.3.1+git8964-1.0.2.1.sr20240803.x86_64
Solution 2: do not install gcc14-14.2.0+git10526-2.0.2.1.sr20240803.x86_64
Solution 3: break gcc14-14.2.0+git10526-2.0.2.1.sr20240803.x86_64 by ignoring some of its dependencies

@ghost
Copy link

ghost commented Sep 5, 2024

Which openSUSE version are you on? Which version of VMWare are you running? Which branch are you using?

I have this version of openSUSE:

cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.6"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.6"
PRETTY_NAME="openSUSE Leap 15.6"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.6"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"

With VMWare 17.5.1 build-23298084 so using the branch zip vmware-host-modules-workstation-17.5.1.zip

Only fix I had to make was to add the include as per this issue post: #262 (comment) and then all was well.

These are the installed gcc packages I have:

rpm -qa | grep -i gcc
gcc-c++-7-3.9.1.x86_64
gcc7-c++-7.5.0+r278197-150000.4.41.1.x86_64
libgcc_s1-32bit-13.3.0+git8781-150000.1.12.1.x86_64
gcc7-7.5.0+r278197-150000.4.41.1.x86_64
gcc-7-3.9.1.x86_64
libstdc++6-devel-gcc7-7.5.0+r278197-150000.4.41.1.x86_64
libgcc_s1-13.3.0+git8781-150000.1.12.1.x86_64

@Spaceboy60
Copy link
Author

17.5.1.

I managed to install the modules eventually by selecting SOLUTION 1 below, which allowed installation of gcc14 required to build the modules (at least when i launched vmware that was the gcc version it was asking for):

Solution 1: Following actions will be done:
deinstallation of libhwasan0-gcc13-13.3.1+git8964-1.0.2.1.sr20240803.x86_64
deinstallation of liblsan0-gcc13-13.3.1+git8964-1.0.2.1.sr20240803.x86_64
deinstallation of libtsan2-gcc13-13.3.1+git8964-1.0.2.1.sr20240803.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant