Advertisement
KunalA18

issue in building simple pipeline

May 29th, 2022
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 10.03 KB | None | 0 0
  1. ninja: Entering directory `build'
  2. [0/1] Regenerating build files.
  3. The Meson build system
  4. Version: 0.62.0
  5. Source dir: /home/pi/Desktop/GSOC/libcamera
  6. Build dir: /home/pi/Desktop/GSOC/libcamera/build
  7. Build type: native build
  8. Project name: libcamera
  9. Project version: 0.0.0
  10. C compiler for the host machine: cc (gcc 10.2.1 "cc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110")
  11. C linker for the host machine: cc ld.bfd 2.35.2
  12. C++ compiler for the host machine: c++ (gcc 10.2.1 "c++ (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110")
  13. C++ linker for the host machine: c++ ld.bfd 2.35.2
  14. Host machine cpu family: arm
  15. Host machine cpu: armv7l
  16. Header <unistd.h> has symbol "issetugid" : NO (cached)
  17. Header <stdlib.h> has symbol "secure_getenv" : YES (cached)
  18. Compiler for C supports arguments -Wno-c99-designator: NO (cached)
  19. Library lttng-ust found: NO
  20. Message: Enabling vimc pipeline handler to support tests
  21. Program ./parser.py found: YES (/home/pi/Desktop/GSOC/libcamera/utils/ipc/./parser.py)
  22. Program ./generate.py found: YES (/home/pi/Desktop/GSOC/libcamera/utils/ipc/./generate.py)
  23. Program ./extract-docs.py found: YES (/home/pi/Desktop/GSOC/libcamera/utils/ipc/./extract-docs.py)
  24. Program ./gen-tp-header.py found: YES (/home/pi/Desktop/GSOC/libcamera/utils/tracepoints/./gen-tp-header.py)
  25. Configuring version.h using configuration
  26. Program openssl found: YES (/usr/bin/openssl)
  27. Library atomic found: YES
  28. Library libdw found: YES
  29. Library libunwind found: YES
  30. Header <execinfo.h> has symbol "backtrace" : YES (cached)
  31. Dependency threads found: YES unknown (cached)
  32. Library dl found: YES
  33. Library gnutls found: YES
  34. Found pkg-config: /usr/bin/pkg-config (0.29.2)
  35. Found CMake: /usr/bin/cmake (3.18.4)
  36. Run-time dependency libudev found: NO (tried pkgconfig and cmake)
  37. Run-time dependency yaml-0.1 found: NO (tried pkgconfig and cmake)
  38.  
  39. Executing subproject libyaml method cmake
  40.  
  41. libyaml| DEPRECATION: CMake support for versions <3.17 is deprecated since Meson 0.62.0.
  42. libyaml| |
  43. libyaml| |   However, Meson was only able to find CMake .
  44. libyaml| |
  45. libyaml| |   Support for all CMake versions below 3.17.0 will be removed once
  46. libyaml| |   newer CMake versions are more widely adopted. If you encounter
  47. libyaml| |   any errors please try upgrading CMake to a newer version first.
  48.  
  49. libyaml| Found CMake: /usr/bin/cmake (3.18.4)
  50.  
  51. | Configuring the build directory with CMake version 3.18.4
  52. | Running CMake with: -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_POSITION_INDEPENDENT_CODE=ON
  53. |   - build directory:          /home/pi/Desktop/GSOC/libcamera/build/subprojects/libyaml/__CMake_build
  54. |   - source directory:         /home/pi/Desktop/GSOC/libcamera/subprojects/libyaml
  55. |   - toolchain file:           /home/pi/Desktop/GSOC/libcamera/build/subprojects/libyaml/__CMake_build/CMakeMesonToolchainFile.cmake
  56. |   - preload file:             /usr/local/lib/python3.9/dist-packages/mesonbuild/cmake/data/preload.cmake
  57. |   - trace args:               --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt
  58. |   - disabled policy warnings: [CMP0025, CMP0047, CMP0056, CMP0060, CMP0065, CMP0066, CMP0067, CMP0082, CMP0089, CMP0102]
  59.  
  60. | Running with expanded trace output on.
  61. | Not searching for unused variables given on the command line.
  62. | Trace will be written to cmake_trace.txt
  63. | -- The C compiler identification is GNU 10.2.1
  64. | -- Detecting C compiler ABI info
  65. | -- Detecting C compiler ABI info - done
  66. | -- Check for working C compiler: /usr/bin/cc - skipped
  67. | -- Detecting C compile features
  68. | -- Detecting C compile features - done
  69. | -- Configuring done
  70. | -- Generating done
  71. | -- Build files have been written to: /home/pi/Desktop/GSOC/libcamera/build/subprojects/libyaml/__CMake_build
  72.  
  73. libyaml| CMake configuration: SUCCEEDED
  74. libyaml| CMake project yaml has 42 build targets.
  75.  
  76. cmake-ast| Processing generated meson AST
  77. cmake-ast| Build file: /home/pi/Desktop/GSOC/libcamera/build/subprojects/libyaml/meson.build
  78.  
  79. libyaml| Project name: yaml
  80. libyaml| Project version: undefined
  81. libyaml| C compiler for the host machine: cc (gcc 10.2.1 "cc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110")
  82. libyaml| C linker for the host machine: cc ld.bfd 2.35.2
  83. libyaml| Build targets in project: 64
  84. libyaml| Subproject libyaml finished.
  85.  
  86.  
  87. Dependency libexif skipped: feature android disabled
  88. Dependency libjpeg skipped: feature android disabled
  89. Dependency libevent_pthreads found: YES 2.1.12-stable (cached)
  90. Run-time dependency GTest found: NO (tried pkgconfig and system)
  91. Looking for a fallback subproject for the dependency gtest
  92.  
  93. Executing subproject gtest
  94.  
  95. gtest| Project name: gtest
  96. gtest| Project version: 1.11.0
  97. gtest| C++ compiler for the host machine: c++ (gcc 10.2.1 "c++ (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110")
  98. gtest| C++ linker for the host machine: c++ ld.bfd 2.35.2
  99. gtest| Dependency threads found: YES unknown (cached)
  100. gtest| Dependency threads found: YES unknown (cached)
  101. gtest| Dependency threads found: YES unknown (cached)
  102. gtest| Dependency threads found: YES unknown (cached)
  103. gtest| Build targets in project: 72
  104. gtest| Subproject gtest finished.
  105.  
  106. Dependency gtest from subproject subprojects/googletest-release-1.11.0 found: YES 1.11.0
  107. Dependency libevent_pthreads found: YES 2.1.12-stable (cached)
  108. Dependency libdrm found: YES 2.4.104 (cached)
  109. sdl2-config found: NO
  110. Run-time dependency sdl2 found: NO (tried pkgconfig and config-tool)
  111. Run-time dependency sdl2_image found: NO (tried pkgconfig and cmake)
  112. Run-time dependency qt5 (modules: Core, Gui, Widgets) found: YES 5.15.2 (pkg-config)
  113. Dependency libtiff-4 found: YES 4.2.0 (cached)
  114. Header <QOpenGLWidget> has symbol "QOpenGLWidget" with dependencies Qt5Core, Qt5Core, Qt5Gui, Qt5Widgets: YES (cached)
  115. Detecting Qt5 tools
  116. Run-time dependency qt5 (modules: Core) found: YES 5.15.2 (pkg-config)
  117. Program /usr/lib/arm-linux-gnueabihf/qt5/bin/moc found: YES 5.15.2 (/usr/lib/arm-linux-gnueabihf/qt5/bin/moc)
  118. Program /usr/lib/arm-linux-gnueabihf/qt5/bin/uic found: YES 5.15.2 (/usr/lib/arm-linux-gnueabihf/qt5/bin/uic)
  119. Program /usr/lib/arm-linux-gnueabihf/qt5/bin/rcc found: YES 5.15.2 (/usr/lib/arm-linux-gnueabihf/qt5/bin/rcc)
  120. Program /usr/lib/arm-linux-gnueabihf/qt5/bin/lrelease found: NO
  121. Program lrelease-qt5 found: NO
  122. Program lrelease found: NO found  but need: '== 5.15.2' (/usr/bin/lrelease)
  123. Dependency glib-2.0 found: YES 2.66.8 (cached)
  124. Dependency gstreamer-video-1.0 found: YES 1.18.4 (cached)
  125. Dependency gstreamer-allocators-1.0 found: YES 1.18.4 (cached)
  126. Dependency python3 found: YES 3.9 (cached)
  127.  
  128. Executing subproject pybind11
  129.  
  130. pybind11| Project name: pybind11
  131. pybind11| Project version: 2.9.1
  132. pybind11| C++ compiler for the host machine: c++ (gcc 10.2.1 "c++ (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110")
  133. pybind11| C++ linker for the host machine: c++ ld.bfd 2.35.2
  134. pybind11| Build targets in project: 78
  135. pybind11| Subproject pybind11 finished.
  136.  
  137. Program doxygen found: NO
  138. Program dot found: NO
  139. Program sphinx-build-3 found: NO
  140. Program sphinx-build found: NO
  141. Dependency gstreamer-1.0 found: YES 1.18.4 (cached)
  142. Program python3 found: YES (/usr/bin/python3)
  143. Configuring config.h using configuration
  144. Program python3 (jinja2, ply, jinja2, yaml) found: YES (/usr/bin/python3) modules: jinja2, ply, jinja2, yaml
  145. Build targets in project: 156
  146.  
  147. libcamera 0.0.0
  148.  
  149.  Paths
  150.    LIBCAMERA_DATA_DIR       : "/usr/local/share/libcamera"
  151.    LIBCAMERA_SYSCONF_DIR    : "/usr/local/etc/libcamera"
  152.    IPA_PROXY_DIR            : "/usr/local/libexec/libcamera"
  153.    IPA_CONFIG_DIR           : "/usr/local/etc/libcamera/ipa:/usr/local/share/libcamera/ipa"
  154.    IPA_MODULE_DIR           : "/usr/local/lib/arm-linux-gnueabihf/libcamera"
  155.  
  156.  Configuration
  157.    Enabled pipelines        : simple
  158.                               vimc
  159.    Enabled IPA modules      : raspberrypi
  160.    Tracing support          : NO
  161.    Android support          : NO
  162.    GStreamer support        : YES
  163.    Python bindings          : YES
  164.    V4L2 emulation support   : NO
  165.    cam application          : YES
  166.    qcam application         : YES
  167.    lc-compliance application: YES
  168.    Unit tests               : YES
  169.  
  170.  Subprojects
  171.    gtest                    : YES
  172.    libyaml                  : YES
  173.    pybind11                 : YES
  174.  
  175.  User defined options
  176.    backend                  : ninja
  177.    ipas                     : raspberrypi
  178.    pipelines                : simple
  179.  
  180. Found ninja-1.10.1 at /usr/bin/ninja
  181. Cleaning... 0 files.
  182. [2/77] Generating symbol file src/libcamera/libcamera.so.0.0.0.p/libcamera.so.0.0.0.symbols
  183. FAILED: src/libcamera/libcamera.so.0.0.0.p/libcamera.so.0.0.0.symbols
  184. /usr/local/bin/meson --internal symbolextractor /home/pi/Desktop/GSOC/libcamera/build src/libcamera/libcamera.so.0.0.0 src/libcamera/libcamera.so.0.0.0 src/libcamera/libcamera.so.0.0.0.p/libcamera.so.0.0.0.symbols
  185. Traceback (most recent call last):
  186.  File "/usr/local/bin/meson", line 8, in <module>
  187.    sys.exit(main())
  188.  File "/usr/local/lib/python3.9/dist-packages/mesonbuild/mesonmain.py", line 269, in main
  189.    return run(sys.argv[1:], launcher)
  190.  File "/usr/local/lib/python3.9/dist-packages/mesonbuild/mesonmain.py", line 258, in run
  191.    return run_script_command(args[1], args[2:])
  192.  File "/usr/local/lib/python3.9/dist-packages/mesonbuild/mesonmain.py", line 201, in run_script_command
  193.    return module.run(script_args)
  194.  File "/usr/local/lib/python3.9/dist-packages/mesonbuild/scripts/symbolextractor.py", line 327, in run
  195.    gen_symbols(libfile, impfile, outfile, options.cross_host)
  196.  File "/usr/local/lib/python3.9/dist-packages/mesonbuild/scripts/symbolextractor.py", line 284, in gen_symbols
  197.    gnu_syms(libfilename, outfilename)
  198.  File "/usr/local/lib/python3.9/dist-packages/mesonbuild/scripts/symbolextractor.py", line 125, in gnu_syms
  199.    write_if_changed('\n'.join(result) + '\n', outfilename)
  200.  File "/usr/local/lib/python3.9/dist-packages/mesonbuild/scripts/symbolextractor.py", line 52, in write_if_changed
  201.    with open(outfilename, 'w', encoding='utf-8') as f:
  202. PermissionError: [Errno 13] Permission denied: 'src/libcamera/libcamera.so.0.0.0.p/libcamera.so.0.0.0.symbols'
  203. ninja: build stopped: subcommand failed.
  204.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement