I am setting up a new 11.1release system.
Now I am installing program by program after the basic stuff has been set up (X, fvwm, some browsers).
Now as I attempted to install libreoffice,
Here a snippet from the output, maybe it gives you an idea?
Now I get apparently the same problem when attempting to install waterfox.
What makes me wonder is that these are all errors I have encountered up to now. All other stuff installed smoothly. And the two things that fail, they seem to fail due to exactly the same compilation issue?!?
I probably made some very stupid mistake. Any idea?
Now I am installing program by program after the basic stuff has been set up (X, fvwm, some browsers).
Now as I attempted to install libreoffice,
make install
stopped because of errors: "call to 'abs' is ambiguous" in its vigra dependency. So I left that for later.Here a snippet from the output, maybe it gives you an idea?
Code:
/usr/ports/graphics/vigra/work/vigra-e6c21f3/include/vigra/mathutil.hxx:151:14: note: expanded from macro 'VIGRA_DEFINE_MISSING_ABS'
inline T abs(T t) { return t < 0 ? static_cast<T>(-t) : t; }
^
/usr/ports/graphics/vigra/work/vigra-e6c21f3/include/vigra/mathutil.hxx:642:67: error: call to 'abs' is ambiguous
inline NormTraits<long long>::NormType norm(long long t) { return abs((long int) t); }
^~~
/usr/src/include/stdlib.h:85:6: note: candidate function
int abs(int) __pure2;
^
/usr/include/c++/v1/math.h:640:1: note: candidate function
abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}
^
/usr/include/c++/v1/math.h:644:1: note: candidate function
abs(double __lcpp_x) _NOEXCEPT {return fabs(__lcpp_x);}
^
/usr/include/c++/v1/math.h:648:1: note: candidate function
abs(long double __lcpp_x) _NOEXCEPT {return fabsl(__lcpp_x);}
Now I get apparently the same problem when attempting to install waterfox.
Code:
[ 27%] Building CXX object lib/Transforms/Utils/CMakeFiles/LLVMTransformUtils.dir/DemoteRegToStack.cpp.o
/usr/ports/lang/rust/work/rustc-1.22.1-src/src/llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp:117:29: error: call to 'abs' is ambiguous
uint64_t DiffUnitsAbs = std::abs(DiffUnits);
^~~~~~~~
/usr/include/c++/v1/math.h:640:1: note: candidate function
abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}
^
/usr/include/c++/v1/math.h:644:1: note: candidate function
abs(double __lcpp_x) _NOEXCEPT {return fabs(__lcpp_x);}
^
/usr/include/c++/v1/math.h:648:1: note: candidate function
abs(long double __lcpp_x) _NOEXCEPT {return fabsl(__lcpp_x);}
^
/usr/src/include/stdlib.h:85:6: note: candidate function
int abs(int) __pure2;
^
1 error generated.
gmake[6]: *** [lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/build.make:87: lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/AlignmentFromAssumptions.cpp.o] Error 1
gmake[6]: Leaving directory '/usr/ports/lang/rust/work/rustc-1.22.1-src/build/x86_64-unknown-freebsd/llvm/build'
gmake[5]: *** [CMakeFiles/Makefile2:1915: lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/all] Error 2
gmake[5]: *** Waiting for unfinished jobs....
What makes me wonder is that these are all errors I have encountered up to now. All other stuff installed smoothly. And the two things that fail, they seem to fail due to exactly the same compilation issue?!?
I probably made some very stupid mistake. Any idea?