Skip to content

fix: add debug symbols to avoid error message - #447

Merged
thde merged 1 commit into
mainfrom
dirk/add_debug_symbols
Aug 26, 2026
Merged

fix: add debug symbols to avoid error message#447
thde merged 1 commit into
mainfrom
dirk/add_debug_symbols

Conversation

@olknegate

Copy link
Copy Markdown
Contributor

This fixes this error message when installing/updating the package in Arch Linux:

  -> Entferne unnötige Symbole aus Binär-Dateien und Bibliotheken...
Error while writing index for `/home/dirk/git/aur/nctl-bin/pkg/nctl-bin/usr/bin/nctl': No debugging symbols
gdb-add-index: No index was created for ./usr/bin/nctl
gdb-add-index: [Was there no debuginfo? Was there already an index?]

The (better) alternative to this would be to fix it directly in the arch PKGBUILD file:

options=('!strip')

, but it seems this option is not implemented in goreleaser.

@thde
thde merged commit d31b01b into main Aug 26, 2026
3 checks passed
@thde
thde deleted the dirk/add_debug_symbols branch August 26, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants