summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgpg-error
Commit message (Collapse)AuthorAgeFilesLines
* libgpg-error: upgrade 1.47 -> 1.48Wang Mingyu2024-03-012-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 0001-Do-not-fail-when-testing-config-scripts.patch refreshed for 1.48 Changelog: =========== * New configure option --with-libtool-modification. * New option parser flag to detect commands given without a double dash. There is also the new meta command "command-mode" to set this flag via a config file. * Added an es_fopen mode flag "sequential" with support on Windows. * Added an es_fopen mode flag "wipe" to cleanup internal buffers at close time. * New function gpgrt_wipememory. * Improvements to setenv on Windows. * Fixed call to estream-printf string filters. * Many improvements to the yat2m tool. * Updates to the build system. (From OE-Core rev: e484b0dda40d00f6272970c9e8a5c9cd6b879301) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: update 1.46 -> 1.47Alexander Kanavin2023-05-222-18/+45
| | | | | | | | | | License-Update: copyright years (From OE-Core rev: 6f0c3844e3ced175416daac645179a3044df6bcf) 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>
* m4/opkg/ethtool/attr/libgpg-error: Add missing bash ptest dependencyRichard Purdie2023-03-121-1/+1
| | | | | | (From OE-Core rev: 27b6605c7b95f70a50b4243818a03c5b2412c5a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: update 1.45 -> 1.46Alexander Kanavin2022-11-223-11/+15
| | | | | | | | (From OE-Core rev: edb25dbd3cafe553f716b079f6a5af077b73d18a) 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>
* libgpg-error: 1.44 -> 1.45Alexander Kanavin2022-04-282-7/+8
| | | | | | | (From OE-Core rev: 519fe0b3fbfd7cc5a3b10fa38ef7aac06a76f920) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Add ptestSimone Weiss2022-04-202-1/+16
| | | | | | | | | | | | Add a ptest for libgpg-error to core-image-ptest-all. Avoid refreshing the Makefile in qemu as this would fail and is not needed. All tests passed on a trial run. (From OE-Core rev: 51dd52604eb73c55fc32a99c3208653f27ba4091) Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: update 1.43 -> 1.44Alexander Kanavin2022-02-052-29/+1
| | | | | | | | | Drop accepted patch. (From OE-Core rev: a4dc17a8b4080ca17c0f363163363d5c2af4dc4e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: submit patch upstreamAlexander Kanavin2021-12-061-1/+1
| | | | | | | (From OE-Core rev: 58b4aae2f7a539e80c61c50a04ec22983dbd0745) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: mark patch as non-upstreamableAlexander Kanavin2021-11-111-1/+1
| | | | | | | (From OE-Core rev: b01c20ac79ebe84090ee260a9d153d8398df6c88) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: update 1.42 -> 1.43Alexander Kanavin2021-11-113-38/+10
| | | | | | | (From OE-Core rev: 7637c0ccd5bc41eda7cd40e4f56dfbe5fbd17e0a) 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-3/+3
| | | | | | | | | | | | 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>
* libgpg-error: update 1.41 -> 1.42Alexander Kanavin2021-05-254-58/+130
| | | | | | | (From OE-Core rev: 9d08ba366260a161c34b81ad6d9e52fe970e83d3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipesMeh Mbeh Ida Delphine2021-03-021-0/+1
| | | | | | | | | Fixes: [YOCTO #13471] (From OE-Core rev: 6db24928d62aeb093a0e6da6619713eaca57a96f) Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: upgrade 1.39 -> 1.41zhengruoqin2021-01-162-16/+17
| | | | | | | | | refresh pkgconfig.patch (From OE-Core rev: 0de14edfd16dc25d8a0dc0da120cda955dcc7576) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error:upgrade 1.38 -> 1.39zangrc2020-08-273-180/+1
| | | | | | | | | | | 0003-build-Fix-cross-compiling-into-a-separate-build-dir.patch 0005-src-gen-lock-obj.sh-add-a-file.patch Removed since these are included in 1.39 (From OE-Core rev: 73cc232e0f85b6f65403ba259770d8f85ccfd63f) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: update 1.37 -> 1.38Alexander Kanavin2020-06-284-72/+219
| | | | | | | | | | | Drop the do_compile_prepend logic as upstream now handles it correctly. License-Update: copyright years (From OE-Core rev: 830a955ab2f3c22ed44918a88adb79ba719eedbc) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: upgrade 1.36 -> 1.37Alexander Kanavin2020-02-293-148/+31
| | | | | | | (From OE-Core rev: 1038aaee556f32516129a536772850e5a401a331) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Fix build with gawk 5.xKhem Raj2019-09-061-1/+3
| | | | | | | | (From OE-Core rev: 1418581aa22f37c5d7d9a686c1c387149954e9b2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Fix build with gawk 5.xKhem Raj2019-09-032-0/+143
| | | | | | | (From OE-Core rev: 11f4bf5ace2e6c0baf0eebbab128d4867139249d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error:upgrade 1.35 -> 1.36Zang Ruochen2019-04-121-2/+2
| | | | | | | | | -Upgrade from libgpg-error_1.35.bb to libgpg-error_1.36.bb. (From OE-Core rev: 88bf6239f3a4af09bbd1eec4e511500f2b335ade) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Support build for native on ppc hostSerhey Popovych2019-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while kernel selected by the installer depending on PowerPC machine type: * 32-bit for PowerMac G4 (ppc7400) and below * 64-bit for PowerMac G5 and above Thus uname(2) returns ppc64 for 64-bit kernels and 32-bit userspace making build impossible due to missing some of lib64 multilib equivalents in Ubuntu repository. Using setarch(8) override to make whole host look as PowerPC 32-bit can actually help with build but requires mapping for ppc target to their libgpg-error equivalent to fix native build. Build tested on Ubuntu 16.04 LTS host on PowerMac G5 with command: MACHINE=qemuppc setarch ppc bitbake core-image-full-cmdline (From OE-Core rev: e81a5a640a2a00c43796cd47e168c93bb389a6c8) Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Bump to version 1.35Alistair Francis2019-01-311-3/+3
| | | | | | | | | | | The file src/gpg-error.h.in SHA changed as some new funtion definitions were added to the header file and the copyright year was updated to include 2019. (From OE-Core rev: 9dbc82afb90034aa229591dd41fe25ef83dcf521) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Update to 1.33Armin Kuster2019-01-034-417/+101
| | | | | | | | | | Drop patches now included in the update refactoered pkgconfig.patch (From OE-Core rev: cb38ff242cf3e1a9cda726703bd12778bde38f93) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Support build for native on ppc64/ppc64le hostsSerhey Popovych2018-11-071-0/+2
| | | | | | | | | | | | | | | | | | | Both RHEL and SLES uses ppc64/ppc64le for powerpc 64 bit big/little endian targets instead of powerpc64/powerpc64le in libgpg-error. Also libgpg-error provides common target system names in form like <arch>-unknown-linux-gnu. Add mapping for ppc64/ppc64le targets to their libgpg-error equivalents to fix native builds. Cross build for arm64 tested on IBM Power 8 machine with RHEL7 for ppc64le variant only, but should work for ppc64 as well. (From OE-Core rev: f1af780769477f06eb925fd87c844baba04ada2d) Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Trim license info extracted from init.c & gpg-error.h.inPeter Kjellerstedt2018-11-071-2/+2
| | | | | | | | License-Update: Only extract relevant parts from init.c & gpg-error.h.in (From OE-Core rev: a5c1ff6deb6393666745889eee8297112848ba28) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Add ARC supportAlexey Brodkin2018-10-183-2/+340
| | | | | | | (From OE-Core rev: 2d9dbcc638cc39b935b89b6e66ed216ea9b05d62) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: fix install file conflictsKai Kang2018-09-131-1/+4
| | | | | | | | | | | | | Fix install files conflicts between multlib packages by inherit multilib_script: | file /usr/bin/cairo-trace conflicts between attempted installs of lib32-libcairo-perf-utils-1.14.12-r0.x86 and libcairo-perf-utils-1.14.12-r0.core2_64 | file /usr/bin/icu-config conflicts between attempted installs of lib32-icu-dev-62.1-r0.x86 and icu-dev-62.1-r0.core2_64 | file /usr/bin/gpgrt-config conflicts between attempted installs of lib32-libgpg-error-dev-1.32-r0.x86 and libgpg-error-dev-1.32-r0.core2_64 (From OE-Core rev: 52f2dd97e9dd20dea0f3cdeb2df490d1a4c646aa) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: upgrade 1.31 -> 1.32Ross Burton2018-07-241-2/+2
| | | | | | | (From OE-Core rev: 9437450e451fe30c7d6ee8c37f1ce804153c31c4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Upgrade 1.28 -> 1.31Khem Raj2018-05-152-67/+4
| | | | | | | | | | | | License-Update: Check 19 lines of gpg-error.h.in only, more lines are not representing license text Drop upstreamed patch (From OE-Core rev: 9d26c595f648a8375ac92c2923b1cce3a1217c53) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: 1.27 -> 1.28Hongxu Jia2018-05-043-29/+106
| | | | | | | | | | | | | - Rebase pkgconfig.patch - Fix regression on arm64 due to invalid use of va_list License-Update: copyright years (From OE-Core rev: 4a59b8a3d81ce6391da59f0aced763d0c16f73eb) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Fix multilib header conflict - pg-error.h and gpgrt.hZhang Xiao2018-03-151-1/+2
| | | | | | | | | | Header file conflict between 32-bit and 64-bit versions. (From OE-Core rev: 66b0f977cc1809616b78939f8096330e7c8a94de) Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: 1.26 -> 1.27Huang Qiyu2017-05-181-4/+3
| | | | | | | | | | | | 1) Upgrade libgpg-error from 1.26 to 1.27. 2) One file's LIC_FILES_CHKSUM checksums changed (src/gpg-error.h.in),but LICENSE remains the same. 3) Delete PR assignmen,since the version is upgraded. (From OE-Core rev: db623a39e05b9d24ad6252dd24bb7610ed6f578a) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Don't replace the syscfg header for mingw32Nathan Rossi2017-03-041-3/+8
| | | | | | | | | | | | For mingw32 targets do not attempt to replace the syscfg/lock-obj-pub.*.h as for mingw32 there are no arch specific headers that are included in the libgpg-error source. (From OE-Core rev: 45a5253a6c8d3e394c1a74491b95fc63a1616646) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: correctly configure on mips64Alexander Kanavin2017-03-041-0/+2
| | | | | | | | | | | | This fixes the long-standing error: ../../libgpg-error-1.26/src/posix-lock.c:137: get_lock_object: Assertion `!"sizeof lock obj"' failed. (From OE-Core rev: f57ec88a7c7f50cd40ebeadb4da150ab39a6b6d9) 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>
* libgpg-error: 1.25 -> 1.26Hongxu Jia2017-02-151-2/+3
| | | | | | | | | - errorref.txt is part of the documentation so should be in PN-doc. (From OE-Core rev: 9bbd661303473b8ecf51cdaa25510c90ea926387) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error_1.25.bb: Enable nativesdkNathan Rossi2017-02-051-1/+1
| | | | | | | | | | Enable nativesdk on this recipe. (From OE-Core rev: 3c01367dfd945d528d330b228807da5d1f60ffb0) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Update to version 1.25Fabio Berton2016-11-301-3/+4
| | | | | | | | | | License checksum changes are not related to license changes. (From OE-Core rev: 078912e9264d79368cba89fad3752dfd4b681dc3) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Make case generic for MIPSZubair Lutfullah Kakakhel2016-10-151-2/+2
| | | | | | | | | | | | | | | | | The tuples for MIPS r6 onwards are - mipsisa32r6el - mipsisa32r6 - mipsisa64r6el - mipsisa64r6 The default case passes it forward which isn't handled well and causes a build error. Rework the case statement to make it generic. (From OE-Core rev: 49dc626182694d4dd92ed921a8fa2d9cd9f49635) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: upgrade to 1.24Maxin B. John2016-08-011-2/+2
| | | | | | | | | | 1.23 -> 1.24 (From OE-Core rev: 4e951b202a5cc2c8d734a9082389435265213be2) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Upgrade 1.22 -> 1.23Jussi Kukkonen2016-07-201-2/+2
| | | | | | | | (From OE-Core rev: 7b60c4b7414600e16ff4ffa5ed0f999fa5e66100) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Upgrade 1.21 -> 1.22Jussi Kukkonen2016-05-302-51/+4
| | | | | | | | | | | License checksum changes are not license changes. Remove a patch that's in upstream now. (From OE-Core rev: 3493bda7c10ba12a596ba0224eca646b93ea9181) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg.org-hosted recipes: Change SRC_URI to https siteJussi Kukkonen2016-05-301-1/+2
| | | | | | | | | | | | | | | | | | | https version seems more reliable and in an informal test fetching all gnupg recipes now takes <20% of the time it used to. Define GNUPG_MIRROR in bitbake.conf so future tweaks to this are easier. Replace some slower mirrors with the official ftp site and another from gnupg.org mirror list. Set UPSTREAM_CHECK_URI in all recipes that need it to "https://gnupg.org/download/index.html" as the directory listings are not up-to-date. (From OE-Core rev: dfc9178e2f2b6873ca497d981e308e00d15280b5) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: upgrade to 1.21Jussi Kukkonen2016-01-181-3/+3
| | | | | | | | | License checksum changed because text layout changed. (From OE-Core rev: 243ccaceee9bab9c8f1021a1502c07e1055614e6) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Add support for nios2Marek Vasut2015-09-232-1/+49
| | | | | | | | | | Add a patch which adds a configuration for the nios2 processor. (From OE-Core rev: 16a04f25c114837e5d309a95d3841c9399b9f417) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Upgrade 1.18 -> 1.19Leonardo Sandoval2015-06-112-25/+26
| | | | | | | | | | | | The patch pkgconfig.patch has not being integrated into upstream repository, so rebasing it. Another change occurred inside the recipe, the TUPLE's name changed for i586/i686 target architectures. (From OE-Core rev: c263dc742c0c4729be51dad8eefc0b2699b071d9) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error 1.18: simplify tupple handling and add armv8b supportKoen Kooi2015-04-131-6/+2
| | | | | | | | | Add a default option to the case statement and remove the duplicates. Also add support for armv8b architectures. (From OE-Core rev: 8d207e55031c0b93387e728f4312b8cb34ad5b12) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Fix native build on i686Gary Thomas2015-04-101-1/+1
| | | | | | | | | | Most modern x86 systems return i686 as the system type. This patch handles i486, i586 and i686 correctly. (From OE-Core rev: 1b24eaa71702c07e525d8a62c08c0983e9917468) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Add -P option to CPPFLAGSKhem Raj2015-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1301822.html libgpg-error FTBFS when built with gcc-5. Here is the relevant excerpt: | Making all in src | make[4]: Entering directory '/tmp/buildd/libgpg-error/libgpg-error-1.17/src' | gawk -f ./mkstrtable.awk -v textidx=3 \ | ./err-sources.h.in >err-sources.h | gawk -f ./mkstrtable.awk -v textidx=3 \ | ./err-codes.h.in >err-codes.h | gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h | gawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h | gcc -E -D_FORTIFY_SOURCE=2 _mkerrcodes.h | grep GPG_ERR_ | \ | gawk -f ./mkerrcodes.awk >mkerrcodes.h | rm _mkerrcodes.h | gcc -I. -I. -o mkerrcodes ./mkerrcodes.c | In file included from ./mkerrcodes.c:26:0: | ./mkerrcodes.h:9:5: error: expected expression before ',' token | { , "GPG_ERR_E2BIG" }, | ^ It makes invalid assumptions on undefined behaviour of gcc. To see why, let us look at the contents of the intermediate steps: _mkerrcodes.h (deleted): | ... | #ifdef E2BIG | E2BIG GPG_ERR_E2BIG | #endif | #ifdef WSAE2BIG | WSAE2BIG GPG_ERR_E2BIG | #endif | ... gcc -E -D_FORTIFY_SOURCE=2 _mkerrcodes.h | grep -v '^$': | ... | # 26 "_mkerrcodes.h" 2 | 7 | # 31 "_mkerrcodes.h" | GPG_ERR_E2BIG | # 37 "_mkerrcodes.h" 3 4 | 13 | # 37 "_mkerrcodes.h" | GPG_ERR_EACCES | ... As can be seen here, the cpp from gcc-5 can split lines and "grep GPG_ERR_" fails to account for that. Change-Id: I6f1476e4afc7163ebc3a05106ceaa3b83e3fab3e (From OE-Core rev: 3993378c9a8994688fda15a5cd05e04a435d2d54) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Upgrade 1.17 -> 1.18Khem Raj2015-02-271-4/+3
| | | | | | | | | | | | | License checksums changed due to year change - Copyright (C) 2003, 2004, 2010, 2013, 2014 g10 Code GmbH + Copyright (C) 2003, 2004, 2010, 2013, 2014, 2015 g10 Code GmbH Change-Id: I870446796cf9ffe3acae7aeeac2d96d6305d4186 (From OE-Core rev: 5c22fc329768af7095c205f47ef7f4e3d5f3272c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>