Codeblocks borks system

Codeblocks when executed pops onto the screen and does not respond to keyboard or mouse commands to cease and desist. It states it’s not responding. . . It stays lock onto my screen. In my round about way I thought I could just delete the software and things would be fine. . . after rebooting the system it was gone. So I then re-installed the software and the same thing happens. Any body explain how files gets updated in ‘extra’ repository? KDE responded by asking me if I wanted to terminate this action or wait. . .

Rich :wink:

It seems like it is already the latest version and doesn’t look like it has been updated since June.

Does the same here, it guess it’s related to the wxwidget-gtk3 dependency,

If I launch codeblocks in the shell, it throws this error

Starting Code::Blocks Release 25.03  rev 13644 Jun  7 2025, 19:19:57 - wxWidgets 3.2.8 - gcc 15.1.1 (Linux, unicode) - 64 bit
Gtk-Message: 01:20:51.939: Failed to load module "appmenu-gtk-module"

If I subsequently install appmenu-gtk-module out of [extra]

(codeblocks:38106): Gdk-CRITICAL **: 01:27:45.840: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

Thus I assume, it only likes X11.

Adding GDK_BACKEND=x11 to the .desktop entry in `~/.local/share/applications also didn’t help to launch it via xorg-xwayland.

Until someone finds a fix, I use Flatpak container to run codeblocks.

  1. Here is an install script:
#!/bin/bash

# #Update package database and install flatpak

sudo pacman -Syu --noconfirm flatpak

# #Add Flathub remote repository if not already added

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

# #Install Code::Blocks flatpak

flatpak install -y flathub org.codeblocks.codeblocks

echo “Code::Blocks Flatpak installation complete.”
echo
echo “run: flatpak run org.codeblocks.codeblocks”
echo
echo “run & expose repo: flatpak run --filesystem=/home/myrepo/ org.codeblocks.codeblocks”
  1. Any tool works from the OS, but Flatpak codeblocks needs customization to change for instance which terminal runs after compiling.

  2. Performance seems the same, drawback:

flatpak run --command=gcc org.codeblocks.codeblocks --version

gcc (GCC) 14.3.0 vs. gcc (GCC) 15.2.1

  1. Requires rebuilding project otherwise some LTO error.

  2. Likely issue breaking extra/codeblocks 25.03-2 package

wxSmithContribItems plugin

as launch stops after clangd_client: loaded

this is a working launch

Loading menubar…
MouseSap: loaded
ProjectsImporter: loaded
SmartIndentLua: loaded
clangd_client: loaded
wxSmithContribItems: loaded
  1. aur/codeblocks-svn 25.03.r13670-1 (+9 0.02) package, latest version, does not install either.

  2. No one has mentioned those packages are broken. I cannot imagine it being an EndeavourOS specific issue?

Should anyone notify those maintainers?

  1. should this forum support ``` for multiline code paste?

It does. Your ``` was escaped for some reason. I fixed it for you.