-
Notifications
You must be signed in to change notification settings - Fork 10
arm32v7 failing to build #32
Copy link
Copy link
Open
Description
When building on arm32v7, the official servers are running into build failures -- here's a snippet of the relevant logs:
+ dpkg --print-architecture
+ dpkgArch=armhf
+ install_addin space https://github.com/JanWielemaker/space.git 8ab230a67e2babb3e81fac043512a7de7f4593bf
+ git clone https://github.com/JanWielemaker/space.git space
Cloning into 'space'...
+ git -C space checkout -q 8ab230a67e2babb3e81fac043512a7de7f4593bf
+ [ space = prosqlite ]
+ swipl -g pack_rebuild(space) -t halt
Warning: No build plugin could execute build step distclean
% checking for g++...
% g++
% checking whether the C++ compiler works...
% yes
% checking for C++ compiler default output file name...
% a.out
% checking for suffix of executables...
%
% checking whether we are cross compiling...
% no
% checking for suffix of object files...
% o
% checking whether we are using the GNU C++ compiler...
% yes
% checking whether g++ accepts -g...
% yes
% checking for main in -lgeos...
% yes
% checking for main in -lspatialindex...
% yes
% checking how to run the C++ preprocessor...
% g++ -E
% checking for grep that handles long lines and -e...
% /bin/grep
% checking for egrep...
% /bin/grep -E
% checking for ANSI C header files...
% yes
% checking for sys/types.h...
% yes
% checking for sys/stat.h...
% yes
% checking for stdlib.h...
% yes
% checking for string.h...
% yes
% checking for memory.h...
% yes
% checking for strings.h...
% yes
% checking for inttypes.h...
% yes
% checking for stdint.h...
% yes
% checking for unistd.h...
% yes
% checking spatialindex/SpatialIndex.h usability...
% yes
% checking spatialindex/SpatialIndex.h presence...
% yes
% checking for spatialindex/SpatialIndex.h... yes
% checking geos_c.h usability...
% yes
% checking geos_c.h presence...
% yes
% checking for geos_c.h...
% yes
% checking for bzero...
% yes
% configure: creating ./config.status
% config.status: creating Makefile
% config.status: creating config.h
% g++ -fPIC -pthread -I"/usr/lib/swipl/include" -I. -std=c++17 -c -o c/space.o c/space.cc
ERROR: In file included from c/globals.h:42,
ERROR: from c/space.cc:36:
ERROR: /usr/lib/swipl/include/SWI-cpp.h:165:3: error: ‘PlTerm::operator uint32_t() const’ cannot be overloaded with ‘PlTerm::operator term_t() const’
ERROR: 165 | operator uint32_t(void) const;
ERROR: | ^~~~~~~~
ERROR: /usr/lib/swipl/include/SWI-cpp.h:158:3: note: previous declaration ‘PlTerm::operator term_t() const’
ERROR: 158 | operator term_t(void) const
ERROR: | ^~~~~~~~
ERROR: /usr/lib/swipl/include/SWI-cpp.h:786:10: error: redefinition of ‘PlTerm::operator uint32_t() const’
ERROR: 786 | __inline PlTerm::operator uint32_t(void) const
ERROR: | ^~~~~~
ERROR: /usr/lib/swipl/include/SWI-cpp.h:158:3: note: ‘PlTerm::operator term_t() const’ previously defined here
ERROR: 158 | operator term_t(void) const
ERROR: | ^~~~~~~~
Warning: c/space.cc: In function ‘foreign_t pl_rtree_set_space__2(PlTermv)’:
Warning: c/space.cc:144:36: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: 144 | idx->utilization = (double)A2[1];
Warning: | ^
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:144:36: note: candidate 2: ‘operator[](char*, int)’ (built-in)
Warning: 144 | idx->utilization = (double)A2[1];
Warning: | ^
Warning: c/space.cc:144:36: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:144:36: note: candidate 2: ‘operator[](wchar_t*, int)’ (built-in)
Warning: 144 | idx->utilization = (double)A2[1];
Warning: | ^
Warning: c/space.cc:146:30: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: 146 | idx->nodesize = (int)A2[1];
Warning: | ^
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:146:30: note: candidate 2: ‘operator[](char*, int)’ (built-in)
Warning: 146 | idx->nodesize = (int)A2[1];
Warning: | ^
Warning: c/space.cc:146:30: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:146:30: note: candidate 2: ‘operator[](wchar_t*, int)’ (built-in)
Warning: 146 | idx->nodesize = (int)A2[1];
Warning: | ^
Warning: c/space.cc:148:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: 148 | if (A2[1].name() == ATOM_memory) {
Warning: | ^
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:148:13: note: candidate 2: ‘operator[](char*, int)’ (built-in)
Warning: 148 | if (A2[1].name() == ATOM_memory) {
Warning: | ^
Warning: c/space.cc:148:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:148:13: note: candidate 2: ‘operator[](wchar_t*, int)’ (built-in)
Warning: 148 | if (A2[1].name() == ATOM_memory) {
Warning: | ^
Warning: c/space.cc:150:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: 150 | } else if (A2[1].name() == ATOM_disk) {
Warning: | ^
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:150:20: note: candidate 2: ‘operator[](char*, int)’ (built-in)
Warning: 150 | } else if (A2[1].name() == ATOM_disk) {
Warning: | ^
Warning: c/space.cc:150:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candid
Warning: ate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:150:20: note: candidate 2: ‘operator[](wchar_t*, int)’ (built-in)
Warning: 150 | } else if (A2[1].name() == ATOM_disk) {
Warning: | ^
Warning: c/space.cc:157:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: 157 | if (A2[1].name() == ATOM_pythagorean) {
Warning: | ^
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:157:13: note: candidate 2: ‘operator[](char*, int)’ (built-in)
Warning: 157 | if (A2[1].name() == ATOM_pythagorean) {
Warning: | ^
Warning: c/space.cc:157:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:157:13: note: candidate 2: ‘operator[](wchar_t*, int)’ (built-in)
Warning: 157 | if (A2[1].name() == ATOM_pythagorean) {
Warning: | ^
Warning: c/space.cc:159:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: 159 | } else if (A2[1].name() == ATOM_haversine) {
Warning: | ^
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:159:20: note: candidate 2: ‘operator[](char*, int)’ (built-in)
Warning: 159 | } else if (A2[1].name() == ATOM_haversine) {
Warning: | ^
Warning: c/space.cc:159:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Warning: In file included from c/globals.h:42,
Warning: from c/space.cc:36:
Warning: /usr/lib/swipl/include/SWI-cpp.h:834:1: note: candidate 1: ‘PlTerm PlTerm::operator[](size_t) const’
Warning: 834 | PlTerm::operator [](ARITY_T index) const
Warning: | ^~~~~~
Warning: c/space.cc:159:20: note: candidate 2: ‘operator[](wchar_t*, int)’ (built-in)
Warning: 159 | } else if (A2[1].name() == ATOM_haversine) {
Warning: | ^
% gmake: *** [Makefile:23: c/space.o] Error 1
ERROR: -g pack_rebuild(space): Process "process(/usr/bin/gmake,[])": exit status: 2Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels