Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905993 - app-antivirus/clamav-1.2.1 fails to compile (MUSL-SYSTEM): ld: cannot find -lunwind: No such file or directory
Summary: app-antivirus/clamav-1.2.1 fails to compile (MUSL-SYSTEM): ld: cannot find -l...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Jolly
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-09 06:17 UTC by Agostino Sarubbo
Modified: 2024-01-17 07:49 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,517.26 KB, text/plain)
2023-05-09 06:17 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 2023-05-09 06:17:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-antivirus/clamav-1.1.0 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-09 06:17:05 UTC
Created attachment 861356 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-09 06:17:06 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: cannot find -lunwind: No such file or directory
FAILED: libclamav/libclamav.so.12.0.0 
collect2: error: ld returned 1 exit status
Comment 3 Matt Jolly gentoo-dev 2023-08-12 08:59:18 UTC
According to upstream this is not supposed to happen; I uncovered this one while dealing with some x86 test failures

https://github.com/Cisco-Talos/clamav/issues/985#issuecomment-1663307927

It's on my todo to look into further, might be a little longer.
Comment 4 Agostino Sarubbo gentoo-dev 2024-01-17 07:49:07 UTC
tinderbox_musl has reproduced this issue with version 1.2.1 - Updating summary.