> nvm, just read that g++ 9.2+ is required

Looks like I spoke too soon. Upgraded the system to Debian testing with g++ 
10.2.1 and still getting the same error. Tried building on macOS, same 
result:

builder@core1 ~ $ g++ --version
g++ (Debian 10.2.1-6) 10.2.1 20210110
...
/home/builder/src/arangodb/3rdParty/s2geometry/dfefe0c/src/s2/util/math/mathutil.h:
 
At global scope:
/home/builder/src/arangodb/3rdParty/s2geometry/dfefe0c/src/s2/util/math/mathutil.h:168:53:
 
error: specialization of ‘static IntOut MathUtil::Round(FloatIn) [with 
IntOut = int; FloatIn = double]’ after instantiation
  168 | inline int32 MathUtil::Round<int32, double>(double x) {
...


On macOS:

builder@microair ~ % g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.5.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
...
...
/Users/builder/src/arangodb/3rdParty/s2geometry/dfefe0c/src/s2/util/math/mathutil.h:168:24:
 
error: explicit specialization of 'Round<int, double>' after instantiation
inline int32 MathUtil::Round<int32, double>(double x) {                    
   ^
...
...

Any ideas?


On Friday, July 23, 2021 at 7:36:28 PM UTC+2 Lukas Lösche wrote:

> nvm, just read that g++ 9.2+ is required. Sorry for the noise.
>
> On Friday, July 23, 2021 at 7:31:35 PM UTC+2 Lukas Lösche wrote:
>
>> When trying to compile ArangoDB 3.7.13 on a fresh Debian buster install 
>> make is throwing the following error:
>>
>> /home/builder/src/arangodb/3rdParty/s2geometry/dfefe0c/src/s2/util/math/mathutil.h:
>>  
>> At global scope:
>> /home/builder/src/arangodb/3rdParty/s2geometry/dfefe0c/src/s2/util/math/mathutil.h:168:53:
>>  
>> error: specialization of 'static IntOut MathUtil::Round(FloatIn) [with 
>> IntOut = int; FloatIn = double]' after instantiation
>> inline int32 MathUtil::Round<int32, double>(double x) {
>>
>> I am guessing this has something to do with the build environment as a 
>> general error would likely not have made it into the release tarball.
>>
>> Any idea what might be the issue here?
>>
>> Thanks,
>> -- Lukas
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/40c48ee0-1653-4f9d-b951-7d33c2b690cdn%40googlegroups.com.

Reply via email to