Hello community,

here is the log from the commit of package ccache for openSUSE:Factory checked 
in at 2019-10-28 16:43:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ccache (Old)
 and      /work/SRC/openSUSE:Factory/.ccache.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ccache"

Mon Oct 28 16:43:54 2019 rev:47 rq:742098 version:3.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ccache/ccache.changes    2019-08-27 
15:53:49.663691447 +0200
+++ /work/SRC/openSUSE:Factory/.ccache.new.2990/ccache.changes  2019-10-28 
16:44:00.540520957 +0100
@@ -1,0 +2,11 @@
+Wed Oct 16 07:21:20 UTC 2019 - Martin Pluskal <mplus...@suse.com>
+
+- Update to version 3.7.4:
+  * Added support for the -gz[=type] compiler option (previously
+    ccache would think that “-gz” alone would enable debug
+    information, thus potentially including the current directory
+    in the hash).
+  * Added support for converting paths like “/c/users/...” into
+    relative paths on Windows.
+
+-------------------------------------------------------------------

Old:
----
  ccache-3.7.3.tar.xz
  ccache-3.7.3.tar.xz.asc

New:
----
  ccache-3.7.4.tar.xz
  ccache-3.7.4.tar.xz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ccache.spec ++++++
--- /var/tmp/diff_new_pack.8Gmnzr/_old  2019-10-28 16:44:02.488523435 +0100
+++ /var/tmp/diff_new_pack.8Gmnzr/_new  2019-10-28 16:44:02.488523435 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           ccache
-Version:        3.7.3
+Version:        3.7.4
 Release:        0
 Summary:        A Fast C/C++ Compiler Cache
 License:        GPL-3.0-or-later
@@ -41,7 +41,7 @@
 %build
 %configure \
   --without-bundled-zlib
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %make_install

++++++ ccache-3.7.3.tar.xz -> ccache-3.7.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/LICENSE.html 
new/ccache-3.7.4/LICENSE.html
--- old/ccache-3.7.3/LICENSE.html       2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/LICENSE.html       2019-09-12 21:14:51.000000000 +0200
@@ -735,7 +735,7 @@
 <body class="article">
 <div id="header">
 <h1>ccache copyright and license</h1>
-<span id="revnumber">version 3.7.3</span>
+<span id="revnumber">version 3.7.4</span>
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the 
table of contents.</b></p></noscript>
@@ -1235,9 +1235,9 @@
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer-text">
-Version 3.7.3<br />
+Version 3.7.4<br />
 Last updated
- 2019-08-17 22:37:25 CEST
+ 2019-09-12 21:14:17 CEST
 </div>
 </div>
 </body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/doc/AUTHORS.adoc 
new/ccache-3.7.4/doc/AUTHORS.adoc
--- old/ccache-3.7.3/doc/AUTHORS.adoc   2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/doc/AUTHORS.adoc   2019-09-12 21:14:51.000000000 +0200
@@ -20,6 +20,7 @@
 * Chiaki Ishikawa
 * Chris AtLee
 * Clemens Rabe
+* Cristian Adam
 * David Givone
 * Doug Anderson
 * Edward Z. Yang
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/doc/AUTHORS.html 
new/ccache-3.7.4/doc/AUTHORS.html
--- old/ccache-3.7.3/doc/AUTHORS.html   2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/doc/AUTHORS.html   2019-09-12 21:14:51.000000000 +0200
@@ -735,7 +735,7 @@
 <body class="article">
 <div id="header">
 <h1>ccache authors</h1>
-<span id="revnumber">version 3.7.3</span>
+<span id="revnumber">version 3.7.4</span>
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the 
table of contents.</b></p></noscript>
@@ -820,6 +820,11 @@
 </li>
 <li>
 <p>
+Cristian Adam
+</p>
+</li>
+<li>
+<p>
 David Givone
 </p>
 </li>
@@ -1241,9 +1246,9 @@
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer-text">
-Version 3.7.3<br />
+Version 3.7.4<br />
 Last updated
- 2019-08-17 22:37:25 CEST
+ 2019-09-12 21:14:17 CEST
 </div>
 </div>
 </body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/doc/MANUAL.html 
new/ccache-3.7.4/doc/MANUAL.html
--- old/ccache-3.7.3/doc/MANUAL.html    2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/doc/MANUAL.html    2019-09-12 21:14:51.000000000 +0200
@@ -735,7 +735,7 @@
 <body class="article">
 <div id="header">
 <h1>CCACHE(1)</h1>
-<span id="revnumber">version 3.7.3</span>
+<span id="revnumber">version 3.7.4</span>
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the 
table of contents.</b></p></noscript>
@@ -2746,9 +2746,9 @@
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer-text">
-Version 3.7.3<br />
+Version 3.7.4<br />
 Last updated
- 2019-08-17 22:37:25 CEST
+ 2019-09-12 21:14:17 CEST
 </div>
 </div>
 </body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/doc/NEWS.adoc 
new/ccache-3.7.4/doc/NEWS.adoc
--- old/ccache-3.7.3/doc/NEWS.adoc      2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/doc/NEWS.adoc      2019-09-12 21:14:51.000000000 +0200
@@ -1,6 +1,21 @@
 ccache news
 ===========
 
+ccache 3.7.4
+------------
+Release date: 2019-09-12
+
+Improvements
+~~~~~~~~~~~~
+
+- Added support for GCC 9’s `-gz[=type]` option (previously ccache would think
+  that “-gz” alone would enable debug information, thus potentially including
+  the current directory in the hash).
+
+- Added support for converting paths like “/c/users” into relative paths on
+  Windows.
+
+
 ccache 3.7.3
 ------------
 Release date: 2019-08-17
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/doc/NEWS.html 
new/ccache-3.7.4/doc/NEWS.html
--- old/ccache-3.7.3/doc/NEWS.html      2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/doc/NEWS.html      2019-09-12 21:14:51.000000000 +0200
@@ -735,7 +735,7 @@
 <body class="article">
 <div id="header">
 <h1>ccache news</h1>
-<span id="revnumber">version 3.7.3</span>
+<span id="revnumber">version 3.7.4</span>
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the 
table of contents.</b></p></noscript>
@@ -743,6 +743,30 @@
 </div>
 <div id="content">
 <div class="sect1">
+<h2 id="_ccache_3_7_4">ccache 3.7.4</h2>
+<div class="sectionbody">
+<div class="paragraph"><p>Release date: 2019-09-12</p></div>
+<div class="sect2">
+<h3 id="_improvements">Improvements</h3>
+<div class="ulist"><ul>
+<li>
+<p>
+Added support for GCC 9’s <code>-gz[=type]</code> option (previously ccache 
would think
+  that “-gz” alone would enable debug information, thus potentially including
+  the current directory in the hash).
+</p>
+</li>
+<li>
+<p>
+Added support for converting paths like “/c/users” into relative paths on
+  Windows.
+</p>
+</li>
+</ul></div>
+</div>
+</div>
+</div>
+<div class="sect1">
 <h2 id="_ccache_3_7_3">ccache 3.7.3</h2>
 <div class="sectionbody">
 <div class="paragraph"><p>Release date: 2019-08-17</p></div>
@@ -3518,9 +3542,9 @@
 <div id="footnotes"><hr /></div>
 <div id="footer">
 <div id="footer-text">
-Version 3.7.3<br />
+Version 3.7.4<br />
 Last updated
- 2019-08-17 22:37:25 CEST
+ 2019-09-12 21:14:17 CEST
 </div>
 </div>
 </body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/doc/ccache.1 
new/ccache-3.7.4/doc/ccache.1
--- old/ccache-3.7.3/doc/ccache.1       2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/doc/ccache.1       2019-09-12 21:14:51.000000000 +0200
@@ -2,12 +2,12 @@
 .\"     Title: ccache
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\"      Date: 08/17/2019
+.\"      Date: 09/12/2019
 .\"    Manual: ccache Manual
-.\"    Source: ccache 3.7.3
+.\"    Source: ccache 3.7.4
 .\"  Language: English
 .\"
-.TH "CCACHE" "1" "08/17/2019" "ccache 3\&.7\&.3" "ccache Manual"
+.TH "CCACHE" "1" "09/12/2019" "ccache 3\&.7\&.4" "ccache Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/src/ccache.c 
new/ccache-3.7.4/src/ccache.c
--- old/ccache-3.7.3/src/ccache.c       2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/src/ccache.c       2019-09-12 21:14:51.000000000 +0200
@@ -791,7 +791,15 @@
 
 #ifdef _WIN32
        if (path[0] == '/') {
-               path++;  // Skip leading slash.
+               char *p = NULL;
+               if (isalpha(path[1]) && path[2] == '/') {
+                       // Transform /c/path... to c:/path...
+                       p = format("%c:/%s", path[1], &path[3]);
+               } else {
+                       p = x_strdup(path+1); // Skip leading slash.
+               }
+               free(path);
+               path = p;
        }
 #endif
 
@@ -2770,6 +2778,11 @@
                                continue;
                        }
 
+                       if (str_startswith(argv[i], "-gz")) {
+                               // -gz[=type] neither disables nor enables 
debug info.
+                               continue;
+                       }
+
                        char last_char = argv[i][strlen(argv[i]) - 1];
                        if (last_char == '0') {
                                // "-g0", "-ggdb0" or similar: All debug 
information disabled.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/src/version.c 
new/ccache-3.7.4/src/version.c
--- old/ccache-3.7.3/src/version.c      2019-08-17 22:37:57.000000000 +0200
+++ new/ccache-3.7.4/src/version.c      2019-09-12 21:14:51.000000000 +0200
@@ -1 +1 @@
-extern const char CCACHE_VERSION[]; const char CCACHE_VERSION[] = "3.7.3";
+extern const char CCACHE_VERSION[]; const char CCACHE_VERSION[] = "3.7.4";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ccache-3.7.3/test/suites/base.bash 
new/ccache-3.7.4/test/suites/base.bash
--- old/ccache-3.7.3/test/suites/base.bash      2019-08-17 22:37:57.000000000 
+0200
+++ new/ccache-3.7.4/test/suites/base.bash      2019-09-12 21:14:51.000000000 
+0200
@@ -371,6 +371,50 @@
     expect_stat 'cache miss' 1
 
     # -------------------------------------------------------------------------
+    TEST "Directory is not hashed if using -gz"
+
+    if $REAL_COMPILER -c test1.c -gz -o /dev/null 2>/dev/null; then
+        mkdir dir1 dir2
+        cp test1.c dir1
+        cp test1.c dir2
+
+        cd dir1
+        $CCACHE_COMPILE -c test1.c -gz
+        expect_stat 'cache hit (preprocessed)' 0
+        expect_stat 'cache miss' 1
+        $CCACHE_COMPILE -c test1.c -gz
+        expect_stat 'cache hit (preprocessed)' 1
+        expect_stat 'cache miss' 1
+
+        cd ../dir2
+        $CCACHE_COMPILE -c test1.c -gz
+        expect_stat 'cache hit (preprocessed)' 2
+        expect_stat 'cache miss' 1
+    fi
+
+    # -------------------------------------------------------------------------
+    TEST "Directory is not hashed if using -gz=zlib"
+
+    if $REAL_COMPILER -c test1.c -gz=zlib -o /dev/null 2>/dev/null; then
+        mkdir dir1 dir2
+        cp test1.c dir1
+        cp test1.c dir2
+
+        cd dir1
+        $CCACHE_COMPILE -c test1.c -gz=zlib
+        expect_stat 'cache hit (preprocessed)' 0
+        expect_stat 'cache miss' 1
+        $CCACHE_COMPILE -c test1.c -gz=zlib
+        expect_stat 'cache hit (preprocessed)' 1
+        expect_stat 'cache miss' 1
+
+        cd ../dir2
+        $CCACHE_COMPILE -c test1.c -gz=zlib
+        expect_stat 'cache hit (preprocessed)' 2
+        expect_stat 'cache miss' 1
+    fi
+
+    # -------------------------------------------------------------------------
     TEST "CCACHE_NOHASHDIR"
 
     mkdir dir1 dir2



Reply via email to