Introduction

This page is dedicated to bring up Pipewire(0.3.23->0.3.50) upgradation for RDK generic camera image.

Pipewire Upgradation Errors and Challenges

S.NoErrors/ChallengesSolution
1meson.build:1:0: ERROR: Meson version is 0.53.2 but project requires >= 0.59.0Modified meson version from 0.59.0 to 0.49.0 in meson.build
2meson.build:1: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: Unknown method "project_build_root" in object.Modified project_build_root into build_root in meson.build file
4meson.build:239:9: ERROR: Unknown method "project_source_root" in object.Modified project_source_root into source_root in meson.build file
5meson.build:259:0: ERROR: Dependency "sdl2" not found, tried pkgconfig and config-toolDisabled sdl2 in meson_option.txt
6meson.build:273:0: ERROR: Dependency "libpulse" not found, tried pkgconfigDisabled libpulse in meson_option.txt
7meson.build:275:0: ERROR: Dependency "avahi-client" not found, tried pkgconfigDisabled avahi in meson_option.txt
8meson.build:279:0: ERROR: Dependency "x11-xcb" not found, tried pkgconfigDisabled x11 in meson_option.txt
9meson.build:283:0: ERROR: Dependency "xfixes" not found, tried pkgconfigDisabled x11-xfixes in meson_option.txt
10meson.build:286:0: ERROR: Dependency "libcanberra" not found, tried pkgconfigDisabled libcanberra in meson_option.txt
11meson.build:290:0: ERROR: Dependency "libusb-1.0" not found, tried pkgconfigDisabled libusb in meson_option.txtb
12meson.build:330:6: ERROR: Unknown method "allowed" for a boolean.Removed allowed() method in meson.build
13meson.build:332:0: ERROR: Dependency "webrtc-audio-processing" not found, tried pkgconfigDisabled echo-cancel-webrtc in meson_option.txt
14meson.build:354:0: ERROR: Unknown method "enabled" for a boolean.Removed enabled object in meson.build
15meson.build:370:0: ERROR: Dependency "lilv-0" not found, tried pkgconfigDisabled lv2 in meson_option.txt
16spa/meson.build:20:6: ERROR: Unknown method "override_dependency" in object.Removed override_dependency used lines in /spa/meson.build
17spa/meson.build:34:29: ERROR: Unknown method "allowed" for a boolean.Removed allowed method in spa/meson.build
18spa/meson.build:49:4: ERROR: Dependency "ldacBT-enc" not found, tried pkgconfigDisabled bluez5-codec-ldac in meson_option.txt
19spa/meson.build:53:4: ERROR: Dependency "libfreeaptx" not found, tried pkgconfigDisabled bluez5-codec-aptx in meson_option.txt
20spa/meson.build:55:4: ERROR: Dependency "fdk-aac" not found, tried pkgconfigDisabled bluez5-codec-aac in meson_option.txt
21spa/meson.build:65:2: ERROR: Dependency "libcamera" not found, tried pkgconfigDisabled libcamera in meson_option.txt
22spa/plugins/meson.build:4:30: ERROR: Unknown method "allowed" for a boolean.Removed allowed() method in spa/plugins/meson.build
23

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 line
24

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 line
25spa/plugins/bluez5/meson.build:8:6: ERROR: Unknown method "allowed" for a boolean.Removed allowed object in spa/plugins/bluez5/meson.build
26spa/plugins/support/meson.build:26:21: ERROR: Unknown method "allowed" for a boolean.Removed allowed object in spa/plugins/support/meson.build
27spa/tests/meson.build:7:2: ERROR: Unknown method "project_source_root" in object.Modified project_source_root into source_root in spa/tests/meson.build file
28

WARNING: 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_root()), this line
29src/pipewire/meson.build:136:6: ERROR: Unknown method "override_dependency" in object.Removed override_dependency used lines in src/pipewire/meson.build
30src/daemon/meson.build:20:24: ERROR: Unknown method "project_build_root" in object.Modified project_build_root into build_root in 30.src/daemon/meson.build file
31src/daemon/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.build
32src/daemon/meson.build:46:2: ERROR: Unknown variable "ms_proj".Disabled ms_proj used lines
33src/daemon/meson.build:47:14: ERROR: Unknown variable "ms_bindir".Removed ms_bindir used line
34src/daemon/systemd/meson.build:1:40: ERROR: Unknown method "allowed" for a boolean.Removed allowed object in src/daemon/systemd/meson.build
35

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

| src/daemon/systemd/user/meson.build:1:0: ERROR: Function does not take positional arguments.

Modified get_variable to get_pkgconfig_variable
36src/tools/meson.build:37:24: ERROR: Unknown method "allowed" for a boolean.Removed allowed object
37

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())


38src/modules/meson.build:463:0: ERROR: C library 'roc' not foundDisabled roc in meson_option.txt
39src/meson.build:6:26: ERROR: Unknown method "allowed" for a boolean.Removed allowed method
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.build
42test/meson.build:16:0: ERROR: Unknown method "project_build_root" in object.Modified project_build_root into build_root
43test/meson.build:16:0: ERROR: Unknown method "project_source_root" in object.Modified project_source_root into source_root
44man/meson.build:24:31: ERROR: Unknown method "allowed" for a boolean.Removed allowed method
45

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.build
46meson.build:471:6: ERROR: Unknown method "add_devenv" in object.Disabled used add_devenv


Pipewire media-session Errors and Challenges

S.NoErrors/ChallengesSolution
1meson.build:1:0: ERROR: Meson version is 0.53.2 but project requires >= 0.56.0Modified meson version from 0.56.0 into 0.49.0 in meson.build
2meson.build:66:0: ERROR: Dependency "libpipewire-0.3" not found, tried pkgconfigAdded pipewire in media-session recipe dependancy variable
3systemd/meson.build:1:7: ERROR: Unknown method "disabled" for a boolean.Removed used disable in systemd/meson.build file
4meson.build:116:17: ERROR: Unknown method "project_source_root" in object.Modified project_source_root into source_root in meson.build
5meson.build:117:17: ERROR: Unknown method "project_build_root" in object.Modified project_build_root into build_root in meson.build
  • No labels