summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/expect/expect_5.45.4.bb
Commit message (Collapse)AuthorAgeFilesLines
* expect: fix native build with GCC 15Adrian Freihofer2025-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | This does not work for native builds: CFLAGS += "-std=gnu17" The line from native.bbclass gets priority: CFLAGS = "${BUILD_CFLAGS}" From bitbake-getvar -r expect-native CFLAGS ... append ...poky/meta/recipes-devtools/expect/expect_5.45.4.bb:44 "-std=gnu17" set ...poky/meta/classes-recipe/native.bbclass:44 "${BUILD_CFLAGS}" ... (From OE-Core rev: 2696c50af9946f425ccaf7d0e7e0eb3fd87c36bb) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: Fix build with GCC 15Khem Raj2025-10-091-0/+2
| | | | | | | | | | Stick to C17 standard as GCC 15 switches to C23 (From OE-Core rev: a1ac756f2f55c4f27a95cb8b1e63ee2db06dd327) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: cleanup do_installRoss Burton2025-10-091-6/+3
| | | | | | | | | | | | | | Clean up the do_install append, and remove a long-standing unused variable that appears to be intending to not install the scripts but would have never actually done that as the relevant override since 2008 has been task-install. As we've been installing the scripts, keep instaling them. (From OE-Core rev: 10a501b3bfe8f73ce2eb15673900df71e547b54d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: don't run aclocal in do_configureRoss Burton2025-10-091-0/+2
| | | | | | | | | | | | | | expect has a hand-maintained aclocal.m4 so don't run aclocal, which has the side effect of not deleting the aclocal.m4 file which pulls in macros. The build works without this change more through luck and a combination of behaviours than design. (From OE-Core rev: 61dbfd66210b090ec8abfbf1f4688e5691299d68) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: update code for Tcl channel implementationRoss Burton2025-10-091-4/+1
| | | | | | | | | | | | | Tcl 8.4.0 changed the channel implementation, take a patch submitted upstream to update the code for the new interface and remove the silencing of the incompatible assignment error which was due to this issue. (From OE-Core rev: 20cadf7b66f30e8a3b409b4a96eced614ac21013) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: Revert "expect-native: fix do_compile failure with gcc-14"Adrian Freihofer2025-10-091-1/+1
| | | | | | | | | | | | | | In the meantime there is a cleaner fix on the master branch and we also need to back-port more patches to support gcc-15 as well. This reverts commit 8bfdb53247c917559e7813c2e1bd2f6eb13c811d which is not in the master branch as a preparation for cherry-picking the newer fixes from there. (From OE-Core rev: 4ea89ba363228aa5e16412f85644608f4c645d5f) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect-native: fix do_compile failure with gcc-14Changqing Li2024-09-031-1/+1
| | | | | | | | | | | In native.bbclass, CFLAGS is overrided by 'CFLAGS = "${BUILD_CFLAGS}"', this make "CFLAGS +=" not work for expect-native, use append to make it also work for native. (From OE-Core rev: 6974c6548cae62529d96d4ceb3a296707d4adae5) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: fix configure with GCC 14Ross Burton2024-07-031-0/+1
| | | | | | | | | | | | | The configure script has many fragments that fail to compile with GCC 14, take a patch submitted upstream to fix these issues. (From OE-Core rev: 5c6630e61ad85a4bf9eecd94005e14f0e34df463) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5c21ca789c288662aa3d307b30813cd03cc8c158) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: ignore various issues now fatal with gcc-14Martin Jansa2024-06-201-0/+4
| | | | | | | | | | (From OE-Core rev: 454c48eac61f8e690b148e1c598aeb25912b1ec9) 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> (cherry picked from commit 83e9790fe27c310a4f5a66fedb29b232d23a22e5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* expect: Add ptest supportChi Xu2023-05-221-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test results: root@qemux86-64:~# ptest-runner expect START: ptest-runner 2023-05-17T01:25 BEGIN: /usr/lib64/expect/ptest via send_stdout PASS: cat-1.1 PASS: expect-1.1 PASS: expect-1.2 PASS: expect-1.3 PASS: expect-1.4 PASS: expect-1.5 PASS: expect-1.6 PASS: expect-1.7 PASS: expect-1.10 PASS: expect-1.11 PASS: expect-1.12 PASS: expect-1.13 PASS: expect-1.8 PASS: expect-1.8b PASS: expect-1.9 PASS: logfile-1.1 PASS: pid-1.2 PASS: pid-1.3 PASS: pid-1.4 PASS: pid-1.5 PASS: send-1.1 PASS: send-1.2 PASS: spawn-1.1 PASS: spawn-1.2 PASS: spawn-1.3 PASS: spawn-1.4 PASS: spawn-1.5 PASS: stty-1.1 PASS: stty-1.2 DURATION: 17 END: /usr/lib64/expect/ptest 2023-05-17T01:26 STOP: ptest-runner TOTAL: 1 FAIL: 0 (From OE-Core rev: 13711656b1470e9d440bcf83e9fc9dc7ab2292f9) Signed-off-by: Chi Xu <chi.xu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: Fix implicit-function-declaration warningsKhem Raj2022-08-171-1/+2
| | | | | | | (From OE-Core rev: 06ca0b74e5856890a55be15b5061280cbab43d79) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: modify fixline1 scriptJoe Slater2022-03-161-0/+1
| | | | | | | | | | | fixline1 needs to be processed by fixline1, but we short-circuit that. Enter the multi-line shebang which I am a bit queasy about, but expect loves it. (From OE-Core rev: 0829d4f2947be2b095e7e713b5100f4e41218bec) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: do not install examples, drop related patchAlexander Kanavin2021-11-211-2/+0
| | | | | | | | | | There is really no reason to install them; this was done in the original recipe submission for unexplained reasons. (From OE-Core rev: 34f07b88167e0ee6499efbc53142ba0a8dcc3117) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-6/+6
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: Fix buffer overflow error when build in long pathRobert Yang2019-09-271-0/+1
| | | | | | | | | | | | | | Fixed when built the project in a long path (len(TMPDIR) > 200): $ bitbake dejagnu-native [snip] checking Tcl version 8.5 or greater... *** buffer overflow detected ***: TOPDIR/tmp-glibc/work/x86_64-linux/dejagnu-native/1.6.2-r0/recipe-sysroot-native/usr/bin/expect terminated [snip] (From OE-Core rev: c8d0bf3411846bb3852bffaf59193801d9c7530a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: Fix configure error for nativesdkRobert Yang2019-09-271-3/+3
| | | | | | | | | | | Fixed: $ bitbake nativesdk-expect checking for Tcl public headers... configure: error: tcl.h not found. Please specify its location with --with-tclinclude (From OE-Core rev: bd8ba628b0ff1ad3603b08981467edf5e36ec024) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: upgrade 5.45.3 -> 5.45.4Alexander Kanavin2018-03-061-0/+76
(From OE-Core rev: 064900f87a179a1e5b37dfc9313baab6351e7875) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>