Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881657 - sys-apps/sandbox doesn't compile using clang
Summary: sys-apps/sandbox doesn't compile using clang
Status: RESOLVED DUPLICATE of bug 830463
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-17 14:49 UTC by Dante Robinson
Modified: 2022-11-17 15:06 UTC (History)
0 users

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


Attachments
build.log (build.log,13.67 KB, text/x-log)
2022-11-17 14:49 UTC, Dante Robinson
Details
emerge --info (emerge info.txt,9.14 KB, text/plain)
2022-11-17 14:51 UTC, Dante Robinson
Details
config.log (config.log,172.96 KB, text/x-log)
2022-11-17 15:01 UTC, Dante Robinson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dante Robinson 2022-11-17 14:49:40 UTC
Created attachment 833171 [details]
build.log

Throws error saying

`checking libc path... configure: error: Unable to determine LIBC PATH ()`

setting it to compile with GCC allows sandbox to compile. This was tested on a clang-llvm profile.
Comment 1 Dante Robinson 2022-11-17 14:51:06 UTC
Created attachment 833173 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-17 14:56:17 UTC
Please include:

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/sandbox-2.29/work/sandbox-2.29-abi_x86_64.amd64/config.log
 * ERROR: sys-apps/sandbox-2.29::gentoo failed (configure phase):

I can't reproduce this yet. If it were that simple, stage builds would fail, so there's something more to this.
Comment 3 Dante Robinson 2022-11-17 15:01:05 UTC
Created attachment 833179 [details]
config.log
Comment 4 Dante Robinson 2022-11-17 15:02:04 UTC
(In reply to Sam James from comment #2)
> Please include:
> 
> !!! Please attach the following file when seeking support:
> !!!
> /var/tmp/portage/sys-apps/sandbox-2.29/work/sandbox-2.29-abi_x86_64.amd64/
> config.log
>  * ERROR: sys-apps/sandbox-2.29::gentoo failed (configure phase):
> 
> I can't reproduce this yet. If it were that simple, stage builds would fail,
> so there's something more to this.

I was thinking this as well and assuming you guys were just compiling with gcc it's been like this for awhile I have mitigating it for weeks. Maybe it's something to do with my global use flags?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-17 15:03:05 UTC
(In reply to Dante Robinson from comment #4)
> (In reply to Sam James from comment #2)
> > Please include:
> > 
> > !!! Please attach the following file when seeking support:
> > !!!
> > /var/tmp/portage/sys-apps/sandbox-2.29/work/sandbox-2.29-abi_x86_64.amd64/
> > config.log
> >  * ERROR: sys-apps/sandbox-2.29::gentoo failed (configure phase):
> > 
> > I can't reproduce this yet. If it were that simple, stage builds would fail,
> > so there's something more to this.
> 
> I was thinking this as well and assuming you guys were just compiling with
> gcc it's been like this for awhile I have mitigating it for weeks. Maybe
> it's something to do with my global use flags?

Always try to narrow down what's interesting about your system. In this case, it's mold.

*** This bug has been marked as a duplicate of bug 830463 ***
Comment 6 Dante Robinson 2022-11-17 15:06:13 UTC
(In reply to Sam James from comment #5)
> (In reply to Dante Robinson from comment #4)
> > (In reply to Sam James from comment #2)
> > > Please include:
> > > 
> > > !!! Please attach the following file when seeking support:
> > > !!!
> > > /var/tmp/portage/sys-apps/sandbox-2.29/work/sandbox-2.29-abi_x86_64.amd64/
> > > config.log
> > >  * ERROR: sys-apps/sandbox-2.29::gentoo failed (configure phase):
> > > 
> > > I can't reproduce this yet. If it were that simple, stage builds would fail,
> > > so there's something more to this.
> > 
> > I was thinking this as well and assuming you guys were just compiling with
> > gcc it's been like this for awhile I have mitigating it for weeks. Maybe
> > it's something to do with my global use flags?
> 
> Always try to narrow down what's interesting about your system. In this
> case, it's mold.
> 
> *** This bug has been marked as a duplicate of bug 830463 ***

That's the first thing I remove all the time. Your right it runs without mold I swore would have checked that before using gcc, my bad...