Package Details: codelite 18.4.0-1

Git Clone URL: https://aur.archlinux.org/codelite.git (read-only, click to copy)
Package Base: codelite
Description: Cross platform IDE for C, C++, Rust, Python, PHP and Node.js written in C++
Upstream URL: https://codelite.org/
Keywords: C++ Editor IDE
Licenses: GPL-2.0-or-later
Conflicts: codelite-unstable
Provides: codelite
Submitter: None
Maintainer: uffe
Last Packager: uffe
Votes: 172
Popularity: 0.000317
First Submitted: 2008-08-01 09:11 (UTC)
Last Updated: 2026-07-08 10:03 (UTC)

Required by (4)

Sources (16)

Pinned Comments

uffe commented on 2016-09-26 11:42 (UTC) (edited on 2025-12-10 08:09 (UTC) by uffe)

ATTENTION: read this before flagging this package out-of-date

This package "codelite" represents the stable release of the codelite project.

I do not consider the "Weekly Builds" from http://downloads.codelite.org/ as stable releases (neither does the codelite project)

Generally speaking - this package will not be updated before the codelite release/download page (https://downloads.codelite.org/) have a new stable release published.

Please respect that - Thanks

PS: to clear up a recent misunderstanding - this does not mean that I won't accept patches that is needed for stable codelite to build against refreshed libraries etc

I have added new "codelite-unstable" package to AUR that follows the weekly/latest builds from the codelite project.

Also the "codelite-git" package will build bleeding edge CodeLite - use that if you want something that hasn't been released in stable or unstable state.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 18 Next › Last »

uffe commented on 2025-01-08 08:06 (UTC)

@janp: Quote: Moreover, I compared the binary wx libraries in the /usr/lib/codelite/ directory and the ones installed from the distribution package in /usr/lib and there are no differences.

Yes that is why I find it so wierd that it is needed - as you say it is just a local copy of the already installed system wx-libs...

janp commented on 2025-01-08 06:07 (UTC) (edited on 2025-01-08 06:14 (UTC) by janp)

@uffe... great, found it:

           PID: 994813 (codelite)
           UID: 1000 (janp)
           GID: 1000 (janp)
        Signal: 6 (ABRT)
     Timestamp: Fri 2025-01-03 17:40:48 CET (4 days ago)
  Command Line: codelite
    Executable: /usr/bin/codelite
 Control Group: /user.slice/user-1000.slice/session-3.scope
          Unit: session-3.scope
         Slice: user-1000.slice
       Session: 3
     Owner UID: 1000 (janp)
       Boot ID: 7ae7065c46c545b18d6dd19ce64bec8f
    Machine ID: 71bcc43e4ddb4f76828d79671833716d
      Hostname: noctowl
       Storage: /var/lib/systemd/coredump/core.codelite.1000.7ae7065c46c545b18d6dd19ce64bec8f.994813.1735922448000000.zst (present)
  Size on Disk: 10.3M
       Message: Process 994813 (codelite) of user 1000 dumped core.

                Stack trace of thread 994813:
                #0  0x00007456b00a53f4 n/a (libc.so.6 + 0x963f4)
                #1  0x00007456b004c120 raise (libc.so.6 + 0x3d120)
                #2  0x00007456b00334c3 abort (libc.so.6 + 0x244c3)
                #3  0x00007456b187f0e8 n/a (libwx_baseu-3.2.so.0 + 0x7f0e8)
                #4  0x00007456b004c1d0 n/a (libc.so.6 + 0x3d1d0)
                #5  0x00007456b1976b44 _ZN12wxEvtHandler23SearchDynamicEventTableER7wxEvent (libwx_baseu-3.2.so.0 + 0x176b44)
                #6  0x00007456b1976ede _ZN12wxEvtHandler11TryHereOnlyER7wxEvent (libwx_baseu-3.2.so.0 + 0x176ede)
                #7  0x00007456b1976f90 _ZN12wxEvtHandler19ProcessEventLocallyER7wxEvent (libwx_baseu-3.2.so.0 + 0x176f90)
                #8  0x00007456b19770bb _ZN12wxEvtHandler12ProcessEventER7wxEvent (libwx_baseu-3.2.so.0 + 0x1770bb)
                #9  0x00007456b19778e2 _ZN12wxEvtHandler18SafelyProcessEventER7wxEvent (libwx_baseu-3.2.so.0 + 0x1778e2)
                #10 0x00007456b11ff72d _ZN12wxWindowBase22WXSendContextMenuEventERK7wxPoint (libwx_gtk3u_core-3.2.so.0 + 0x3ff72d)
                #11 0x00007456b1370c58 n/a (libwx_gtk3u_core-3.2.so.0 + 0x570c58)
                #12 0x00007456af878815 n/a (libgtk-3.so.0 + 0x78815)
                #13 0x00007456b08c882a g_closure_invoke (libgobject-2.0.so.0 + 0x1182a)
                #14 0x00007456b08f9565 n/a (libgobject-2.0.so.0 + 0x42565)
                #15 0x00007456b08e944f n/a (libgobject-2.0.so.0 + 0x3244f)
                #16 0x00007456b08e9f32 g_signal_emit_valist (libgobject-2.0.so.0 + 0x32f32)
                #17 0x00007456b08e9ff4 g_signal_emit (libgobject-2.0.so.0 + 0x32ff4)
                #18 0x00007456afb5a7cd n/a (libgtk-3.so.0 + 0x35a7cd)
                #19 0x00007456af9e6aa5 n/a (libgtk-3.so.0 + 0x1e6aa5)
                #20 0x00007456af9e787b gtk_main_do_event (libgtk-3.so.0 + 0x1e787b)
                #21 0x00007456b0c4b457 n/a (libgdk-3.so.0 + 0x27457)
                #22 0x00007456b0ca7820 n/a (libgdk-3.so.0 + 0x83820)
                #23 0x00007456af70d559 n/a (libglib-2.0.so.0 + 0x5d559)
                #24 0x00007456af770257 n/a (libglib-2.0.so.0 + 0xc0257)
                #25 0x00007456af70e287 g_main_loop_run (libglib-2.0.so.0 + 0x5e287)
                #26 0x00007456af9e4ebf gtk_main (libgtk-3.so.0 + 0x1e4ebf)
                #27 0x00007456b1346ec6 _ZN14wxGUIEventLoop5DoRunEv (libwx_gtk3u_core-3.2.so.0 + 0x546ec6)
                #28 0x00007456b18b6a8b _ZN15wxEventLoopBase3RunEv (libwx_baseu-3.2.so.0 + 0xb6a8b)
                #29 0x00007456b18914e7 _ZN16wxAppConsoleBase8MainLoopEv (libwx_baseu-3.2.so.0 + 0x914e7)
                #30 0x00007456b18f5b31 _Z7wxEntryRiPPw (libwx_baseu-3.2.so.0 + 0xf5b31)
                #31 0x00005c0025f1ddff n/a (n/a + 0x0)
                #32 0x00007456b0034e08 n/a (libc.so.6 + 0x25e08)
                #33 0x00007456b0034ecc __libc_start_main (libc.so.6 + 0x25ecc)
                #34 0x00005c0025f2ef45 n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64

Moreover, I compared the binary wx libraries in the /usr/lib/codelite/ directory and the ones installed from the distribution package in /usr/lib and there are no differences.

uffe commented on 2025-01-07 14:43 (UTC) (edited on 2025-01-07 14:44 (UTC) by uffe)

@janp: regarding stack-dump: maybe systemd has recorded the codedump for you...

Try coredumpctl list, coredumpctl list codelite and coredumpctl info codelite

janp commented on 2025-01-07 14:24 (UTC) (edited on 2025-01-07 14:27 (UTC) by janp)

@uffe 1) the first time I built codelite 18 I changed the cmake line (line 349) adding --parallel 20, the second time, when apparently the problem has been fixed, I added the "-DCOPY_WX_LIBS=1" option to line 345

cmake -B "${BUILD_DIR}" -S . -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DWITH_PCH=0 -DWITH_WX_CONFIG=${WX_CONFIG} -DWITH_NATIVEBOOK=1 -DENABLE_LLDB=1 -DWITH_MYSQL=0 -DCMAKE_INSTALL_LIBDIR=lib -DCOPY_WX_LIBS=1

2)

~ > which wx-config
/usr/bin/wx-config

I have both wx gtk and wx qt installed.

3) no

4) unfortunately not. Codelite offered me to open gdb, which I didn't find very useful. To get the stack dump I should rebuild codelite, no time for now.

Thank you

uffe commented on 2025-01-07 14:03 (UTC) (edited on 2025-01-07 14:04 (UTC) by uffe)

@janp: I cannot provoke/see the problem that you've reported.

I have a feeling that there may be more (unreported) details to the problem...

Questions:

1) did you modify WX_CONFIG in PKGBUILD ?

2) what is the output from which wx-config ?

3) have you by any chance built wxwidgets yourself ?

4) do you have a stack-dump from the crash ?

NOTE: in case you've built wxwidgets yourself: - the COPY_WX_LIBS is mostly meant for shipping binary packages to systems where wxwidgets is in a "unknown" state. Archlinux already has wxwidget distribution packages (wxwidgets-common wxwidgets-gtk3). You should try to install those and build without the COPY_WX_LIBS option

Thanks :-)

janp commented on 2025-01-04 18:05 (UTC) (edited on 2025-01-04 18:06 (UTC) by janp)

The latest version 18.0.0 crashes when closing the workspace. The option "-DCOPY_WX_LIBS=1" added to the cmake command in the PKGBUILD file seems to fix it.

-cmake -B "${BUILD_DIR}" -S . -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DWITH_PCH=0 -DWITH_WX_CONFIG=${WX_CONFIG} -DWITH_NATIVEBOOK=1 -DENABLE_LLDB=1 -DWITH_MYSQL=0 -DCMAKE_INSTALL_LIBDIR=lib
+cmake -B "${BUILD_DIR}" -S . -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DWITH_PCH=0 -DWITH_WX_CONFIG=${WX_CONFIG} -DWITH_NATIVEBOOK=1 -DENABLE_LLDB=1 -DWITH_MYSQL=0 -DCMAKE_INSTALL_LIBDIR=lib -DCOPY_WX_LIBS=1

I found that option here https://docs.codelite.org/build/build_from_sources/#linux and noticed that was omitted

uffe commented on 2024-10-16 13:00 (UTC) (edited on 2024-10-16 13:01 (UTC) by uffe)

CodeLite 17.0.0 was released 2023-01-11 (21 months ago)

If you look at the dependencies section above you'll see lots of external dependencies. One of the most vital dependencies is "wxwidgets-gtk3" - as the whole CodeLite GUI is based on the wxwidgets framework.

The wxwidgets-gtk package is controlled and maintained by the ArchLinux folks - they will provide an updated package whenever a new one is available.

for a long time they have provided wxwidgets-gtk in the range of 3.2.x

Latest wxwidgets-gtk is 3.2.6 - at the time of release of CodeLite-17.0.0 - wxwidgets-gtk was at version 3.2.1

Unfortunately the wxwidgets-gtk project itself has a bad habit on breaking compatibility within a "maintenance branch" such as 3.2.x

It is just too much patch work to keep this floating as the CodeLite-17.0.0 is getting pretty old

With the current challenges you'll have to build CodeLite-17.0.0 against wxwidgets-gtk versions 3.2.1, 3.2.2 or 3.2.2.1

A better way would be to build AUR "codelite-unstable" - or maybe even the bleeding edge AUR "codelite-git" - both of them have numerous improvements compared to CodeLite-17.0.0

BR/Uffe

jal666 commented on 2024-10-16 11:27 (UTC)

make[2]: *** [LiteEditor/CMakeFiles/codelite.dir/build.make:1981: LiteEditor/CMakeFiles/codelite.dir/editorsettingsdockingwidows.cpp.o] Error 1

Seems Xiota was on to something.