| Summary: | dev-util/strace-5.2 : xlat/v4l2_pix_fmts.h:274:1: error: static assertion failed: V4L2_PIX_FMT_BGRA444 != v4l2_fourcc(\ B\ , \ A\ , \ 1\ , \ 2\ ) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | gentoo.dl, slyfox |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://github.com/strace/strace/issues/110 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
dev-util:strace-5.2:20190921-184854.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 |
||
Created attachment 590554 [details]
emerge-info.txt
Created attachment 590556 [details]
dev-util:strace-5.2:20190921-184854.log
Created attachment 590558 [details]
emerge-history.txt
Created attachment 590560 [details]
environment
Created attachment 590562 [details]
etc.portage.tbz2
Created attachment 590564 [details]
logs.tbz2
Created attachment 590566 [details]
temp.tbz2
Probably caused by linux-headers-5.3 bump. fourcc value is not supposed to be changing across releases though. (In reply to Sergei Trofimovich from comment #8) > Probably caused by linux-headers-5.3 bump. fourcc value is not supposed to > be changing across releases though. Confirmed that linux-headers-5.2 passes this test just fine (does not define V4L2_PIX_FMT_BGRA444). The test asserts V4L2_PIX_FMT_BGRA444 as "BA12" (modulo endianness) while linux-headers-5.3 defines is as "GA12". Which one is correct? CC +Dmitry. Raw bits of logs: xlat/v4l2_pix_fmts.h:274:1: error: static assertion failed: "V4L2_PIX_FMT_BGRA444 != v4l2_fourcc(\'B\', \'A\', \'1\', \'2\')" 274 | static_assert((V4L2_PIX_FMT_BGRA444) == (v4l2_fourcc('B', 'A', '1', '2')), "V4L2_PIX_FMT_BGRA444 != v4l2_fourcc('B', 'A', '1', '2')"); | ^~~~~~~~~~~~~ ./linux-headers-5.3/work/linux-5.3/include/uapi/linux/videodev2.h:#define V4L2_PIX_FMT_BGRA444 v4l2_fourcc('G', 'A', '1', '2') /* 16 bbbbgggg rrrraaaa */ https://github.com/torvalds/linux/commit/22be8233b34f4f468934c5fefcbe6151766fb8f2 has a hint on why new definition was picked. Please see https://github.com/strace/strace/issues/110 Thank you! *** This bug has been marked as a duplicate of bug 695260 *** |
from xlat/v4l2_pix_fmts.h:4, from v4l2.c:59: xlat/v4l2_pix_fmts.h:274:1: error: static assertion failed: "V4L2_PIX_FMT_BGRA444 != v4l2_fourcc(\'B\', \'A\', \'1\', \'2\')" 274 | static_assert((V4L2_PIX_FMT_BGRA444) == (v4l2_fourcc('B', 'A', '1', '2')), "V4L2_PIX_FMT_BGRA444 != v4l2_fourcc('B', 'A', '1', '2')"); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:7240: strace-v4l2.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib_hardened-20190920-071633 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository timestamp: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 21 Sep 2019 18:06:22 +0000 emerge -qpvO dev-util/strace [ebuild N ] dev-util/strace-5.2 USE="-aio -elfutils -perl -static -unwind"