[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#943876: linux breaks systemtap autopkgtest: error: this statement may fall through [-Werror=implicit-fallthrough=]



Source: linux, systemtap
Control: found -1 linux/5.3.7-1
Control: found -1 systemtap/4.1-10
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of linux the autopkgtest of systemtap fails in
testing when that autopkgtest is run with the binary packages of linux
from unstable. It passes when run with only packages from testing. In
tabular form:
                       pass            fail
linux                  from testing    5.3.7-1
systemtap              from testing    4.1-10
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of linux to testing
[1]. Due to the nature of this issue, I filed this bug report against
both packages. Can you please investigate the situation and reassign the
bug to the right package? If needed, please change the bug's severity.

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

Paul

[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
linux/5.3.7-1. I.e. due to versioned dependencies or breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=linux

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

autopkgtest [17:24:37]: test build-hello: [-----------------------
WARNING: Kernel function symbol table missing [man warning::symbols]
Pass 1: parsed user script and 476 library scripts using
95952virt/82936res/7544shr/75500data kb, in 230usr/50sys/280real ms.
Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using
97536virt/84640res/7672shr/77084data kb, in 10usr/0sys/9real ms.
Pass 3: translated to C into "/tmp/stapKkW4rr/hello_src.c" using
97536virt/84640res/7672shr/77084data kb, in 0usr/0sys/0real ms.
In file included from /usr/share/systemtap/runtime/linux/print.c:18,
                 from /usr/share/systemtap/runtime/print.c:17,
                 from /usr/share/systemtap/runtime/runtime_context.h:22,
                 from /tmp/stapKkW4rr/hello_src.c:56:
/usr/share/systemtap/runtime/vsprintf.c: In function ‘_stp_vsnprintf’:
/usr/share/systemtap/runtime/vsprintf.c:641:35: error: this statement
may fall through [-Werror=implicit-fallthrough=]
  641 |                             flags |= STP_LARGE;
      |                             ~~~~~~^~~~~~~~~~~~
/usr/share/systemtap/runtime/vsprintf.c:642:21: note: here
  642 |                     case 'x':
      |                     ^~~~
/usr/share/systemtap/runtime/vsprintf.c:828:10: error: this statement
may fall through [-Werror=implicit-fallthrough=]
  828 |    flags |= STP_LARGE;
      |    ~~~~~~^~~~~~~~~~~~
/usr/share/systemtap/runtime/vsprintf.c:829:3: note: here
  829 |   case 'x':
      |   ^~~~
cc1: all warnings being treated as errors
make[2]: ***
[/usr/src/linux-headers-5.3.0-1-common/scripts/Makefile.build:285:
/tmp/stapKkW4rr/hello_src.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.3.0-1-common/Makefile:1639:
_module_/tmp/stapKkW4rr] Error 2
make: *** [/usr/src/linux-headers-5.3.0-1-common/Makefile:179: sub-make]
Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "hello.ko" in 11380usr/1860sys/13245real ms.
Pass 4: compilation failed.  [man error::pass4]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.
autopkgtest [17:24:51]: test build-hello: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: