-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rareqs: linux needs a new bottle (glibc broken) #18
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maelvls
force-pushed
the
fix-rareqs-glibc-linux
branch
2 times, most recently
from
August 27, 2018 11:59
19e0008
to
d226ccd
Compare
Error in https://travis-ci.org/touist/homebrew-touist/jobs/407677741: Testing rareqs ==> /home/linuxbrew/.linuxbrew/Cellar/rareqs/1.1_1/bin/rareqs /tmp/rareqs-test-20180724-10453-iz6f8r/test.dimacs /home/linuxbrew/.linuxbrew/Cellar/rareqs/1.1_1/bin/rareqs: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/linuxbrew/.linuxbrew/Cellar/rareqs/1.1_1/bin/rareqs) /home/linuxbrew/.linuxbrew/Cellar/rareqs/1.1_1/bin/rareqs: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/Cellar/rareqs/1.1_1/bin/rareqs) Error: rareqs: failed <10> expected but was <1>.
In TravisCI build https://travis-ci.org/touist/homebrew-touist/jobs/407677741: Testing qute ==> /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute /tmp/qute-test-20180724-10419-1kta43j/test.dimacs /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_program_options-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_program_options-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_thread-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_log-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_log-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_system-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_chrono-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_date_time-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_log_setup-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_log_setup-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_filesystem-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_filesystem-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_filesystem-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_regex-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_regex-mt.so.1.67.0) /home/linuxbrew/.linuxbrew/Cellar/qute/0.0.1_3/bin/qute: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/linuxbrew/.linuxbrew/lib/libboost_regex-mt.so.1.67.0) Error: qute: failed <10> expected but was <1>.
maelvls
force-pushed
the
fix-rareqs-glibc-linux
branch
2 times, most recently
from
August 27, 2018 16:39
ba3768b
to
8cf1c32
Compare
maelvls
force-pushed
the
fix-rareqs-glibc-linux
branch
from
August 27, 2018 17:16
8cf1c32
to
c8b8d8d
Compare
travis@6c4e31338e1e:/$ brew linkage rareqs Undeclared dependencies with linkage: zlib
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The errors on
qute
andrareqs
looked like:After some digging, I found out that this issue is related to the change of C++ ABI (from gcc 4.8.x to >=5.1 which has dual-ABI stuff, the problem with this is documented on SO).
The Travis CI Ubuntu trusty image says it has glibc 2.19. It is the minimum requirement for installing bottles using linuxbrew as of July 2018. Here is the glibc version on the travis image:
Recently, all the libraries in Linuxbrew have been rebuilt using the newer C++ ABI (using gcc >= 5.1). In my case, system gcc has version 4.8.4. Which means whenever I want to build anything linking to glibcxx.so, I will have to do it using gcc5...
And the workaround for now is to use the
needs :cxx11
which will force the use of gcc >= 5 and that will also install glibc.So I enabled building using cxx11 standard.