Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695260 - dev-util/strace-5.2 fails to build with sys-kernel/linux-headers-5.3
Summary: dev-util/strace-5.2 fails to build with sys-kernel/linux-headers-5.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 695334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-21 06:09 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-10-13 03:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-09-21 06:09:31 UTC
dev-util/strace-5.2 fails to build with sys-kernel/linux-headers-5.3.
dev-util/strace-5.2 succeeds to build with sys-kernel/linux-headers-5.2.
dev-util/strace-9999 is already fixed.


x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H   -I./linux/x86_64 -I./linux/x86_64 -I./linux -I./linux -I. -I.      -Wall -Wempty-body -Wformat-security -Wignored-qualifiers -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Wold-style-definition -Woverride-init -Wsign-compare -Wtype-limits -Wwrite-strings   -march=native -O2 -fno-ident -frecord-gcc-switches -fstack-clash-protection -fstack-protector-all -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -pipe -Wall -Wpointer-sign -c -o strace-v4l2.o `test -f 'v4l2.c' || echo './'`v4l2.c
In file included from ./static_assert.h:11,
                 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
make[2]: Leaving directory '/var/tmp/portage/dev-util/strace-5.2/work/strace-5.2'
make[1]: *** [Makefile:7411: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-util/strace-5.2/work/strace-5.2'
make: *** [Makefile:2283: all] Error 2
rm ioctlsort0 ioctlsort1 ioctlsort0.o ioctls_all0.h ioctlsort1.o ioctls_all2.h ioctls_all1.h ioctlsort2.o ioctlsort2
 * ERROR: dev-util/strace-5.2::gentoo failed (compile phase):
 *   emake failed
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-09-22 00:35:46 UTC
*** Bug 695334 has been marked as a duplicate of this bug. ***
Comment 2 Dmitry V. Levin 2019-09-22 09:51:49 UTC
Please see https://github.com/strace/strace/issues/110
Comment 3 Larry the Git Cow gentoo-dev 2019-10-13 03:27:21 UTC
The bug has been closed via the following commit(s):

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

commit ddc29801908fdacdbcc17df0d1e7d124479ae610
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-10-13 03:26:31 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-10-13 03:27:13 +0000

    dev-util/strace: add linux-5.3 compatibility
    
    Closes: https://bugs.gentoo.org/695260
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../strace/files/strace-5.2-linux-5.3-compat.patch | 75 ++++++++++++++++++++++
 dev-util/strace/strace-5.2.ebuild                  |  2 +
 2 files changed, 77 insertions(+)