From 58c8cdccddc95cb83f6a867d27d7a46e34a42e5050a66290fd9f350bdbb5c78b Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 6 Apr 2021 08:23:19 +0000 Subject: [PATCH 1/2] - Update to version 4.2.1: * Ccache now only dup2`s stderr into `$UNCACHED_ERR_FD for calls to the preprocessor/compiler. This works around a complex bug in interaction with GNU Make, LTO linking and the Linux PTY driver. * Fixed detection of color diagnostics usage when using -Xclang -fcolordiagnostics options. * The -frecord-gcc-switches compiler option is now handled correctly to avoid false positive cache hits. * Made it possible for per-compilation debug log files to be written in most argument processing error scenarios. Previously, ccache would only write debug log files if the argument processing phase was successful. * Made ccache bail out on too hard Clang option -gen-cdb-fragment-path. * The run_second_cpp made is now enforced on macOS if -g is used since newer Clang versions on macOS produce different debug information when compiling preprocessed code. * Made ccache only reject -f(no-)color-diagnostics for a known GCC compiler. This fixes a problem when using said option with clang++ on macOS. * Build configuration scripts now probe for atomic increment as well. This fixes a linking error on Sparc. * An existing CMake log message level is now used when warning about not finding asciidoc. * Fixed assertion in the "Debug option" test. * Upgraded to doctest 2.4.6. This fixes a build error with glibc >= 2.34. OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=104 --- ccache-4.2.1.tar.xz | 3 +++ ccache-4.2.1.tar.xz.asc | 16 ++++++++++++++++ ccache-4.2.tar.xz | 3 --- ccache-4.2.tar.xz.asc | 16 ---------------- ccache.changes | 16 ++++++++++++++++ ccache.spec | 2 +- 6 files changed, 36 insertions(+), 20 deletions(-) create mode 100644 ccache-4.2.1.tar.xz create mode 100644 ccache-4.2.1.tar.xz.asc delete mode 100644 ccache-4.2.tar.xz delete mode 100644 ccache-4.2.tar.xz.asc diff --git a/ccache-4.2.1.tar.xz b/ccache-4.2.1.tar.xz new file mode 100644 index 0000000..5e3dcb2 --- /dev/null +++ b/ccache-4.2.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d6ba1cdefdc690401f404b747d81a9a1802b17af4235815866b7620d980477e +size 431484 diff --git a/ccache-4.2.1.tar.xz.asc b/ccache-4.2.1.tar.xz.asc new file mode 100644 index 0000000..3030e97 --- /dev/null +++ b/ccache-4.2.1.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEWpOacaRnks9XhmpRmW3aB1WUrbgFAmBff3gACgkQmW3aB1WU +rbheAg//Ry3YVTNB/fOGlyLln0vlGwO4ls4UgJG3F3yBxg90UNw0A6khsweUe9eZ +E03kPSwVDrkHm+ZDbzcZ/px/cQI6d8qVJEvzXbYrsPkg1wnOmfMF5hylUw+bsicn +kegHvlHzc1tAQjP02BEVex1brjyDV1FueNO5aBkwUp2Gur7DQ68FdW2p+TBBJEbl +VNaPDPvfeEuFjre0qSTcHfVeUpqVQjhWPxS5IPo6fSC7zWsxH7dJ8OLDJmzLd71P +Q/QfFhFiwKylskM8BEmjAqVBC7MgiQm93ECMHeoa3oocPC6WNytwGZ+JLAY4eiC6 +EzgE+RltTTqWsIPQ25e2aorjnKzYBarvjeTLoHR7RBZ1jo3anrpMg3i1l8MhY3Ls +6YI+B/agX8yfgsSjurmajkUe3DpiqEWBCOoe5csJ8YKMt5GDVF5J58g3E/rsMJNZ +7u6pumA6fu3o3mMvvE+uzY5S/EQn0kSaqkLhi4Y7sW0jJHjX7FFr3gjn/g3ZZDsQ +fJFbMDKr3nVkXVGxUzl34cz11MmONg3A/EhVxI86Ptlu3yHeLSiQs6TdqyE3ip5M +8aWJCYCrVvemzr1IUH9JHUtrGMGMtDxdlDlweTczloWNTljgmBHPk1NM12dDUnlD +TV6yiO6somK4eBC6TPgb+lVZtAtBdHf2T/FtOJmwLz56VDQUd3I= +=KIjF +-----END PGP SIGNATURE----- diff --git a/ccache-4.2.tar.xz b/ccache-4.2.tar.xz deleted file mode 100644 index 45621b9..0000000 --- a/ccache-4.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f14b11888c39778c93814fc6843fc25ad60ff6ba4eeee3dff29a1bad67ba94f -size 422688 diff --git a/ccache-4.2.tar.xz.asc b/ccache-4.2.tar.xz.asc deleted file mode 100644 index 5980166..0000000 --- a/ccache-4.2.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEWpOacaRnks9XhmpRmW3aB1WUrbgFAmAY7mUACgkQmW3aB1WU -rbjptQ//VJWNl30eD0W/jceZSvKdUySztKPdQfld1XwqNETyDLKTkjZyOiYovXYU -Yekd8dWOMsBVsCXWllyZJGvBqWsUOaYPbWF84vNOv+fe/jB6cTi41uW+XP/PsbaC -+NT465jbMUIN2081cksftJUic23dBPUPlJxe2wfC1j3cNUPVqEsFfhP59XpDI53i -fPdfX36G3PJxl9d7jXIAeeb056LmM0uGq7Y8XXxvVIsanDKusXuUU2IrnDmz5t1R -AbQFmJLv8d4ingaSlpaVjrLMF56A5mJL9Zo4opdV9OyqJcVHNrP8/4hABKpOCngO -PaHK1VKLJLW/ZCTREfI78T+TTo0Qm2b/oaosvPMJTm5NWRZdqVuVCrgI7VQNTppu -bBd2kboNrCZZa4Oet98W+X90jRo/VJ3fOKFsUMGiC48gbJ/ZeOBTmDWLlnt/tjS4 -iy/crLTYmxz0Pe96Yd/9TcJkgv6TXItH+dBpFrh2Kw77y1z190hYNu/1ATM+j+OK -ieb3X487x65Mw1oQdH80t8ntrrEhtSqjKdBJrwzq5JMD38ryOvDYCFmvd1wF0DDw -xqgqOCK5wdaqu9kESQKjHv8zjq8M/qArNe5gYpksmppsF2m3iILJcTEHAnRgTs/f -6xA9uRb/4M7lynmfqbLAFVUjkmqgC708YGSZrN7wFHAIdnnyURA= -=RO3j ------END PGP SIGNATURE----- diff --git a/ccache.changes b/ccache.changes index 29c07b0..279f520 100644 --- a/ccache.changes +++ b/ccache.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Apr 6 08:12:49 UTC 2021 - Martin Pluskal + +- Update to version 4.2.1: + * Ccache now only dup2`s stderr into `$UNCACHED_ERR_FD for calls to the preprocessor/compiler. This works around a complex bug in interaction with GNU Make, LTO linking and the Linux PTY driver. + * Fixed detection of color diagnostics usage when using -Xclang -fcolordiagnostics options. + * The -frecord-gcc-switches compiler option is now handled correctly to avoid false positive cache hits. + * Made it possible for per-compilation debug log files to be written in most argument processing error scenarios. Previously, ccache would only write debug log files if the argument processing phase was successful. + * Made ccache bail out on too hard Clang option -gen-cdb-fragment-path. + * The run_second_cpp made is now enforced on macOS if -g is used since newer Clang versions on macOS produce different debug information when compiling preprocessed code. + * Made ccache only reject -f(no-)color-diagnostics for a known GCC compiler. This fixes a problem when using said option with clang++ on macOS. + * Build configuration scripts now probe for atomic increment as well. This fixes a linking error on Sparc. + * An existing CMake log message level is now used when warning about not finding asciidoc. + * Fixed assertion in the "Debug option" test. + * Upgraded to doctest 2.4.6. This fixes a build error with glibc >= 2.34. + ------------------------------------------------------------------- Thu Feb 4 11:11:55 UTC 2021 - Martin Pluskal diff --git a/ccache.spec b/ccache.spec index 6c40ad3..1a1f2f2 100644 --- a/ccache.spec +++ b/ccache.spec @@ -17,7 +17,7 @@ Name: ccache -Version: 4.2 +Version: 4.2.1 Release: 0 Summary: A Fast C/C++ Compiler Cache License: GPL-3.0-or-later From f2ec88e6583cf644132a39ec6fd9cc04c4cbc1ab0c908374cb54384827b96865 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 6 Apr 2021 08:38:46 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=105 --- ccache.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccache.spec b/ccache.spec index 1a1f2f2..7b45de0 100644 --- a/ccache.spec +++ b/ccache.spec @@ -64,11 +64,11 @@ ln -sf ../../bin/%{name} c++ # and for nvidia cuda ln -sf ../../bin/%{name} nvcc +%check # Following failure needs to be adressed: # The following tests FAILED: # 29 - test.upgrade (Failed) -#%%check -#ctest +%ctest ||: %files %license LICENSE.* GPL-3.0.txt