summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/bison
AgeCommit message (Collapse)Author
2021-05-25bison: Make libtextstyle and libreadline optionalDaniel McGregor
Bison opportunistically enables libtextstyle and libreadline support if they're installed on the build host. Since textstyle and readline aren't part of uninative avoid host contamination by making their support configurable and disabled by default in the native case. (From OE-Core rev: 286e60702aa1d8448efc703fa40735e079e6a027) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09bison: upgrade 3.7.5 -> 3.7.6Alexander Kanavin
License-Update: http links -> https (From OE-Core rev: d3072372c95f327d38581e0f29f3d3329e0ecaae) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17bison: Fix up file name mappingJoshua Watt
File name mapping was added to bison, but needs to be applied in more cases. Add a patch to enable file name mapping for symbols (From OE-Core rev: 5a213506377b0db4e88ca094215eadf08c21a2e1) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30bison: upgrade 3.7.4 -> 3.7.5zhengruoqin
(From OE-Core rev: 77d41c0329290fb33319feffdc504c2b3b4c8568) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09bison: upgrade 3.7.3 -> 3.7.4Alexander Kanavin
(From OE-Core rev: 0b882746f17a0b72033621d4efdf95d3bd9c7c35) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03bison: upgrade 3.7.2 -> 3.7.3Alexander Kanavin
(From OE-Core rev: edd3364029531c06ab12c18f486f95e493dd6405) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17bison: remove the parallel build patchMingli Yu
Remove the parallel build patch and related fix for parallel build as the issue have already been fixed in bison 3.7.2 (f7b642cf build: fix incorrect dependencies). (From OE-Core rev: 00c7aacf84d094706ed3378a265189d2d6816cfd) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12bison: uprev from 3.7.1 to 3.7.2Stacy Gaikovaia
a0bc06b7 (tag: v3.7.2) version 3.7.2 5e33dfe5 build: disable syntax-check warning 2a4e9a35 gnulib: update f7b642cf build: fix incorrect dependencies 3da17724 doc: updates 68e3e442 gnulib: update e432619d tests: beware of sed portability issues a1b7fef0 c: always use YYMALLOC/YYFREE 067e35a8 build: beware of POSIX mode 0522047c doc: history of api.prefix 3724b50e CI: intel moved the script for ICC b801b7b6 fix: unterminated \-escape b7aab2db fix: crash when redefining the EOF token 89e42ffb style: fix missing space before paren 6aae4a73 style: fix comments and more debug trace 7d4a4300 style: more uses of const 31d4ec28 bench: fix support for pure parser 0a5bfb4f portability: multiple typedefs 12d0b156 style: revert "avoid warnings with GCC 4.6" cb7dcb01 maint: post-release administrivia CVE: CVE-2020-24980 fixed by b801b7b6 CVE: CVE-2020-24979 fixed by b7aab2db (From OE-Core rev: 00a259ff93beb32b231843304c0f96c235bc4d22) Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25bison: upgrade 3.6.4 -> 3.7.1Alexander Kanavin
(From OE-Core rev: 680dcdcc18afa83b63f495bbd55a068e81ec3004) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12bison: fix Argument list too long errorLee Chee Yang
fix Argument list too long error when len(TMPDIR) = 410 (From OE-Core rev: 73f05ba58dcee57e25712f9aee97535d9a32c982) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28bison: upgrade 3.6.3 -> 3.6.4Alexander Kanavin
(From OE-Core rev: 588ed940b8d43091cf6466d858cafeaf1c5f048d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09bison: upgrade 3.6.2 -> 3.6.3Alexander Kanavin
(From OE-Core rev: 5c2b545a9334daddbd0d9fc43264e6029336101e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04bison: 3.5.4 -> 3.6.2Alexander Kanavin
Drop dont-depend-on-help2man.patch.patch, as pre-build manpages are already packaged into source tarballs. (From OE-Core rev: 59bbf308c28e841d0c91d8d01bf9cd31987c2b8a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15bison: fix the parallel buildMingli Yu
Explicitly make the BUILT_SOURCES which are the generated headers such as stdio.h, fcntl.h and etc to be the dependencies of the gl_LIBOBJS such as libbison_a-sprintf.o, libbison_a-printf.o and etc to guarantee the BUILT_SOURCES is generated before begin to compile EXTRA_lib_libbison_a_SOURCES such as fprintf.c in parallel builid, otherwise there may come below error: | muscle-tab.c:(.text+0x77a): undefined reference to `rpl_sprintf' It does the same for src_bison_OBJECTS and lib_libbison_a_OBJECTS to make sure BUILT_SOURCES generated before begin to compile src_bison_SOURCES which contains AnnotationList.c and etc. BTW, the MOSTLYCLEANFILES also contains the generated header needs to be created early in the build process, so add it also in to avoid below error: | ./lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory [YOCTO #13825] (From OE-Core rev: d4a0cbf132cf6a821e3efe7db3d9afd014cc9bc6) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24bison: upgrade 3.5.3 -> 3.5.4Wang Mingyu
(From OE-Core rev: 0acf102023856e11df949d4889aa821df81abb8a) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21bison: Reset load average settings if specified in environmentKhem Raj
In some cases, we run into parallel build failures where BUILT_SOURCES is skipped, as a result required header files are not generated and the build fails with missing header errors like ../bison-3.5.2/lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory #include "uniwidth.h" ^~~~~~~~~~~~ compilation terminated. BUILT_SOURCES should be built automatically with `make all` [1] therefore ensure that make is invoked with `all` target bison-native parallel build fails when -l<n> is passed globally from build environment, errors like below due to race starts to show up Therefore removes a previous load limit if set [1] https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html#Built-Sources-Example (From OE-Core rev: 1b8451aa4ba2b42b1eb1dc938fa3397d3434839a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21bison: Update to 3.5.3Khem Raj
bugfix release [1] [1] https://lists.gnu.org/archive/html/bison-announce/2020-03/msg00000.html (From OE-Core rev: b073317d5ea71217443624e5dc3b55831bb56018) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-25bison: Upgrade 3.5.1 -> 3.5.2Adrian Bunk
(From OE-Core rev: dfd39d51cf712206e86060c5ff20ff35fd1dac80) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-08bison: Upgrade to 3.5.1Khem Raj
Minor upgrade on 3.5 release series (From OE-Core rev: da9b363acea2545721702fc7c39c4589b666c61b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-03bison: upgrade 3.4.2 -> 3.5Alexander Kanavin
(From OE-Core rev: b7841157d9bfda027031ff13e39e2407cf41aeb7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-23bison:upgrade 3.4.1 -> 3.4.2Zang Ruochen
(From OE-Core rev: e44923a61d1631439ec22faf1610989f82544027) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02bison: update to 3.4.1Oleksandr Kravchuk
(From OE-Core rev: b97a5a37262a8d7ce45ae75d861e87dfe28fe0df) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22bison: upgrade 3.1 -> 3.3.2Alexander Kanavin
(From OE-Core rev: adda007f4afe0d69fba5c2decf2e70d040d89e6d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08bison: upgrade 3.0.4 -> 3.1Adrian Bunk
Remove patches applied upstream. (From OE-Core rev: 5890ed343981b600148a1b4f1bedaf1e55519c67) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-04nativesdk-bison: Add to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIRHe Zhe
bison is needed when building kernel. Add it to nativesdk-packagegroup-sdk-host and set BISON_PKGDATADIR for bison to use its components. (From OE-Core rev: 8aa27e4eb2f08281329ca1a1da421c6fc376bc8d) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-08bison: Fix build break with glibc 2.28Khem Raj
(From OE-Core rev: 741415c58b3565764000028c26efd081212eb989) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11bison: remove pointless gettext-minimal-native DEPENDSRoss Burton
In native builds USE_NLS is set to 'no' so the gettext class will handle adding gettext-minimal-native to DEPENDS. (From OE-Core rev: ab49d1c03ba3e473a0da6a800d00b2ceba8e855a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-11bison: remove obsolete patchRoss Burton
m4.patch was added before 2005 (history isn't in git, only BitKeeper) and doesn't appear to be needed anymore. Also add a comment to clarify why acpaths is required. (From OE-Core rev: 1ef90df9c5cc628c885897027d8c5ec6f318d68e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-21bison: reduce local pending patchesDengke Du
(From OE-Core rev: 119dd0889f34d88a5261383d743709db32bf3a1b) Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-22meta: Drop further remnants of uclibc supportRichard Purdie
uclibc support was removed a while ago and musl works much better. Start to remove the various overrides and patches related to uclibc which are no longer needed. uclibc support in a layer would still be possible. I have strong reasons to believe nobody is still using uclibc since patches are missing and I doubt the metadata even parses anymore. (From OE-Core rev: ec03023d2165b49a52b83bac1ea2f0bfded7b852) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-11bison: Remove unused bison-2.3_m4.patchMartin Jansa
* it was used only by bison-2.3 which was moved to meta-gplv2 layer (From OE-Core rev: 12aa82b8b07b03d20e63479469faca6562c78a05) 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>
2017-03-07recipes: Move out stale GPLv2 versions to a seperate layeruninative-1.5Richard Purdie
These are recipes where the upstream has moved to GPLv3 and these old versions are the last ones under the GPLv2 license. There are several reasons for making this move. There is a different quality of service with these recipes in that they don't get security fixes and upstream no longer care about them, in fact they're actively hostile against people using old versions. The recipes tend to need a different kind of maintenance to work with changes in the wider ecosystem and there needs to be isolation between changes made in the v3 versions and those in the v2 versions. There are probably better ways to handle a "non-GPLv3" system but right now having these in OE-Core makes them look like a first class citizen when I believe they have potential for a variety of undesireable issues. Moving them into a separate layer makes their different needs clearer, it also makes it clear how many of these there are. Some are probably not needed (e.g. mc), I also wonder whether some are useful (e.g. gmp) since most things that use them are GPLv3 only already. Someone could now more clearly see how to streamline the list of recipes here. I'm proposing we mmove to this separate layer for 2.3 with its future maintinership and testing to be determined in 2.4 and beyond. (From OE-Core rev: 19b7e950346fb1dde6505c45236eba6cd9b33b4b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28bison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIRHongxu Jia
This issue was triggered by buildpaths QA Warning. ... |gettext-0.19.6: File work/core2-64-poky-linux/gettext/0.19.6-r0/ packages-split/gettext/usr/bin/msgcmp in package contained reference to tmpdir ... Previously, variable BISON_LOCALEDIR was assigned only by the output of 'bison --print-localedir' which provided by native bison that has buildpaths in it. For target compile, we add option --with-bisonlocaledir to set BISON_LOCALEDIR with "/usr/share/locale" to fix the QA issue. The variable BISON_LOCALEDIR is used for internationalization of the bison parser’s runtime output. Here is the introduction: http://www.gnu.org/software/bison/manual/html_node/Internationalization.html [YOCTO #7058] (From OE-Core rev: aafb300a1f144b9ebda61a02fedd124fe0e1a83a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-12meta: Fix Upstream-Status statementsRoss Burton
Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. (From OE-Core rev: bd220fe6ce8c3a0805f13a14706d3130ea872604) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-30bison: fix parallel issueRobert Yang
Fixed: rm -f src/yacc src/yacc.tmp echo '#! /bin/sh' >src/yacc.tmp /bin/bash: src/yacc.tmp: No such file or directory Makefile:6670: recipe for target 'src/yacc' failed (From OE-Core rev: 2d51e2ff2f77fc6b14e50bd3a32998953d809a48) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-21bison: don't depend on help2manRobert Yang
Fix build error when no help2man on the host: tmp/work/x86_64-linux/bison-native/3.0.4-r0/bison-3.0.4/build-aux/missing: line 81: help2man: command not found (From OE-Core rev: 166f2587468ae71988c610858aad3f7ef67eccba) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-21bison: 2.7.1 -> 3.0.4Robert Yang
* Based on Chong Lu's previous upgrade to 3.0.2 * Remove unneeded patches: dont-depend-on-help2man.patch and fix_cross_manpage_building.patch (From OE-Core rev: fbb26d8db8e71fd979edd2bafa7e0bab7632950c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-21recipes: Fix charset.alias for muslKhem Raj
This is same gnulib fix replicated across needed recipes Change-Id: I756713407111a726eae98e26c9c1ff64981371c0 (From OE-Core rev: fbe6d2c12aa9f7956bc87efeb68cb64b26b60c7a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08bison 2.3: disable nativeRobert Yang
The following packages will fail to build once we build bion-native 2.3: libnl iproute2 libxkbcommon lttng-tools gstreamer1.0 babeltrace (From OE-Core rev: 2dc378e60e3594a57eddf470b61c1a0b79d7daff) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser
The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-20recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet
Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR (From OE-Core rev: ad17dfd31a2b97b3e610a0ea0889f5ecb2a63b97) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-02bison: Delete unused patchKhem Raj
(From OE-Core rev: 5917b04027f44e0c4425154dcc0563bbd681c1d8) 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>
2013-05-12bison: upgraded to 2.7.1Bogdan Marinescu
(From OE-Core rev: 9cad15c8bc14d7f371e518b443650d1380b16516) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18bison: Use PATH to locate m4Richard Purdie
We can specify no path to m4 at configure time and thus avoiding having a wrapper for that particular problem. (From OE-Core rev: 4e8b9f2521d6581db8d63e742000a8c742729f25) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07bison: remove help2man dependencyMarko Lindqvist
Remove manpage creation. It wasn't working because of help2man missing when bison is being built. This attempt to create manpages without help2man turns from no-op to hard error with automake-1.13. (From OE-Core rev: a2f4b4437c6d542349d2027330dc16392ed131ae) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-26bison: update to 2.7Bogdan Marinescu
Tested on core-image-minimal (qemux86). (From OE-Core rev: 23c8bc7ba15c8c0fcfa1d46fd43e70883e21ab86) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.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] (From OE-Core rev: bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19bison: Fix gplv2 version to work with recent gettextRichard Purdie
(From OE-Core rev: 4b132d440ed97053dbef5a4deeb39e37e1167def) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-28flex,bison: Add nativesdk variantsKhem Raj
It is needed in some SDKs that we ship own version of lex/yacc for sdk host (From OE-Core rev: 536c9e42d316efb42651fdc2eba1b8548d74329d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06bison: updated to 2.5.1Bogdan Marinescu
The gets patch is not needed anymore in this version. The manpage patch was updated for this version. (From OE-Core rev: 2f11d409e20d90f2d619b4d92495c3fcd30584ab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>