summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk
AgeCommit message (Collapse)Author
2020-10-22tcl: adapt to potential pseudo changesMingli Yu
It failed as below when rerun do_install for tcl: $ bitbake tcl $ bitbake tcl -f -cinstall [snip] | NOTE: make -j 72 DESTDIR=/build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/image install | abort()ing pseudo client by server request. See https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this. | /build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/temp/run.do_install.3490694: line 184: 3499214 Aborted (core dumped) make -j 72 "$@" By default the S is ${WORKDIR}/${BPN}-${PV}, but after unpack, the tcl source [1] unpacked to ${WORKDIR}/${BPN}${PV} and all the files under ${WORKDIR}/${BPN}${PV} are acutally the source files. But the the main Makefile.in is under ${WORKDIR}/${BPN}${PV}/unix for tcl, so there is below logic in tcl recipe: S = "${WORKDIR}/${BPN}${PV}/unix" To adapt the potential pseudo changes, there is a general logic to exclude ${S} from pseudo database in base.bbclass in [2]. That's to say, just the dir ${WORKDIR}/${BPN}${PV}/unix is excluded from the pseudo database. But it's not enough for tcl, we need to exclude the actual source dir ${WORKDIR}/${BPN}${PV} from pseudo database specifically to fix the above do_install failure. [1] https://downloads.sourceforge.net/tcl/tcl8.6.0-src.tar.gz [2] https://git.openembedded.org/openembedded-core/tree/meta/classes/base.bbclass#n396 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-30perl/tcl: fix /usr/share/man/man3/Thread.3 conflictsHongxu Jia
While installing perl-doc and tcl-doc to image, there is a file conflicts at do_rootfs ... |file /usr/share/man/man3/Thread.3 conflicts between attempted installs of perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64 ... Use update-alternatives to fix Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-16tcl: upgrade 8.6.9 -> 8.6.10Yi Zhao
Refresh patches: alter-includedir.patch tcl-remove-hardcoded-install-path.patch Backport a patch to fix tk build failure with cross compile: 0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch See: https://core.tcl-lang.org/tk/tktview/abd4abedd2f01c12839f0ad94564ae31137f7af5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-15tcl: in run-ptest show output if a test failsRoss Burton
If a test fails the log has useful information, so include that in the output. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-05tcl: Upgrade to 8.6.9Hong Liu
Upgrade tcl from 8.6.8 to 8.6.9. Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-06tcl: update to 8.6.8Yi Zhao
Rebase tcl-add-soname.patch Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-11-05tcl: remove host path from tclConfig.shWenzong Fan
The tclConfig.sh is also used by other packages (such as expect) for cross-compiling, the host path from it can't be removed directly in the do_install step. With PACKAGE_PREPROCESS_FUNCS to remove host path and avoid the crossscripts installed to target. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-23tcl: 8.6.6 -> 0.8.7Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-28tcl: cleanupsRoss Burton
No need to set DEPENDS_class-native explicitly as self-dependencies are ignored now. Don't rewrite do_configure, autotools_do_configure works. Actually invoke the install-private-headers target (autotools_do_install doesn't take arguments). Remove redundant cd. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-23tcl: fix sed in do_install()Robert Yang
The command: sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh was used for replacing "${WORKDIR}", but it also replaced "-L${WORKDIR}", but binconfig.bbclass would replace "-L${WORKDIR}", too, which caused incorrect result, use "'${WORKDIR}" to fix the problem. (From OE-Core rev: 2edfcbf0291c0d39be4a37348696329eba8a41f8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-23tcl: extend to nativesdkRobert Yang
Fixed: $ bitbake nativesdk-expect ERROR: Nothing PROVIDES 'nativesdk-tcl' (but virtual:nativesdk:expect_5.45.bb DEPENDS on or otherwise requires it). Close matches: [snip] (From OE-Core rev: 5c950c509edcc50d39a1f426579b354d97178ff2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-04tcl: 8.6.5 -> 8.6.6Robert Yang
Updated no_packages.patch. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20tcl: fix sed command in do_installRobert Yang
The -I= and -L= is used for cross compile, target doesn't need, and binconfig.class can handle usr/bin/crossscripts/tclConfig.sh. Fix do_configure error for the recipe which uses tclConfig.sh, for example, postgresql.do_configure: configure: error: header file <tcl.h> is required for Tcl Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08meta: update patch metadataRoss Burton
Enforce the correct tag names across all of oe-core for consistency. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-14tcl: 8.6.4 -> 8.6.5Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-13tcl: Use SYSROOT_DIRS to add dirs to stage in sysrootPeter Kjellerstedt
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-06tcl: remove unused fix-configure.patchRobert Yang
It wasn't used since 2010 at least, and the configure works well, so remove it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-26meta: fix capitalisation in Upstream-StatusRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-04-21tcl: 8.6.3 -> 8.6.4Robert Yang
The LIC_FILES_CHKSUM has been changed since 2 extra spaces in the end were moved. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20tcl: Upgrade to 8.6.3Chong Lu
Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09tcl: Upgrade to 8.6.2Chong Lu
libgcc_s.so.1 is needed by running ptest, so add libgcc to RDEPENDS_${PN}-ptest. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-08-28run-ptest: fix bashismRobert Yang
These script use /bin/sh as the interpreter, but contains bashism: recipes-devtools/insserv/files/run-ptest recipes-devtools/quilt/quilt/run-ptest recipes-devtools/tcltk/tcl/run-ptest recipes-extended/gawk/gawk-4.1.1/run-ptest recipes-support/beecrypt/beecrypt/run-ptest Fixed: "==" -> "=" (should be -eq when integer) "&>log" -> ">log 2>&1" And quilt's test scripts requires bash, add bash to RDEPENDS_quilt-ptest Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-08tcl: cleanupMatthieu Crapet
Changes: - add missing licence file: tcl - use binconfig to patch tclConfig.sh paths - avoid subshell in do_configure() - use ${PV} Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-03-25tcl: fix path in Config.sh for sstateRobert Yang
We need fix the path in tclConfig.sh, tdbcConfig.sh and itclConfig.sh for sstate, otherwise there would be build failures when use the sstate across different builds. e.g., when building expect: [snip] tmp/sysroots/qemuarma9/usr/include/tcl8.6 checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in /path/to/another/build/tmp/sysroots/qemuarma9/usr/include/tcl8.6.1 Configure failed. [snip] [YOCTO #6035] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-04tcl-native: Depend on zlib-nativeRichard Purdie
tcl can use its internal zlib. If it detects zlib during configure, then it gets removed from the sysroot during the build (since its no in DEPENDS), it causes build failures. Worse, if the configure test fails to find zlib, it still appents -lz to the other autoconf tests meaning several fail when they shouldn't. This results in conflicts with system macros and other bizarre issues. The easiest fix is to depend on zlib-native and make things determinstic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-17tcl: fix the TCL_INCLUDE_SPECRobert Yang
We have moved the header files to ${includedir}/tcl${VERSION}, but we didn't fix the TCL_INCLUDE_SPEC which is still ${includedir}, it should also be ${includedir}/tcl${VERSION} Note: this commit modifiey alter-includedir.patch, so it doesn't look very clear, I only fixed one line in both configure and configure.in: -eval "TCL_INCLUDE_SPEC=\"-I${includedir}\"" +eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\"" The other changes are because I use git to create the patch while the previous one uses svn. [YOCTO #5732] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-08tcl: enable ptest supportChong Lu
Install tcl test suite and run it as ptest. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02tcl: Fix ${bindir}/tclsh symlinkMartin Jansa
* 8.6.1 version installs tclsh8.6 binary and tclsh symlink to tclsh${VER} (tclsh8.6.1) which doesn't exist lrwxrwxrwx 1 bitbake bitbake 12 Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh -> ./tclsh8.6.1 -rwxr-xr-x 2 bitbake bitbake 8.8K Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh8.6 * add another symlinks tclsh8.6.1 -> tclsh8.6 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-05tcl: fix tclConfig.sh to point to the correct private headersSaul Wold
When building expect with rm_work enabled, it was not finding the correct private header files because they were removed from the WORKDIR, this fixes the tclConfig.sh to point to the sysroot private area instead. This also fixes the -L directory to point to STAGING_LIBDIR instead if INCDIR! [YOCTO #5620] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-27tcl: fix version string and make recipe multilib build compatibleNick D'Ademo
Explicitly set libdir in EXTRA_OECONF so that the correct library folder is generated in a multilib build. The version string (VER) has been changed to 8.6.1 and the library paths have been updated accordingly so that the related tk recipe can correctly detect tcl (this search is done using the tclConfig.sh script which contains the tcl version number). Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-20tcl: Install header into 8.6 instead of PN-PV in user/includeKhem Raj
This helps in compiling other programs like expect which depend on private headers but 8.5, 8.6 and so on is enough granularity and currently we had 8.6.x and so on which means that expect recipe will need to be touched whenever there is minor update of tcl. Additionally the encode creating symlink to shared object in patch and remove it from recipe Refresh patches after making changes to Configure.in we propertly generate configure and not patch is directly as was the case. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-26tcl: upgrade to 8.6.1Laurentiu Palcu
Following patches were removed/refreshed: * let-DST-include-year-2099.patch - removed, fixed upstream * tcl-add-soname.patch - refreshed Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-06tcl: Add dependency on zlibMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18tcl: fix typo of upstream status in patch fileKai Kang
Fix typo of upstream status in tcl-remove-hardcoded-install-path.patch that may cause some scripts out of work. Fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-20tcl: fix unit test boundary year issueKai Kang
Unit test clock.test check the boundary year 2099 which is not inclusive. Include 2099 to be a valide year number. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20tcl: remove hardcoded library install pathKai Kang
Remove hardcoded library install path and then install library to ${libdir}. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12tcl: upgraded to 8.6.0Bogdan Marinescu
The license checksum changed because of a small correction in the license text. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-23tcl: Fix the location of the installed headersMark Hatle
Having '${S}' in the for loop was causing the headers to be installed into the wrong location. Move the 'S' to the install line. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18tcltk: Fix for ${B} != ${S}Richard Purdie
This change allows ${B} != ${S} builds to work since otherwise gnu-configise is executed in the wrong places and various source paths aren't correct. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07tcl: updated to version 8.5.13Bogdan Marinescu
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-28tcl: Fix dangerous do_install staging referencesRichard Purdie
Nothing should ever be poking files directly into the staging/sysroot directories, it should always go through ${D}. This patch ensures this recipe does this and hence fixes various potential build issues such as lack of sstate tracking of files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.Jackie Huang
The line 'sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh' is commented somehow in previous commit, so that TCL_SRC_DIR point to the tcl workdir which will cause package that use it fail to configure or compile when the tcl workdir is removed, so uncomment it back. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-06tcl: Add ${bindir_crossscripts}/tclConfig.sh to sysroot stageJackie Huang
tclConfig.sh is changed in do_install for cross compile and is installed to STAGING_BINDIR_CROSS, but if SSTATE_DIR is set and tcl is from sstage, tclConfig.sh can't be found in STAGING_BINDIR_CROSS, add ${bindir_crossscripts}/tclConfig.sh to sysroot stage can fix it. [YOCTO #2891] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18tcl: fix tcl INCLUDE_SPEC and LIB_SPECYao Zhao
TCL_INCLUDE_SPEC -I/usr/include will cause problems cross configure/compile TCL_LIB_SPEC -L${libdir} will cause problems too when link. Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-30tcl: fix target recipe build issue on older distrosNitin A Kamble
the builddir is put in front of the LD_LIBRARY_PATH, causing dynamically linking of target library with native tclsh. Fix this behavior to cross build tcl correctly. This issue got exposed when eglibc-2.15 was configured for the target. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-16tcl: Fix bad RPATH QA warningRichard Purdie
WARNING: QA Issue: tcl-lib: /work/i586-poky-linux/tcl-8.5.11-r4/packages-split/tcl-lib/usr/lib/libtcl8.5.so contains probably-redundant RPATH /usr/lib WARNING: QA Issue: tcl: /work/i586-poky-linux/tcl-8.5.11-r4/packages-split/tcl/usr/bin/tclsh contains probably-redundant RPATH /usr/lib WARNING: QA Issue: tcl: /work/i586-poky-linux/tcl-8.5.11-r4/packages-split/tcl/usr/bin/tclsh8.5 contains probably-redundant RPATH /usr/lib Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28tcl: Ensure native verison has correct dependencies and buildsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28tcl 8.5.11: fix packaging for native versionRichard Purdie
Fix an issue in the previous commit: ERROR: Nothing RPROVIDES 'tcl-native-lib-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/tcltk/tcl_8.5.11.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'tcl-native-lib-native' is unbuildable, removing. by replacing ${PN}-lib with tcl-lib Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>