You are not logged in.
Hey there,
i am trying to build the package scilab from the AUR. After installing several dependencies (from the AUR) manually and solving some jre-related issues, I run into some issues when trying to build the package:
cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:117:3: error: template with C linkage
117 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:132:3: error: template with C linkage
132 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:141:3: error: template with C linkage
141 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:146:3: error: template with C linkage
146 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:156:3: error: template with C linkage
156 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:169:3: error: template with C linkage
169 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:179:3: error: template with C linkage
179 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:187:3: error: template with C linkage
187 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:198:3: error: template with C linkage
198 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:218:3: error: template with C linkage
218 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:240:3: error: template with C linkage
240 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:249:3: error: template with C linkage
249 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:261:3: error: template with C linkage
261 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:270:3: error: template with C linkage
270 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:292:3: error: template with C linkage
292 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:302:3: error: template with C linkage
302 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:82,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/bits/shared_ptr_atomic.h:314:3: error: template with C linkage
314 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:84,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/backward/auto_ptr.h:47:3: error: template with C linkage
47 | template<typename _Tp1>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:84,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/backward/auto_ptr.h:88:3: error: template with C linkage
88 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:84,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/backward/auto_ptr.h:291:3: error: template specialization with C linkage
291 | template<>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:84,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/backward/auto_ptr.h:299:3: error: template with C linkage
299 | template<_Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:84,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/backward/auto_ptr.h:306:3: error: template with C linkage
306 | template<typename _Tp, _Lock_policy _Lp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:84,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/backward/auto_ptr.h:319:3: error: template with C linkage
319 | template<typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/c++/9.2.0/memory:84,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/backward/auto_ptr.h:325:3: error: template with C linkage
325 | template<typename _Tp, typename _Dp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from ../../modules/xml/includes/xml.h:16,
from ../../modules/xml/src/cpp/XMLDocument.hxx:28,
from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
/usr/include/c++/9.2.0/memory:146:1: error: template with C linkage
146 | template <typename _Tp>
| ^~~~~~~~
In file included from src/cpp/XMLDocFieldsGetter.hxx:24,
from src/cpp/XMLFieldsGetter.cpp:24:
../../modules/xml/src/cpp/XMLDocument.hxx:26:1: note: 'extern "C"' linkage started here
26 | extern "C"
| ^~~~~~~~~~
make[3]: *** [Makefile:1147: src/cpp/libscicompletion_algo_la-XMLFieldsGetter.lo] Error 1
make[3]: Leaving directory '.../aur_packages/Scilab/src/scilab-6.0.2/modules/completion'
make[2]: *** [Makefile:815: all] Error 2
make[2]: Leaving directory '.../aur_packages/Scilab/src/scilab-6.0.2/modules/completion'
make[1]: *** [Makefile:827: all-recursive] Error 1
make[1]: Leaving directory '.../aur_packages/Scilab/src/scilab-6.0.2/modules'
make: *** [Makefile:1601: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
I would be thankfully for any hint to solve this.
Last edited by funkaddict (2019-10-16 06:22:01)
Offline
comments on https://aur.archlinux.org/packages/scilab/ mention a workaround, have you tried that ?
It does look like this could be C++ & xml related, post pacman -Qs libxml please
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
comments on https://aur.archlinux.org/packages/scilab/ mention a workaround, have you tried that ?
It does look like this could be C++ & xml related, post pacman -Qs libxml please
Thanks for the hint. It seems that I was just not smart enough to read beyond the "sticky posts". I just saw that the latest post was from 2017 and missed that those where sticky. Sorry for that.
It seems that building and installing works now. However, when trying to run scilab, it fails by
Error parsing gtk-icon-sizes string: ''
But this is a different issue.
Thank you Lone_Wolf
Edit: For people probably stumbling across this thread and issue. I relate to the respective topics in the XFCE forums and Arch forum.
Last edited by funkaddict (2019-10-15 13:55:17)
Offline
I am adding a post to this thread in order not to make a new one, because this is related.
I think I made another mistake by accidently bypassing pacman during installation As suggested I did the workaround mentioned in https://aur.archlinux.org/packages/scilab/ Then I did sudo make install. I think that was a mistake as by this approach pacman does not track the package.
I wanted to uninstall the package again in order to try the scilab-bin instead of scilab because still, I cannot run the program.
How can I properly delete a package which is not tracked by pacman?
Edit: As described in https://bbs.archlinux.org/viewtopic.php?id=248437 I did:
$ pacman -Qo /usr/bin/scilab
error: No package owns /usr/bin/scilab
As written by Jasonwyron, I should uninstall the package the same way, I installed it. How would I do that?
Edit2: Okay, got it. Went to the build directory and did a sudo make uninstall
Happy that I am lucky this time.
Edit3: Note that scilab won´t start on my machine. However scilab-bin from the AUR does. The workaround for me is therefore to go with scilab-bin.
Last edited by funkaddict (2019-10-16 07:05:37)
Offline