Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

libcamera source code url        : https://github.com/kbingham/libcamera

libcamera soure code branch branch  : master

Pipewire Upgradation Errors and Challenges

Rev : 8b02645845bf404fba83910818b285b652f14f89(20Jul2022)

S.NoErrors/ChallengesSolution
1meson.build:
1
3:0: ERROR: Meson version is 0.53.2 but project requires >= 0.
59.0Modified
56

RDK-Camera build supported with 0.53 meson version

so, Changed meson version from 0.

59.0 to

56 into 0.

49.0

53 in meson.build file

2
  1. meson.build:
1
  1. 19:0: ERROR:
Value "true" for combo option is not one of the choices. Possible choices are: "enabled", "disabled", "auto".

Modified below details in meson_option.txt files

type → Feature to boolean

value → Disabled to false, Enabled to true, Auto to True

3meson.build:238:9: ERROR: 4
  1. Unknown method "project_build_root" in object.
Modified project_build_root into build_root in meson.build file
  1. include/libcamera/ipa/meson.build:
239
  1. 23:
9
  1. 0: ERROR: Unknown method "project_
source
  1. build_root" in object.
Modified project_source_root into source_root in meson.build file
  1.   
  2. include/libcamera/ipa/
5
  1. meson.build:
259
  1. 86:
0
  1. 4: ERROR:
Dependency "sdl2" not found, tried pkgconfig and config-toolDisabled sdl2 in meson_option.txt6meson.build:273:0: ERROR: Dependency "libpulse" not found, tried pkgconfigDisabled libpulse in meson_option.txt7meson.build:275:0: ERROR: Dependency "avahi-client" not found, tried pkgconfigDisabled avahi in meson_option.txt8meson.build:279:0: ERROR: Dependency "x11-xcb" not found, tried pkgconfigDisabled x11 in meson_option.txt9meson.build:283:0: ERROR: Dependency "xfixes" not found, tried pkgconfigDisabled x11-xfixes in meson_option.txt10meson.build:286:0: ERROR: Dependency "libcanberra" not found, tried pkgconfigDisabled libcanberra in meson_option.txt11meson.build:290:0: ERROR: Dependency "libusb-1.0" not found, tried pkgconfigDisabled libusb in meson_option.txtb12meson.build:330:6: ERROR: Unknown method "allowed" for a boolean.Removed allowed() method in meson.build13meson.build:332:0: ERROR: Dependency "webrtc-audio-processing" not found, tried pkgconfigDisabled echo-cancel-webrtc in meson_option.txt14meson.build:354:0: ERROR: Unknown method "enabled" for a boolean.Removed enabled object in meson.build15meson.build:370:0: ERROR: Dependency "lilv-0" not found, tried pkgconfigDisabled lv2 in meson_option.txt16spa/meson.build:20:6: ERROR: Unknown method "override_dependency" in object.Removed override_dependency used lines in /spa/meson.build17spa/meson.build:34:29: ERROR: Unknown method "allowed" for a boolean.Removed allowed method in spa/meson.build18spa/meson.build:49:4: ERROR: Dependency "ldacBT-enc" not found, tried pkgconfigDisabled bluez5-codec-ldac in meson_option.txt19spa/meson.build:53:4: ERROR: Dependency "libfreeaptx" not found, tried pkgconfigDisabled bluez5-codec-aptx in meson_option.txt20spa/meson.build:55:4: ERROR: Dependency "fdk-aac" not found, tried pkgconfigDisabled bluez5-codec-aac in meson_option.txt21spa/meson.build:65:2: ERROR: Dependency "libcamera" not found, tried pkgconfigDisabled libcamera in meson_option.txt22
  1. Unknown method "project_build_root" in object.
  2. src/libcamera/meson.build:118:0: ERROR: Unknown method "project_build_root" in object.
  3. test/serialization/generated_serializer/include/libcamera/ipa
spa/plugins
  1. /meson.build:4:
30
  1. 0: ERROR: Unknown method "
allowed" for a boolean.Removed allowed() method in spa/plugins/meson.build23

WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.51.0': dep.get_variable

spa/plugins/audioconvert/meson.build:133:2: ERROR: Function does not take positional arguments.

Disabled 'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable('plugindir')), this line in spa/plugins/audioconvert/meson.build and instead of this added 'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()), this line24

WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.51.0': dep.get_variable

spa/plugins/audioconvert/meson.build:165:2: ERROR: Function does not take positional arguments.

Disabled 'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable('plugindir')), this line in spa/plugins/audioconvert/meson.build and instead of this added 'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()), this line25spa/plugins/bluez5/meson.build:8:6: ERROR: Unknown method "allowed" for a boolean.Removed allowed object in spa/plugins/bluez5/meson.build26spa/plugins/support/meson.build:26:21: ERROR: Unknown method "allowed" for a boolean.Removed allowed object in spa/plugins/support/meson.build27
  1. project_build_root" in object.
  2. meson.build:164:0
spa/tests/meson.build:7:2
  1. : ERROR: Unknown method "project_
source
  1. build_root" in object.
Modified project_
source
build_root into
source_root in spa/tests/meson.
build
file28WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.51.0': dep.get
_
variable

spa/tests/meson.build:37:2: ERROR: Function does not take positional arguments.

Disabled 'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable('plugindir')), this line in spa/plugins/audioconvert/meson.build and instead of this added 'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_29src/pipewire/
root
()), this line
3
  1. meson.build:
136
  1. 19:
6
  1. 0: ERROR: Unknown method "
override
  1. project_source_
dependencysrc/daemon/
  1. root" in object.
Removed override_dependency used lines in src/pipewire/meson.build30
  1. include/libcamera/ipa/meson.build:
20
  1. 23:
24
  1. 0: ERROR: Unknown method "project_
buildsrc/daemon/
  1. source_root" in object.
Modified project_build_root into build_root in 30.src/daemon/meson.build file31
  1. include/libcamera/ipa/meson.build:
40:2: ERROR: Automatic wrap-based subproject downloading is disabledDisabled ms_proj = subproject('media-session', required : true) this line in src/daemon/meson.build32src/daemon/meson.build:46:2: ERROR: Unknown variable "ms_proj".Disabled ms_proj used lines33src/daemon/meson.build:47:14: ERROR: Unknown variable "ms_bindir".Removed ms_bindir used line34src/daemon/systemd/meson.build:1:40: ERROR: Unknown method "allowed" for a boolean.Removed allowed object in src/daemon/systemd/meson.build35
  1. 86:4: ERROR: Unknown method "project_source_root" in object.
  2. src/libcamera

WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.51.0': dep.get_variable

| src/daemon/systemd/user
  1. /meson.build:
1:0: ERROR: Function does not take positional arguments.Modified get_variable to get_pkgconfig_variable36src/tools/meson.build:37:24
  1. 114:0: ERROR: Unknown method "
allowed" for a boolean.Removed allowed object37

WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.51.0': dep.get_variable

src/modules/meson.build:356:0: ERROR: Function does not take positional arguments.

Disabled below lines

'SPA_PLUGIN_DIR=@0@'.format(spa_dep.get_variable('plugindir')),

'PIPEWIRE_CONFIG_DIR=@0@'.format(pipewire_dep.get_variable('confdatadir')),

'PIPEWIRE_MODULE_DIR=@0@'.format(pipewire_dep.get_variable('moduledir')),

    

Added below lines instead of above three lines

'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),

'PIPEWIRE_CONFIG_DIR=@0@/src/daemon/'.format(meson.build_root()),

'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.build_root())

  1. project_source_root" in object.
  2. src/libcamera
38src/modules
  1. /meson.build:
463
  1. 118:0
: ERROR: C library 'roc' not foundDisabled roc in meson_option.txt39src/meson.build
  1. :
6:26:
  1. ERROR: Unknown method "
allowed" for a boolean.Removed allowed method
  1. project_source_root" in object.
  2. test/serialization/generated_serializer/include/libcamera/ipa/meson.build:4:
40

WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.51.0': dep.get_variable

| src/tests/meson.build:9:2: ERROR: Function does not take positional arguments.

Disabled below lines
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),
'PIPEWIRE_CONFIG_DIR=@0@/src/daemon/'.format(meson.build_root()),
'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.build_root())

Added below lines instead of above three lines
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),
'PIPEWIRE_CONFIG_DIR=@0@/src/daemon/'.format(meson.build_root()),
'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.build_root())

41src/gst/meson.build:11:43: ERROR: Unknown method "allowed" for a boolean.Removed allowed method in src/gst/meson.build42test/meson.build:16:
  1. 0: ERROR: Unknown method "project_
build
  1. source_root" in object.
Modified project_build_root into build_root43
test/
  1. meson.build:
16
  1. 164:0: ERROR: Unknown method "project_source_root" in object.
Modified project_source_root into source_root
44
4
man
src/libcamera/meson.build:
24
95:
31
4: ERROR:
Unknown method "allowed" for a boolean.Removed allowed method45

WARNING: Project targeting '>= 0.49.0' but tried to use feature introduced in '0.51.0': dep.get_variable

| meson.build:455:7: ERROR: Function does not take positional arguments.

Disabled get_variable used lines in meson.build46meson.build:471:6: ERROR: Unknown method "add_devenv" in object.Disabled used add_devenv
Module cmake does not have method subproject_options.

Supported libyaml dependency component for libcamera.

Added 'libyaml' in libcamera bbappend DEPENDS variable.

Pushed above errors and challenges to meta-cmf-raspberrypi(rdk-next branch) layer.

Change set : https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi/+/73359