Advertisement
randalhoctor

Failed build AUR shiboken

Dec 5th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.58 KB | None | 0 0
  1. Update (pamac 9.1.1-1) needs to build/install these 4. Building shiboken fails. Google hits "clean chroot"
  2.  
  3. python-pyside-common 1.2.4-10
  4. python2-pyside 1.2.4-10
  5. python2-shiboken 1.2.4-7
  6. shiboken 1.2.4-7
  7.  
  8. RESULT:
  9.  
  10. Cloning shiboken build files...
  11. Checking python2-shiboken dependencies...
  12. Cloning python-pyside build files...
  13. Checking python2-pyside dependencies...
  14. Cloning phonon-qt4 build files...
  15. Checking phonon-qt4 dependencies...
  16. Preparing...
  17. Synchronizing package databases...
  18. Warning: fontconfig: local (2:2.13.1+12+g5f5ec56-2) is newer than extra (2:2.13.1+12+g5f5ec56-1)
  19.  
  20. Building shiboken...
  21. ==> Making package: shiboken 1.2.4-7 (Thu 05 Dec 2019 10:06:51 PM EST)
  22. ==> Checking runtime dependencies...
  23. ==> Checking buildtime dependencies...
  24. ==> Retrieving sources...
  25. -> Found shiboken-1.2.4.tar.gz
  26. -> Found support-new-python.diff
  27. ==> Validating source files with md5sums...
  28. shiboken-1.2.4.tar.gz ... Passed
  29. support-new-python.diff ... Passed
  30. ==> Removing existing $srcdir/ directory...
  31. ==> Extracting sources...
  32. -> Extracting shiboken-1.2.4.tar.gz with bsdtar
  33. ==> Starting prepare()...
  34. patching file cmake/Modules/FindPython3Libs.cmake
  35. ==> Removing existing $pkgdir/ directory...
  36. ==> Starting build()...
  37. -- The C compiler identification is GNU 9.2.0
  38. -- The CXX compiler identification is GNU 9.2.0
  39. -- Check for working C compiler: /usr/bin/cc
  40. -- Check for working C compiler: /usr/bin/cc -- works
  41. -- Detecting C compiler ABI info
  42. -- Detecting C compiler ABI info - done
  43. -- Detecting C compile features
  44. -- Detecting C compile features - done
  45. -- Check for working CXX compiler: /usr/bin/c++
  46. -- Check for working CXX compiler: /usr/bin/c++ -- works
  47. -- Detecting CXX compiler ABI info
  48. -- Detecting CXX compiler ABI info - done
  49. -- Detecting CXX compile features
  50. -- Detecting CXX compile features - done
  51. -- Looking for Q_WS_X11
  52. -- Looking for Q_WS_X11 - found
  53. -- Looking for Q_WS_WIN
  54. -- Looking for Q_WS_WIN - not found
  55. -- Looking for Q_WS_QWS
  56. -- Looking for Q_WS_QWS - not found
  57. -- Looking for Q_WS_MAC
  58. -- Looking for Q_WS_MAC - not found
  59. -- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.7", minimum required is "4.5.0")
  60. -- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.6")
  61. -- Found LibXml2: /usr/lib/libxml2.so (found suitable version "2.9.9", minimum required is "2.6.32")
  62. -- Found LibXslt: /usr/lib/libxslt.so (found suitable version "1.1.33", minimum required is "1.1.19")
  63. -- sphinx-build - not found! doc target disabled
  64. -- Configuring done
  65. -- Generating done
  66. -- Build files have been written to: /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/build-py2
  67. [ 1%] Generating qrc_generator.cxx
  68. Scanning dependencies of target apiextractor
  69. [ 3%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o
  70. [ 4%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o
  71. [ 6%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o
  72. [ 8%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/asttoxml.cpp.o
  73. [ 9%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/fileout.cpp.o
  74. [ 11%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/graph.cpp.o
  75. [ 12%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/reporthandler.cpp.o
  76. [ 14%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/typeparser.cpp.o
  77. [ 16%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o
  78. [ 17%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/include.cpp.o
  79. [ 19%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/typedatabase.cpp.o
  80. [ 20%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/ast.cpp.o
  81. [ 22%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/binder.cpp.o
  82. [ 24%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/class_compiler.cpp.o
  83. [ 25%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/codemodel.cpp.o
  84. [ 27%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/codemodel_finder.cpp.o
  85. [ 29%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/compiler_utils.cpp.o
  86. [ 30%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/control.cpp.o
  87. [ 32%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/declarator_compiler.cpp.o
  88. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/declarator_compiler.cpp:109:2: warning: #warning "ptr to mem -- not implemented" [-Wcpp]
  89. 109 | #warning "ptr to mem -- not implemented"
  90. | ^~~~~~~
  91. [ 33%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/default_visitor.cpp.o
  92. [ 35%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/dumptree.cpp.o
  93. [ 37%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/lexer.cpp.o
  94. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/lexer.cpp: In member function ‘void Lexer::scan_invalid_input()’:
  95. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/lexer.cpp:688:29: warning: ignoring return value of ‘QString QString::arg(int, int, int, const QChar&) const’, declared with attribute warn_unused_result [-Wunused-result]
  96. 688 | errmsg.arg(int(*cursor));
  97. | ^
  98. In file included from /usr/include/qt4/QtCore/QString:1,
  99. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/symbol.h:29,
  100. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/lexer.h:29,
  101. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/lexer.cpp:26:
  102. /usr/include/qt4/QtCore/qstring.h:743:16: note: declared here
  103. 743 | inline QString QString::arg(int a, int fieldWidth, int base, const QChar &fillChar) const
  104. | ^~~~~~~
  105. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/lexer.cpp: In member function ‘void LocationManager::positionAt(std::size_t, int*, int*, QString*) const’:
  106. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/lexer.cpp:97:31: warning: ‘line2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  107. 97 | *line = base_line + *line - line2 - 1;
  108. | ~~~~~~~~~~~~~~~~~~^~~~~~~
  109. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/lexer.cpp:91:43: warning: ‘ppline’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  110. 91 | extract_line((int) line_table[ppline-1], &base_line, filename);
  111. | ^
  112. [ 38%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/list.cpp.o
  113. [ 40%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/name_compiler.cpp.o
  114. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/name_compiler.cpp:65:2: warning: #warning "NameCompiler::visitUnqualifiedName() -- implement me" [-Wcpp]
  115. 65 | #warning "NameCompiler::visitUnqualifiedName() -- implement me"
  116. | ^~~~~~~
  117. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/name_compiler.cpp:75:2: warning: #warning "don't use an hardcoded string as cast' name" [-Wcpp]
  118. 75 | #warning "don't use an hardcoded string as cast' name"
  119. | ^~~~~~~
  120. [ 41%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/parser.cpp.o
  121. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/parser.cpp:733:2: warning: #warning "implement me" [-Wcpp]
  122. 733 | #warning "implement me"
  123. | ^~~~~~~
  124. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/parser.cpp:2120:2: warning: #warning "implement me" [-Wcpp]
  125. 2120 | #warning "implement me"
  126. | ^~~~~~~
  127. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/parser.cpp:2140:2: warning: #warning "implemente me (AST)" [-Wcpp]
  128. 2140 | #warning "implemente me (AST)"
  129. | ^~~~~~~
  130. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/parser.cpp:2297:2: warning: #warning "implement me" [-Wcpp]
  131. 2297 | #warning "implement me"
  132. | ^~~~~~~
  133. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/parser.cpp:2305:2: warning: #warning "implement me" [-Wcpp]
  134. 2305 | #warning "implement me"
  135. | ^~~~~~~
  136. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/parser.cpp:2900:2: warning: #warning "mark the ast as constant" [-Wcpp]
  137. 2900 | #warning "mark the ast as constant"
  138. | ^~~~~~~
  139. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/parser.cpp:2990:2: warning: #warning "Parser::skipFunctionBody() -- implement me" [-Wcpp]
  140. 2990 | #warning "Parser::skipFunctionBody() -- implement me"
  141. | ^~~~~~~
  142. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ApiExtractor/parser/parser.cpp:3019:2: warning: #warning "implement me" [-Wcpp]
  143. 3019 | #warning "implement me"
  144. | ^~~~~~~
  145. [ 43%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/smallobject.cpp.o
  146. [ 45%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/tokens.cpp.o
  147. [ 46%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/type_compiler.cpp.o
  148. [ 48%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/visitor.cpp.o
  149. [ 50%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/rpp/builtin-macros.cpp.o
  150. [ 51%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/rpp/preprocessor.cpp.o
  151. [ 53%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/docparser.cpp.o
  152. [ 54%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/doxygenparser.cpp.o
  153. [ 56%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/qtdocparser.cpp.o
  154. [ 58%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/qrc_generator.cxx.o
  155. [ 59%] Linking CXX static library libapiextractor.a
  156. [ 59%] Built target apiextractor
  157. Scanning dependencies of target libshiboken
  158. [ 61%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/basewrapper.cpp.o
  159. In file included from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.h:27,
  160. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/basewrapper.cpp:28:
  161. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h: In static member function ‘static T Shiboken::ValueTypeConverter<T>::toCpp(PyObject*)’:
  162. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:191:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  163. 191 | std::auto_ptr<T> cptr_auto_ptr(cptr);
  164. | ^~~~~~~~
  165. In file included from /usr/include/c++/9.2.0/memory:80,
  166. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:28,
  167. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.h:27,
  168. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/basewrapper.cpp:28:
  169. /usr/include/c++/9.2.0/bits/unique_ptr.h:53:28: note: declared here
  170. 53 | template<typename> class auto_ptr;
  171. | ^~~~~~~~
  172. [ 62%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/debugfreehook.cpp.o
  173. [ 64%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/gilstate.cpp.o
  174. [ 66%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/helper.cpp.o
  175. In file included from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/helper.h:28,
  176. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/helper.cpp:23:
  177. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h: In static member function ‘static T Shiboken::ValueTypeConverter<T>::toCpp(PyObject*)’:
  178. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:191:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  179. 191 | std::auto_ptr<T> cptr_auto_ptr(cptr);
  180. | ^~~~~~~~
  181. In file included from /usr/include/c++/9.2.0/memory:80,
  182. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:28,
  183. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/helper.h:28,
  184. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/helper.cpp:23:
  185. /usr/include/c++/9.2.0/bits/unique_ptr.h:53:28: note: declared here
  186. 53 | template<typename> class auto_ptr;
  187. | ^~~~~~~~
  188. [ 67%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkconverter.cpp.o
  189. In file included from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/dense_hash_map:98,
  190. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/sbkconverter.cpp:26:
  191. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h: In instantiation of ‘void google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::clear() [with Value = std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>; Key = std::__cxx11::basic_string<char>; HashFcn = std::tr1::hash<std::__cxx11::basic_string<char> >; ExtractKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SelectKey; SetKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SetKey; EqualKey = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = std::allocator<SbkConverter*>]’:
  192. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:571:5: required from ‘void google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::copy_from(const google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>&, google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type) [with Value = std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>; Key = std::__cxx11::basic_string<char>; HashFcn = std::tr1::hash<std::__cxx11::basic_string<char> >; ExtractKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SelectKey; SetKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SetKey; EqualKey = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = std::allocator<SbkConverter*>; google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type = long unsigned int]’
  193. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:668:5: required from ‘google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::dense_hashtable(const google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>&, google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type) [with Value = std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>; Key = std::__cxx11::basic_string<char>; HashFcn = std::tr1::hash<std::__cxx11::basic_string<char> >; ExtractKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SelectKey; SetKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SetKey; EqualKey = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = std::allocator<SbkConverter*>; google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type = long unsigned int]’
  194. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:354:23: required from ‘void google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::squash_deleted() [with Value = std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>; Key = std::__cxx11::basic_string<char>; HashFcn = std::tr1::hash<std::__cxx11::basic_string<char> >; ExtractKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SelectKey; SetKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SetKey; EqualKey = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = std::allocator<SbkConverter*>]’
  195. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:366:5: required from ‘void google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::set_deleted_key(const key_type&) [with Value = std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>; Key = std::__cxx11::basic_string<char>; HashFcn = std::tr1::hash<std::__cxx11::basic_string<char> >; ExtractKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SelectKey; SetKey = google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SetKey; EqualKey = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = std::allocator<SbkConverter*>; google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::key_type = std::__cxx11::basic_string<char>]’
  196. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/dense_hash_map:279:5: required from ‘void google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::set_deleted_key(const key_type&) [with Key = std::__cxx11::basic_string<char>; T = SbkConverter*; HashFcn = std::tr1::hash<std::__cxx11::basic_string<char> >; EqualKey = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = std::allocator<SbkConverter*>; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::key_type = std::__cxx11::basic_string<char>]’
  197. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/sbkconverter.cpp:63:35: required from here
  198. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:725:35: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘google::dense_hashtable<std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>, std::__cxx11::basic_string<char>, std::tr1::hash<std::__cxx11::basic_string<char> >, google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SelectKey, google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SetKey, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<SbkConverter*> >::value_type’ {aka ‘struct std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>’}; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
  199. 725 | table = (value_type *) realloc(table, num_buckets * sizeof(*table));
  200. | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  201. In file included from /usr/include/c++/9.2.0/bits/stl_algobase.h:64,
  202. from /usr/include/c++/9.2.0/bits/stl_tree.h:63,
  203. from /usr/include/c++/9.2.0/set:60,
  204. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/bindingmanager.h:27,
  205. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/basewrapper.h:27,
  206. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/sbkconverter.h:29,
  207. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/sbkconverter.cpp:23:
  208. /usr/include/c++/9.2.0/bits/stl_pair.h:208:12: note: ‘google::dense_hashtable<std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>, std::__cxx11::basic_string<char>, std::tr1::hash<std::__cxx11::basic_string<char> >, google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SelectKey, google::dense_hash_map<std::__cxx11::basic_string<char>, SbkConverter*>::SetKey, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<SbkConverter*> >::value_type’ {aka ‘struct std::pair<const std::__cxx11::basic_string<char>, SbkConverter*>’} declared here
  209. 208 | struct pair
  210. | ^~~~
  211. [ 69%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkenum.cpp.o
  212. In file included from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.h:27,
  213. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp:29:
  214. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h: In static member function ‘static T Shiboken::ValueTypeConverter<T>::toCpp(PyObject*)’:
  215. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:191:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  216. 191 | std::auto_ptr<T> cptr_auto_ptr(cptr);
  217. | ^~~~~~~~
  218. In file included from /usr/include/c++/9.2.0/memory:80,
  219. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:28,
  220. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.h:27,
  221. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp:29:
  222. /usr/include/c++/9.2.0/bits/unique_ptr.h:53:28: note: declared here
  223. 53 | template<typename> class auto_ptr;
  224. | ^~~~~~~~
  225. [ 70%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkmodule.cpp.o
  226. [ 72%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkstring.cpp.o
  227. [ 74%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/bindingmanager.cpp.o
  228. In file included from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/dense_hash_map:98,
  229. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/bindingmanager.cpp:26:
  230. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h: In instantiation of ‘void google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::clear() [with Value = std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >; Key = SbkObjectType*; HashFcn = std::tr1::hash<SbkObjectType*>; ExtractKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SelectKey; SetKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SetKey; EqualKey = std::equal_to<SbkObjectType*>; Alloc = std::allocator<std::__cxx11::list<SbkObjectType*> >]’:
  231. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:571:5: required from ‘void google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::copy_from(const google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>&, google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type) [with Value = std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >; Key = SbkObjectType*; HashFcn = std::tr1::hash<SbkObjectType*>; ExtractKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SelectKey; SetKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SetKey; EqualKey = std::equal_to<SbkObjectType*>; Alloc = std::allocator<std::__cxx11::list<SbkObjectType*> >; google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type = long unsigned int]’
  232. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:668:5: required from ‘google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::dense_hashtable(const google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>&, google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type) [with Value = std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >; Key = SbkObjectType*; HashFcn = std::tr1::hash<SbkObjectType*>; ExtractKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SelectKey; SetKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SetKey; EqualKey = std::equal_to<SbkObjectType*>; Alloc = std::allocator<std::__cxx11::list<SbkObjectType*> >; google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type = long unsigned int]’
  233. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:538:23: required from ‘void google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::resize_delta(google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type) [with Value = std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >; Key = SbkObjectType*; HashFcn = std::tr1::hash<SbkObjectType*>; ExtractKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SelectKey; SetKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SetKey; EqualKey = std::equal_to<SbkObjectType*>; Alloc = std::allocator<std::__cxx11::list<SbkObjectType*> >; google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::size_type = long unsigned int]’
  234. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:862:5: required from ‘std::pair<google::dense_hashtable_iterator<V, K, HF, ExK, SetK, EqK, A>, bool> google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::insert(const value_type&) [with Value = std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >; Key = SbkObjectType*; HashFcn = std::tr1::hash<SbkObjectType*>; ExtractKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SelectKey; SetKey = google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SetKey; EqualKey = std::equal_to<SbkObjectType*>; Alloc = std::allocator<std::__cxx11::list<SbkObjectType*> >; google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::value_type = std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >]’
  235. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/dense_hash_map:263:77: required from ‘std::pair<typename google::dense_hashtable<std::pair<const _Key, _Tp>, Key, HashFcn, google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::SelectKey, google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::SetKey, EqualKey, Alloc>::iterator, bool> google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::insert(const value_type&) [with Key = SbkObjectType*; T = std::__cxx11::list<SbkObjectType*>; HashFcn = std::tr1::hash<SbkObjectType*>; EqualKey = std::equal_to<SbkObjectType*>; Alloc = std::allocator<std::__cxx11::list<SbkObjectType*> >; typename google::dense_hashtable<std::pair<const _Key, _Tp>, Key, HashFcn, google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::SelectKey, google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::SetKey, EqualKey, Alloc>::iterator = google::dense_hashtable_iterator<std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >, SbkObjectType*, std::tr1::hash<SbkObjectType*>, google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SelectKey, google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SetKey, std::equal_to<SbkObjectType*>, std::allocator<std::__cxx11::list<SbkObjectType*> > >; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::value_type = std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >]’
  236. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/dense_hash_map:249:51: required from ‘google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type& google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::operator[](const key_type&) [with Key = SbkObjectType*; T = std::__cxx11::list<SbkObjectType*>; HashFcn = std::tr1::hash<SbkObjectType*>; EqualKey = std::equal_to<SbkObjectType*>; Alloc = std::allocator<std::__cxx11::list<SbkObjectType*> >; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::data_type = std::__cxx11::list<SbkObjectType*>; google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::key_type = SbkObjectType*]’
  237. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/bindingmanager.cpp:55:21: required from here
  238. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:725:35: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘google::dense_hashtable<std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >, SbkObjectType*, std::tr1::hash<SbkObjectType*>, google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SelectKey, google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SetKey, std::equal_to<SbkObjectType*>, std::allocator<std::__cxx11::list<SbkObjectType*> > >::value_type’ {aka ‘struct std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >’}; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
  239. 725 | table = (value_type *) realloc(table, num_buckets * sizeof(*table));
  240. | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  241. In file included from /usr/include/c++/9.2.0/bits/stl_algobase.h:64,
  242. from /usr/include/c++/9.2.0/bits/stl_tree.h:63,
  243. from /usr/include/c++/9.2.0/set:60,
  244. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/bindingmanager.h:27,
  245. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/basewrapper.h:27,
  246. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/bindingmanager.cpp:23:
  247. /usr/include/c++/9.2.0/bits/stl_pair.h:208:12: note: ‘google::dense_hashtable<std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >, SbkObjectType*, std::tr1::hash<SbkObjectType*>, google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SelectKey, google::dense_hash_map<SbkObjectType*, std::__cxx11::list<SbkObjectType*> >::SetKey, std::equal_to<SbkObjectType*>, std::allocator<std::__cxx11::list<SbkObjectType*> > >::value_type’ {aka ‘struct std::pair<SbkObjectType* const, std::__cxx11::list<SbkObjectType*> >’} declared here
  248. 208 | struct pair
  249. | ^~~~
  250. [ 75%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/threadstatesaver.cpp.o
  251. [ 77%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/typeresolver.cpp.o
  252. In file included from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.h:27,
  253. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.cpp:23:
  254. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h: In static member function ‘static T Shiboken::ValueTypeConverter<T>::toCpp(PyObject*)’:
  255. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:191:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  256. 191 | std::auto_ptr<T> cptr_auto_ptr(cptr);
  257. | ^~~~~~~~
  258. In file included from /usr/include/c++/9.2.0/memory:80,
  259. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:28,
  260. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.h:27,
  261. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.cpp:23:
  262. /usr/include/c++/9.2.0/bits/unique_ptr.h:53:28: note: declared here
  263. 53 | template<typename> class auto_ptr;
  264. | ^~~~~~~~
  265. In file included from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/dense_hash_map:98,
  266. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.cpp:24:
  267. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h: In instantiation of ‘void google::dense_hashtable<Value, Key, HashFcn, ExtractKey, SetKey, EqualKey, Alloc>::clear() [with Value = std::pair<const std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>; Key = std::__cxx11::basic_string<char>; HashFcn = std::tr1::hash<std::__cxx11::basic_string<char> >; ExtractKey = google::dense_hash_map<std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>::SelectKey; SetKey = google::dense_hash_map<std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>::SetKey; EqualKey = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = std::allocator<Shiboken::TypeResolver*>]’:
  268. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/dense_hash_map:191:41: required from ‘void google::dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>::clear() [with Key = std::__cxx11::basic_string<char>; T = Shiboken::TypeResolver*; HashFcn = std::tr1::hash<std::__cxx11::basic_string<char> >; EqualKey = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = std::allocator<Shiboken::TypeResolver*>]’
  269. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.cpp:46:27: required from here
  270. /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/ext/sparsehash/google/sparsehash/densehashtable.h:725:35: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘google::dense_hashtable<std::pair<const std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>, std::__cxx11::basic_string<char>, std::tr1::hash<std::__cxx11::basic_string<char> >, google::dense_hash_map<std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>::SelectKey, google::dense_hash_map<std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>::SetKey, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<Shiboken::TypeResolver*> >::value_type’ {aka ‘struct std::pair<const std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>’}; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
  271. 725 | table = (value_type *) realloc(table, num_buckets * sizeof(*table));
  272. | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273. In file included from /usr/include/c++/9.2.0/bits/stl_algobase.h:64,
  274. from /usr/include/c++/9.2.0/memory:62,
  275. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:28,
  276. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.h:27,
  277. from /var/tmp/pamac-build-rsr/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.cpp:23:
  278. /usr/include/c++/9.2.0/bits/stl_pair.h:208:12: note: ‘google::dense_hashtable<std::pair<const std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>, std::__cxx11::basic_string<char>, std::tr1::hash<std::__cxx11::basic_string<char> >, google::dense_hash_map<std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>::SelectKey, google::dense_hash_map<std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>::SetKey, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<Shiboken::TypeResolver*> >::value_type’ {aka ‘struct std::pair<const std::__cxx11::basic_string<char>, Shiboken::TypeResolver*>’} declared here
  279. 208 | struct pair
  280. | ^~~~
  281. [ 79%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/shibokenbuffer.cpp.o
  282. [ 80%] Linking CXX shared library libshiboken-python2.7.so
  283. [ 80%] Built target libshiboken
  284. Scanning dependencies of target shiboken
  285. [ 82%] Building CXX object generator/CMakeFiles/shiboken.dir/generator.cpp.o
  286. [ 83%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o
  287. [ 85%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/headergenerator.cpp.o
  288. [ 87%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/overloaddata.cpp.o
  289. [ 88%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/shibokengenerator.cpp.o
  290. [ 90%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/shibokennormalize.cpp.o
  291. [ 91%] Building CXX object generator/CMakeFiles/shiboken.dir/main.cpp.o
  292. [ 93%] Building CXX object generator/CMakeFiles/shiboken.dir/qtdoc/qtdocgenerator.cpp.o
  293. [ 95%] Linking CXX executable shiboken
  294. [ 95%] Built target shiboken
  295. [ 96%] Running generator for 'shiboken'...
  296. Detecting inconsistencies in typesystem... [OK]
  297. make[2]: *** [shibokenmodule/CMakeFiles/shibokenmodule.dir/build.make:62: shibokenmodule/shiboken/shiboken_module_wrapper.cpp] Segmentation fault (core dumped)
  298. make[1]: *** [CMakeFiles/Makefile2:323: shibokenmodule/CMakeFiles/shibokenmodule.dir/all] Error 2
  299. make: *** [Makefile:130: all] Error 2
  300. ==> ERROR: A failure occurred in build().
  301. Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement