Comments (4)
@inglor the patch you added to the PKGBUILD, upgrading abseil-cpp fixed the compilation problem. I would close this bug if I were the reporter (@tmpm697 hint, hint).
from auracle.
This is the actual compilation error:
Found ninja-1.10.2 at /usr/sbin/ninja
ninja: Entering directory `build'
[90/145] Compiling C++ object subprojects/abseil-cpp-20200...ion_lib.a.p/absl_synchronization_internal_graphcycles.cc.o
FAILED: subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o
c++ -Isubprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p -Isubprojects/abseil-cpp-20200225.2 -I../subprojects/abseil-cpp-20200225.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -Wno-sign-compare -march=x86-64 -mtune=haswell -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -MD -MQ subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o -MF subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o.d -o subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o -c ../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc: In member function ‘void absl::lts_2020_02_25::synchronization_internal::GraphCycles::RemoveNode(void*)’:
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:26: error: ‘numeric_limits’ is not a member of ‘std’
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^~~~~~~~~~~~~~
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:49: error: expected primary-expression before ‘>’ token
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:52: error: ‘::max’ has not been declared; did you mean ‘std::max’?
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^~~
| std::max
In file included from /usr/include/c++/11.1.0/algorithm:62,
from ../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:38:
/usr/include/c++/11.1.0/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
[99/145] Compiling C++ object subprojects/abseil-cpp-20200225.2/libabsl_flags_lib.a.p/absl_flags_internal_flag.cc.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
from auracle.
@palopezv are you using the package from AUR? Try Building in a clean chroot
from auracle.
A ton of packages had exactly this error in gentoo. I guess gcc 11 reorganized its headers, so <limits>
doesn't get included as often as it used to. That said, this looks like it's coming from Abseil so, perhaps #86 fixes this?
from auracle.
Related Issues (20)
- Core dump on Intel Atom when issuing 'info' HOT 1
- Add 'aarch64' to the PKGBUILD architectures HOT 1
- error: UNKNOWN: Failed sending HTTP request HOT 7
- [Feature request] Remove systemd dependency HOT 2
- `auracle outdated` hangs (forever)
- Build failure: Directory does not contain a valid build tree HOT 2
- Allow for custom formatting in outdated
- Invalid free on timeout HOT 5
- List all installed AUR packages HOT 2
- Add option to view diff with a previous version of a package HOT 3
- doesn't compile with abseil-cpp 20200225.2 (not libalpm.so.13) HOT 5
- dia0
- "auracle outdated" exit code ambiguous HOT 1
- List all aur packages HOT 2
- Output of the buildorder command HOT 3
- Buildorder for local PKGBUILD
- build fails on aarch64 HOT 2
- Feature request: add an "overwrite" option for clone/update operations
- Check -git package outdate? HOT 15
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 auracle.