Age | Commit message (Collapse) | Author |
|
This isn't complete still fails with:
http://errors.yoctoproject.org/Errors/Details/698131/
and after fixing this include (by dropping webrtc prefix), the other 2 includes don't exist anymore as well and fails with:
http://errors.yoctoproject.org/Errors/Details/698135/
FAILED: ext/webrtcdsp/libgstwebrtcdsp.so.p/gstwebrtcechoprobe.cpp.o
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot -Iext/webrtcdsp/libgstwebrtcdsp.so.p -Iext/webrtcdsp -I../gst-plugins-bad-1.22.0/ext/webrtcdsp -I. -I../gst-plugins-bad-1.22.0 -Igst-libs -I../gst-plugins-bad-1.22.0/gst-libs -Igst-libs/gst/audio -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/gstreamer-1.0 -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/glib-2.0 -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/lib/glib-2.0/include -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/orc-0.4 -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -Wno-non-virtual-dtor -fvisibility=hidden -fno-strict-aliasing -Wformat-nonliteral -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/gst-plugins-bad-1.22.0=/usr/src/debug/gstreamer1.0-plugins-bad/1.22.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/gst-plugins-bad-1.22.0=/usr/src/debug/gstreamer1.0-plugins-bad/1.22.0-r0 -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/build=/usr/src/debug/gstreamer1.0-plugins-bad/1.22.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/build=/usr/src/debug/gstreamer1.0-plugins-bad/1.22.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -fPIC -DWEBRTC_LIBRARY_IMPL -DWEBRTC_POSIX -DNOMINMAX -pthread -DHAVE_CONFIG_H -MD -MQ ext/webrtcdsp/libgstwebrtcdsp.so.p/gstwebrtcechoprobe.cpp.o -MF ext/webrtcdsp/libgstwebrtcdsp.so.p/gstwebrtcechoprobe.cpp.o.d -o ext/webrtcdsp/libgstwebrtcdsp.so.p/gstwebrtcechoprobe.cpp.o -c ../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp: In function 'gboolean gst_webrtc_echo_probe_setup(GstAudioFilter*, const GstAudioInfo*)':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp:105:8: error: 'webrtc' has not been declared
105 | (webrtc::AudioFrame::kMaxDataSizeSamples * 2) < self->period_size)
| ^~~~~~
In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gst.h:55,
from ../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.h:26,
from ../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp:34:
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp:117:7: error: 'webrtc' has not been declared
117 | webrtc::AudioFrame::kMaxDataSizeSamples, self->period_size / 2);
| ^~~~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro 'GST_CAT_LEVEL_LOG'
727 | (GObject *) (object), __VA_ARGS__); \
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp:114:3: note: in expansion of macro 'GST_WARNING_OBJECT'
114 | GST_WARNING_OBJECT (self, "webrtcdsp format produce too big period "
| ^~~~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp: In function 'gint gst_webrtc_echo_probe_read(GstWebrtcEchoProbe*, GstClockTime, gpointer, GstBuffer**)':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp:308:3: error: 'webrtc' has not been declared
308 | webrtc::AudioFrame * frame = (webrtc::AudioFrame *) _frame;
| ^~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp:308:24: error: 'frame' was not declared in this scope; did you mean '_frame'?
308 | webrtc::AudioFrame * frame = (webrtc::AudioFrame *) _frame;
| ^~~~~
| _frame
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp:308:33: error: 'webrtc' has not been declared
308 | webrtc::AudioFrame * frame = (webrtc::AudioFrame *) _frame;
| ^~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcechoprobe.cpp:308:53: error: expected primary-expression before ')' token
308 | webrtc::AudioFrame * frame = (webrtc::AudioFrame *) _frame;
| ^
FAILED: ext/webrtcdsp/libgstwebrtcdsp.so.p/gstwebrtcdsp.cpp.o
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot -Iext/webrtcdsp/libgstwebrtcdsp.so.p -Iext/webrtcdsp -I../gst-plugins-bad-1.22.0/ext/webrtcdsp -I. -I../gst-plugins-bad-1.22.0 -Igst-libs -I../gst-plugins-bad-1.22.0/gst-libs -Igst-libs/gst/audio -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/gstreamer-1.0 -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/glib-2.0 -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/lib/glib-2.0/include -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/orc-0.4 -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -Wno-non-virtual-dtor -fvisibility=hidden -fno-strict-aliasing -Wformat-nonliteral -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/gst-plugins-bad-1.22.0=/usr/src/debug/gstreamer1.0-plugins-bad/1.22.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/gst-plugins-bad-1.22.0=/usr/src/debug/gstreamer1.0-plugins-bad/1.22.0-r0 -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/build=/usr/src/debug/gstreamer1.0-plugins-bad/1.22.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/build=/usr/src/debug/gstreamer1.0-plugins-bad/1.22.0-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -fPIC -DWEBRTC_LIBRARY_IMPL -DWEBRTC_POSIX -DNOMINMAX -pthread -DHAVE_CONFIG_H -MD -MQ ext/webrtcdsp/libgstwebrtcdsp.so.p/gstwebrtcdsp.cpp.o -MF ext/webrtcdsp/libgstwebrtcdsp.so.p/gstwebrtcdsp.cpp.o.d -o ext/webrtcdsp/libgstwebrtcdsp.so.p/gstwebrtcdsp.cpp.o -c ../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp
In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/base/config.h:86,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/types/optional.h:38,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1/modules/audio_processing/include/audio_processing.h:26,
from ../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:74:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported."
79 | #error "C++ versions less than C++14 are not supported."
| ^~~~~
In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1/rtc_base/checks.h:58,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1/api/array_view.h:18,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1/modules/audio_processing/include/audio_processing.h:27:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/strings/string_view.h: In member function 'constexpr void absl::string_view::remove_prefix(size_type) const':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:340:10: error: assignment of member 'absl::string_view::ptr_' in read-only object
340 | ptr_ += n;
| ~~~~~^~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:341:13: error: assignment of member 'absl::string_view::length_' in read-only object
341 | length_ -= n;
| ~~~~~~~~^~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/strings/string_view.h: In member function 'constexpr void absl::string_view::remove_suffix(size_type) const':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:350:13: error: assignment of member 'absl::string_view::length_' in read-only object
350 | length_ -= n;
| ~~~~~~~~^~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/strings/string_view.h: In member function 'constexpr void absl::string_view::swap(absl::string_view&) const':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:358:13: error: passing 'const absl::string_view' as 'this' argument discards qualifiers [-fpermissive]
358 | *this = s;
| ^
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:161:7: note: in call to 'absl::string_view& absl::string_view::operator=(const absl::string_view&)'
161 | class string_view {
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: At global scope:
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:122:17: error: 'EchoCancellation' in namespace 'webrtc' does not name a type; did you mean 'EchoCanceller3Config'?
122 | typedef webrtc::EchoCancellation::SuppressionLevel GstWebrtcEchoSuppressionLevel;
| ^~~~~~~~~~~~~~~~
| EchoCanceller3Config
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'GType gst_webrtc_echo_suppression_level_get_type()':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:130:14: error: 'webrtc::EchoCancellation' has not been declared
130 | {webrtc::EchoCancellation::kLowSuppression, "Low Suppression", "low"},
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:131:14: error: 'webrtc::EchoCancellation' has not been declared
131 | {webrtc::EchoCancellation::kModerateSuppression,
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:133:14: error: 'webrtc::EchoCancellation' has not been declared
133 | {webrtc::EchoCancellation::kHighSuppression, "high Suppression", "high"},
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: At global scope:
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:144:17: error: 'NoiseSuppression' in namespace 'webrtc' does not name a type
144 | typedef webrtc::NoiseSuppression::Level GstWebrtcNoiseSuppressionLevel;
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'GType gst_webrtc_noise_suppression_level_get_type()':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:152:14: error: 'webrtc::NoiseSuppression' has not been declared
152 | {webrtc::NoiseSuppression::kLow, "Low Suppression", "low"},
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:153:14: error: 'webrtc::NoiseSuppression' has not been declared
153 | {webrtc::NoiseSuppression::kModerate, "Moderate Suppression", "moderate"},
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:154:14: error: 'webrtc::NoiseSuppression' has not been declared
154 | {webrtc::NoiseSuppression::kHigh, "High Suppression", "high"},
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:155:14: error: 'webrtc::NoiseSuppression' has not been declared
155 | {webrtc::NoiseSuppression::kVeryHigh, "Very High Suppression",
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: At global scope:
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:167:17: error: 'GainControl' in namespace 'webrtc' does not name a type
167 | typedef webrtc::GainControl::Mode GstWebrtcGainControlMode;
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'GType gst_webrtc_gain_control_mode_get_type()':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:175:14: error: 'webrtc::GainControl' has not been declared
175 | {webrtc::GainControl::kAdaptiveDigital, "Adaptive Digital", "adaptive-digital"},
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:176:14: error: 'webrtc::GainControl' has not been declared
176 | {webrtc::GainControl::kFixedDigital, "Fixed Digital", "fixed-digital"},
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: At global scope:
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:187:17: error: 'VoiceDetection' in namespace 'webrtc' does not name a type
187 | typedef webrtc::VoiceDetection::Likelihood GstWebrtcVoiceDetectionLikelihood;
| ^~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'GType gst_webrtc_voice_detection_likelihood_get_type()':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:195:14: error: 'webrtc::VoiceDetection' has not been declared
195 | {webrtc::VoiceDetection::kVeryLowLikelihood, "Very Low Likelihood", "very-low"},
| ^~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:196:14: error: 'webrtc::VoiceDetection' has not been declared
196 | {webrtc::VoiceDetection::kLowLikelihood, "Low Likelihood", "low"},
| ^~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:197:14: error: 'webrtc::VoiceDetection' has not been declared
197 | {webrtc::VoiceDetection::kModerateLikelihood, "Moderate Likelihood", "moderate"},
| ^~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:198:14: error: 'webrtc::VoiceDetection' has not been declared
198 | {webrtc::VoiceDetection::kHighLikelihood, "High Likelihood", "high"},
| ^~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: At global scope:
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:260:11: error: 'EchoCancellation' in namespace 'webrtc' does not name a type; did you mean 'EchoCanceller3Config'?
260 | webrtc::EchoCancellation::SuppressionLevel echo_suppression_level;
| ^~~~~~~~~~~~~~~~
| EchoCanceller3Config
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:262:11: error: 'NoiseSuppression' in namespace 'webrtc' does not name a type
262 | webrtc::NoiseSuppression::Level noise_suppression_level;
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:271:11: error: 'GainControl' in namespace 'webrtc' does not name a type
271 | webrtc::GainControl::Mode gain_control_mode;
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:274:11: error: 'VoiceDetection' in namespace 'webrtc' does not name a type
274 | webrtc::VoiceDetection::Likelihood voice_detection_likelihood;
| ^~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'GstFlowReturn gst_webrtc_dsp_analyze_reverse_stream(GstWebrtcDsp*, GstClockTime)':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:380:11: error: 'AudioFrame' is not a member of 'webrtc'
380 | webrtc::AudioFrame frame;
| ^~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:400:68: error: 'frame' was not declared in this scope
400 | delay = gst_webrtc_echo_probe_read (probe, rec_time, (gpointer) &frame, &buf);
| ^~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'void gst_webrtc_vad_post_activity(GstWebrtcDsp*, GstBuffer*, gboolean)':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:455:22: error: 'class webrtc::AudioProcessing' has no member named 'level_estimator'
455 | level = self->apm->level_estimator ()->RMS ();
| ^~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'GstFlowReturn gst_webrtc_dsp_process_stream(GstWebrtcDsp*, GstBuffer*)':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:493:13: error: 'AudioFrame' is not a member of 'webrtc'
493 | webrtc::AudioFrame frame;
| ^~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:494:5: error: 'frame' was not declared in this scope
494 | frame.num_channels_ = self->info.channels;
| ^~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:514:40: error: 'class webrtc::AudioProcessing' has no member named 'voice_detection'
514 | gboolean stream_has_voice = apm->voice_detection ()->stream_has_voice ();
| ^~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'gboolean gst_webrtc_dsp_start(GstBaseTransform*)':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:590:24: error: 'ExtendedFilter' is not a member of 'webrtc'
590 | config.Set < webrtc::ExtendedFilter >
| ^~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:590:24: error: 'ExtendedFilter' is not a member of 'webrtc'
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:591:12: error: expected type-specifier
591 | (new webrtc::ExtendedFilter (self->extended_filter));
| ^~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:594:24: error: 'DelayAgnostic' is not a member of 'webrtc'
594 | config.Set < webrtc::DelayAgnostic >
| ^~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:594:24: error: 'DelayAgnostic' is not a member of 'webrtc'
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:595:12: error: expected type-specifier
595 | (new webrtc::DelayAgnostic (self->delay_agnostic));
| ^~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:599:40: error: 'Create' is not a member of 'webrtc::AudioProcessing'
599 | self->apm = webrtc::AudioProcessing::Create (config);
| ^~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'gboolean gst_webrtc_dsp_setup(GstAudioFilter*, const GstAudioInfo*)':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:646:16: error: 'webrtc::AudioFrame' has not been declared
646 | (webrtc::AudioFrame::kMaxDataSizeSamples * 2) < self->period_size)
| ^~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:680:10: error: 'class webrtc::AudioProcessing' has no member named 'high_pass_filter'
680 | apm->high_pass_filter ()->Enable (true);
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:685:10: error: 'class webrtc::AudioProcessing' has no member named 'echo_cancellation'
685 | apm->echo_cancellation ()->enable_drift_compensation (false);
| ^~~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:686:10: error: 'class webrtc::AudioProcessing' has no member named 'echo_cancellation'
686 | apm->echo_cancellation ()
| ^~~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:687:40: error: 'GstWebrtcDsp' {aka 'struct _GstWebrtcDsp'} has no member named 'echo_suppression_level'
687 | ->set_suppression_level (self->echo_suppression_level);
| ^~~~~~~~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:688:10: error: 'class webrtc::AudioProcessing' has no member named 'echo_cancellation'
688 | apm->echo_cancellation ()->Enable (true);
| ^~~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:693:10: error: 'class webrtc::AudioProcessing' has no member named 'noise_suppression'
693 | apm->noise_suppression ()->set_level (self->noise_suppression_level);
| ^~~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:693:49: error: 'GstWebrtcDsp' {aka 'struct _GstWebrtcDsp'} has no member named 'noise_suppression_level'; did you mean 'noise_suppression'?
693 | apm->noise_suppression ()->set_level (self->noise_suppression_level);
| ^~~~~~~~~~~~~~~~~~~~~~~
| noise_suppression
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:694:10: error: 'class webrtc::AudioProcessing' has no member named 'noise_suppression'
694 | apm->noise_suppression ()->Enable (true);
| ^~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gst.h:55,
from ../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.h:26,
from ../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:71:
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:705:45: error: 'GstWebrtcDsp' {aka 'struct _GstWebrtcDsp'} has no member named 'gain_control_mode'; did you mean 'gain_control'?
705 | g_enum_get_value (mode_class, self->gain_control_mode)->value_name);
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro 'GST_CAT_LEVEL_LOG'
727 | (GObject *) (object), __VA_ARGS__); \
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:701:5: note: in expansion of macro 'GST_DEBUG_OBJECT'
701 | GST_DEBUG_OBJECT (self, "Enabling Digital Gain Control, target level "
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:709:10: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
709 | apm->gain_control ()->set_mode (self->gain_control_mode);
| ^~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:709:43: error: 'GstWebrtcDsp' {aka 'struct _GstWebrtcDsp'} has no member named 'gain_control_mode'; did you mean 'gain_control'?
709 | apm->gain_control ()->set_mode (self->gain_control_mode);
| ^~~~~~~~~~~~~~~~~
| gain_control
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:710:10: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
710 | apm->gain_control ()->set_target_level_dbfs (self->target_level_dbfs);
| ^~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:711:10: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
711 | apm->gain_control ()->set_compression_gain_db (self->compression_gain_db);
| ^~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:712:10: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
712 | apm->gain_control ()->enable_limiter (self->limiter);
| ^~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:713:10: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
713 | apm->gain_control ()->Enable (true);
| ^~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:722:17: error: 'GstWebrtcDsp' {aka 'struct _GstWebrtcDsp'} has no member named 'voice_detection_likelihood'
722 | self->voice_detection_likelihood)->value_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro 'GST_CAT_LEVEL_LOG'
727 | (GObject *) (object), __VA_ARGS__); \
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:719:5: note: in expansion of macro 'GST_DEBUG_OBJECT'
719 | GST_DEBUG_OBJECT (self, "Enabling Voice Activity Detection, frame size "
| ^~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:727:10: error: 'class webrtc::AudioProcessing' has no member named 'voice_detection'
727 | apm->voice_detection ()->Enable (true);
| ^~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:728:10: error: 'class webrtc::AudioProcessing' has no member named 'voice_detection'
728 | apm->voice_detection ()->set_likelihood (self->voice_detection_likelihood);
| ^~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:728:52: error: 'GstWebrtcDsp' {aka 'struct _GstWebrtcDsp'} has no member named 'voice_detection_likelihood'
728 | apm->voice_detection ()->set_likelihood (self->voice_detection_likelihood);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:729:10: error: 'class webrtc::AudioProcessing' has no member named 'voice_detection'
729 | apm->voice_detection ()->set_frame_size_ms (
| ^~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:731:10: error: 'class webrtc::AudioProcessing' has no member named 'level_estimator'
731 | apm->level_estimator ()->Enable (true);
| ^~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:743:15: error: 'webrtc::AudioFrame' has not been declared
743 | webrtc::AudioFrame::kMaxDataSizeSamples, self->period_size / 2);
| ^~~~~~~~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/gstreamer1.0-plugins-bad/1.22.0-r0/recipe-sysroot/usr/include/gstreamer-1.0/gst/gstinfo.h:727:31: note: in definition of macro 'GST_CAT_LEVEL_LOG'
727 | (GObject *) (object), __VA_ARGS__); \
| ^~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:740:3: note: in expansion of macro 'GST_WARNING_OBJECT'
740 | GST_WARNING_OBJECT (self, "webrtcdsp format produce too big period "
| ^~~~~~~~~~~~~~~~~~
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp: In function 'void gst_webrtc_dsp_set_property(GObject*, guint, const GValue*, GParamSpec*)':
../gst-plugins-bad-1.22.0/ext/webrtcdsp/gstwebrtcdsp.cpp:806:13: error: 'GstWebrtcDsp' {aka 'struct _GstWebrtcDsp'} has no member named 'echo_suppression_level'
806 | self->echo_suppression_level =
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
This isn't complete still fails with:
http://errors.yoctoproject.org/Errors/Details/698130/
and after fixing this include (by dropping webrtc prefix), the other 2 includes don't exist anymore as well and fails with:
http://errors.yoctoproject.org/Errors/Details/698132/
FAILED: src/modules/echo-cancel/libwebrtc-util.so.p/webrtc.cc.o
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot -Isrc/modules/echo-cancel/libwebrtc-util.so.p -Isrc/modules/echo-cancel -I../pulseaudio-16.1/src/modules/echo-cancel -I. -I../pulseaudio-16.1 -Isrc -I../pulseaudio-16.1/src -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/pulseaudio-16.1=/usr/src/debug/pulseaudio/16.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/pulseaudio-16.1=/usr/src/debug/pulseaudio/16.1-r0 -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/build=/usr/src/debug/pulseaudio/16.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/build=/usr/src/debug/pulseaudio/16.1-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -fPIC -DWEBRTC_LIBRARY_IMPL -DWEBRTC_POSIX -DNOMINMAX -DHAVE_CONFIG_H -D_GNU_SOURCE -D__INCLUDED_FROM_PULSE_AUDIO -MD -MQ src/modules/echo-cancel/libwebrtc-util.so.p/webrtc.cc.o -MF src/modules/echo-cancel/libwebrtc-util.so.p/webrtc.cc.o.d -o src/modules/echo-cancel/libwebrtc-util.so.p/webrtc.cc.o -c ../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc
In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/base/config.h:86,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/types/optional.h:38,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1/modules/audio_processing/include/audio_processing.h:26,
from ../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:37:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported."
79 | #error "C++ versions less than C++14 are not supported."
| ^~~~~
In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1/rtc_base/checks.h:58,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1/api/array_view.h:18,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/webrtc-audio-processing-1/modules/audio_processing/include/audio_processing.h:27:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/strings/string_view.h: In member function 'constexpr void absl::string_view::remove_prefix(size_type) const':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:340:10: error: assignment of member 'absl::string_view::ptr_' in read-only object
340 | ptr_ += n;
| ~~~~~^~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:341:13: error: assignment of member 'absl::string_view::length_' in read-only object
341 | length_ -= n;
| ~~~~~~~~^~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/strings/string_view.h: In member function 'constexpr void absl::string_view::remove_suffix(size_type) const':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:350:13: error: assignment of member 'absl::string_view::length_' in read-only object
350 | length_ -= n;
| ~~~~~~~~^~~~
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/strings/string_view.h: In member function 'constexpr void absl::string_view::swap(absl::string_view&) const':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:358:13: error: passing 'const absl::string_view' as 'this' argument discards qualifiers [-fpermissive]
358 | *this = s;
| ^
TOPDIR/tmp-glibc/work/core2-64-oe-linux/pulseaudio/16.1-r0/recipe-sysroot/usr/include/absl/strings/string_view.h:161:7: note: in call to 'absl::string_view& absl::string_view::operator=(const absl::string_view&)'
161 | class string_view {
| ^~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: In function 'int routing_mode_from_string(const char*)':
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:84:24: error: 'webrtc::EchoControlMobile' has not been declared
84 | return webrtc::EchoControlMobile::kQuietEarpieceOrHeadset;
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:86:24: error: 'webrtc::EchoControlMobile' has not been declared
86 | return webrtc::EchoControlMobile::kEarpiece;
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:88:24: error: 'webrtc::EchoControlMobile' has not been declared
88 | return webrtc::EchoControlMobile::kLoudEarpiece;
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:90:24: error: 'webrtc::EchoControlMobile' has not been declared
90 | return webrtc::EchoControlMobile::kSpeakerphone;
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:92:24: error: 'webrtc::EchoControlMobile' has not been declared
92 | return webrtc::EchoControlMobile::kLoudSpeakerphone;
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: At global scope:
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:97:60: error: expected class-name before '{' token
97 | class PaWebrtcTraceCallback : public webrtc::TraceCallback {
| ^
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:98:24: error: 'webrtc::TraceLevel' has not been declared
98 | void Print(webrtc::TraceLevel level, const char *message, int length)
| ^~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: In member function 'void PaWebrtcTraceCallback::Print(int, const char*, int)':
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:100:29: error: 'kTraceError' is not a member of 'webrtc'
100 | if (level & webrtc::kTraceError || level & webrtc::kTraceCritical)
| ^~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:100:60: error: 'kTraceCritical' is not a member of 'webrtc'
100 | if (level & webrtc::kTraceError || level & webrtc::kTraceCritical)
| ^~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:102:34: error: 'kTraceWarning' is not a member of 'webrtc'
102 | else if (level & webrtc::kTraceWarning)
| ^~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:104:34: error: 'kTraceInfo' is not a member of 'webrtc'
104 | else if (level & webrtc::kTraceInfo)
| ^~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: At global scope:
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:165:79: error: 'Point' is not a member of 'webrtc'
165 | static bool parse_mic_geometry(const char **mic_geometry, std::vector<webrtc::Point>& geometry) {
| ^~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:165:79: error: 'Point' is not a member of 'webrtc'
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:165:84: error: template argument 1 is invalid
165 | static bool parse_mic_geometry(const char **mic_geometry, std::vector<webrtc::Point>& geometry) {
| ^
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:165:84: error: template argument 2 is invalid
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: In function 'bool parse_mic_geometry(const char**, int&)':
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:202:30: error: request for member 'size' in 'geometry', which is of non-class type 'int'
202 | for (i = 0; i < geometry.size(); i++) {
| ^~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:209:27: error: request for member 'size' in 'geometry', which is of non-class type 'int'
209 | if (i != geometry.size() - 1) {
| ^~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:220:17: error: invalid types 'int[long unsigned int]' for array subscript
220 | geometry[i].c[0] = f[0];
| ^
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:221:17: error: invalid types 'int[long unsigned int]' for array subscript
221 | geometry[i].c[1] = f[1];
| ^
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:222:17: error: invalid types 'int[long unsigned int]' for array subscript
222 | geometry[i].c[2] = f[2];
| ^
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: In function 'bool pa_webrtc_ec_init(pa_core*, pa_echo_canceller*, pa_sample_spec*, pa_channel_map*, pa_sample_spec*, pa_channel_map*, pa_sample_spec*, pa_channel_map*, uint32_t*, const char*)':
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:358:28: error: 'ExtendedFilter' is not a member of 'webrtc'
358 | config.Set<webrtc::ExtendedFilter>(new webrtc::ExtendedFilter(true));
| ^~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:358:28: error: 'ExtendedFilter' is not a member of 'webrtc'
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:358:48: error: expected type-specifier
358 | config.Set<webrtc::ExtendedFilter>(new webrtc::ExtendedFilter(true));
| ^~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:371:17: error: 'webrtc::Trace' has not been declared
371 | webrtc::Trace::CreateTrace();
| ^~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:372:17: error: 'webrtc::Trace' has not been declared
372 | webrtc::Trace::set_level_filter(webrtc::kTraceAll);
| ^~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:372:49: error: 'kTraceAll' is not a member of 'webrtc'
372 | webrtc::Trace::set_level_filter(webrtc::kTraceAll);
| ^~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:374:17: error: 'webrtc::Trace' has not been declared
374 | webrtc::Trace::SetTraceCallback((PaWebrtcTraceCallback *) ec->params.webrtc.trace_callback);
| ^~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:381:29: error: 'Point' is not a member of 'webrtc'
381 | std::vector<webrtc::Point> geometry(rec_ss->channels);
| ^~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:381:29: error: 'Point' is not a member of 'webrtc'
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:381:34: error: template argument 1 is invalid
381 | std::vector<webrtc::Point> geometry(rec_ss->channels);
| ^
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:381:34: error: template argument 2 is invalid
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:382:17: error: 'SphericalPointf' is not a member of 'webrtc'
382 | webrtc::SphericalPointf direction(0.0f, 0.0f, 0.0f);
| ^~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:415:13: error: 'direction' was not declared in this scope; did you mean 'sigaction'?
415 | direction.s[0] = f[0];
| ^~~~~~~~~
| sigaction
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:421:32: error: 'Beamforming' is not a member of 'webrtc'
421 | config.Set<webrtc::Beamforming>(new webrtc::Beamforming(true, geometry));
| ^~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:421:32: error: 'Beamforming' is not a member of 'webrtc'
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:421:49: error: expected type-specifier
421 | config.Set<webrtc::Beamforming>(new webrtc::Beamforming(true, geometry));
| ^~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:423:32: error: 'Beamforming' is not a member of 'webrtc'
423 | config.Set<webrtc::Beamforming>(new webrtc::Beamforming(true, geometry, direction));
| ^~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:423:32: error: 'Beamforming' is not a member of 'webrtc'
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:423:49: error: expected type-specifier
423 | config.Set<webrtc::Beamforming>(new webrtc::Beamforming(true, geometry, direction));
| ^~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:426:36: error: 'Create' is not a member of 'webrtc::AudioProcessing'
426 | apm = webrtc::AudioProcessing::Create(config);
| ^~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:440:14: error: 'class webrtc::AudioProcessing' has no member named 'high_pass_filter'
440 | apm->high_pass_filter()->Enable(true);
| ^~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:443:14: error: 'class webrtc::AudioProcessing' has no member named 'echo_cancellation'
443 | apm->echo_cancellation()->enable_drift_compensation(ec->params.drift_compensation);
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:444:14: error: 'class webrtc::AudioProcessing' has no member named 'echo_cancellation'
444 | apm->echo_cancellation()->Enable(true);
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:446:14: error: 'class webrtc::AudioProcessing' has no member named 'echo_control_mobile'
446 | apm->echo_control_mobile()->set_routing_mode(static_cast<webrtc::EchoControlMobile::RoutingMode>(rm));
| ^~~~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:446:74: error: 'EchoControlMobile' in namespace 'webrtc' does not name a type; did you mean 'EchoControl'?
446 | apm->echo_control_mobile()->set_routing_mode(static_cast<webrtc::EchoControlMobile::RoutingMode>(rm));
| ^~~~~~~~~~~~~~~~~
| EchoControl
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:446:91: error: expected '>' before '::' token
446 | apm->echo_control_mobile()->set_routing_mode(static_cast<webrtc::EchoControlMobile::RoutingMode>(rm));
| ^~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:446:91: error: expected '(' before '::' token
446 | apm->echo_control_mobile()->set_routing_mode(static_cast<webrtc::EchoControlMobile::RoutingMode>(rm));
| ^~
| (
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:446:93: error: '::RoutingMode' has not been declared
446 | apm->echo_control_mobile()->set_routing_mode(static_cast<webrtc::EchoControlMobile::RoutingMode>(rm));
| ^~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:447:14: error: 'class webrtc::AudioProcessing' has no member named 'echo_control_mobile'
447 | apm->echo_control_mobile()->enable_comfort_noise(cn);
| ^~~~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:448:14: error: 'class webrtc::AudioProcessing' has no member named 'echo_control_mobile'
448 | apm->echo_control_mobile()->Enable(true);
| ^~~~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:452:14: error: 'class webrtc::AudioProcessing' has no member named 'noise_suppression'
452 | apm->noise_suppression()->set_level(webrtc::NoiseSuppression::kHigh);
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:452:53: error: 'webrtc::NoiseSuppression' has not been declared
452 | apm->noise_suppression()->set_level(webrtc::NoiseSuppression::kHigh);
| ^~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:453:14: error: 'class webrtc::AudioProcessing' has no member named 'noise_suppression'
453 | apm->noise_suppression()->Enable(true);
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:457:37: error: 'webrtc::EchoControlMobile' has not been declared
457 | if (mobile && rm <= webrtc::EchoControlMobile::kEarpiece) {
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:459:18: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
459 | apm->gain_control()->set_mode(webrtc::GainControl::kFixedDigital);
| ^~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:459:51: error: 'webrtc::GainControl' has not been declared
459 | apm->gain_control()->set_mode(webrtc::GainControl::kFixedDigital);
| ^~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:462:18: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
462 | apm->gain_control()->set_mode(webrtc::GainControl::kAdaptiveDigital);
| ^~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:462:51: error: 'webrtc::GainControl' has not been declared
462 | apm->gain_control()->set_mode(webrtc::GainControl::kAdaptiveDigital);
| ^~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:465:18: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
465 | apm->gain_control()->set_mode(webrtc::GainControl::kAdaptiveAnalog);
| ^~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:465:51: error: 'webrtc::GainControl' has not been declared
465 | apm->gain_control()->set_mode(webrtc::GainControl::kAdaptiveAnalog);
| ^~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:466:22: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
466 | if (apm->gain_control()->set_analog_level_limits(0, WEBRTC_AGC_MAX_VOLUME) !=
| ^~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:474:14: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
474 | apm->gain_control()->Enable(true);
| ^~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:478:14: error: 'class webrtc::AudioProcessing' has no member named 'voice_detection'
478 | apm->voice_detection()->Enable(true);
| ^~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:500:17: error: 'webrtc::Trace' has not been declared
500 | webrtc::Trace::ReturnTrace();
| ^~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: In function 'void pa_webrtc_ec_record(pa_echo_canceller*, const uint8_t*, uint8_t*)':
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:541:14: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
541 | apm->gain_control()->set_stream_analog_level(old_volume);
| ^~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:556:31: error: 'class webrtc::AudioProcessing' has no member named 'gain_control'
556 | new_volume = apm->gain_control()->stream_analog_level();
| ^~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: In function 'void pa_webrtc_ec_set_drift(pa_echo_canceller*, float)':
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:569:10: error: 'class webrtc::AudioProcessing' has no member named 'echo_cancellation'
569 | apm->echo_cancellation()->set_stream_drift_samples(drift * ec->params.webrtc.blocksize);
| ^~~~~~~~~~~~~~~~~
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc: In function 'void pa_webrtc_ec_done(pa_echo_canceller*)':
../pulseaudio-16.1/src/modules/echo-cancel/webrtc.cc:581:17: error: 'webrtc::Trace' has not been declared
581 | webrtc::Trace::ReturnTrace();
| ^~~~~
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
This reverts commit 33d9b3a8ed186c2d212acb83f715367912010e7f.
The reverted patch was forcing systemd to do preset-all at boot time (first boot)
in a function that simuilates 'preset-all' at rootfs time. This is not right.
To force a first boot, just do not run this function, as said in the comment:
"""
# If we populate the systemd links we also create /etc/machine-id, which
# allows systemd to boot with the filesystem read-only before generating
# a real value and then committing it back.
#
# For the stateless configuration, where /etc is generated at runtime
# (for example on a tmpfs), this script shouldn't run at all and we
# allow systemd to completely populate /etc.
"""
For example, removing 'systemd_preset_all;' from IMAGE_PREPROCESS_COMMAND in some
distro conf file will achieve the same effect of the original patch.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
There should not be any network access during the build step so
specify this explicitely to cargo.
This will allow better error message, e.g:
| Caused by:
| can't checkout from 'ssh://git@.../fmartinsons/zbus-git-dep-test.git': you are in the offline mode (--offline)
Instead of
| Updating git repository `ssh://git@.../fmartinsons/zbus-git-dep-test.git`
| warning: spurious network error (2 tries remaining): failed to resolve address for gitlab.com: Temporary failure in name resolution;class=Net (12)
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Backport patches to fix raid0 tests:
tests/00raid0
tests/00readonly
tests/03r0assem
tests/04r0update
tests/04update-metadata
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Backport patch [1] to fix tests/02lineargrow.
[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=a2c832465fc75202e244327b2081231dfa974617
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Backport patch [1] to fix the failure of the 06wrmostly test.
[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=41edf6f45895193f4a523cb0a08d639c9ff9ccc9
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Fix an issue introduced in the new openssl version where an assembler file
isn't generated in a reproducible way by seeding the perl random number
generator consistently. It has no crypto impact, it is just used to
avoid function name clashes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
>From the NEWS.md file:
### Major changes between OpenSSL 3.0 and OpenSSL 3.1.0 [14 Mar 2023]
* SSL 3, TLS 1.0, TLS 1.1, and DTLS 1.0 only work at security level 0.
* Performance enhancements and new platform support including new
assembler code algorithm implementations.
* Deprecated LHASH statistics functions.
* FIPS 140-3 compliance changes.
Drop the upstreamed afalg.patch:
c425e365f4 Configure: don't try to be clever when configuring afalgeng
Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Changelog:
==========
* Fix socket timeout value when "HTTPConnection" is reused ('#2645 <https://github.com/urllib3/urllib3/issues/2645>'__)
* Remove "!" character from the unreserved characters in IPv6 Zone ID parsing
('#2899 <https://github.com/urllib3/urllib3/issues/2899>'__)
* Fix IDNA handling of '\x80' byte ('#2901 <https://github.com/urllib3/urllib3/issues/2901>'__)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Improvements
------------
* Add support for Python 3.10 and 3.11.
* Drop support for Python 3.5 (EOL).
* Distutils integration is deprecated and will be removed in the next major
version.
* Use "CompoundFixture" from "fixtures>=2.0" rather than rolling our
own.
* Provide a "testtools[twisted]" extra documenting dependencies needed for
"testtools.twistedsupport".
* Make "TestCase" hashable.
* Prevent "AttributeError" in "TestCase.__eq__" for objects lacking a
"__dict__" attribute.
* Replace deprecated "cgi" module usage with "email".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Changelog:
==========
- Fix a problem in 4.5.0 where using something like the following code
will cause a Clone()'d environment to share the CPPDEFINES with the
original Environment() which was cloned. Causing leakage of changes
to CPPDEFINES when they should be completely independent after the Clone.
env=Environment(CPPDEFINES=['a'])
env.Append(CPPDEFINES=['b']) (or AppendUnique,Prepend,PrependUnique)
env1=env.Clone()
env1.Append(CPPDEFINES=['c']) (or any other modification, but not overwriting CPPDEFINES
Now env['CPPDEFINES'] will contain 'c' when it should not.
- Do not initialize DefaultEnvironment when calling EnsureSConsVersion(),
EnsurePythonVersion(), Exit(), GetLaunchDir() and SConscriptChdir().
- Remove unused private method SConsEnvironment._exceeds_version().
- Added ValidateOptions() which will check that all command line options are in either
those specified by SCons itself, or by AddOption() in SConstruct/SConscript. It should
not be called until all AddOption() calls are completed. Resolves Issue #4187
- Refactored SCons/Taskmaster into a package. Moved SCons/Jobs.py into that package.
NOTE: If you hook into SCons.Jobs, you'll have to change that to use SCons.Taskmaster.Jobs
- Changed the Taskmaster trace logic to use python's logging module. The output formatting
should remain (mostly) the same. Minor update to unittest for this to adjust for 1 less newline.
- Migrated logging logic for --taskmastertrace to use Python's logging module. Added logging
to NewParallel Job class (Andrew Morrow's new parallel job implementation)
- Ninja: Fix execution environment sanitation for launching ninja. Previously if you set an
execution environment variable set to a python list it would crash. Now it
will create a string joining the list with os.pathsep
- Move execution environment sanitation from Action._subproc() to
SCons.Util.sanitize_shell_env(ENV)
- Moved rpm and debian directories under packaging
- Added logic to help packagers enable reproducible builds into packaging/etc/. Please
read packaging/etc/README.txt if you are interested.
- Added --experimental=tm_v2, which enables Andrew Morrow's new NewParallel Job implementation.
This should scale much better for highly parallel builds. You can also enable this via SetOption().
- Fixed command line argument --diskcheck: previously a value of 'none' was ignored.
SetOption('diskcheck','none') is unaffected, as it did not have the problem.
- Added overrides argument to SCons.Subst.scons_subst(), subst_list(), subst(), and Action's process(),
strfunction(). This allows passing a dictionary of envvars to override when evaluating subst()'d strings/lists
- Fixed Issue #4275 - when outputting compilation db and TEMPFILE was in use, the compilation db would have
command lines using the generated tempfile for long command lines, instead of the full command line for
the compilation step for the source/target pair.
- Renamed the qt tools to qt3 since the logic in that tool is only for QT version 3. Renamed all env vars
which affect qt3 from QT_ to QT3_. If you are still using SCons to build QT 3 code, you'll need to update
your SConscripts. Note that using 'qt' tool has been deprecated for some time.
- Added JAVAPROCESSORPATH construction variable which populates -processorpath.
- Updated JavaScanner to scan JAVAPROCESSORPATH.
- Added FILE_ENCODING, to allow explicitly setting the text encoding for files
written by the Textfile() and Substfile() builders. If not specified, Textfile() and Substfile() builders
will write files as UTF-8. Fixed Issue #4302.
- Add newline to end of compilation db (compile_commands.json).
- Added error message to handle the case when SCons attempts to retrieve all the targets
for a specified builder from the CacheDir, fails to do so, and then runs into an error
when deleting the files which were retrieved. Previously if this happened there was no
errors or warnings.
- Fix issue #2757, where Configure checks that perform a check which reads a modified source
(including program, source or header file(s)) would incorrectly mark that file "up to date" so the
actual build would not see the file as modified. Leading to incorrect incremental builds.
Now configure checks now clear node info for non conftest nodes, so they will be re-evaluated for
the real taskmaster run when the build commences.
- Avoid returning UniqueList for `children` and other `Executor` APIs. This type
iterates more slowly than the builtin types. Also simplify uniquer_hashables to
use an faster implementation under the assumption of ordered dictionaries.
- Fixed runtest.py failure on Windows caused by excessive escaping of the path to python.exe.
- Run LaTeX after biber/bibtex only if necessary
- Added -fsanitize support to ParseFlags(). This will propagate to CCFLAGS and LINKFLAGS.
- A list argument as the source to the Copy() action function is now
correctly handled by converting elements to string. Copy errors out
if asked to copy a list to an existing non-directory destination.
Both the implementation and the strfunction which prints the progress
message were adjusted. Fixes #3009.
- doc: EnsureSConsVersion, EnsurePythonVersion, Exit, GetLaunchDir and
SConscriptChdir are now listed as Global functions only; the
Environment versions still work but are not documented.
- The Java scanner processing of JAVACLASSPATH for dependencies was
changed to split on os.pathsep instead of space, to match usage of
passing a path string like "xxx:yyy:zzz". This is not portable -
passing a POSIX-style path string (with ':') won't work on Windows
(';') - which is now documented with a hint to use a list instead
to be portable. Splitting on space broke paths with embedded spaces.
Fixes #4243.
- Cleanup: make sure BoolVariable usage in tests and examples uses Python
boolean values instead of 0/1.
- Stop telling people to run "python setup.py install" in the User Guide.
Adds new content on using virtualenvs to be able to have multiple
different SCons versions available on one system.
- Added the "DefaultEnvironment(tools=[])" stanza to a number of tests
that are known to be particularly slow. It's still just a tiny
speedup, but the Windows CI had been occasionally timing out,
so maybe this helps a bit.
- Remove an extra existence check in one ninja test that caused it
to be skipped on some otherwise-valid Windows installations.
- test framework tests now pass on Linux and Windows (the latter can
still run into problems on some configurations), and automated
tests are now run on changes in this area so future problems can
be spotted.
- The single-file Util module was split into a package with a few
functional areas getting their own files - Util.py had grown to
over 2100 lines.
- Add a zipapp package of scons-local: can use SCons from a local
file which does not need unpacking.
- Additional explanations for MSVSProject and MSVSSolution builders.
- Fix a problem (present in 4.4.0 only) where a Java inner class could
not be cached because the emitted filename contained a '$' and when
looked up through a node ended up generating a Python SyntaxError
because it was passed through scons_subst().
- Have the gfortran tool do a better job of honoring user preferences
for the dialect tools (F77, F90, F03 and F09, as well as the shared-library
equivalents SHF77, SHF90, SHF03, SHF09). Previously these were
unconditionally overwritten to 'gfortran'; the change should be more
in line with expectations of how these variables should work.
Also cleaned a few Fortran tests - test behavior does not change.
- Updated MSVC documentation - adds "version added" annotations on recently
added construction variables and provides a version-mapping table.
- Add Python 3.12 support, and indicate 3.11/3.12 support in package.
3.12 is in alpha for this SCons release, the bytecode sequences
embedded in SCons/ActionTests.py may need to change later, but
based on what is known now, 3.12 itself should work with this release.
- Add "append" keyword argument to Configure context's CheckLib and
CheckLibWithHeader to control whether to append or prepend (issue #2767)
Also added "unique" keyword, to control whether a library is added
or not if it is already in the $LIBS construction var in the
configure context. (issue #2768).
- Completely refactored the CPPDEFINES logic in Append/AppendUnique/Prepend/PrependUnique
This change fixes the following GH Issues:
- GH Issue #3876 - Append() and AppendUnique() will handle CPPDEFINES the same
- GH Issue #4254 - Make handling tuples in CPPDEFINES consistent.
- We no longer sort the keys added to CPPDEFINES by their dictionary keys.
We take advantage that their order is now stable based on insertion order
in Python 3.5+
- Added/modifed unit and system tests to verify these changes.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Bug Fixes
=========
#10533: Fixed pytest.approx() handling of dictionaries containing one or more values of 0.0.
#10592: Fixed crash if --cache-show and --help are passed at the same time.
#10597: Fixed bug where a fixture method named teardown would be called as part of nose teardown stage.
#10626: Fixed crash if --fixtures and --help are passed at the same time.
#10660: Fixed pytest.raises() to return a ‘ContextManager’ so that type-checkers could narrow pytest.raises(...) if ... else nullcontext() down to ‘ContextManager’ rather than ‘object’.
Improved Documentation
======================
#10690: Added CI and BUILD_NUMBER environment variables to the documentation.
#10721: Fixed entry-points declaration in the documentation example using Hatch.
#10753: Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Fixed
=======
Fix an issue where wheels built on Windows could contain duplicate entries in the RECORD file (#555).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Changelog:
=========
#3804: Added caching for supported wheel tags.
#3846: Added pruning heuristics to PackageFinder based on exclude.
#3843: Although pkg_resources has been discouraged for use, some projects still
consider pkg_resources viable for usage. This change makes it clear that
pkg_resources should not be used, emitting a DeprecationWarning when imported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Bug fixes
==========
With -P, some non-ASCII UTF8 characters were not recognized as
word-constituent due to our omission of the PCRE2_UCP flag. E.g.,
given f(){ echo Perú|LC_ALL=en_US.UTF-8 grep -Po "$1"; } and
this command, echo $(f 'r\w'):$(f '.\b'), before it would print ":r".
After the fix, it prints the correct results: "rú:ú".
When given multiple patterns the last of which has a back-reference,
grep no longer sometimes mistakenly matches lines in some cases.
[Bug#36148#13 introduced in grep 3.4]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
License changes were the addition of SPDX license headers and license
header fixes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
License changes were the addition of SPDX license headers and license
header fixes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
License changes were the addition of SPDX license headers and license
header fixes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
License changes were the addition of SPDX license headers and license
header fixes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Drop a patch merged in the upstream repo.
License changes are due to the addition of SPDX license headers.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Fix following ptest failure:
/usr/lib64/cpio/ptest/run-ptest: line 7: cd: /usr/lib/cpio/ptest/tests/: No such file or directory
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
* passing -std=c2x to avoid build failure with gcc-13 on host
works as well, but the resulting zic then segfaults when
used in tzdata, use a fix from upstream instead
* reported upstream in https://mm.icann.org/pipermail/tz/2023-March/032690.html
* fixes:
http://errors.yoctoproject.org/Errors/Details/697913/
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
* avoid copying whole exec_prefix over base_prefix as there
were only zoneinfo files anyway
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This incorporates fixes for CVE-2023-1127, CVE-2023-1170, CVE-2023-1175.
Also remove runtime/doc/uganda.txt from the license checksum: the Vim
license is also in the top-level LICENSE file so this is redundant.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
hwclock command fails on read-only-rootfs:
AssertionError: 1 != 0 : Failed to reset RTC time, output: hwclock: cannot open /etc/adjtime: Read-only file system
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Clause II.3 of the Vim license states that any distribution of Vim that
has been extended or modified must _at least_ indicate in the :version
output that this is the case.
Handily, Vim has a --with-modified-by argument to add a line in that
text, so use MAINTAINER. This is the distribution maintainer contact,
by default it is OE-Core Developers
<openembedded-core@lists.openembedded.org>.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
meta/classes-recipe/npm.bbclass:85: DeprecationWarning: invalid escape sequence '\.'
'--transform', 's,^\./,package/,',
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
* there are few more autodetected compression libs
--disable-zlib disable zlib compression support [default=auto]
--disable-bzlib disable bz2lib compression support [default=auto]
--disable-xzlib disable liblzma/xz compression support
--disable-zstdlib disable zstdlib compression support [default=auto]
--disable-lzlib disable liblz (lzip) compression support
and lzlib was detected on my gentoo (even when it doesn't say that default
is auto detection)
I've noticed this, because I've reused sstate-cache from my gentoo build
in docker container with ubuntu-23.04 and esdk.oeSDKExtSelfTest.test_install_libraries_headers
test was now failing with:
Exception: subprocess.CalledProcessError: Command '/OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c --update -q /OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-sdk-repo' returned non-zero exit status 127.
Subprocess output:
/OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c: error while loading shared libraries: liblz.so.1: cannot open shared object file: No such file or directory
and liblz.so.1 ended in createrepo_c.real because of libmagic.so from file-native-replacement.
* use PACKAGECONFIG for seccomp as well and keep it disabled as it was
explicitly disabled before (${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)}
can be added to default PACKAGECONFIG later if someone finds it useful)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
All golang vulnerabilities are reported under product 'go'.
By default there is no vulnerability reported for images with
golang components because none of used golang packages
have correct CVE product set:
* go-binary-native
* go-runtime
* go-cross-*
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Split out the QEMU guest agent into a separate package. The agent is
intended to be installed within a QEMU VM guest where a user is likely
to not want to have the rest of the QEMU installation within it.
Additionally, an initscript, udev rules file, and systemd unit file are
added to the package so that the guest agent can start automatically;
the former two come from Debian's packaging for qemu-guest-agent.
Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Make sure to expand all MKUBIFS_ARGS_<label> and UBINIZE_ARGS_<label> vars
in 'do_image_multiubi' task to use them to init the local 'mkubifs_args'
and 'ubinize_args' vars.
See [YOCTO #15065]
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Some packages like lirc places its unit files into $systemd_user_unitdir
and also uses them in SYSTEMD_SERVICE list in recipe. This fails in
do_package
ERROR: Didn't find service unit 'lircmd.service', specified in SYSTEMD_SERVICE:lirc.
here lircmd.service is installed in /usr/lib/systemd/system/lircmd.service
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This allows avoiding clashes between source archives of a main
project and a pypi project using the same name and version.
The new optional setting is PYPI_ARCHIVE_NAME_PREFIX which is empty
by default so previous downloads can be used. Example usage:
PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
As vname var is needed in multiubi_mkfs() function, we need to keep it
defined and use it as parameter to the new write_ubi_config() function.
See [YOCTO #15027]
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The LICENSE did not have complete information.
Some examples of missing license:
Zlib: deps/zlib/
ISC: tests/clar/clar.c
LGPL-2.1-or-later: src/libgit2/xdiff/xdiffi.c
CC0-1.0: src/util/rand.c
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Current patch with fail when stdint.h is in include path before this
typedef which can also happen with re-includes. Therefore shunt that
by defining __DEFINED_wchar_t which helps musl builds of systemd-boot
recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
All the usage sites remove the -ptest suffix. Simply the original list
instead and clean up the code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Replace the two images where tests are run serially with an image
per ptest in the form core-image-ptest-XXX using class extensions.
The original two images are then replaced with dependencies on these
images. This allows parallel execution of the tests.
The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.
A useful advantage is that the dependencies of each ptest package are
checked/tested indvidually.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This was likely something we took inspiration from elsewhere with.
It was added in:
https://git.openembedded.org/openembedded/commit/packages/netbase/netbase/hosts?id=c8e5702127e507e82e6f68a4b8c546803accea9d
in 2005. Debian added this entry around 2004 and discussed and dropped
it in 2005:
https://lists.debian.org/debian-devel/2005/10/msg00559.html
resulting in:
https://salsa.debian.org/installer-team/netcfg/-/commit/3c15ee521b2b8f47b34ccc7f610523cd284f2221
We should drop this for some of the reasons in those threads,
it doesn't seem to be doing anything too helpful and isn't what most
applications expect.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
By splitting the single class into multiple classes, it allows more parallelism
in the execution. These tests don't have interdependencies that benefit
from sstate reuse or anything like that so this makes sense to improve overall
test execution time if/where possible.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Move the other common shares test functions to the base class to
improve the code structure.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Having this base class as a separate file is just confusing. Merge with
the rest of the test code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Running recipetool.RecipetoolTests.test_recipetool_handle_license_vars
followed by wic.Wic2.test_biosplusefi_plugin_qemu would show a failure of:
File "/media/build/poky/meta/lib/oeqa/utils/commands.py", line 351, in runqemu
qemu = oeqa.targetcontrol.QemuTarget(recipedata, targetlogger, image_fstype)
File "/media/build/poky/meta/lib/oeqa/targetcontrol.py", line 116, in __init__
use_kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH'))
File "/media/build/poky/meta/lib/oe/types.py", line 182, in qemu_use_kvm
if kvm and boolean(kvm):
File "/media/build/poky/meta/lib/oe/types.py", line 128, in boolean
raise ValueError("Invalid boolean value '%s'" % value)
ValueError: Invalid boolean value '/media/build/poky/meta/files/common-licenses'
which made no sense until you realise the recipetool test is corrupting
the tinfoil class. Work on a copy instead to avoid this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
libpam does not have a direct build time dependency toward flex.
The libpam code does not have any references to the lib and does not use
flex for anything else at runtime.
Signed-off-by: Martin Larsson <martin.larsson@actia.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Ironically, busybox ptests don't all work without coreutils being present. This
dependency fixes execution in minimal images but the failing start-stop-daemon
test case should probably be investigated in due course and the dependency
removed when possible.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|