Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cvise for openSUSE:Factory checked 
in at 2023-03-22 22:31:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cvise (Old)
 and      /work/SRC/openSUSE:Factory/.cvise.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cvise"

Wed Mar 22 22:31:37 2023 rev:69 rq:1073778 version:2.7.0+git.20230322.994dbe2

Changes:
--------
--- /work/SRC/openSUSE:Factory/cvise/cvise.changes      2023-03-02 
23:04:28.412144681 +0100
+++ /work/SRC/openSUSE:Factory/.cvise.new.31432/cvise.changes   2023-03-22 
22:32:23.570721808 +0100
@@ -1,0 +2,17 @@
+Wed Mar 22 11:44:28 UTC 2023 - [email protected]
+
+- Update to version 2.7.0+git.20230322.994dbe2:
+  * add timeout of 10s when we query for instances in clangbinarysearch pass
+  * Fix build error with the current LLVM tip.
+  * fix clang Werror
+  * CI: add LLVM builder
+  * CI: fix
+  * CI: move cocurrency to top-level scope
+  * CI: add concurrency also for llvm-nightly
+  * CI: fix concurrency
+  * CI: cancel previous builds
+  * Use latest LLVM release.
+  * Fix clang error: error: variable 'which' set but not used.
+  * Use -Wno-error=maybe-uninitialized conditionally.
+
+-------------------------------------------------------------------

Old:
----
  cvise-2.7.0+git.20230302.ff4e51e.tar.xz

New:
----
  cvise-2.7.0+git.20230322.994dbe2.tar.xz

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

Other differences:
------------------
++++++ cvise.spec ++++++
--- /var/tmp/diff_new_pack.JFVKoc/_old  2023-03-22 22:32:24.070724323 +0100
+++ /var/tmp/diff_new_pack.JFVKoc/_new  2023-03-22 22:32:24.074724344 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           cvise
-Version:        2.7.0+git.20230302.ff4e51e
+Version:        2.7.0+git.20230322.994dbe2
 Release:        0
 Summary:        Super-parallel Python port of the C-Reduce
 License:        BSD-3-Clause

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.JFVKoc/_old  2023-03-22 22:32:24.134724646 +0100
+++ /var/tmp/diff_new_pack.JFVKoc/_new  2023-03-22 22:32:24.142724686 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/marxin/cvise</param>
-              <param 
name="changesrevision">ff4e51e093a53615362f77c956d90f0f728c12e5</param></service></servicedata>
+              <param 
name="changesrevision">994dbe2bd26e70872cd18e114827dd33b5880adf</param></service></servicedata>
 (No newline at EOF)
 

++++++ cvise-2.7.0+git.20230302.ff4e51e.tar.xz -> 
cvise-2.7.0+git.20230322.994dbe2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230302.ff4e51e/.github/workflows/build-llvm-nightly.yml 
new/cvise-2.7.0+git.20230322.994dbe2/.github/workflows/build-llvm-nightly.yml
--- 
old/cvise-2.7.0+git.20230302.ff4e51e/.github/workflows/build-llvm-nightly.yml   
    2023-03-02 09:34:25.000000000 +0100
+++ 
new/cvise-2.7.0+git.20230322.994dbe2/.github/workflows/build-llvm-nightly.yml   
    2023-03-22 12:41:40.000000000 +0100
@@ -8,12 +8,17 @@
   schedule:
     - cron: '0 3 * * *'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
 
   CI-LLVM-nightly:
     runs-on: ubuntu-22.04
     container:
       image: ubuntu:rolling
+
     steps:
       - run: apt-get update
       - run: apt-get -qq install -y gcc g++ wget lsb-release wget 
software-properties-common gnupg git cmake flex python3-pebble python3-psutil 
python3-chardet python3-pytest vim unifdef
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230302.ff4e51e/.github/workflows/build.yml 
new/cvise-2.7.0+git.20230322.994dbe2/.github/workflows/build.yml
--- old/cvise-2.7.0+git.20230302.ff4e51e/.github/workflows/build.yml    
2023-03-02 09:34:25.000000000 +0100
+++ new/cvise-2.7.0+git.20230322.994dbe2/.github/workflows/build.yml    
2023-03-22 12:41:40.000000000 +0100
@@ -6,6 +6,10 @@
   pull_request:
     branches: [ master ]
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   CI:
     runs-on: ubuntu-latest
@@ -16,16 +20,20 @@
         build-type: [DEBUG]
         docker: [opensuse/tumbleweed]
         include:
-          - llvm: 14
+          - llvm: 15
             build-type: ASAN
             docker: opensuse/tumbleweed
-          - llvm: 14
+          - llvm: 15
             build-type: UBSAN
             docker: opensuse/tumbleweed
-          - llmv: 14
+          - llmv: 15
             build-type: RelWithDebInfo
             extra-flags: -flto=auto
             docker: opensuse/tumbleweed
+          - llmv: 15
+            build-type: RelWithDebInfo
+            docker: opensuse/tumbleweed
+            env: CC=clang CXX=clang++
           - llvm: 9
             build-type: DEBUG
             docker: opensuse/leap
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.7.0+git.20230302.ff4e51e/CMakeLists.txt 
new/cvise-2.7.0+git.20230322.994dbe2/CMakeLists.txt
--- old/cvise-2.7.0+git.20230302.ff4e51e/CMakeLists.txt 2023-03-02 
09:34:25.000000000 +0100
+++ new/cvise-2.7.0+git.20230322.994dbe2/CMakeLists.txt 2023-03-22 
12:41:40.000000000 +0100
@@ -152,12 +152,17 @@
   SUPPORTS_WDANGLING_REFERENCE
 )
 
+check_cxx_compiler_flag(
+  "-Wmaybe-uninitialized"
+  SUPPORTS_MAYBE_UNINITIALIZED
+)
+
 if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
     OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
   # XXX figure out how to get "-std=c++17 -fno-rtti" from LLVM.  That's how we
   # get those options in the Automake path...
-  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror 
-Wno-error=maybe-uninitialized")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -fno-rtti 
-fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror 
-Wno-error=maybe-uninitialized")
+  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -fno-rtti 
-fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror")
   if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
   endif()
@@ -167,7 +172,10 @@
   if(SUPPORTS_WDANGLING_REFERENCE)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=dangling-reference")
   endif()
-
+  if(SUPPORTS_MAYBE_UNINITIALIZED)
+    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=maybe-uninitialized")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=maybe-uninitialized")
+  endif()
 
   set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3 -g")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230302.ff4e51e/clang_delta/RemoveUnusedStructField.cpp 
new/cvise-2.7.0+git.20230322.994dbe2/clang_delta/RemoveUnusedStructField.cpp
--- 
old/cvise-2.7.0+git.20230302.ff4e51e/clang_delta/RemoveUnusedStructField.cpp    
    2023-03-02 09:34:25.000000000 +0100
+++ 
new/cvise-2.7.0+git.20230322.994dbe2/clang_delta/RemoveUnusedStructField.cpp    
    2023-03-22 12:41:40.000000000 +0100
@@ -246,11 +246,7 @@
         LastFDIdx = I;
       }
       else {
-#if LLVM_VERSION_MAJOR >= 17
-        const Designator *DS = DIE->getDesignator(0);
-#else
         const DesignatedInitExpr::Designator *DS = DIE->getDesignator(0);
-#endif
         const FieldDecl *CurrFD = DS->getField();
         if ((CurrFD && FD == CurrFD) ||
             (CurrFD == NULL && DS->getFieldName() == FD->getIdentifier())) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230302.ff4e51e/clang_delta/RenameParam.cpp 
new/cvise-2.7.0+git.20230322.994dbe2/clang_delta/RenameParam.cpp
--- old/cvise-2.7.0+git.20230302.ff4e51e/clang_delta/RenameParam.cpp    
2023-03-02 09:34:25.000000000 +0100
+++ new/cvise-2.7.0+git.20230322.994dbe2/clang_delta/RenameParam.cpp    
2023-03-22 12:41:40.000000000 +0100
@@ -254,7 +254,7 @@
 unsigned int RenameParam::validatePostfix(FunctionDecl *FD, 
                                           unsigned int CurrPostfix)
 {
-  int MaxIteration = 0;
+  [[maybe_unused]] int MaxIteration = 0;
   ExistingNumberSet *LocalNumberSet = NULL;
 
   llvm::DenseMap<FunctionDecl *, ExistingNumberSet *>::iterator I =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cvise-2.7.0+git.20230302.ff4e51e/clex/driver.c 
new/cvise-2.7.0+git.20230322.994dbe2/clex/driver.c
--- old/cvise-2.7.0+git.20230302.ff4e51e/clex/driver.c  2023-03-02 
09:34:25.000000000 +0100
+++ new/cvise-2.7.0+git.20230322.994dbe2/clex/driver.c  2023-03-22 
12:41:40.000000000 +0100
@@ -203,7 +203,6 @@
 static void shorten_string(int idx) {
   int i;
   int matched = 0;
-  int which = 0;
   for (i = 0; i < toks; i++) {
     if (!matched && tok_list[i].kind == TOK_STRING) {
       char *s = tok_list[i].str;
@@ -213,7 +212,6 @@
       } else {
         string_rm_chars(s + idx + 1, 1);
         matched = 1;
-        which++;
       }
     }
     printf("%s", tok_list[i].str);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cvise-2.7.0+git.20230302.ff4e51e/cvise/passes/clangbinarysearch.py 
new/cvise-2.7.0+git.20230322.994dbe2/cvise/passes/clangbinarysearch.py
--- old/cvise-2.7.0+git.20230302.ff4e51e/cvise/passes/clangbinarysearch.py      
2023-03-02 09:34:25.000000000 +0100
+++ new/cvise-2.7.0+git.20230322.994dbe2/cvise/passes/clangbinarysearch.py      
2023-03-22 12:41:40.000000000 +0100
@@ -10,6 +10,8 @@
 
 
 class ClangBinarySearchPass(AbstractPass):
+    QUERY_TIMEOUT = 10
+
     def check_prerequisites(self):
         return self.check_external_program('clang_delta')
 
@@ -49,17 +51,21 @@
         return state
 
     def count_instances(self, test_case):
-        args = [self.external_programs['clang_delta'], 
f'--query-instances={self.arg}']
-        if self.clang_delta_std:
-            args.append(f'--std={self.clang_delta_std}')
+        assert self.clang_delta_std
+        args = [self.external_programs['clang_delta'], 
f'--query-instances={self.arg}',
+                f'--std={self.clang_delta_std}']
         if self.clang_delta_preserve_routine:
             
args.append(f'--preserve-routine="{self.clang_delta_preserve_routine}"')
         cmd = args + [test_case]
 
         try:
-            proc = subprocess.run(cmd, universal_newlines=True, 
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+            proc = subprocess.run(cmd, universal_newlines=True, 
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
+                                  timeout=self.QUERY_TIMEOUT)
+        except subprocess.TimeoutExpired:
+            logging.warning(f'clang_delta --query-instances 
(--std={self.clang_delta_std}) {self.QUERY_TIMEOUT}s timeout reached')
+            return 0
         except subprocess.SubprocessError as e:
-            logging.warning(f'clang_delta --query-instances failed: {e}')
+            logging.warning(f'clang_delta --query-instances 
(--std={self.clang_delta_std}) failed: {e}')
             return 0
 
         if proc.returncode != 0:

Reply via email to