summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/expect
Commit message (Collapse)AuthorAgeFilesLines
* expect: ignore various issues now fatal with gcc-14Martin Jansa2024-05-091-0/+4
| | | | | | | | (From OE-Core rev: 83e9790fe27c310a4f5a66fedb29b232d23a22e5) 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>
* expect: mark patches as Inactive-UpstreamAlexander Kanavin2024-04-255-5/+5
| | | | | | | | | | There's every indication that this is an ex-expect: last release in 2018, stale tickets, cvs server gone. (From OE-Core rev: 0fcfd2cb51428a3f35c0f78634bff0a16ae654e9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: Add ptest supportChi Xu2023-05-222-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-172-1/+115
| | | | | | | (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-162-0/+32
| | | | | | | | | | | 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-212-146/+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-272-0/+56
| | | | | | | | | | | | | | 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-2/+2
| | | | | | | | (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>
* expect: update to 5.45.3Alexander Kanavin2017-11-301-4/+2
| | | | | | | | (From OE-Core rev: 08bd3f5a3fbd69520dfde8499b22a0fbb5977a80) 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>
* expect: Fix segfaults when Expect clib is used directly from C programLi Zhou2017-11-082-0/+92
| | | | | | | | | | | Fix segfaults if Tcl is built with stubs and Expect clib function is used directly from C program. (From OE-Core rev: 44af4f20bfb1fe853ed0b5dfc76bdd2900f47cb0) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: use u-a for mkpasswdMartin Jansa2017-06-281-1/+6
| | | | | | | | | | | | | | | * when busybox is built with CONFIG_CRYPTPW=y, then it will provide alternative for mkpasswd, which will fail in postinst, because mkpasswd from expect wasn't using u-a: update-alternatives: Error: not linking rootfs/usr/bin/mkpasswd to /bin/busybox.nosuid since rootfs/usr/bin/mkpasswd exists and is not a link (From OE-Core rev: b12cdaf877bc6df71d19a6bbe8c4098d48dea269) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: resolve string formatting issuesAlexander Kanavin2017-03-242-0/+30
| | | | | | | | | [YOCTO #9542] (From OE-Core rev: b5fd2874cfe199703e7a5d12fa708e12ff0a2ad1) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: support native compilationPatrick Ohly2017-01-261-1/+8
| | | | | | | | | | | | | This is needed for building the swtpm TPM simulator (recipe in meta-security). "nativesdk" is added just in case that someone also wants this in an SDK. (From OE-Core rev: 4b43aab5b2043a5b83ef1fa9a8406f8a46ccfa72) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop now pointless manual -dbg packagingRichard Purdie2015-12-161-3/+0
| | | | | | | | | With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. (From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split sourceforge related entries to their own recipesAlexander Kanavin2015-12-081-0/+3
| | | | | | | | (From OE-Core rev: 4c5899fa0b8258f2754e3080dae5535e3b248e91) 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>
* expect: replace the STAGING_INCDIR with includedirYue Tao2015-07-161-6/+5
| | | | | | | | | | | | The build path is included in expect-dev rpm package. It should not set the STAGING_INCDIR statically. The includedir will be replaced with appropriate value in different stage. (From OE-Core rev: 41f74d0a05cec275243271e8e6b4dceb16e4daa4) Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: separate B and SRobert Yang2015-01-161-1/+3
| | | | | | | | | | And bump the PR to avoid: install: cannot stat `/path/to/image/usr/lib64/expect5.45/libexpect*.so': No such file or directory (From OE-Core rev: 912af87805abf857f1d4d3ba2cdbb3ae1f26a637) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: fix shared object file cannot be openedChong Lu2014-08-231-0/+1
| | | | | | | | | | | | | | | | | | | When we require Expect package in tcl script, we will get following error: couldn't load file "/usr/lib/expect5.45/libexpect5.45.so": /usr/lib/expect5.45/libexpect5.45.so: cannot open shared object file: No such file or directory while executing "load /usr/lib/expect5.45/libexpect5.45.so" ("package ifneeded Expect 5.45" script) invoked from within "package require Expect" (file "hello.tcl" line 3) This patch fixes this issue. (From OE-Core rev: 43813ddfa8cade9ea1c5de24dcd4e275b1486cff) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: fix do_install failure on SLED 11.2Chen Qi2014-03-192-0/+35
| | | | | | | | | | | | | | | | | | | Previously we were encountering do_install failures on older machines like SLED 11.2. These machines have relatively lower versions of glibc. tclsh8.6: /lib64/libc.so.6: version `GLIBC_2.14' not found The above failure is due to that fact that we are using the fixline1 tcl script to install commands under the example directory. The purpose of fixline1 is to ensure that the installed scripts begin with '#!/bin/sh'. However, the scripts under the example directory have already got the correct first line. That's why we don't need to modify anything and could just copy them. (From OE-Core rev: a8fe5fd62fd98e33180f3de700ed01f9efb74a50) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Basic recipe formatting fixesPaul Eggleton2014-01-021-1/+1
| | | | | | | | | Fix statement indenting and spacing issues that I happened to notice. (From OE-Core rev: d11e297b007aba625b398c52952ec929c3b02b83) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: Add recipeMihaela Sendrea2013-11-204-0/+330
Nedeed for gcc-runtime tests. Fixed build on multilib and add patch to remove !/depot/path/expect -f which caused rpm to puke on rfs generation (From OE-Core rev: 8f06d2975ed7d5db3828dc116c0df72d1161e8e5) Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>