Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937716 - x11-terms/alacritty-0.13.2 fails to compile: ld: cannot find -lexpat: No such file or directory
Summary: x11-terms/alacritty-0.13.2 fails to compile: ld: cannot find -lexpat: No such...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kirill Chibisov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-10 13:19 UTC by Agostino Sarubbo
Modified: 2024-08-10 15:15 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,285.25 KB, text/plain)
2024-08-10 13:19 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 2024-08-10 13:19:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-terms/alacritty-0.13.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-10 13:19:47 UTC
Created attachment 899769 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-10 13:19:48 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


          /usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: cannot find -lexpat: No such file or directory
          /usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: cannot find -lfontconfig: No such file or directory
          /usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: cannot find -lfreetype: No such file or directory
  = note: /usr/lib/gcc/x86_64-pc-linux-musl/14/../../../../x86_64-pc-linux-musl/bin/ld: cannot find -lfreetype: No such file or directory
error: linking with `x86_64-pc-linux-musl-gcc` failed: exit status: 1
Comment 3 Kirill Chibisov 2024-08-10 15:15:48 UTC
I'd assume that rust-bin is patched correctly and can generally resolve these dependencies with musl, etc?

Given that alacritty is the _same_ in terms of linking for 5 years, the only thing that could affect is that rust-bin/pkg-config can not resolve things properly?

Since those deps were always present and that's the only system libraries alacritty directly links to, so all failing at the same time sounds like toolchain issue.