Use gcc to compile failed for 32 bit arm target
$ echo 'MACHINE = "qemuarm"' >> conf/local.conf
$ bitbake nodejs
...
2645 | );
| ^
../deps/llhttp/src/llhttp.c:2643:11: error: incompatible type for argument 1 of 'vandq_u16'
2643 | vcgeq_u8(input, vdupq_n_u8(' ')),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8x16_t
...
Use '-flax-vector-conversions' to permit conversions between vectors
with differing element types or numbers of subparts
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Compilation fails due to undefined types 'uint16_t' and 'uint32_t' in
zip_writer.h. These types are used in struct members but are not recognized
because the required header <cstdint> is not included. This results in
errors such as:
error: 'uint16_t' does not name a type
error: 'uint32_t' does not name a type
Added '#include <cstdint>' to zip_writer.h to ensure fixed-width integer
types are properly defined.
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The build fails due to a macro redefinition conflict for `unreachable()`.
GCC 15.2.0 defines `unreachable()` in `stddef.h`, and `libunwind_i.h` also
defines it based on the presence of `HAVE__BUILTIN_UNREACHABLE`. This causes
a redefinition error when building with `-Werror`.
Added a guard around the `unreachable()` macro definition in `libunwind_i.h`
to ensure it is only defined if not already present.
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The build fails with a compiler error due to a macro redefinition of 'write'
to '___xxx_write'. This macro substitution interferes with the standard C++
library's definition of std::basic_ostream::write, leading to a mismatch
between function declarations and definitions in <ostream.tcc>.
Wrap the `#undef write` and `#define write ___xxx_write` directives with
`#if defined(__ANDROID__)` to ensure they are only applied when building
for
Android.
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ImageMagick 7 suite installs multiple tool symlinks (animate, convert,
identify, etc.) each implemented by their corresponding *.im7 binaries.
The main 'magick' CLI wrapper binary was not included in the ALTERNATIVE list,
This leave '/usr/bin/magick' missing in the image causing scripts and ptests
that rely on the primary 'magick' CLI to fail.
Signed-off-by: AshishKumar Mishra <ashishkumar.mishra@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The `gpsmon` tool is really deprecated now, after years of its use being
discouraged. The `cgps` tool can be used as a replacement, with the
added benefit that it's more power-efficient because it doesn't reparse
with a slightly different parses like `gpsmon` did.
Drop patch that was applied upstream in https://gitlab.com/gpsd/gpsd/-/merge_requests/406
Upstream changelog:
3.26.1: 17 May 2025
Increment libgps version
Update Debian Trixie in build.adoc
Fix buffer overrun in cgps.
Make gpsmon deprecation slightly more obvious.
Fix some *BSD compiler warnings
Fix numerous typos.
3.26: 11 May 2025
Handle NTRIPv2 that comes in "chunks".
Add many UBX decodes. Mostly in ubxtool, some in gpsd.
Improve TSIP and UBX initialization.
Gather Antenna Status (ant_stat) and Jamming (jam) and send to JSON.
Always build u-blox, RTCM104V2, RTCM104V3 drivers.
Add partial support for badly documented ALLYSTAR GNSS messages.
Add minimal support for Unicore GNSS messages.
Add minimal support for CASIC GNSS messages.
Add minimal support for buggy Inertial Sense GNSS messages.
Try to work better as non-root using non-standard "capabilities".
Add SUBSYSTEM=gnss rule to gpsd.rules
Moved ntploggps from NTPSec to GPSD and renamed to gpslogntp.
Fix many build, Coverity, and Codacy warnings.
Improved Python interface for the lexer.
Add support for new BeiDou PRNs and subframes.
Officially deprecate gpsmon.
Improve support for NMEA 4.11 (a stealthy moving target).
Remove Oceanserver IMU support. Never worked well.
Always with build ubx, NMEA 103, rtcm104v2 and rtcm104v3 support.
Add support for jamming detection.
Add Go client example.
Add support for RTCM3.2
Note: The new "chunk" code led to a short lived bug that led to
CVE-2023-43628, a buffer overrun. That bug never appeared in
any gpsd release.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Allow copy to pass different types per column, as long as the database can convert them.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Adding WITH_CAIRO=ON to fix this warning:
CMake Warning at libfreerdp/CMakeLists.txt:193 (message):
-DWITH_SWSCALE=OFF and -DWITH_CAIRO=OFF, compiling without image scaling
support!
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The WITH_ADD option does not exist. What was probably meant is
WITH_AAD (Azure AD auth).
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The run-ptest script determines success by grepping for
"0 failed" in the test output. This could incorrectly
report success for cases like "10 failed" or "100 failed".
Update the script to rely on the test binary's exit status instead,
while still capturing and printing full test output for logging.
This makes the ptest behavior more robust and consistent
Signed-off-by: Nikhil R <nikhil.r@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Here is the setting in bpftool recipe:
COMPATIBLE_HOST = "(x86_64|aarch64|riscv64).*-linux"
bpftool only support 64 bit arch, so add it into NON_MULTILIB_RECIPES
to avoid expanding lib32- variant
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are no reasons to build the demos and examples for the dynamic
lvgl library.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Generating a configuration fragment for a feature can now be done using:
bitbake lvgl -c menuconfig && bitbake lvgl -c diffconfig
While this uses the standard cml1.bbclass, it expects that "make" is
used to run menuconfig etc. This is not true for lvgl, so unfortunately
the whole do_menuconfig() function had to be copied to be able to remove
the use of "make".
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This switches the recipe from manipulating the lv_conf.h file directly,
to instead using Kconfig to configure lvgl-demo-fb.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This switches the recipe from manipulating the lv_conf.h file directly,
to instead using Kconfig to configure lvgl.
* Drop configuration of LV_TICK_CUSTOM* as they were removed in 9.0.0.
* Drop configuration options that match their defaults.
Co-authored-by: Adam x Nilsson <adam.x.nilsson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add +git to PV since there is no v9.4.0 tag for the
lv_port_linux_frame_buffer repository.
* Do not run the default do_install() as it will install all of lvgl.
* Remove the hack in do_configure:prepend() for SDL2_image as cmake
(with a little help from pkg-config) now finds SDL2_image correctly.
License-Update: Copyright year updated to 2025
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop manual installation of lv_conf.h. It has not been needed since at
least 9.2.2.
License-Update: Copyright year updated to 2025
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The descrec test fails currently, due to the different characterwidth
postgres uses depending on the current locale.
If the locale is C or posix, then each character is 1 byte. Otherwise,
if it's some UTF8 locale, then it is 4 bytes.
The test case expects 4 byte width by default, making it fail. This backported patch
allows for both 4 and 1 byte characters to be tested successfully.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It does not have compiler intrinsics for 64bit atomics
Fixes
i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_compare_exchange
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix a m4 script bug
Drop CVE_STATUS since this is only needed for < 0.14 release
Enable using posix_fallocate when creating a new file to avoid fragmentation
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add ptest support for inotify-tools by introducing a run-ptest script.
The ptest verifies the correct functioning of inotify event handling
and related utilities.
Test coverage includes:
- File creation, modification, and deletion event monitoring
- Event handling and command-line option parsing
- Basic consistency and behavior of inotify event queues
The ptest completes in under 20 seconds
Signed-off-by: Nikhil R <nikhil.r@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update the systemd service file to reflect the changes of the source
repository.
Add a user and group "thingsboard_gateway" which the service runs under,
instead of root.
Store temporary files, like logs, in /var and make use of the newly
created user and group.
Additionally, the service should start after and wants a network
connection to be online, not just be activated.
Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Replace the outdated configuration files with the ones found the source
repository of thingsboard-gateway. This makes sure, the configuration
file examples stay up-to-date in future versions.
Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>