Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 820029

Summary: dev-util/systemtap-4.5 - monitor.c: error: field width specifier expects argument of type int, but argument 3 has type size_t {aka
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/22808
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:systemtap-4.5:20211024-074306.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-10-24 09:40:14 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -D_GNU_SOURCE -I./../includes -I./../includes/sys -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"'  -Wall -Wextra -Werror -Wunused -W -Wformat=2 -fPIE  -DSINGLE_THREADED -I/usr/include/nss -I/usr/include/nspr  -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -O2 -c -o ../staprun-privilege.o `test -f '../privilege.cxx' || echo './'`../privilege.cxx
monitor.c: In function ‘monitor_render’:
monitor.c:450:27: error: field width specifier ‘*’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Werror=format=]
  450 |       wprintw(status, "\n%*s\t%*s\t%*s\t%*s\t%*s\t%*s\t%s\n",
      |                          ~^~
      |                           |
      |                           int

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4-20211018-092906

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.56.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 1954a1ddeed7f0bda887d1d951832e6a15efdbca
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 24 07:06:35 2021 +0000

    2021-10-24 07:06:34 UTC

emerge -qpvO dev-util/systemtap
[ebuild  N    ] dev-util/systemtap-4.5  USE="ssl -libvirt (-selinux) -sqlite -test -zeroconf" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-10-24 09:40:15 UTC
Created attachment 746472 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-24 09:40:17 UTC
Created attachment 746475 [details]
dev-util:systemtap-4.5:20211024-074306.log
Comment 3 Toralf Förster gentoo-dev 2021-10-24 09:40:19 UTC
Created attachment 746478 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-10-24 09:40:20 UTC
Created attachment 746481 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-10-24 09:40:21 UTC
Created attachment 746484 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-10-24 09:40:22 UTC
Created attachment 746487 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-10-24 09:40:23 UTC
Created attachment 746490 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-11-04 20:07:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f34a5e36c7ec1608f4752d2eda545751da14846c

commit f34a5e36c7ec1608f4752d2eda545751da14846c
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2021-11-03 17:56:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-04 20:04:38 +0000

    dev-util/systemtap: EAPI 8
    
    bump python
    autoreconf
    
    Closes: https://bugs.gentoo.org/789795
    Closes: https://bugs.gentoo.org/820029
    Closes: https://bugs.gentoo.org/820155
    Closes: https://bugs.gentoo.org/532570
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/22808
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/systemtap/systemtap-4.5-r1.ebuild | 117 +++++++++++++++++++++++++++++
 1 file changed, 117 insertions(+)