Bug#1055418: systemtap: autopkgtest regression: Pass 4: compilation failed. [man error::pass4]

2023-11-06 Thread Frank Ch. Eigler
Hi -

> Version: 4.9-1
> https://ci.debian.net/data/autopkgtest/testing/amd64/s/systemtap/39374282/log.gz
> 
> 223s /usr/share/systemtap/runtime/linux/print.c:367:46: error: ‘struct
> module’ has no member named ‘core_text_size’; did you mean
> ‘kprobes_text_size’?
> 223s   367 |(unsigned long)
> (THIS_MODULE->core_text_size)/1024,
> 223s   |  ^~
> 223s /usr/src/linux-headers-6.5.0-3-common/include/linux/printk.h:427:33:
> note: in definition of macro ‘printk_index_wrap’
> [...]
> [/usr/src/linux-headers-6.5.0-3-common/scripts/Makefile.build:248:

> 223s Tip: /usr/share/doc/systemtap/README.Debian should help you get
> started.

These errors are typical of the situation where a kernel is much newer
than the release of systemtap that you're using.  Version 5.0,
released this past weekend, supports all the way up to 6.6.
Unfortunately, the kernel API is a not a stationary target, so regular
updates are necessary.

- FChE



Bug#1055418: systemtap: autopkgtest regression: Pass 4: compilation failed. [man error::pass4]

2023-11-05 Thread Paul Gevers

Source: systemtap
Version: 4.9-1
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since a couple 
of months. Can you please investigate the situation and fix it? I copied 
some of the output at the bottom of this report.


The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing.


More information about this bug and the reason for filing it can be 
found on 
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation


Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg2.html

https://ci.debian.net/data/autopkgtest/testing/amd64/s/systemtap/39374282/log.gz

223s /usr/share/systemtap/runtime/linux/print.c:367:46: error: ‘struct 
module’ has no member named ‘core_text_size’; did you mean 
‘kprobes_text_size’?
223s   367 |(unsigned long) 
(THIS_MODULE->core_text_size)/1024,

223s   |  ^~
223s 
/usr/src/linux-headers-6.5.0-3-common/include/linux/printk.h:427:33: 
note: in definition of macro ‘printk_index_wrap’
223s   427 | _p_func(_fmt, ##__VA_ARGS__); 
\

223s   | ^~~
223s /usr/share/systemtap/runtime/linux/print.c:348:9: note: in 
expansion of macro ‘printk’

223s   348 | printk(KERN_DEBUG
223s   | ^~
223s cc1: all warnings being treated as errors
223s make[1]: *** 
[/usr/src/linux-headers-6.5.0-3-common/scripts/Makefile.build:248: 
/tmp/stapUiwpzl/hello_src.o] Error 1
223s make: *** [/usr/src/linux-headers-6.5.0-3-common/Makefile:2059: 
/tmp/stapUiwpzl] Error 2

223s WARNING: kbuild exited with status: 2
223s Pass 4: compiled C into "hello.ko" in 35730usr/7150sys/22477real ms.
223s Pass 4: compilation failed.  [man error::pass4]
223s Tip: /usr/share/doc/systemtap/README.Debian should help you get 
started.

224s autopkgtest [08:12:49]: test build-hello: ---]


OpenPGP_signature.asc
Description: OpenPGP digital signature