Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 885471

Summary: dev-util/cmake-3.24.3: FindBacktrace misdetects on musl systems with sys-libs/libbacktrace-1.0_p20220226
Product: Gentoo Linux Reporter: Felix Janda <felix.janda>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 716422, 838979, 868231, 895816    

Description Felix Janda 2022-12-11 16:06:48 UTC
The cmake module FindBacktrace detects backtrace functionality on musl profiles with sys-libs/libbacktrace installed.

This causes compilation failures in programs using this module since libbacktrace does not actually provide a "backtrace" symbol.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-05-28 20:45:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ec8da112e785beea349b0bf19b85f14a61df17

commit 66ec8da112e785beea349b0bf19b85f14a61df17
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2023-05-28 20:43:57 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-05-28 20:45:02 +0000

    app-text/xournalpp: Drop dependency on libbacktrace, musl needs a different fix
    
    Bug: https://bugs.gentoo.org/864157
    Bug: https://bugs.gentoo.org/885471
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../xournalpp/{xournalpp-1.1.1-r2.ebuild => xournalpp-1.1.1-r3.ebuild}   | 1 -
 .../xournalpp/{xournalpp-1.1.3-r1.ebuild => xournalpp-1.1.3-r2.ebuild}   | 1 -
 app-text/xournalpp/xournalpp-9999.ebuild                                 | 1 -
 3 files changed, 3 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2023-05-28 20:53:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c99e8159e6cb8705227aab759359c158f52b64bd

commit c99e8159e6cb8705227aab759359c158f52b64bd
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2023-05-28 20:52:24 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-05-28 20:52:24 +0000

    package.mask: Mask libbacktrace for removal
    
    Bug: https://bugs.gentoo.org/880573
    Bug: https://bugs.gentoo.org/864157
    Bug: https://bugs.gentoo.org/885471
    Bug: https://bugs.gentoo.org/870454
    Bug: https://bugs.gentoo.org/884571
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2023-07-08 17:40:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d522b91a537fe515e82c67d214a5b60561c61415

commit d522b91a537fe515e82c67d214a5b60561c61415
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-07-08 17:17:00 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-07-08 17:39:46 +0000

    sys-libs/libbacktrace: treeclean
    
    Closes: https://bugs.gentoo.org/870454
    Closes: https://bugs.gentoo.org/884571
    Closes: https://bugs.gentoo.org/880573
    Closes: https://bugs.gentoo.org/885471
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                              |   5 -
 sys-libs/libbacktrace/Manifest                     |   1 -
 .../libbacktrace-1.0_p20220709-teststatic.patch    | 287 ---------------------
 .../libbacktrace/libbacktrace-1.0_p20220709.ebuild |  45 ----
 sys-libs/libbacktrace/metadata.xml                 |  11 -
 5 files changed, 349 deletions(-)