Can't finish compilation? Who's the troublemaker?

Been trying to get Stellarium to compile.

W [925/947] Building CXX object src/CMakeFiles/stelMain.dir/gui/ConfigurationDialog.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting…
→ error making: stellarium-exit status 4
→ Failed to install the following packages. Manual intervention is required:
stellarium - exit status 4
[richardc@richard-ms7c91 ~]$
Who or what is the culprit? It’s in the AUR repository and tries to load updating everytime with the same execution error message. . . . What gives? Version 24.3 from 24.2.
Is this a programming issue?

Rich;)

I got the same thing trying to build that package. I was able to build it and install using stellarium-bin

Edit: Unfortunately it doesn’t launch though from the menu.

Edit: From the terminal i get this.

[ricklinux@rick-ms7c37 ~]$ stellarium
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb.

Aborted (core dumped)
[ricklinux@rick-ms7c37 ~]$ 

Edit: Not sure if it works on X11? I didn’t try it.

Probably this known issue, a patch is being tested:

It’s also mentioned on the package’s AUR page:

https://aur.archlinux.org/packages/stellarium#comment-992004

2 Likes

Thanks @Stagger_Lee
I didn’t even look there. Just tried to build it from both packages.

2 Likes

Just installed it via AppImage from the originators website. Works on this mini-pc. I’ve got to give it a whirl with the desktop unit. Problem temporarily solved using AppImage.

Rich;)

3 Likes

Works on the Desktop unit running cinnamon. (minpc was KDE plasma). Works for now. . .

Ric :woozy_face:h

Newest version of ‘Stellarium’ now compiles in terminal. v24.3-2 as of this morning. No need to use appimage except in emergencies I guess. . . .

Rich;)

1 Like