summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
5 hoursvalgrind: Upgrade to 3.23.0yoe/mutkraj/gcc-14Khem Raj
Drop backports already available in this release This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux, PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux, MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android, X86/Solaris, AMD64/Solaris, AMD64/MacOSX 10.12, X86/FreeBSD, AMD64/FreeBSD and ARM64/FreeBSD There is also preliminary support for X86/macOS 10.13, AMD64/macOS 10.13 and nanoMIPS/Linux. * ==================== CORE CHANGES =================== * --track-fds=yes will now also warn about double closing of file descriptors. Printing the context where the file descriptor was originally opened and where it was previously closed. * --track-fds=yes also produces "real" errors now which can be suppressed and work with --error-exitcode. When combined with --xml the xml-output now also includes FdBadClose and FdNotClosed error kinds (see docs/internals/xml-output-protocol5.txt). * The option --show-error-list=no|yes now accepts a new value all. This indicates to also print the suppressed errors. This is useful to analyse which errors are suppressed by which suppression entries. The valgrind monitor command 'v.info all_errors' similarly now accepts a new optional argument 'also_suppressed' to show all errors including the suppressed errors. * ================== PLATFORM CHANGES ================= * Added ARM64 support for FreeBSD. * ARM64 now supports dotprod instructions (sdot/udot). * AMD64 better supports code build with -march=x86-64-v3. fused-multiple-add instructions (fma) are now emulated more accurately. And memcheck now handles __builtin_strcmp using 128/256 bit vectors with sse4.1, avx/avx2. * S390X added support for NNPA (neural network processing assist) facility vector instructions VCNF, VCLFNH, VCFN, VCLFNL, VCRNF and NNPA (z16/arch14). * X86 recognizes new binutils-2.42 nop patterns. * ==================== TOOL CHANGES =================== * The none tool now also supports xml output. * ==================== FIXED BUGS ==================== The following bugs have been fixed or resolved. Note that "n-i-bz" stands for "not in bugzilla" -- that is, a bug that was reported to us but never got a bugzilla entry. We encourage you to file bugs in bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather than mailing the developers (or mailing lists) directly -- bugs that are not entered into bugzilla tend to get forgotten about or ignored. 283429 ARM leak checking needs CLEAR_CALLER_SAVED_REGS 281059 Cannot connect to Oracle using valgrind 328563 make track-fds support xml output 362680 --error-exitcode not honored when file descriptor leaks are found 369723 __builtin_longjmp not supported in clang/llvm on Android arm64 target 390269 unhandled amd64-darwin syscall: unix:464 (openat_nocancel) 401284 False positive "Source and destination overlap in strncat" 428364 Signals inside io_uring_enter not handled 437790 valgrind reports "Conditional jump or move depends on uninitialised value" in memchr of macOS 10.12-10.15 460616 disInstr(arm64): unhandled instruction 0x4E819402 (dotprod/ASIMDDP) 463458 memcheck/tests/vcpu_fnfns fails when glibc is built for x86-64-v3 463463 none/tests/amd64/fma fails when executed on a x86-64-v3 system 466762 Add redirs for C23 free_sized() and free_aligned_sized() 466884 Missing writev uninit padding suppression for _XSend 471036 disInstr_AMD64: disInstr miscalculated next %rip on RORX imm8, m32/64, r32/6 471222 support tracking of file descriptors being double closed 474160 If errors-for-leak-kinds is specified, exit-on-first-error should only exit on one of the listed errors. 475498 Add reallocarray wrapper 476025 Vbit expected test results for Iop_CmpGT64Ux2 are wrong 476320 Build failure with GCC 476331 clean up generated/distributed filter scripts 476535 Difference in allocation size for massif/tests/overloaded-new between clang++/libc++ and g++/libstdc++ 476548 valgrind 3.22.0 fails on assertion when loading debuginfo file produced by mold 476708 valgrind-monitor.py regular expressions should use raw strings 476780 Extend strlcat and strlcpy wrappers to GNU libc 476787 Build of Valgrind 3.21.0 fails when SOLARIS_PT_SUNDWTRACE_THRP is defined 476887 WARNING: unhandled amd64-freebsd syscall: 578 477198 Add fchmodat2 syscall on linux 477628 Add mremap support for Solaris 477630 Include ucontext.h rather than sys/ucontext.h in Solaris sources 477719 vgdb incorrectly replies to qRcmd packet 478211 Redundant code for vgdb.c and Valgrind core tools 478624 Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26 478837 valgrind fails to read debug info for rust binaries 479041 Executables without RW sections do not trigger debuginfo reading 480052 WARNING: unhandled amd64-freebsd syscall: 580 480126 Build failure on Raspberry Pi 5 / OS 6.1.0-rpi7-rpi-v8 480405 valgrind 3.22.0 "m_debuginfo/image.c:586 (set_CEnt): Assertion '!sr_isError(sr)' failed." 480488 Add support for FreeBSD 13.3 480706 Unhandled syscall 325 (mlock2) 481127 amd64: Implement VFMADD213 for Iop_MAddF32 481131 [PATCH] x86 regtest: fix clobber lists in generated asm statements 481676 Build failure on Raspberry Pi 5 Ubuntu 23.10 with clang 481874 Add arm64 support for FreeBSD 483786 Incorrect parameter indexing in FreeBSD clock_nanosleep syscall wrapper 484002 Add suppression for invalid read in glibc's __wcpncpy_avx2() via wcsxfrm() 484426 aarch64: 0.5 gets rounded to 0 484480 False positives when using sem_trywait 484935 [patch] Valgrind reports false "Conditional jump or move depends on uninitialised value" errors for aarch64 signal handlers 485148 vfmadd213ss instruction is instrumented incorrectly (the remaining part of the register is cleared instead of kept unmodified) 485487 glibc built with -march=x86-64-v3 does not work due to ld.so strcmp 485778 Crash with --track-fds=all and --gen-suppressions=all n-i-bz Add redirect for memccpy To see details of a given bug, visit https://bugs.kde.org/show_bug.cgi?id=XXXXXX where XXXXXX is the bug number as listed above. Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 hoursgcc: Upgrade to GCC 14.1 releaseKhem Raj
This is major release upgrade. major changes are listed in [1] and it has a list of bugs [2] fixed as well This release may differ in significant ways from prior gcc releases where it may require port the code to gcc 14, there is a porting guide [3] available. [1] https://gcc.gnu.org/gcc-14/changes.html [2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=14.0 [3] https://gcc.gnu.org/gcc-14/porting_to.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 hourslinux-yocto: Fix rv32 syscall wrappersKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 hoursofono: Fix build with muslKhem Raj
(From OE-Core rev: 09027f96ffe6f3352b8a6fbdac8908ba5b7f1ec1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
5 hoursquota: Fix build with latest musl.Khem Raj
(From OE-Core rev: f38506add1a46c3338ff7d57f0f5baca71d4cff9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
5 hourspciutils: Fix build with latest muslKhem Raj
(From OE-Core rev: d46a250e2f9d4bc72cd3b5831e3b62eef71e2bb0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
5 hoursbluez5: Fix build with muslKhem Raj
(From OE-Core rev: 0d670db6023b92673bb1e26d31f72a707359f6a8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
5 hoursbtrfs-tools: Fix build with muslKhem Raj
(From OE-Core rev: 8993d08c6a233b4196d2391a32f7eb4ad881b874) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
5 hoursopenssl: Add missing perl-module-file-spec-functions rdep for ptestsKhem Raj
Fixes BEGIN: /usr/lib/openssl/ptest Can't locate File/Spec/Functions.pm in @INC (From OE-Core rev: 67c0631ba2ca643217ced0735007f25290836490) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
5 hourscoreutils: Add ptest dependenciesKhem Raj
There are lot fo tests which need locales and toolchain on the system musl additionally need musl-locales and musl-utils for tools like getconf and locale Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 hoursmusl: Upgrade to latest tip of trunkKhem Raj
Bring following changes on top of 1.2.5 * 2c124e13 stdint.h: derive limits from __LONG_MAX, use common fast16 types * 7019fbe1 sys/user.h: derive __WORDSIZE from __LONG_MAX * e709a6f0 sys/reg.h: derive __WORDSIZE from __LONG_MAX * 29b216b2 unistd.h: derive ILP32/LP64 macros from __LONG_MAX instead of arch bits * 0dfa1d8c unify bits/stat.h for all archs sharing a common definition * ef600888 align aarch64, riscv64, loongarch64 stat structure padding type * 6f666231 ldso: fix non-functional fix to early dynamic PAGE_SIZE access * fced99e9 strptime: implement conversion specifiers adopted for next POSIX issue * 3f9d4224 printf decimal integer formatting: shave off one division * a23cf8f9 riscv mcontext_t/sigcontext: use __aligned__ instead of aligned * cbf1c7b6 add missing STATX_ATTR_* macros omitted when statx was added * 3f49203c initgroups: do not artificially limit number of supplementary groups * 24ebbbde printf: fix edge case where hex float precision was not honored * e3b0ace5 complex: fix comment in cacosh * 9683bd62 math: fix fma(x,y,0) when x*y rounds to -0 * 5370070f fix pwrite/pwritev handling of O_APPEND files * bdc9a9ff uio.h: add RWF_NOAPPEND flag for pwritev2 * 7ada6dde iconv: fix missing bounds checking for shift_jis decoding * fd7d0185 add missing inline keyword on default a_barrier definition * b5121e2e iconv: add aliases for GBK * ca6f46af iconv: add euro symbol to GBK as single byte 0x80 Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 hoursmusl: Update to 1.2.5 releaseKhem Raj
This release adds extension functions statx and preadv2/pwritev2, with fallback implementations for older kernels, and adds two new ports: loongarch64 and riscv32. Minor changes to the printf family of functions have been made for conformance to new standards interpretations/requirements. TLSDESC support for riscv64 has also been added. Bugs fixed include some DNS issues related to new TCP fallback functionality, several rare race conditions, potentially incorrect return value when glob aborts, and several signifiant arch-specific bugs affecting TLSDESC on arm, riscv64 icache flushing, and sh sigsetjmp and dlsym RTLD_NEXT. [1] Do not use https protocol for fetching Musl author confirms that https protocol is not well supported yet on musl git host, currently we experience this problem intermittently on some build hosts where the fetching fails. fatal: protocol error: bad line length character: erro WARNING: Failed to fetch URL git://git.etalabs.net/git/musl;branch=master;protocol=https [1] https://www.openwall.com/lists/musl/2024/03/01/2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 hoursDO NOT MERGE: qemux86: Add identical qemux86copy variant for testsMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
11 hoursoeqa/systemd_boot: Ensure ssh-pregen-hostkeys are available for the testRichard Purdie
Since ssh-pregen-hostkeys is now restricted to qemu machines, add in configuration allowing it to become available for this test on genericx86-64. (From meta-yocto rev: a2deb15742298bf254bd809ff2973c8ed0ac2649) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 hoursglib-2.0: correct deprecated man/gtk-doc optionsAlexander Kanavin
(From OE-Core rev: 95098fbb16732aef2860f1c89f3fc87517812289) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourslibportal: fix rare build raceRoss Burton
There is a build race where the libportal.vapi is not always generated before it is needed to build libportal-gtk*.vapi. Backport the fix from upstream. [ YOCTO #15479 ] (From OE-Core rev: bd6cc528f56180877fe6237aee04107f8ae0ec82) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursdwarfsrcfiles: fixupRichard Purdie
(From OE-Core rev: f7ea6242e7c78de76ad991a9f9e509e66c9bccd9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourssdk: Fix path length limit to match reserved sizeRobert Kovacsics
(From OE-Core rev: 500f362b800b057402bc3309bc58fea9372c232a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourslinux-yocto: Enable team net driverKhem Raj
Its needed to run libteam ptests (From OE-Core rev: f8fdea9b83b180049892d1775e2b06c63724cd05) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourspython3-pyopenssl: drop python3-six from RDEPENDSGuðni Már Gilbert
Python 2.7 support was dropped in version 22.0.0 python3-six was dropped as a dependency in 22.0.0 (From OE-Core rev: e722d45ce3fd97a547cc7ef4c3ca8652363b7019) Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourspython3-bcrypt: drop python3-six from RDEPENDSGuðni Már Gilbert
Python 2.7 support was dropped in version 3.2.0 and python3-six dependency was subsequently dropped in version 3.2.1 (From OE-Core rev: 092c53922443234269ae0e0184f5f72d059f07b8) Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursgstreamer1.0: skip another known flaky testRoss Burton
The baseparse:parser_pull_short_read test is known to be unreliable, according to the list of known bad tests in gst-devtools. Also clean up an incorrect comment. (From OE-Core rev: 9ebe42355b608ea3f9d78bcbd38c1952cc398b3d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourscurl: locale-base-en-us isn't glibc-specificRoss Burton
The musl-locales package provides this too, so we can depend without a libc override. (From OE-Core rev: df61b29f9a653309d5074674bfa5894b5b7c1603) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursssh-pregen-hostkeys: Limit to qemu machines by defaultRichard Purdie
There are potential security issues from using pre-generated host keys. We made the recipe available for autobuilder testing purposes but concerns remain about how easily this could end up in production. I thought we'd already done this, but limit the recipe to qemu* machines, which means any real hardware trying to use it will need to be a bit more explicit about it and specifically enable it. (From OE-Core rev: c7f22e42383f856d27d79a22cda7df236de40d8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourspopulate_sdk_ext.bbclass: Fix undefined variable errorJookia
The variable uninative_checksum is returned without being set, causing a build error. Set it to None by default instead. (From OE-Core rev: 399010406353054b6876fdf6aa209aec996dc797) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursxserver-xorg: upgrade 21.1.11 -> 21.1.12Archana Polampalli
This release contains security fixes for * CVE-2024-31080 * CVE-2024-31081 * CVE-2024-31082 * CVE-2024-31083 Changelog: =========== 101caa1b0 (tag: xorg-server-21.1.12) xserver 21.1.12 117315640 render: fix refcounting of glyphs during ProcRenderAddGlyphs 0e34d8ebc Xquartz: ProcAppleDRICreatePixmap needs to use unswapped length to send reply cea92ca78 Xi: ProcXIPassiveGrabDevice needs to use unswapped length to send reply 8a7cd0e3e Xi: ProcXIGetSelectedEvents needs to use unswapped length to send reply 5ca3a9513 Xext: SProcSyncCreateFence needs to swap drawable id too 5d7272f05 Allow disabling byte-swapped clients 8a46a463f Initialize Mode->name in xf86CVTMode() f653d9a0a hw/xfree86: fix NULL pointer refrence to mode name 8b75ec34d dix: Fix use after free in input device shutdown https://lists.x.org/archives/xorg-announce/2024-April/003497.html (From OE-Core rev: a55f9c67b28d9777454bb0d55578fd4fbf7ac6d7) Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursllvm: Switch to using release tarballsKhem Raj
git checkouts are in excess of 3G, which is not ideal for everyone to download/clone, instead switch to fetching release tarball which is ~126M as of 18.1.5 release (From OE-Core rev: afb2866c45a1817b86ee6856a6b9f67fc5591a6f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursstrace: Use locale-base-en-us for localeKhem Raj
locale-base-en-us is available on musl as well therefore, not need to make it glibc specific anymore. (From OE-Core rev: 4b7926864e7525b8b58f78a9f272e90630102c8b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursenchant2: Disable incompatible-pointer-types warning as errorKhem Raj
This fixes build with GCC-14 (From OE-Core rev: 8e8e54e0b4e67c9d4687f57277bf4367e66af05e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourszip: Fix build with gcc-14Khem Raj
zip's configure fails to link this piece of test code: int main() { return closedir(opendir(".")); } with GCC-14 because it now treats implicit declaration of function as error, unline older GCC version where it was just a warning and this test would build fine. Remove 0002-unix.c-Do-not-redefine-DIR-as-FILE.patch which is now unnecessary. (From OE-Core rev: 10b5b7ce8b4f0cefd9a1ff4dbda6113bd9c2403b) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursiproute2: Fix build with GCC-14Khem Raj
(From OE-Core rev: e76c1ae7c1b3d849a02d77b46ce0bbaa435b3165) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursltp: Fix build with GCC-14Khem Raj
(From OE-Core rev: db494f56ecd7002a01797de7fb39ab3521384f72) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourslrzsz connman-gnome libfm: ignore various issues fatal with gcc-14Martin Jansa
work arounds for: oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile http://errors.yoctoproject.org/Errors/Build/183127/ More fixes on ML (especially for -native with gcc-14 on host) cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899 syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901 (From OE-Core rev: 6d399238301b02f49e2ee061159778d3ec368128) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourspython3: Treat UID/GID overflow as failureKhem Raj
This fixes ptest failures on 32bit architectures AssertionError: Failed ptests: {'python3': ['test_extractall_none_gid', 'test_extractall_none_gname', 'test_extractall_none_mode', 'test_extractall_none_mtime', 'test_extractall_none_uid', 'test_extractall_none_uname', 'setUpClass', 'python3']} (From OE-Core rev: ab1316df6016fad030903f37ffba2d4f91244fb7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursgtk4: update 4.14.2 -> 4.14.4Markus Volk
Overview of Changes in 4.14.4, 02-05-2024 ========================================= * GtkGraphicsOffload: - Don't crash without a child * Icontheme: - Make symbolic svg loading more efficient - Handle color-free symbolics more efficiently * Accessibility: - Make the gtk-demo sidebar search more accessible - Stop emitting focus events * GDK: - Support XDG_ACTIVATION_TOKEN - dmabuf: Be more defensive when importing unknown formats to G - dmabuf: Use narrow range for YUV * GSK: - gpu: Handle tiny offscreens correctl * Build: - Fix many ubsan warning * macOS - Fix problems with events handed back to the OS - Respect GDK_DEBUG=default-settings * Translation updates: German Indonesian Kabyle Korean Lithuanian Russian Overview of Changes in 4.14.3, 18-04-2024 ========================================= * GtkShortcutManager: - Track the propagation phase of added controllers * Accessibility: - Implement GtkAccessibleRange for scrollbars * X11: - Fix some confusing debug messages - Drop a no-longer-relevant optimization that was interfering with getting the current window manager capabilities * Tools: - Support generating pdf in gtk4-rendernode-tool * Translation updates: Basque Brazilian Portuguese Georgian Hebrew Kabyle Persian Polish Slovenian Swedish Ukrainian (From OE-Core rev: f72ac07ffb28076239df725da3eaf55e8a881130) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursdevtool: Drop oe-local-files and simplifyRichard Purdie
The only real reason for oe-local-files was to support S = WORKDIR. With changes to drop support for that, it makes sense to simplify devtool and to try and make both the code and the processes/workflows simpler. This patch drops support for S = WORKDIR, removes oe-local-files and then updates the test cases to match this new situation. At the code level, we assume we can always now track code changes using git and that things committed into git are handled as patches (as before) but delta against HEAD is saved as specific file level changes to the recipe. One test is disabled as it is no longer approproate. It is being keped until we can make WORKDIR != UNPACKDIR at which point it should be revisited. (From OE-Core rev: 70964d8c3decfd6c850934539ce1c47bdfe03f3a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursrecipes: Switch away from S = WORKDIRRichard Purdie
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to a subdir of WORKDIR and make S point at this instead. I've chosen not to force S into any standard UNPACKDIR we may pick in future just so the S = UNPACKDIR case is clearly visible by the directory naming under WORKDIR as that should aid usability. (From OE-Core rev: 056ef7ca314f9283f5fe495bde35e0cb6505a672) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourspatchtest: utils: remove unused functionsTrevor Gamblin
Specifically, remove four things: - get_subject_prefix(): This function is only being used once (in the next function found in the module), so remove it for easier comprehension/maintenance. - exec_cmd: the backend for executing a custom command - exec_cmds: for running multiple calls to exec_cmd - CmdException: A custom exception class specifically for exec_cmd These are only used to execute git commands, but GitPython can be used to handle all of that more efficiently, so remove them. (From OE-Core rev: dbabaeea685130c56d8e974a5fd0c998ac3100d1) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourspatchtest: tests: update bugzilla_entry_format.fail testfileTrevor Gamblin
Update the test file to target a more stable README file. (From OE-Core rev: f976e4473d7a3ec6336d6fbc0ae065dcb3f78494) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourspatchtest: repo: refactor to use GitPythonTrevor Gamblin
The repo module currently uses a custom _exec() function in order to run various git commands as part of the patchtest setup/test process. These can more efficiently be done with the GitPython module, so use that instead and reduce the amount of custom code to be maintained for patchtest in the process. Some specifics replaced using GitPython: - get branch list - use repo.active_branch to determine current branch - use execute() for checkout, merge check, abort, rev-parse, reset The _exec() function is removed entirely with this change. (From OE-Core rev: 3f6a4649fc08b341ccd4ba3faa5bb32b6aa12bf8) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourspatchtest: requirements.txt: add GitPythonTrevor Gamblin
GitPython provides some simple utilities for retrieving repo configurations that can replace the manual work that patchtest currently does. Add it to the requirements so that the source can make use of it. (From OE-Core rev: bbac6ae3cb27acd95c80814190a63a4c66045284) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursglib/gobject-introspection: update 2.78.4 -> 2.80.0, 1.78.1 -> 1.80.0Alexander Kanavin
With these versions, which need to be updated in lockstep, upstream has relocated glib introspection data from g-i tree to glib tree and made its generation a part of the overall glib build. This creates a circular dependency, where g-i tools are linked with glib, but glib needs the tools to build its g-i data. (I don't know why the two source trees couldn't be simply merged into one, or g-i data for glib couldn't be generated inside g-i build against sysroot glib). Upstream is suggesting building glib twice, first without building g-i data, then building g-i and linking it with that version, then building the final glib, and that's what is being done here (via the new glib-initial recipe, which is sysroot-only, and is not pulled in via indirect dependencies either). Other glib changes: 0001-Do-not-write-bindir-into-pkg-config-files.patch restores writing bindir variable into glib.pc file (meson only writes it out if other variables depend on it, and this custom patch removes that dependency). 0001-girepository-introspection-correctly-install-.gir-fi.patch ensures correct installation of .gir into something else than $datadir (useful in multilib). Merge previous glib .bb into .inc, so that glib and glib-initial recipes could be cleanly separated with no duplication. Convert from gtk-doc to gi-docgen, and manpages from xmlto to docutils. (From OE-Core rev: 9203c276732d370215418b1c8446f725b878120f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourslib/package_manager/ipk: Do not hardcode payload compression algorithmPhilip Lorenz
The chosen payload compression algorithm can be changed by overriding `OPKGBUILDCMD`. Ensure that package extraction deals with this by globbing for "data.tar.*" to select the actual payload tarball. (From OE-Core rev: 2b5a876d4c2428d1cffc08fe0680bdcb1c9c10a1) Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursgcc: Allow using libc++Dan McGregor
With the addition of the C++ runtime setting added recently, allow gcc to use libc++ as its runtime. There's some minor fixes still required, such as allowing setting the unwinder library. But this allows for testing libc++ with gcc. (From OE-Core rev: 4d8891064c2e3f507c9d8216ee3294dc2ccc8aa3) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursmeta/lib/oe/sstatesig.py: do not error out if sstate files fail on os.stat()Alexander Kanavin
There's an ongoing issue with the autobuilder NFS: https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6463/steps/14/logs/stdio The file entry exists, but os.stat returns a 'file not found; error. It's not clear how and why such entries appear, but they do produce printdiff test failures and should not be relevant in context of the printdiff. (From OE-Core rev: 11e283bac7832019408b78389b4521b0d40143aa) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursRevert "base/reproducible: Simplify search for git SOURCE_DATE_EPOCH"Richard Purdie
This reverts commit 7759e632ca285b1a33a2648dfd9ceaa904200666. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursbase/reproducible: Simplify search for git SOURCE_DATE_EPOCHRichard Purdie
Searching WORKDIR for git repositories probably made sense when we started out however limiting the search to S makes more sense and means we don't need horrible search exclusion lists too. (From OE-Core rev: a3595b61cb5be1531d4eca58c7318a0bc1f115b3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursRevert "testimage: Enable runtime 'login' screenshot tests"Richard Purdie
This reverts commit c631640bbdbb3d041bad7d23a612e623cab58855. (From OE-Core rev: 18bb1d78bcc5f9bdc2b43b26733cc44a45ee146b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hourstestimage: Enable runtime 'login' screenshot testsRichard Purdie
Enable the new runtime login screenshot tests which primarily test whether sato images display a desktop correctly. (From OE-Core rev: 8541a8a778ad4029ac5f979add138d54007347df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 hoursrecipes: Start WORKDIR -> UNPACKDIR transitionRichard Purdie
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. (From OE-Core rev: 8924a3189aa353873a35921981cbad42ab83e33f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>