Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877721 - dev-scheme/guile-ssh-0.16.3 fails to compile (MUSL): log.c:32:10: fatal error: execinfo.h: No such file or directory
Summary: dev-scheme/guile-ssh-0.16.3 fails to compile (MUSL): log.c:32:10: fatal error...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 06:52 UTC by Agostino Sarubbo
Modified: 2023-04-03 02:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,52.68 KB, text/plain)
2022-10-20 06:52 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-10-20 06:52:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-scheme/guile-ssh-0.16.0-r1 fails to compile (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-10-20 06:52:32 UTC
Created attachment 824833 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-10-20 06:52:33 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


log.c:32:10: fatal error: execinfo.h: No such file or directory
log.c:32:10: fatal error: execinfo.h: No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2023-02-21 14:45:01 UTC
tinderbox_musl has reproduced this issue with version 0.16.3 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2023-02-21 23:54:02 UTC
The bug has been closed via the following commit(s):

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

commit 5c573a6e251628f75892e0363b0b2f9ec14f49d2
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-02-21 22:45:47 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-02-21 23:54:00 +0000

    dev-scheme/guile-ssh: fix build on musl
    
    Closes: https://bugs.gentoo.org/877721
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-scheme/guile-ssh/files/guile-ssh-0.16.0-musl.patch | 12 ++++++++++++
 dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild        |  8 ++++++--
 dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild           |  5 ++++-
 dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild           |  5 ++++-
 4 files changed, 26 insertions(+), 4 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2023-04-03 01:56:17 UTC
The bug has been referenced in the following commit(s):

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

commit 4d73fa0bd21ade4762bc0d6ff058276e54db57a5
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-04-03 01:45:37 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-04-03 01:56:11 +0000

    dev-scheme/guile-ssh: remove broken patch
    
    Bug: https://bugs.gentoo.org/877721
    Closes: https://bugs.gentoo.org/903689
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-scheme/guile-ssh/files/guile-ssh-0.16.0-musl.patch | 10 ----------
 dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild        |  2 +-
 dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild           |  2 +-
 dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild           |  2 +-
 4 files changed, 3 insertions(+), 13 deletions(-)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-03 01:59:42 UTC
REQUIRED_USE isn't appropriate here, you need to mask on musl profiles if it's broken.

But actually, it should be an easy fix: just ifdef any usage of log_backtrace.
Comment 7 Maciej Barć gentoo-dev 2023-04-03 02:06:51 UTC
(In reply to Sam James from comment #6)
> REQUIRED_USE isn't appropriate here, you need to mask on musl profiles if
> it's broken.
> 
> But actually, it should be an easy fix: just ifdef any usage of
> log_backtrace.

Ah, yea, you are right it was an old trick.
I will mask it on musl profile for now.
Comment 8 Larry the Git Cow gentoo-dev 2023-04-03 02:14:55 UTC
The bug has been referenced in the following commit(s):

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

commit 503c11b797110925180aca431e08e5ab3a715e30
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-04-03 02:11:11 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-04-03 02:14:02 +0000

    dev-scheme/guile-ssh: mask on musl
    
    Bug: https://bugs.gentoo.org/877721
    Bug: https://bugs.gentoo.org/903689
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild | 1 -
 dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild    | 1 -
 dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild    | 1 -
 3 files changed, 3 deletions(-)

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

commit 348ee9b1f69c0b0c6e25e4d660bddf9fa87cda73
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-04-03 02:09:19 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-04-03 02:13:54 +0000

    profiles/features/musl/package.mask: mask guile-ssh
    
    Bug: https://bugs.gentoo.org/877721
    Bug: https://bugs.gentoo.org/903689
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 profiles/features/musl/package.mask | 4 ++++
 1 file changed, 4 insertions(+)