Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package inspektor-gadget for 
openSUSE:Factory checked in at 2026-01-30 18:23:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/inspektor-gadget (Old)
 and      /work/SRC/openSUSE:Factory/.inspektor-gadget.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "inspektor-gadget"

Fri Jan 30 18:23:29 2026 rev:23 rq:1329942 version:0.48.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/inspektor-gadget/inspektor-gadget.changes        
2026-01-12 10:34:40.370458651 +0100
+++ 
/work/SRC/openSUSE:Factory/.inspektor-gadget.new.1995/inspektor-gadget.changes  
    2026-01-30 18:23:36.700865157 +0100
@@ -1,0 +2,8 @@
+Fri Jan 30 06:37:04 UTC 2026 - Johannes Kastl 
<[email protected]>
+
+- Update to version 0.48.1:
+  * Bug Fixes
+    - [BACKPORT] cmd: Remove possibility to customize CFLAGS from
+      build.yaml. by @eiffel-fl in #5245
+
+-------------------------------------------------------------------

Old:
----
  inspektor-gadget-0.48.0.obscpio

New:
----
  inspektor-gadget-0.48.1.obscpio

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

Other differences:
------------------
++++++ inspektor-gadget.spec ++++++
--- /var/tmp/diff_new_pack.gffdqN/_old  2026-01-30 18:23:38.564943385 +0100
+++ /var/tmp/diff_new_pack.gffdqN/_new  2026-01-30 18:23:38.564943385 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           inspektor-gadget
-Version:        0.48.0
+Version:        0.48.1
 Release:        0
 Summary:        A eBPF tool and systems inspection framework
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.gffdqN/_old  2026-01-30 18:23:38.600944896 +0100
+++ /var/tmp/diff_new_pack.gffdqN/_new  2026-01-30 18:23:38.604945064 +0100
@@ -3,7 +3,7 @@
     <param 
name="url">https://github.com/inspektor-gadget/inspektor-gadget</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v0.48.0</param>
+    <param name="revision">v0.48.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.gffdqN/_old  2026-01-30 18:23:38.636946407 +0100
+++ /var/tmp/diff_new_pack.gffdqN/_new  2026-01-30 18:23:38.640946575 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/inspektor-gadget/inspektor-gadget</param>
-              <param 
name="changesrevision">321189adb926fd27d7f04b61eb12eb3b6a3c3fec</param></service></servicedata>
+              <param 
name="changesrevision">2d313744c21e53d8f846b681d72add09688a2040</param></service></servicedata>
 (No newline at EOF)
 

++++++ inspektor-gadget-0.48.0.obscpio -> inspektor-gadget-0.48.1.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/inspektor-gadget-0.48.0/Dockerfiles/gadget-builder.Dockerfile 
new/inspektor-gadget-0.48.1/Dockerfiles/gadget-builder.Dockerfile
--- old/inspektor-gadget-0.48.0/Dockerfiles/gadget-builder.Dockerfile   
2025-12-22 15:16:46.000000000 +0100
+++ new/inspektor-gadget-0.48.1/Dockerfiles/gadget-builder.Dockerfile   
2026-01-29 11:52:58.000000000 +0100
@@ -7,7 +7,7 @@
 # Args need to be redefined on each stage
 # 
https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
 
-FROM 
debian:bookworm-slim@sha256:e899040a73d36e2b36fa33216943539d9957cba8172b858097c2cabcdb20a3e2
 AS builder
+FROM 
debian:bookworm-slim@sha256:56ff6d36d4eb3db13a741b342ec466f121480b5edded42e4b7ee850ce7a418ee
 AS builder
 ARG BPFTOOL_VERSION
 ARG LIBBPF_VERSION
 
@@ -27,7 +27,7 @@
        tar -C /usr/local/bin -xzf bpftool-${BPFTOOL_VERSION}-${ARCH}.tar.gz && 
\
        chmod +x /usr/local/bin/bpftool
 
-FROM 
debian:bookworm-slim@sha256:e899040a73d36e2b36fa33216943539d9957cba8172b858097c2cabcdb20a3e2
+FROM 
debian:bookworm-slim@sha256:56ff6d36d4eb3db13a741b342ec466f121480b5edded42e4b7ee850ce7a418ee
 ARG CLANG_LLVM_VERSION
 ARG GOLANG_VERSION
 ARG RUST_VERSION
@@ -40,6 +40,7 @@
 # make and git is needed for make ebpf-objects and make clang-format
 # clang-format is needed for make clang-format
 RUN apt-get update \
+       && apt-get upgrade -y --with-new-pkgs \
        && apt-get install -y --no-install-recommends libc-dev lsb-release wget 
xz-utils software-properties-common make git
 
 # Install clang
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inspektor-gadget-0.48.0/cmd/common/image/build.go 
new/inspektor-gadget-0.48.1/cmd/common/image/build.go
--- old/inspektor-gadget-0.48.0/cmd/common/image/build.go       2025-12-22 
15:16:46.000000000 +0100
+++ new/inspektor-gadget-0.48.1/cmd/common/image/build.go       2026-01-29 
11:52:58.000000000 +0100
@@ -59,7 +59,6 @@
        EBPFSource string `yaml:"ebpfsource"`
        Wasm       string `yaml:"wasm"`
        Metadata   string `yaml:"metadata"`
-       CFlags     string `yaml:"cflags"`
 }
 
 type cmdOpts struct {
@@ -122,12 +121,12 @@
 
 type buildOptions struct {
        outputDir         string
-       cFlags            string
        forceColorsFlag   string
        ebpfSourcePath    string
        wasmSourcePath    string
        btfgen            bool
        btfHubArchivePath string
+       useInTreeHeaders  string
 }
 
 func buildCmd(options buildOptions) []string {
@@ -135,8 +134,8 @@
                "make", "-f", filepath.Join(options.outputDir, 
"Makefile.build"),
                "-j", fmt.Sprintf("%d", runtime.NumCPU()),
                "OUTPUTDIR=" + options.outputDir,
-               "CFLAGS=" + options.cFlags,
                "FORCE_COLORS=" + options.forceColorsFlag,
+               "USE_IN_TREE_HEADERS=" + options.useInTreeHeaders,
        }
 
        if options.ebpfSourcePath != "" {
@@ -284,7 +283,6 @@
                                outputDir:         opts.outputDir,
                                ebpfSourcePath:    conf.EBPFSource,
                                wasmSourcePath:    conf.Wasm,
-                               cFlags:            conf.CFlags,
                                btfHubArchivePath: opts.btfhubarchive,
                                btfgen:            opts.btfgen,
                        })
@@ -450,6 +448,7 @@
        pathHost := cwd
 
        inspektorGadetSrcPath := os.Getenv("IG_SOURCE_PATH")
+       useInTreeHeaders := "false"
        if inspektorGadetSrcPath != "" {
                pathHost = inspektorGadetSrcPath
                // find the gadget relative path to the inspektor-gadget source
@@ -460,14 +459,14 @@
                gadgetSourcePath = filepath.Join("/work", gadgetRelativePath)
 
                // use in-tree headers too
-               conf.CFlags += " -I /work/include/ -I 
/work/include/gadget/@ARCH@/ "
+               useInTreeHeaders = "true"
        }
 
        buildOpts := buildOptions{
                outputDir:         "/out",
-               cFlags:            conf.CFlags,
                btfgen:            opts.btfgen,
                btfHubArchivePath: "/btfhub-archive",
+               useInTreeHeaders:  useInTreeHeaders,
        }
 
        if conf.Wasm != "" {
@@ -478,10 +477,6 @@
                buildOpts.ebpfSourcePath = filepath.Join(gadgetSourcePath, 
conf.EBPFSource)
        }
 
-       if cflags, set := os.LookupEnv("CFLAGS"); set {
-               buildOpts.cFlags += " " + cflags
-       }
-
        if term.IsTerminal(int(os.Stdout.Fd())) && 
term.IsTerminal(int(os.Stderr.Fd())) {
                buildOpts.forceColorsFlag = "true"
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/inspektor-gadget-0.48.0/cmd/common/image/helpers/Makefile.build 
new/inspektor-gadget-0.48.1/cmd/common/image/helpers/Makefile.build
--- old/inspektor-gadget-0.48.0/cmd/common/image/helpers/Makefile.build 
2025-12-22 15:16:46.000000000 +0100
+++ new/inspektor-gadget-0.48.1/cmd/common/image/helpers/Makefile.build 
2026-01-29 11:52:58.000000000 +0100
@@ -14,16 +14,21 @@
 # Since Ubuntu does not install it in a standard path, add a compiler flag for
 # it.
 BASECFLAGS = -target bpf -Wall -g -O2 -I/usr/include/$(shell uname 
-m)-linux-gnu
-CFLAGS ?=
 OUTPUTDIR ?= /tmp
 EBPFSOURCE ?= program.bpf.c
-CARGOFLAGS ?=
+CARGOFLAGS =
+INCLUDEFLAGS =
 FORCE_COLORS ?= false
+USE_IN_TREE_HEADERS ?= false
 
 ifeq ($(FORCE_COLORS), true)
     CARGOFLAGS += --color always
 endif
 
+ifeq ($(USE_IN_TREE_HEADERS), true)
+    INCLUDEFLAGS += -I /work/include/ -I /work/include/gadget/@ARCH@/
+endif
+
 ARCHS = amd64 arm64
 TARGETS = $(foreach ARCH,$(ARCHS),$(OUTPUTDIR)/$(ARCH).bpf.o)
 
@@ -31,7 +36,7 @@
 ebpf: $(TARGETS)
 
 $(OUTPUTDIR)/%.bpf.o: $(EBPFSOURCE)
-       $(CLANG) $(BASECFLAGS) $(subst @ARCH@,$*,$(CFLAGS)) -D 
__TARGET_ARCH_$(subst amd64,x86,$*) \
+       $(CLANG) $(BASECFLAGS) $(subst @ARCH@,$*,$(INCLUDEFLAGS)) -D 
__TARGET_ARCH_$(subst amd64,x86,$*) \
                -c $< -I /usr/include/gadget/$*/ -o $@
        $(LLVM_STRIP) -g $@
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inspektor-gadget-0.48.0/gadgets/traceloop/build.yaml 
new/inspektor-gadget-0.48.1/gadgets/traceloop/build.yaml
--- old/inspektor-gadget-0.48.0/gadgets/traceloop/build.yaml    2025-12-22 
15:16:46.000000000 +0100
+++ new/inspektor-gadget-0.48.1/gadgets/traceloop/build.yaml    2026-01-29 
11:52:58.000000000 +0100
@@ -1,5 +1 @@
 wasm: go/program.go
-# To print debug messages:
-# cflags: '-DSHOW_DEBUG'
-# To print error messages:
-# cflags: '-DSHOW_ERROR'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/inspektor-gadget-0.48.0/gadgets/traceloop/program.bpf.c 
new/inspektor-gadget-0.48.1/gadgets/traceloop/program.bpf.c
--- old/inspektor-gadget-0.48.0/gadgets/traceloop/program.bpf.c 2025-12-22 
15:16:46.000000000 +0100
+++ new/inspektor-gadget-0.48.1/gadgets/traceloop/program.bpf.c 2026-01-29 
11:52:58.000000000 +0100
@@ -107,10 +107,8 @@
 #error "Traceloop is not supported on your architecture."
 #endif
 
-/*
- * Add the following in build.yaml to print debug messages:
- *  cflags: '-DSHOW_DEBUG'
- */
+/* Uncomment the following line to show debug messages. */
+/* #define SHOW_DEBUG */
 #if defined(SHOW_DEBUG)
 #define bpf_debug_printk(fmt, ...) bpf_printk(fmt, ##__VA_ARGS__)
 #else /* !defined(SHOW_DEBUG) */
@@ -119,10 +117,8 @@
        } while (0)
 #endif /* !defined(SHOW_DEBUG) */
 
-/*
- * Add the following in build.yaml to print error messages:
- *  cflags: '-DSHOW_ERROR'
- */
+/* Uncomment the following line to show errors. */
+/* #define SHOW_ERROR */
 #if defined(SHOW_ERROR)
 #define bpf_error_printk(fmt, ...) bpf_printk(fmt, ##__VA_ARGS__)
 #else /* !defined(SHOW_ERROR) */

++++++ inspektor-gadget.obsinfo ++++++
--- /var/tmp/diff_new_pack.gffdqN/_old  2026-01-30 18:23:41.077048808 +0100
+++ /var/tmp/diff_new_pack.gffdqN/_new  2026-01-30 18:23:41.093049479 +0100
@@ -1,5 +1,5 @@
 name: inspektor-gadget
-version: 0.48.0
-mtime: 1766413006
-commit: 321189adb926fd27d7f04b61eb12eb3b6a3c3fec
+version: 0.48.1
+mtime: 1769683978
+commit: 2d313744c21e53d8f846b681d72add09688a2040
 

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/inspektor-gadget/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.inspektor-gadget.new.1995/vendor.tar.gz differ: 
char 12, line 1

Reply via email to