Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on July 27, 2026, 05:28:10 pm

Title: The 27 July 2026 build (13924) is out.
Post by: killerbot on July 27, 2026, 05:28:10 pm
We switched to gcc 15.2.0 (on 09 April 2026) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/15.2.0posix-14.0.0-ucrt-r7/winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64ucrt-14.0.0-r7.7z

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works (http://forums.codeblocks.org/index.php/topic,3232.0.html).

A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw33u_gcc_cb_wx333_2D_gcc1520-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls15.2.0.7z


The 27 July 2026 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2026/CB_20260727_rev13924_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 27 July 2026 build (13924) is out.
Post by: Xaviou on July 27, 2026, 06:19:49 pm
Hi.

32 bits version for Windows (and also 64 bits version) can be downloaded from my website (https://wxstuff.xaviou.fr/article/codeblocks-nightly-builds.html).
I made both a wxWidgets-3.2.11 and wxWidgets-3.3.3 linked versions

Debian Trixie (64 bits) and Bookworm (32 and 64 bits) can be installed from my repo (https://wxstuff.xaviou.fr/article/debian-repository.html)
The corresponding unsigned deb files can also be downloaded from the website page linked above.

Ubuntu-22.04 and 24.04 versions can be installed from my ppa (https://launchpad.net/~x-psoud/+archive/ubuntu/cbnb) (they are available for both amd64 and arm64 architectures).

There was a problem building for Ubuntu-26.04 on launchpad:
Quote from: Build log
Code
Command: dpkg-buildpackage --sanitize-env -us -uc -mLaunchpad Build Daemon <buildd@lcy02-amd64-022.buildd> -b -rfakeroot
dpkg-buildpackage: info: source package codeblocks
dpkg-buildpackage: info: source version 25.03+svn13924~ubuntu26.04.1
dpkg-buildpackage: info: source distribution resolute
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
debian/rules:2: /usr/share/cdbs/1/class/autotools.mk: No such file or directory
make: *** No rule to make target '/usr/share/cdbs/1/class/autotools.mk'.  Stop.
dpkg-buildpackage: error: debian/rules clean subprocess failed with exit status 2
Full log Here (https://launchpadlibrarian.net/871068461/buildlog_ubuntu-resolute-amd64.codeblocks_25.03+svn13924~ubuntu26.04.1_BUILDING.txt.gz)

There was also a problem on Windows with the Clangd_Client plugin (linked with wxWidgets-3.2.11 only)
Quote
Code
...\src\plugins\contrib\clangd_client\src\codecompletion\parser\parser.cpp: In member function 'void Parser::OnLSP_WorkspaceApplyEdit(wxCommandEvent&)':
...\src\plugins\contrib\clangd_client\src\codecompletion\parser\parser.cpp:3642:23: error: aggregate 'std::stringstream message' has incomplete type and cannot be defined
 3642 |     std::stringstream message;
      |                       ^~~~~~~
The compiler used is Gcc-16.1.0 from MSys2.
This error did not appeared while building for wxWidget-3.3.3

Regards
Xav'
Title: Re: The 27 July 2026 build (13924) is out.
Post by: christo on July 28, 2026, 05:01:55 am
@Xaviou, I could not reproduce the compilation error in clangd_client when compiled against wxWidgets-3.2.11. May be due to difference in configurations. Missing header include is added in svn rev 13925, hope it will fix the issue.

Could you please provide steps to reproduce error on building for Ubuntu-26.04 on launchpad? Is this something we can replicate locally?
Title: Re: The 27 July 2026 build (13924) is out.
Post by: Miguel Gimenez on July 28, 2026, 12:46:46 pm
Regarding the 26.04 failure, Gemini says:

Quote
The reason it fails on Ubuntu 26.04 is that the Common Debian Build System (cdbs) package officially dropped and deleted the deprecated autotools.mk and makefile.mk files.
If you control the source code of the project or package, the best fix is to stop using cdbs with the old autotools.mk include. Instead, rewrite your debian/rules file to use modern, clean dh (Debhelper) syntax, which handles autotools automatically.
Title: Re: The 27 July 2026 build (13924) is out.
Post by: Xaviou on July 28, 2026, 05:30:59 pm
Hi.

@Xaviou, I could not reproduce the compilation error in clangd_client when compiled against wxWidgets-3.2.11. May be due to difference in configurations. Missing header include is added in svn rev 13925, hope it will fix the issue.
It does : thank you. I've replaced the rev13924 archives by rev13925 ones for download

Could you please provide steps to reproduce error on building for Ubuntu-26.04 on launchpad? Is this something we can replicate locally?
I just use an updated old made script : here is its content:
Code: sh
#!/bin/sh
cd ~/codeblocks/sources

if [ "x$1" != "xcurrent" ]; then
  rm debian/changelog
  if [ "x$1" != "x" ]; then
    svn update --revision $1 .
  else
    svn update .
  fi;
fi;

if [ -f ./.last_revision ]; then
rm ./.last_revision
fi
../00_update_revision.sh 26.04.1

sed -i 's/UNRELEASED/resolute/' ./debian/changelog

echo 10 > debian/compat
echo Running Bootstrap...
./bootstrap

echo Running debian/setup_control.sh
./debian/setup_control.sh resolute

echo Running Debuild...
debuild -S -sa -d -us -uc
cd ..
The "00_update_revision.sh" script is just a copy of the one include in codeblocks sources witch changes the final name of the archives (line 59)
Code
dch -v 25.03+svn$REV~ubuntu$1 "New svn revision"

I then obtain the sources packages only : I then sign them and upload them to launchpad and the build starts automatically.

Regarding the 26.04 failure, Gemini says:

Quote
The reason it fails on Ubuntu 26.04 is that the Common Debian Build System (cdbs) package officially dropped and deleted the deprecated autotools.mk and makefile.mk files.
If you control the source code of the project or package, the best fix is to stop using cdbs with the old autotools.mk include. Instead, rewrite your debian/rules file to use modern, clean dh (Debhelper) syntax, which handles autotools automatically.

I'll try to have a look at this ASAP : thank you.

Regards
Xav'
Title: Re: The 27 July 2026 build (13924) is out.
Post by: ThierryD on July 29, 2026, 06:32:28 pm
Hi Xaviou,

Just two signals about this last nightly (13924) on Linux Mint 22.3 Zena (near Ubuntu 24.04)
     - Error clangd client : A path containing clang has not been found (seem easy to resolve : add this path into settings clangd client with menu indicated)
     - An assertion failed! ./src/unix/fswatcher_inotify.cpp(66): assert in init(): File system watcher needs an event loop (I bypass this by click on "continue" button)

and CB start "normally" ...

Regards.

PS : cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=22.3
DISTRIB_CODENAME=zena
DISTRIB_DESCRIPTION="Linux Mint 22.3 Zena"
Title: Re: The 27 July 2026 build (13924) is out.
Post by: Xaviou on July 29, 2026, 06:55:44 pm
Hi.
Just two signals about this last nightly (13924) on Linux Mint 22.3 Zena (near Ubuntu 24.04)
     - Error clangd client : A path containing clang has not been found (seem easy to resolve : add this path into settings clangd client with menu indicated)
     - An assertion failed! ./src/unix/fswatcher_inotify.cpp(66): assert in init(): File system watcher needs an event loop (I bypass this by click on "continue" button)
The second signal is also a problem with the Clangd_Client plugin (tested on Debian: the message appears if the plugin is enabled)

Regards
Xav'
Title: Re: The 27 July 2026 build (13924) is out.
Post by: christo on July 29, 2026, 07:52:45 pm
     - Error clangd client : A path containing clang has not been found (seem easy to resolve : add this path into settings clangd client with menu indicated)

Hi @ThierryD, could you please share the path of  clangd binary? It should be autodetected if it is in standard paths, else it is a bug.

     - An assertion failed! ./src/unix/fswatcher_inotify.cpp(66): assert in init(): File system watcher needs an event loop (I bypass this by click on "continue" button)
I could not reproduce the crash in ubuntu 24.04 with Xaviou's ppa (25.03+svn13924~ubuntu24.04.1). Is this issue seen only once, or is it seen on when ever codeblocks is opened?
Title: Re: The 27 July 2026 build (13924) is out.
Post by: ThierryD on July 31, 2026, 05:26:56 pm
Sorry to late response ... My "old" PC is failed ... and new PC is not fully ready ...

To Xaviou : 
Last relaunch of CB
Title: Re: The 27 July 2026 build (13924) is out.
Post by: ThierryD on July 31, 2026, 05:33:36 pm
... type on "tab" on keyboard do exit/fail on my last topic write ... I continue here :

To Xaviou :
         - my last relaunch of CB without changes into "plugin" don't see last error on assert, only first message about Path ...
         - disable plugin "clangd_client", and new relaunch of CB, no one message appear ... Thank you.

To Christo :
        - I don't use "clangd" on Linux Mint ... at date. Nothing install about this on my configuration.

Regards.
Title: Re: The 27 July 2026 build (13924) is out.
Post by: ThierryD on July 31, 2026, 05:36:48 pm
-> to Xaviou too :

On my "new" PC, I ha
Title: Re: The 27 July 2026 build (13924) is out.
Post by: ThierryD on July 31, 2026, 05:42:48 pm
... I have installed WSL on W11 15H2 64 bit, but with last distribution of Ubuntu (available with WSL -> Ubuntu 26.04).

And, I test to use your PPA to download last nightly of CB (after have installed CB 25.03 with "apt").

I execute theses instructions with success :
sudo add-apt-repository ppa:x-psoud/cbnb
sudo apt update

but,  next step, normally "sudo apt upgrade", don't work ...
Nothing about last nightly of CB ...

Can you test this ?

Thank you.
Title: Re: The 27 July 2026 build (13924) is out.
Post by: ThierryD on August 26, 2026, 03:30:27 pm
Hi,

Tests realized with Ubuntu 26.04 (into WSL2) on W11 25H2 64b :

sudo add-apt-repository ppa:x-psoud/cbreleases
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/x-psoud/cbreleases/ubuntu/
Suites: resolute
Components: main
'
More info: https://launchpad.net/~x-psoud/+archive/ubuntu/cbreleases
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Hit:1 http://security.ubuntu.com/ubuntu resolute-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu resolute InRelease
Hit:3 https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu resolute InRelease
Hit:4 https://ppa.launchpadcontent.net/x-psoud/cbnb/ubuntu resolute InRelease
Hit:5 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
Ign:6 https://ppa.launchpadcontent.net/x-psoud/cbreleases/ubuntu resolute InRelease
Hit:7 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
Err:8 https://ppa.launchpadcontent.net/x-psoud/cbreleases/ubuntu resolute Release
  404  Not Found [IP: 185.125.189.187 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/x-psoud/cbreleases/ubuntu resolute Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Bad configuration on your PPA Xaviou :

Thank's