Comments (13)
From @sjackman on March 14, 2016 22:30
Does brew install gcc --with-glibc && brew install lysp
work around this issue?
from linuxbrew-core.
From @sjackman on March 14, 2016 22:31
I pushed faf5144 which may resolve this issue. Try it out.
from linuxbrew-core.
I pushed faf5144 which may resolve this issue. Try it out.
No luck, unfortunately. Same problem. That said, it did fix the failing libxmp test!
from linuxbrew-core.
brew install gcc --with-glibc && brew install lysp
No luck here either, but that's just because glibc
fails to build (it says gcc-4.9 is not installed and the gcc I have is too old).
I was able to work around that with brew install glibc --with-cc=gcc
, but that fails in the postinstall stage with "Inconsistency detected by ld.so: get-dynamic-info.h: 134: elf_get_dynamic_info: Assertion `info[15] == ((void *)0)' failed!"
I promptly removed glibc
after seeing that, since I'm nervous about programs incorrectly linking to a broken libc. This issue is low priority, so no big deal.
from linuxbrew-core.
From @sjackman on March 15, 2016 4:51
I've seen that error message before over here: Linuxbrew/legacy-linuxbrew#126
GCC 4.8.4 is plenty new enough. It shouldn't complain about an old GCC. If you have been using this Linuxbrew installation for a while, and don't have glibc
installed, I'd recommend starting over with a clean installation of Linuxbrew and start with brew install gcc
, which will install glibc
and gcc
. Everything should be easier after that.
from linuxbrew-core.
From @sjackman on March 15, 2016 4:51
Do you have binutils
installed? If not, you can try brew install binutils
.
from linuxbrew-core.
binutils
was installed as a dependency right before I started to build glibc
.
The funny thing is, I've been using Homebrew's GCC 5.3 for a couple of months now, precisely because of that "your gcc is ancient" error message.
from linuxbrew-core.
From @sjackman on March 15, 2016 5:27
"your gcc is ancient" error message.
Does glibc
give that error message? Can you quote it?
from linuxbrew-core.
Does
glibc
give that error message?
It originally came up a few months ago; I don't remember what formula was causing the problem.
The exact text is "*** These critical programs are missing or too old: gcc". Which sounds to me like utter nonsense since the gcc
in my PATH is Homebrew's 5.3 and the one in /usr/bin
is 4.8.4.
I think you're right and I should probably reinstall from scratch. However, considering the massive number of packages I have installed at this point, I think I'm probably better off waiting until my next distro upgrade (I'm planning one in May).
Also, question: I need to keep track of which formulae fail for me, so I can eventually fix them. For a while, I had settled on only filing issues which I had effectively given up on and just tracking the rest on a wiki page, but then decided I shouldn't hide the issues from you. For issues which don't have an immediate, obvious fix (for which I obviously just provide the PR straight away, per your earlier advice), what would you rather I do?
from linuxbrew-core.
From @sjackman on March 15, 2016 22:38
The exact text is "*** These critical programs are missing or too old: gcc". Which sounds to me like utter nonsense since the gcc in my PATH is Homebrew's 5.3 and the one in /usr/bin is 4.8.4.
That is nonsense. I think the glibc
compiler check is failing somehow.
I changed the default behaviour of bottles today to install both glibc
and gcc
when the system's glibc
is too old. Installing glibc
without installing gcc
was fraught with peril. gcc
is often necessary since it provides the shared libraries libgcc_s.so
and libstdc++.so.6
.
Please do open an issue with a gist whenever you encounter a failed build. If someone else encounters that failed build as well, it's nice to have a history of the build failure corroborated by someone else.
from linuxbrew-core.
From @sjackman on March 15, 2016 22:38
I want to add a new DSL construct fails_with_os :linux, "GitHub issue number"
to mark formula that are known to fail.
from linuxbrew-core.
Trying to build it with our latest gcc and ubuntu version: #4795
from linuxbrew-core.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
from linuxbrew-core.
Related Issues (20)
- Homebrew on Linux should use bottles if a symlink from /home/linuxbrew/.linuxbrew exists HOT 1
- libva 2.12.0 upgrade issue HOT 1
- `pkg-config` searches standard Linuxbrew installation path even when installed in a non-standard path HOT 1
- Neovim 0.5 install failure HOT 1
- zip manifest HTTP-404 error while install Maven HOT 1
- Auth issue with fish formula fails to get manifest from GH HOT 1
- awscli dependencies conflicts HOT 1
- clang-format: Failed to download resource clang-format_bottle_manifest HOT 8
- sudo <any_command> not working due to symlink? HOT 18
- gdu not merged HOT 1
- python-launcher: Failed to download resource "python-launcher_bottle_manifest" HOT 5
- Older local version when install Texlive HOT 4
- List of linuxbrew-core formulae that need to be backported to homebrew-core HOT 10
- Failure upgrading gcc 11.1.0_1 -> 11.2.0 HOT 1
- node: /usr/lib/x86_64-linux-gnu/libstdc++so.6: version `GLIBCXX_3.4.29' not found (required by node) HOT 5
- Bottle shfmt HOT 2
- qt installation error HOT 1
- :warning: Bottle request for docker [failed](https://github.com/Homebrew/linuxbrew-core/actions/runs/1100688862).
- Failed to build formula `highlight` on Ubuntu 16.04 LTS HOT 4
- scrcpy and ffmpeg install got error: failed to download resource "gobject-introspection--tutorial" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linuxbrew-core.