Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package klp-build for openSUSE:Factory 
checked in at 2024-08-16 12:23:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/klp-build (Old)
 and      /work/SRC/openSUSE:Factory/.klp-build.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "klp-build"

Fri Aug 16 12:23:33 2024 rev:8 rq:1194034 version:0~20240814.5dae2ec

Changes:
--------
--- /work/SRC/openSUSE:Factory/klp-build/klp-build.changes      2024-08-14 
14:16:50.221520570 +0200
+++ /work/SRC/openSUSE:Factory/.klp-build.new.2698/klp-build.changes    
2024-08-16 12:24:04.744102071 +0200
@@ -1,0 +2,8 @@
+Thu Aug 15 04:24:32 UTC 2024 - mvet...@suse.com
+
+- Update to version 0~20240814.5dae2ec:
+  * setup: More information being logged
+  * ibs: Optimize extraction of vmlinux and modules
+  * config.py: Show error code when quilt fails
+
+-------------------------------------------------------------------

Old:
----
  klp-build-0~20240812.ad9f0e0.tar.xz

New:
----
  klp-build-0~20240814.5dae2ec.tar.xz

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

Other differences:
------------------
++++++ klp-build.spec ++++++
--- /var/tmp/diff_new_pack.vePPYu/_old  2024-08-16 12:24:05.236122518 +0200
+++ /var/tmp/diff_new_pack.vePPYu/_new  2024-08-16 12:24:05.236122518 +0200
@@ -18,7 +18,7 @@
 
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 Name:           klp-build
-Version:        0~20240812.ad9f0e0
+Version:        0~20240814.5dae2ec
 Release:        0
 Summary:        The kernel livepatching creation tool
 License:        GPL-2.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.vePPYu/_old  2024-08-16 12:24:05.268123849 +0200
+++ /var/tmp/diff_new_pack.vePPYu/_new  2024-08-16 12:24:05.272124015 +0200
@@ -2,7 +2,7 @@
        <service name="tar_scm" mode="manual">
                <param name="scm">git</param>
                <param name="url">https://github.com/SUSE/klp-build</param>
-               <param 
name="revision">ad9f0e08623439b67ecfa9b079f9816f10f51562</param>
+               <param 
name="revision">5dae2ec63b82bb44113c1904edae6a7f0057baf6</param>
                <param name="versionformat">0~%cd.%h</param>
                <param name="changesgenerate">enable</param>
         <param name="changesauthor">mvet...@suse.com</param>

++++++ klp-build-0~20240812.ad9f0e0.tar.xz -> 
klp-build-0~20240814.5dae2ec.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/klp-build-0~20240812.ad9f0e0/klpbuild/config.py 
new/klp-build-0~20240814.5dae2ec/klpbuild/config.py
--- old/klp-build-0~20240812.ad9f0e0/klpbuild/config.py 2024-08-12 
22:38:35.000000000 +0200
+++ new/klp-build-0~20240814.5dae2ec/klpbuild/config.py 2024-08-15 
01:49:34.000000000 +0200
@@ -152,7 +152,7 @@
         err = subprocess.run(["quilt", "pop", "-a"], cwd=sdir, stderr=fil, 
stdout=fil)
 
         if err.returncode not in [0, 2]:
-            raise RuntimeError(f"{cs}: quilt pop failed: {err.stderr}")
+            raise RuntimeError(f"{cs}: quilt pop failed on {sdir}: 
({err.returncode}) {err.stderr}")
 
         shutil.rmtree(patches_dir, ignore_errors=True)
         shutil.rmtree(Path(sdir, ".pc"), ignore_errors=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/klp-build-0~20240812.ad9f0e0/klpbuild/ibs.py 
new/klp-build-0~20240814.5dae2ec/klpbuild/ibs.py
--- old/klp-build-0~20240812.ad9f0e0/klpbuild/ibs.py    2024-08-12 
22:38:35.000000000 +0200
+++ new/klp-build-0~20240814.5dae2ec/klpbuild/ibs.py    2024-08-15 
01:49:34.000000000 +0200
@@ -183,18 +183,23 @@
 
         # Create a list of paths pointing to lib/modules for each downloaded
         # codestream
-        for cs in cs_list:
+        for cs, data in cs_list.items():
             for arch in self.get_cs_archs(cs):
+                kname = data["kernel"] + "-default"
+                if data.get("rt", ""):
+                    kname = data['kernel'] + "-rt"
+
                 # Extract modules and vmlinux files that are compressed
-                mod_path = Path(self.get_data_dir(arch), "lib", "modules")
+                mod_path = Path(self.get_data_dir(arch), "lib", "modules", 
kname)
                 for fext, ecmd in [("zst", "unzstd -f -d"), ("xz", "xz --quiet 
-d -k")]:
                     cmd = rf'find {mod_path} -name "*ko.{fext}" -exec {ecmd} 
--quiet {{}} \;'
                     subprocess.check_output(cmd, shell=True)
 
-                # Extract all gzipped files under arch//boot, including 
vmlinux,
-                # symvers and maybe others.
-                vmlinux_path = Path(self.get_data_dir(arch), "boot")
-                subprocess.check_output(rf'find {vmlinux_path} -name "*gz" 
-exec gzip -k -d -f {{}} \;', shell=True)
+                # Extract gzipped vmlinux per arch
+                vmlinux_path = Path(self.get_data_dir(arch), "boot", 
f"vmlinux-{kname}.gz")
+                # ppc64le doesn't gzips vmlinux
+                if vmlinux_path.exists():
+                    subprocess.check_output(rf'gzip -k -d -f {vmlinux_path}', 
shell=True)
 
             # Use the SLE .config
             shutil.copy(self.get_cs_kernel_config(cs, ARCH), 
Path(self.get_odir(cs), ".config"))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/klp-build-0~20240812.ad9f0e0/klpbuild/setup.py 
new/klp-build-0~20240814.5dae2ec/klpbuild/setup.py
--- old/klp-build-0~20240812.ad9f0e0/klpbuild/setup.py  2024-08-12 
22:38:35.000000000 +0200
+++ new/klp-build-0~20240814.5dae2ec/klpbuild/setup.py  2024-08-15 
01:49:34.000000000 +0200
@@ -275,6 +275,7 @@
             logging.info(f'\t{" ".join(data_missing.keys())}\n')
             ibs = IBS(self.lp_name, self.filter, self.working_cs)
             ibs.download_cs_data(data_missing)
+            logging.info("Done.")
 
     def setup_project_files(self):
         self.lp_path.mkdir(exist_ok=True)
@@ -291,6 +292,7 @@
         else:
             self.setup_codestreams()
 
+        logging.info("Checking files, symbols, modules...")
         # Setup the missing codestream info needed
         for cs, data in self.working_cs.items():
             # Check if the files exist in the respective codestream directories
@@ -341,3 +343,5 @@
         # cpp will use this data in the next step
         with open(self.conf_file, "w") as f:
             f.write(json.dumps(self.conf, indent=4))
+
+        logging.info("Done. Setup finished.")

Reply via email to