Repository navigation
ci(conan): build the crash reporter in every Conan job - #12749
Draft
oc-tmueller wants to merge 2 commits into
Draft
oc-tmueller wants to merge 2 commits into
oc-tmueller wants to merge 2 commits into
Conversation
Since the Craft CI was removed, no CI build configures with WITH_CRASHREPORTER, so the crash reporter's code (platform.cpp's handler, src/crashreporter) is compiled nowhere: #12658 renamed ConfigFile::crashReporter() and only Craft failed. Some releases and brandings ship the crash reporter. - conanfile.py requires libcrashreporter-qt/cci.20261202 behind a new option, crashreporter, on by default; -o "&:crashreporter=False" leaves the package (and breakpad and linux-syscall-support on Linux) out. - conan/recipes-commit moves to ea721744b, the merge of owncloud/conan-center-index#100. Between the old pin and it lie #98 (the new recipe), #99 (it finds Qt 6 through CMakeDeps), #101 (cci.20261202, a BSD-3-Clause stub instead of Breakpad's APSL-2.0 breakpad_nlist_64.cc) and #100 (the Windows configure: CMP0091 unset when project() reads the toolchain). The locked recipes that changed there were relocked with conan/update-lock.sh: qt (new revision, still 6.12.1), cmake 4.5.1, expat 2.11.0, harfbuzz 15.2.0, meson 1.12.1, and new revisions of glib, libxml2 and wayland. breakpad and linux-syscall-support are new on Linux. - conan-build.yml passes -DWITH_CRASHREPORTER=ON in every job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The client links the sqlite3 library only, and no package ships the shell. Qt links sqlite3 statically, so the option changes Qt's package ID; it goes in with this change, which rebuilds Qt anyway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oc-tmueller
force-pushed
the
ci/crashreporter-conan
branch
from
December 3, 2026 13:47
bc71b8e to
96c839a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Only Craft CI configured with
WITH_CRASHREPORTER, so the crash reporter's code (the handler insrc/libsync/platform.cpp,src/crashreporter/) was compiled nowhere in the Conan builds: #12658 renamedConfigFile::crashReporter()and only the Craft job failed. Some releases and brandings ship the crash reporter, so every Conan job now builds with it.conanfile.pyrequireslibcrashreporter-qt/cci.20240410, the new recipe from feat(libcrashreporter-qt): add recipe cci.20240410 conan-center-index#98.conan/recipes-commitmoves to that merge (6d5042c56). The locked recipes that changed there were relocked withconan/update-lock.sh: qt (new recipe revision, still 6.12.1), cmake 4.5.1, expat 2.11.0, harfbuzz 15.2.0, meson 1.12.1, and new revisions of glib, libxml2 and wayland; breakpad and linux-syscall-support are new on Linux.update-lock.sh --check --base origin/masterpasses.conan-build.ymlpasses-DWITH_CRASHREPORTER=ONin every job (Linux incl. ASan, macOS arm64/x86_64, Windows).Draft until the dependency archives exist: the new recipe revisions (Qt included) need a dependency build for all four profiles; the Conan jobs restore archives by fingerprint and fail until then.
Tested locally on macOS arm64: the package builds, the client builds with
-DWITH_CRASHREPORTER=ON(libownCloudLibSynccontainsCrashReporter::Handler,owncloud_crash_reporterlinks), and a brokenConfigFilecall inplatform.cppnow fails the build as it did in Craft. Linux and Windows are first built by the dependency build.Overlaps #12745 (Craft removal), which lists the crash reporter as no longer covered; both edit the Linux Build step's comment in
conan-build.yml.🤖 Generated with Claude Code