Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: automate debug info generation #648

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

lievenhey
Copy link
Contributor

This patch updates the docker container to create a debuginfo file for qt and kde. The file is automatically published as a release when the container is pushed.

@lievenhey lievenhey requested a review from milianw May 27, 2024 09:06
@lievenhey lievenhey linked an issue May 27, 2024 that may be closed by this pull request
@lievenhey lievenhey force-pushed the create-debuginfo-action branch 2 times, most recently from 98bad3a to 67e4eb7 Compare May 27, 2024 19:06
@lievenhey
Copy link
Contributor Author

If necessary I can throw some comments in the dockerfile

@GitMensch
Copy link
Contributor

Looks nice, can you also add the note about how to get and use them as an optional step in the HACKING file, possibly after merging #639?

@GitMensch GitMensch mentioned this pull request May 28, 2024
This patch updates the docker container to create a debuginfo file for
qt and kde. The file is automatically published as a release when the
container is pushed.

The generation is done in the following steps:
- generate an toolset image called immediate which contains all the
  necessary tools for building
- generate a builder image which build qt, kde and other dependencies
- generate a stripped image which contains all the dependencies but
  stripped
- generate a debuginfo-collector image which contains all the debuginfo
  files
- generate kdesrc-build image which contains all tools and the stripped
  library files from the stripped container
- generate a debuginfo image which contains the debuginfo files and a
  script to automatically publish them on github
The elfutils version from centos is out of date and sometimes produces
some weird backtraces.
Since it is impossible to remove elfutils without removing the
devtoolset some trickery is required. It is done by first installing
elfutils to /usr/local and later copying that into the devtoolset.
@lievenhey lievenhey merged commit e4ac31e into master May 28, 2024
25 checks passed
@lievenhey lievenhey deleted the create-debuginfo-action branch May 28, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

appimage: also package QT debuginfo (or make it otherwise available)
3 participants