Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881057 - [ambasta] www-client/firefox-106.0.5 USE=clang missing dependency sys-devel/mold
Summary: [ambasta] www-client/firefox-106.0.5 USE=clang missing dependency sys-devel/mold
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Amit Prakash Ambasta
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-12 07:51 UTC by ston jia
Modified: 2022-11-12 08:17 UTC (History)
0 users

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


Attachments
emerge log (file_881057.txt,18.98 KB, text/plain)
2022-11-12 07:51 UTC, ston jia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ston jia 2022-11-12 07:51:08 UTC
Created attachment 831689 [details]
emerge log

```
 0:01.96 DEBUG: Executing: `/usr/lib/llvm/14/bin/x86_64-pc-linux-gnu-clang -std=gnu99 -fuse-ld=mold -Wl,--version`
```
It seems that emerge use mold as linker when use +clang but mold is not included in the depends.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-12 07:56:14 UTC
> * Repository: ambasta
> * Maintainer: mozilla@gentoo.org
> * USE:        X abi_x86_64 amd64 clang dbus elibc_glibc gmp-autoupdate >kernel_linux mold openh264 pulseaudio screencast system-av1 system-harfbuzz >system-icu system-jpeg system-libevent system-libvpx system-webp userland_GNU 
>wayland wifi

This is not the official Gentoo ebuild. The 'mold' flag is being added by the 'ambasa' repository ebuild.
Comment 2 ston jia 2022-11-12 08:00:32 UTC
(In reply to Sam James from comment #1)
> > * Repository: ambasta
> > * Maintainer: mozilla@gentoo.org
> > * USE:        X abi_x86_64 amd64 clang dbus elibc_glibc gmp-autoupdate >kernel_linux mold openh264 pulseaudio screencast system-av1 system-harfbuzz >system-icu system-jpeg system-libevent system-libvpx system-webp userland_GNU 
> >wayland wifi
> 
> This is not the official Gentoo ebuild. The 'mold' flag is being added by
> the 'ambasa' repository ebuild.

Sorry ,my fault :(
Comment 3 Amit Prakash Ambasta 2022-11-12 08:03:12 UTC
Added the dependency on mold linker when the use-flag is enabled. This should now automatically pull mold unless USE='-mold' is specified
Comment 4 ston jia 2022-11-12 08:17:05 UTC
(In reply to Amit Prakash Ambasta from comment #3)
> Added the dependency on mold linker when the use-flag is enabled. This
> should now automatically pull mold unless USE='-mold' is specified

Thanks!