Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836287 - media-libs/mesa-22.0.0 fails to compile: rc_test_helpers.c:102:21: error: format %d expects argument of type int, but argument 4 has type regoff_t {aka long int} [-Werror=format=]
Summary: media-libs/mesa-22.0.0 fails to compile: rc_test_helpers.c:102:21: error: for...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-27 20:14 UTC by Agostino Sarubbo
Modified: 2023-09-29 02:18 UTC (History)
0 users

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


Attachments
build.log (build.log,347.22 KB, text/plain)
2022-03-27 20:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-03-27 20:14:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/mesa-22.0.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-27 20:14:56 UTC
Created attachment 768016 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-27 20:14:57 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/gallium/drivers/r300/r300_compiler_test.p/compiler_tests_rc_test_helpers.c.o 
Library ws2_32 found: NO
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
../mesa-22.0.0/src/gallium/drivers/r300/compiler/tests/rc_test_helpers.c:102:21: error: format '%d' expects argument of type 'int', but argument 4 has type 'regoff_t' {aka 'long int'} [-Werror=format=]
Comment 3 Matt Turner gentoo-dev 2023-09-29 02:18:05 UTC
This was fixed upstream by https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13949 (commit 80bf9c7b978ac273ef979b6bafc351153669694d) which was in mesa-22.1.0.