Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739626 - dev-util/sysprof-3.36.0: emake failed: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘gsize’ {aka ‘const unsigned int’}
Summary: dev-util/sysprof-3.36.0: emake failed: error: format ‘%llu’ expects argument ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-30 13:06 UTC by Thomas Deutschmann (RETIRED)
Modified: 2020-08-30 13:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,192.13 KB, text/plain)
2020-08-30 13:06 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-30 13:06:45 UTC
Created attachment 657500 [details]
build.log

> FAILED: src/tests/a4ccf2d@@allocs-by-size@exe/allocs-by-size.c.o
> i686-pc-linux-gnu-gcc -Isrc/tests/a4ccf2d@@allocs-by-size@exe -Isrc/tests -I../sysprof-3.36.0/src/tests -Isrc/libsysprof -I../sysprof-3.36.0/src/libsysprof -Isrc/libsysprof-capture -I../sysprof-3.36.0/src/libsysprof-capture -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib/libffi/include -I/usr/include/gio-unix-2.0 -I/usr/include/polkit-1 -I/var/tmp/portage/dev-util/sysprof-3.36.0/work/sysprof-3.36.0-build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -Wcast-align -Wdeclaration-after-statement -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-cast-function-type -Wpointer-arith -Wredundant-decls -Wswitch-default -Wswitch-enum -Wuninitialized -Werror=format-security -Werror=format=2 -Werror=empty-body -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=pointer-arith -Werror=init-self -Werror=int-conversion -Werror=misleading-indentation -Werror=missing-include-dirs -Werror=overflow -Werror=return-type -Werror=shadow -Werror=strict-prototypes -Werror=undef -O2 -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare -pthread '-DTEST_DATA_DIR="/var/tmp/portage/dev-util/sysprof-3.36.0/work/sysprof-3.36.0/src/tests/data/"' -DSYSPROF_COMPILATION=1 -MD -MQ 'src/tests/a4ccf2d@@allocs-by-size@exe/allocs-by-size.c.o' -MF 'src/tests/a4ccf2d@@allocs-by-size@exe/allocs-by-size.c.o.d' -o 'src/tests/a4ccf2d@@allocs-by-size@exe/allocs-by-size.c.o' -c ../sysprof-3.36.0/src/tests/allocs-by-size.c../sysprof-3.36.0/src/tests/allocs-by-size.c: In function ‘allocs_by_size’:../sysprof-3.36.0/src/tests/allocs-by-size.c:112:16: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘gsize’ {aka ‘const unsigned int’} [-Werror=format=]
>   112 |       g_print ("%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT"\n",
>       |                ^~~
>   113 |                item->size, item->cmp, item->count);
>       |                ~~~~~~~~~~
>       |                    |
>       |                    gsize {aka const unsigned int}
> 


Portage 3.0.4 (python 3.7.8-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.31-r6, 5.4.60-gentoo-x86-kmod i686)
=================================================================
System uname: Linux-5.4.60-gentoo-x86-kmod-i686-with-gentoo-2.6
KiB Mem:     3106040 total,   1176648 free
KiB Swap:    8875836 total,   8875060 free
Timestamp of repository gentoo: Sat, 29 Aug 2020 12:35:28 +0000
Head commit of repository gentoo: 12379b5f47de6706ec7688be6d482aa64aa377aa

sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.11 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/ccache:          3.7.11::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
Comment 1 Larry the Git Cow gentoo-dev 2020-08-30 13:11:45 UTC
The bug has been closed via the following commit(s):

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

commit 7e190c9a2200ebe2115be1c3044be955bdcefc3b
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2020-08-30 13:11:16 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2020-08-30 13:11:29 +0000

    dev-util/sysprof: fix tests compilation on 32bit architectures
    
    Closes: https://bugs.gentoo.org/739626
    Package-Manager: Portage-2.3.103, Repoman-2.3.20
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../files/3.36.0-fix-32bit-tests-build.patch       | 29 ++++++++++++++++++++++
 dev-util/sysprof/sysprof-3.36.0.ebuild             |  4 +++
 2 files changed, 33 insertions(+)