@janp: regarding stack-dump: maybe systemd has recorded the codedump for you...
Try coredumpctl list
, coredumpctl list codelite
and coredumpctl info codelite
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: | 175 |
Popularity: | 0.94 |
First Submitted: | 2008-08-01 09:11 (UTC) |
Last Updated: | 2025-02-17 09:08 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 18 Next › Last »
@janp: regarding stack-dump: maybe systemd has recorded the codedump for you...
Try coredumpctl list
, coredumpctl list codelite
and coredumpctl info codelite
@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
@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 :-)
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
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
make[2]: *** [LiteEditor/CMakeFiles/codelite.dir/build.make:1981: LiteEditor/CMakeFiles/codelite.dir/editorsettingsdockingwidows.cpp.o] Error 1
Seems Xiota was on to something.
Hello,
@uffe Thanks for the patch, now it builds
Pinned Comments
uffe commented on 2016-09-26 11:42 (UTC) (edited on 2020-07-27 18:21 (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
PS: I have added new "codelite-unstable" package to AUR that follows the weekly/latest builds from the codelite project.