Bug#1139552: systemtap: 5.4 fails to build autopkgtest for 7.0 kernel

2026-06-09 Thread Syed Shahrukh Hussain

Control:  tags  -1 + pending

Fixed in new release number 5.5.

Will push new release on mentors.


On Tue, 09 Jun 2026 17:06:31 +0500 Syed Shahrukh Hussain wrote:

> Source: systemtap
> Version: 5.1-5
> Severity: serious
> Tags: ftbfs
> Justification: Policy 5.4-1
>
> After applying the patch to fix 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134647

>
> there is a autopkgtest failure
>
> Link: https://salsa.debian.org/syed/systemtap/-/jobs/9723682/raw
>
> 2026-06-05T06:09:08.302611Z 01O Processing triggers for libc-bin 
(2.42-16) ...

>
> 2026-06-05T06:09:40.390694Z 01O In file included from 
/usr/share/systemtap/runtime/linux/task_finder2.c:4,
> 2026-06-05T06:09:40.391104Z 01O from 
/usr/share/systemtap/runtime/linux/task_finder.c:15,
> 2026-06-05T06:09:40.391287Z 01O from 
/usr/share/systemtap/runtime/linux/runtime.h:347,
> 2026-06-05T06:09:40.391829Z 01O from 
/usr/share/systemtap/runtime/runtime.h:26,

> 2026-06-05T06:09:40.391831Z 01O from hello_src.c:21:
> 2026-06-05T06:09:40.391833Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c:318:17: error: 
‘__lock_task_sighand’ undeclared here (not in a function); did you mean 
‘unlock_task_sighand’?
> 2026-06-05T06:09:40.391994Z 01O 318 | typedef 
typeof(&__lock_task_sighand) __lock_task_sighand_fn;

> 2026-06-05T06:09:40.391996Z 01O | ^~~
> 2026-06-05T06:09:40.391998Z 01O | unlock_task_sighand
> 2026-06-05T06:09:40.391999Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c: In function 
‘stp_lock_task_sighand’:
> 2026-06-05T06:09:40.392205Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c:319:72: error: invalid type 
argument of unary ‘*’ (have ‘int’)
> 2026-06-05T06:09:40.392207Z 01O 319 | #define 
__lock_task_sighand(a,b) ibt_wrapper(struct sighand_struct *, (* 
(__lock_task_sighand_fn)kallsyms___lock_task_sighand)((a), (b)))
> 2026-06-05T06:09:40.392412Z 01O | 
^~
> 2026-06-05T06:09:40.392414Z 01O 
/usr/share/systemtap/runtime/linux/runtime.h:317:21: note: in definition 
of macro ‘ibt_wrapper’

> 2026-06-05T06:09:40.392415Z 01O 317 | rettype retval = (function); \
> 2026-06-05T06:09:40.392611Z 01O | ^~~~
> 2026-06-05T06:09:40.392614Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c:332:15: note: in expansion of 
macro ‘__lock_task_sighand’
> 2026-06-05T06:09:40.392615Z 01O 332 | ret = __lock_task_sighand(tsk, 
flags);

> 2026-06-05T06:09:40.392759Z 01O | ^~~
> 2026-06-05T06:09:40.406423Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c:333:15: error: implicit 
declaration of function ‘__cond_lock’; did you mean ‘__folio_lock’? 
[-Wimplicit-function-declaration]
> 2026-06-05T06:09:40.406864Z 01O 333 | 
(void)__cond_lock(&tsk->sighand->siglock, ret);

> 2026-06-05T06:09:40.406867Z 01O | ^~~
> 2026-06-05T06:09:40.406868Z 01O | __folio_lock
> 2026-06-05T06:09:40.694866Z 01O make[2]: *** 
[/usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build:294: 
hello_src.o] Error 1
> 2026-06-05T06:09:40.695356Z 01O make[1]: *** 
[/usr/src/linux-headers-7.0.10+deb14-common/Makefile:2134: .] Error 2
> 2026-06-05T06:09:40.695680Z 01O make: *** 
[/usr/src/linux-headers-7.0.10+deb14-common/Makefile:260: __sub-make] 
Error 2

> 2026-06-05T06:09:40.695682Z 01O WARNING: kbuild exited with status: 2
> 2026-06-05T06:09:40.695839Z 01O Pass 4: compilation failed. [man 
error::pass4]
> 2026-06-05T06:09:40.696265Z 01O Kernel version 7.0.10+deb14 is 
outside tested range 3.10 ... 6.18-rc
> 2026-06-05T06:09:40.696266Z 01O Tip: 
/usr/share/doc/systemtap/README.Debian should help you get started.
> 2026-06-05T06:09:41.083689Z 01O autopkgtest [06:09:41]: test 
build-hello: ---]
> 2026-06-05T06:09:41.188912Z 01O autopkgtest [06:09:41]: test 
build-hello: - - - - - - - - - - results - - - - - - - - - -

> 2026-06-05T06:09:41.188926Z 01O build-hello FAIL non-zero exit status 1
> 2026-06-05T06:09:41.329260Z 01O autopkgtest [06:09:41]: test 
list-coreutils-probe-points: preparing testbed
> 2026-06-05T06:09:41.744266Z 01O Ign:1 
file:/tmp/autopkgtest-lxc.9ol_2woo/downtmp/binaries InRelease
> 2026-06-05T06:09:41.744702Z 01O Get:2 
file:/tmp/autopkgtest-lxc.9ol_2woo/downtmp/binaries Release [816 B]
> 2026-06-05T06:09:41.759686Z 01O Get:2 
file:/tmp/autopkgtest-lxc.9ol_2woo/downtmp/binaries Release [816 B]
> 2026-06-05T06:09:41.763841Z 01O Ign:3 
file:/tmp/autopkgtest-lxc.9ol_2woo/downtmp/binaries Release.gpg

> 2026-06-05T06:09:41.781428Z 01O Reading package lists...
> 2026-06-05T06:09:41.915747Z 01O Reading package lists...
> 2026-06-05T06:09:43.219944Z 01O Building dependency tree...
> 2026-06-05T06:09:43.491168Z 01O Reading state information...
> 2026-06-05T06:09:43.552671Z 01O Solving dependencies...
> 2026-06-05T06:09:43.973585Z 01O 0 upgraded, 0 newly installed, 3 
reinstalled, 0 to remove and 0 not upgraded.

> 2026-06-05T06:09:43.973598Z 01O Need to get 0 B/2,373 kB of archives.
> 2026-06-05T06:09:43.973600Z 01O After this operation, 0 B of 
additional disk space wi

Bug#1139552: systemtap: 5.4 fails to build autopkgtest for 7.0 kernel

2026-06-09 Thread Syed Shahrukh Hussain
Source: systemtap
Version: 5.1-5
Severity: serious
Tags: ftbfs
Justification: Policy 5.4-1

After applying the patch to fix 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134647

there is a autopkgtest failure 

Link: https://salsa.debian.org/syed/systemtap/-/jobs/9723682/raw

2026-06-05T06:09:08.302611Z 01O Processing triggers for libc-bin (2.42-16) ...

2026-06-05T06:09:40.390694Z 01O In file included from 
/usr/share/systemtap/runtime/linux/task_finder2.c:4,
2026-06-05T06:09:40.391104Z 01O  from 
/usr/share/systemtap/runtime/linux/task_finder.c:15,
2026-06-05T06:09:40.391287Z 01O  from 
/usr/share/systemtap/runtime/linux/runtime.h:347,
2026-06-05T06:09:40.391829Z 01O  from 
/usr/share/systemtap/runtime/runtime.h:26,
2026-06-05T06:09:40.391831Z 01O  from hello_src.c:21:
2026-06-05T06:09:40.391833Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c:318:17: error: ‘__lock_task_sighand’ 
undeclared here (not in a function); did you mean ‘unlock_task_sighand’?
2026-06-05T06:09:40.391994Z 01O   318 | typedef typeof(&__lock_task_sighand) 
__lock_task_sighand_fn;
2026-06-05T06:09:40.391996Z 01O   | ^~~
2026-06-05T06:09:40.391998Z 01O   | unlock_task_sighand
2026-06-05T06:09:40.391999Z 01O /usr/share/systemtap/runtime/stp_utrace.c: In 
function ‘stp_lock_task_sighand’:
2026-06-05T06:09:40.392205Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c:319:72: error: invalid type argument 
of unary ‘*’ (have ‘int’)
2026-06-05T06:09:40.392207Z 01O   319 | #define __lock_task_sighand(a,b) 
ibt_wrapper(struct sighand_struct *, (* 
(__lock_task_sighand_fn)kallsyms___lock_task_sighand)((a), (b)))
2026-06-05T06:09:40.392412Z 01O   | 
   
^~
2026-06-05T06:09:40.392414Z 01O 
/usr/share/systemtap/runtime/linux/runtime.h:317:21: note: in definition of 
macro ‘ibt_wrapper’
2026-06-05T06:09:40.392415Z 01O   317 |   rettype retval = (function);  
\
2026-06-05T06:09:40.392611Z 01O   | ^~~~
2026-06-05T06:09:40.392614Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c:332:15: note: in expansion of macro 
‘__lock_task_sighand’
2026-06-05T06:09:40.392615Z 01O   332 | ret = __lock_task_sighand(tsk, 
flags);
2026-06-05T06:09:40.392759Z 01O   |   ^~~
2026-06-05T06:09:40.406423Z 01O 
/usr/share/systemtap/runtime/stp_utrace.c:333:15: error: implicit declaration 
of function ‘__cond_lock’; did you mean ‘__folio_lock’? 
[-Wimplicit-function-declaration]
2026-06-05T06:09:40.406864Z 01O   333 | 
(void)__cond_lock(&tsk->sighand->siglock, ret);
2026-06-05T06:09:40.406867Z 01O   |   ^~~
2026-06-05T06:09:40.406868Z 01O   |   __folio_lock
2026-06-05T06:09:40.694866Z 01O make[2]: *** 
[/usr/src/linux-headers-7.0.10+deb14-common/scripts/Makefile.build:294: 
hello_src.o] Error 1
2026-06-05T06:09:40.695356Z 01O make[1]: *** 
[/usr/src/linux-headers-7.0.10+deb14-common/Makefile:2134: .] Error 2
2026-06-05T06:09:40.695680Z 01O make: *** 
[/usr/src/linux-headers-7.0.10+deb14-common/Makefile:260: __sub-make] Error 2
2026-06-05T06:09:40.695682Z 01O WARNING: kbuild exited with status: 2
2026-06-05T06:09:40.695839Z 01O Pass 4: compilation failed.  [man error::pass4]
2026-06-05T06:09:40.696265Z 01O Kernel version 7.0.10+deb14 is outside tested 
range 3.10 ... 6.18-rc
2026-06-05T06:09:40.696266Z 01O Tip: /usr/share/doc/systemtap/README.Debian 
should help you get started.
2026-06-05T06:09:41.083689Z 01O autopkgtest [06:09:41]: test build-hello: 
---]
2026-06-05T06:09:41.188912Z 01O autopkgtest [06:09:41]: test build-hello:  - - 
- - - - - - - - results - - - - - - - - - -
2026-06-05T06:09:41.188926Z 01O build-hello  FAIL non-zero exit status 1
2026-06-05T06:09:41.329260Z 01O autopkgtest [06:09:41]: test 
list-coreutils-probe-points: preparing testbed
2026-06-05T06:09:41.744266Z 01O Ign:1 
file:/tmp/autopkgtest-lxc.9ol_2woo/downtmp/binaries  InRelease
2026-06-05T06:09:41.744702Z 01O Get:2 
file:/tmp/autopkgtest-lxc.9ol_2woo/downtmp/binaries  Release [816 B]
2026-06-05T06:09:41.759686Z 01O Get:2 
file:/tmp/autopkgtest-lxc.9ol_2woo/downtmp/binaries  Release [816 B]
2026-06-05T06:09:41.763841Z 01O Ign:3 
file:/tmp/autopkgtest-lxc.9ol_2woo/downtmp/binaries  Release.gpg
2026-06-05T06:09:41.781428Z 01O Reading package lists...
2026-06-05T06:09:41.915747Z 01O Reading package lists...
2026-06-05T06:09:43.219944Z 01O Building dependency tree...
2026-06-05T06:09:43.491168Z 01O Reading state information...
2026-06-05T06:09:43.552671Z 01O Solving dependencies...
2026-06-05T06:09:43.973585Z 01O 0 upgraded, 0 newly installed, 3 reinstalled, 0 
to remove and 0 not upgraded.
2026-06-05T06:09:43.973598Z 01O Need to get 0 B/2,373 kB of archives.
2026-06-05T06:09:43.973600Z 01O After this op