Replies: 3 comments 1 reply
-
|
This is also happening for me on the standard prefix. It could be caused by something else, but I'm pretty sure it's the same issue. |
Beta Was this translation helpful? Give feedback.
-
|
I can confirm that it is definitely the cause now. Deleting |
Beta Was this translation helpful? Give feedback.
-
|
I'm running into this as well. Has anyone filed a bug? If not, I'm happy to do so, but I'm a brew novice. Should it be filed against https://github.com/Homebrew/homebrew-core? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Additional Info
Output of
brew configOutput of
brew doctorDescription of issue
as seen / mentioned above in the output
brew configi run homebrew on arch linux in a non standard prefix, ie.~/homebrew, and when i attempt use the prebuilt gcc which i believe homebrew has recently switched to gcc v15 ie. the gcc.rb formula file. the prebuilt binaries are using the fix includes and mentioned in the below issue trackers,https://bugs.gentoo.org/933282
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118009#c4
previously i had created a separate branch and modified the gcc formula with the below snippet and built gcc from source to resolve the issues described in the above links.
so if i don't add the above snippet to the gcc formula, then when homebrew attempts to use the binary release of gcc to build other formula the below build errors will happen when using the bottled version of gcc.
i could of sworn i opened a discussion about this issue in the past but didn't see a mention of it when searching my previous threads so i thought i'd include it here for posterity.
not sure if it's possible but maybe add a condition to see if someone is using homebrew in an standard prefix, and disable the fix includes for that person when they install gcc or maybe disable the binary release of gcc if someone is using homebrew in a non standard prefix.
Beta Was this translation helpful? Give feedback.
All reactions