Advertisement
Guest User

compiling butterflow on Fedora 29

a guest
Mar 2nd, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.44 KB | None | 0 0
  1. Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-yCu801/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-_zSCvT/install-record.txt --single-version-externally-managed --compile:
  2. running install
  3. running build
  4. running build_py
  5. creating build
  6. creating build/lib.linux-x86_64-2.7
  7. creating build/lib.linux-x86_64-2.7/butterflow
  8. copying butterflow/source.py -> build/lib.linux-x86_64-2.7/butterflow
  9. copying butterflow/settings.py -> build/lib.linux-x86_64-2.7/butterflow
  10. copying butterflow/sequence.py -> build/lib.linux-x86_64-2.7/butterflow
  11. copying butterflow/render.py -> build/lib.linux-x86_64-2.7/butterflow
  12. copying butterflow/mux.py -> build/lib.linux-x86_64-2.7/butterflow
  13. copying butterflow/interpolate.py -> build/lib.linux-x86_64-2.7/butterflow
  14. copying butterflow/draw.py -> build/lib.linux-x86_64-2.7/butterflow
  15. copying butterflow/cli.py -> build/lib.linux-x86_64-2.7/butterflow
  16. copying butterflow/__main__.py -> build/lib.linux-x86_64-2.7/butterflow
  17. copying butterflow/__init__.py -> build/lib.linux-x86_64-2.7/butterflow
  18. running build_ext
  19. building 'butterflow.avinfo' extension
  20. creating build/temp.linux-x86_64-2.7
  21. creating build/temp.linux-x86_64-2.7/tmp
  22. creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-yCu801
  23. creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-yCu801/butterflow
  24. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ffmpeg -I/home/nonet/Downloads/git/opencv-2.4.13.6/include -I/home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include -fPIC -I/usr/include/python2.7 -c /tmp/pip-req-build-yCu801/butterflow/avinfo.c -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-yCu801/butterflow/avinfo.o -std=c11 -Wno-unused-variable -Wno-unused-function -Wno-cpp
  25. /tmp/pip-req-build-yCu801/butterflow/avinfo.c: In function ‘get_av_info’:
  26. /tmp/pip-req-build-yCu801/butterflow/avinfo.c:32:5: warning: ‘av_register_all’ is deprecated [-Wdeprecated-declarations]
  27. av_register_all();
  28. ^~~~~~~~~~~~~~~
  29. In file included from /tmp/pip-req-build-yCu801/butterflow/avinfo.c:6:
  30. /usr/include/ffmpeg/libavformat/avformat.h:2025:6: note: declared here
  31. void av_register_all(void);
  32. ^~~~~~~~~~~~~~~
  33. /tmp/pip-req-build-yCu801/butterflow/avinfo.c:103:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  34. AVCodecContext *v_codec_ctx = format_ctx->streams[v_stream_idx]->codec;
  35. ^~~~~~~~~~~~~~
  36. In file included from /tmp/pip-req-build-yCu801/butterflow/avinfo.c:6:
  37. /usr/include/ffmpeg/libavformat/avformat.h:877:21: note: declared here
  38. AVCodecContext *codec;
  39. ^~~~~
  40. gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -I/usr/include/ffmpeg -I/home/nonet/Downloads/git/opencv-2.4.13.6/include -I/home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include build/temp.linux-x86_64-2.7/tmp/pip-req-build-yCu801/butterflow/avinfo.o -L/usr/lib64 -lavcodec -lavformat -lavutil -lpython2.7 -o build/lib.linux-x86_64-2.7/butterflow/avinfo.so -shared -Wl,--export-dynamic
  41. building 'butterflow.ocl' extension
  42. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/ffmpeg -I/home/nonet/Downloads/git/opencv-2.4.13.6/include -I/home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include -fPIC -I/usr/include/python2.7 -c /tmp/pip-req-build-yCu801/butterflow/ocl.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-yCu801/butterflow/ocl.o -Wno-unused-variable -Wno-unused-function -Wno-cpp
  43. In file included from /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:10:
  44. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:247:55: error: ‘string’ has not been declared
  45. const cv::ocl::ProgramSource& source, string kernelName,
  46. ^~~~~~
  47. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:436:37: error: ‘vector’ does not name a type; did you mean ‘error’?
  48. CV_EXPORTS void merge(const vector<oclMat> &src, oclMat &dst);
  49. ^~~~~~
  50. error
  51. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:436:43: error: expected ‘,’ or ‘...’ before ‘<’ token
  52. CV_EXPORTS void merge(const vector<oclMat> &src, oclMat &dst);
  53. ^
  54. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:441:50: error: ‘vector’ has not been declared
  55. CV_EXPORTS void split(const oclMat &src, vector<oclMat> &dst);
  56. ^~~~~~
  57. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:441:56: error: expected ‘,’ or ‘...’ before ‘<’ token
  58. CV_EXPORTS void split(const oclMat &src, vector<oclMat> &dst);
  59. ^
  60. In file included from /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:10:
  61. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:942:13: error: ‘vector’ does not name a type; did you mean ‘error’?
  62. vector<CvSize> sizev;
  63. ^~~~~~
  64. error
  65. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:943:13: error: ‘vector’ does not name a type; did you mean ‘error’?
  66. vector<float> scalev;
  67. ^~~~~~
  68. error
  69. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1050:39: error: ‘vector’ does not name a type; did you mean ‘error’?
  70. void setSVMDetector(const vector<float> &detector);
  71. ^~~~~~
  72. error
  73. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1050:45: error: expected ‘,’ or ‘...’ before ‘<’ token
  74. void setSVMDetector(const vector<float> &detector);
  75. ^
  76. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1051:20: error: ‘vector’ does not name a type; did you mean ‘error’?
  77. static vector<float> getDefaultPeopleDetector();
  78. ^~~~~~
  79. error
  80. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1052:20: error: ‘vector’ does not name a type; did you mean ‘error’?
  81. static vector<float> getPeopleDetector48x96();
  82. ^~~~~~
  83. error
  84. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1053:20: error: ‘vector’ does not name a type; did you mean ‘error’?
  85. static vector<float> getPeopleDetector64x128();
  86. ^~~~~~
  87. error
  88. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1054:44: error: ‘vector’ has not been declared
  89. void detect(const oclMat &img, vector<Point> &found_locations,
  90. ^~~~~~
  91. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1054:50: error: expected ‘,’ or ‘...’ before ‘<’ token
  92. void detect(const oclMat &img, vector<Point> &found_locations,
  93. ^
  94. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1057:54: error: ‘vector’ has not been declared
  95. void detectMultiScale(const oclMat &img, vector<Rect> &found_locations,
  96. ^~~~~~
  97. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1057:60: error: expected ‘,’ or ‘...’ before ‘<’ token
  98. void detectMultiScale(const oclMat &img, vector<Rect> &found_locations,
  99. ^
  100. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp: In member function ‘cv::ocl::Hamming::ResultType cv::ocl::Hamming::operator()(const unsigned char*, const unsigned char*, int) const’:
  101. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1178:24: error: ‘normHamming’ was not declared in this scope
  102. return normHamming(a, b, size);
  103. ^~~~~~~~~~~
  104. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1178:24: note: suggested alternative: ‘Hamming’
  105. return normHamming(a, b, size);
  106. ^~~~~~~~~~~
  107. Hamming
  108. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp: At global scope:
  109. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1370:55: error: ‘vector’ has not been declared
  110. void downloadPoints(const oclMat &points, vector<Point2f> &points_v);
  111. ^~~~~~
  112. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1370:61: error: expected ‘,’ or ‘...’ before ‘<’ token
  113. void downloadPoints(const oclMat &points, vector<Point2f> &points_v);
  114. ^
  115. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1447:56: error: ‘vector’ has not been declared
  116. void buildImagePyramid(const oclMat &img0, vector<oclMat> &pyr, bool withBorder);
  117. ^~~~~~
  118. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1447:62: error: expected ‘,’ or ‘...’ before ‘<’ token
  119. void buildImagePyramid(const oclMat &img0, vector<oclMat> &pyr, bool withBorder);
  120. ^
  121. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1452:13: error: ‘vector’ does not name a type; did you mean ‘error’?
  122. vector<oclMat> prevPyr_;
  123. ^~~~~~
  124. error
  125. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1453:13: error: ‘vector’ does not name a type; did you mean ‘error’?
  126. vector<oclMat> nextPyr_;
  127. ^~~~~~
  128. error
  129. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp: In member function ‘void cv::ocl::PyrLKOpticalFlow::releaseMemory()’:
  130. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1439:17: error: ‘prevPyr_’ was not declared in this scope
  131. prevPyr_.clear();
  132. ^~~~~~~~
  133. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1439:17: note: suggested alternative: ‘vPyr_’
  134. prevPyr_.clear();
  135. ^~~~~~~~
  136. vPyr_
  137. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1440:17: error: ‘nextPyr_’ was not declared in this scope
  138. nextPyr_.clear();
  139. ^~~~~~~~
  140. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1440:17: note: suggested alternative: ‘uPyr_’
  141. nextPyr_.clear();
  142. ^~~~~~~~
  143. uPyr_
  144. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp: At global scope:
  145. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1955:9: error: expected class-name before ‘{’ token
  146. {
  147. ^
  148. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1973:9: error: expected class-name before ‘{’ token
  149. {
  150. ^
  151. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1979:23: error: ‘CvSVMParams’ has not been declared
  152. CvSVMParams params=CvSVMParams());
  153. ^~~~~~~~~~~
  154. /home/nonet/Downloads/git/opencv-2.4.13.6/modules/ocl/include/opencv2/ocl/ocl.hpp:1979:42: error: ‘CvSVMParams’ was not declared in this scope
  155. CvSVMParams params=CvSVMParams());
  156. ^~~~~~~~~~~
  157. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp: In function ‘PyObject* print_ocl_devices(PyObject*, PyObject*)’:
  158. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:71:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘cl_uint’ {aka ‘unsigned int’} [-Wsign-compare]
  159. for (int i = 0; i < n_platforms; i++) {
  160. ~~^~~~~~~~~~~~~
  161. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:89:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘cl_uint’ {aka ‘unsigned int’} [-Wsign-compare]
  162. for (int j = 0; j < n_devices; j++) {
  163. ~~^~~~~~~~~~~
  164. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp: In function ‘int ocl_device_is_compatible(char*, char*, char*, size_t, size_t*)’:
  165. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:145:42: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  166. compatible &= d_max_work_item_sizes[0] >= MIN_FB_WORK_ITEM_SIZES[0];
  167. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  168. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:146:42: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  169. compatible &= d_max_work_item_sizes[1] >= MIN_FB_WORK_ITEM_SIZES[1];
  170. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  171. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:147:42: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  172. compatible &= d_max_work_item_sizes[2] >= MIN_FB_WORK_ITEM_SIZES[2];
  173. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp: In function ‘PyObject* compat_ocl_device_available(PyObject*, PyObject*)’:
  175. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:166:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘cl_uint’ {aka ‘unsigned int’} [-Wsign-compare]
  176. for (int i = 0; i < n_platforms; i++) {
  177. ~~^~~~~~~~~~~~~
  178. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:177:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘cl_uint’ {aka ‘unsigned int’} [-Wsign-compare]
  179. for (int j = 0; j < n_devices; j++) {
  180. ~~^~~~~~~~~~~
  181. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp: In function ‘PyObject* select_ocl_device(PyObject*, PyObject*)’:
  182. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:219:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘cl_uint’ {aka ‘unsigned int’} [-Wsign-compare]
  183. for (int i = 0; i < n_platforms; i++) {
  184. ~~^~~~~~~~~~~~~
  185. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:230:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘cl_uint’ {aka ‘unsigned int’} [-Wsign-compare]
  186. for (int j = 0; j < n_devices; j++) {
  187. ~~^~~~~~~~~~~
  188. /tmp/pip-req-build-yCu801/butterflow/ocl.cpp:248:52: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘cl_uint’ {aka ‘unsigned int’} [-Wsign-compare]
  189. if (deviceInfo->deviceVendorId == d_vendor_id) {
  190. ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
  191. error: command 'gcc' failed with exit status 1
  192.  
  193. ----------------------------------------
  194. Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-yCu801/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-_zSCvT/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-yCu801/
  195. [nonet@pgs git]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement