Summary: | app-misc/tracker-3.6.0: meson.build:231:2: ERROR: Problem encountered: Libc implementation has broken 4-digit years implementation. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kocelfc |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/638 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
build.log
meson-log.txt |
Description
Sam James
2023-12-03 03:15:36 UTC
Created attachment 876502 [details]
meson-log.txt
Command line: `x86_64-pc-linux-gnu-gcc /var/tmp/portage/app-misc/tracker-3.6.0/work/tracker-3.6.0-build/meson-private/tmp0dmqk4y6/testfile.c -o /var/tmp/portage/app-misc/tracker-3.6.0/work/tracker-3.6.0-build/meson-private/tmp0dmqk4y6/output.exe -O2 -pipe -march=native -fdiagnostics-color=always -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS -D_FILE_OFFSET_BITS=64 -O0 -std=c99 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0` -> 1
stderr:
/var/tmp/portage/app-misc/tracker-3.6.0/work/tracker-3.6.0-build/meson-private/tmp0dmqk4y6/testfile.c: In function 'main':
/var/tmp/portage/app-misc/tracker-3.6.0/work/tracker-3.6.0-build/meson-private/tmp0dmqk4y6/testfile.c:16:17: error: passing argument 1 of 'strftime' from incompatible pointer type [-Wincompatible-pointer-types]
16 | strftime (&buf, sizeof buf, modifiers[i], &tm);
| ^~~~
| |
| char * (*)[100]
In file included from /var/tmp/portage/app-misc/tracker-3.6.0/work/tracker-3.6.0-build/meson-private/tmp0dmqk4y6/testfile.c:6:
/usr/include/time.h:100:42: note: expected 'char * restrict' but argument is of type 'char * (*)[100]'
100 | extern size_t strftime (char *__restrict __s, size_t __maxsize,
| ~~~~~~~~~~~~~~~~~^~~
/var/tmp/portage/app-misc/tracker-3.6.0/work/tracker-3.6.0-build/meson-private/tmp0dmqk4y6/testfile.c:17:19: error: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types]
17 | if (strcmp (&buf, "0101") == 0) {
| ^~~~
| |
| char * (*)[100]
In file included from /var/tmp/portage/app-misc/tracker-3.6.0/work/tracker-3.6.0-build/meson-private/tmp0dmqk4y6/testfile.c:5:
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char * (*)[100]'
156 | extern int strcmp (const char *__s1, const char *__s2)
| ~~~~~~~~~~~~^~~~
-----------
Could not compile test file /var/tmp/portage/app-misc/tracker-3.6.0/work/tracker-3.6.0-build/meson-private/tmp0dmqk4y6/testfile.c: 1
Checking if "strftime 4-digit year modifier" runs: DID NOT COMPILE
Upstream fix: https://gitlab.gnome.org/GNOME/tracker/-/commit/f7393d61803815b19a1f210b197cce423ae3cc01 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c77e5ff9a69d6d93d4bc9f8e3bdda1c61288c368 commit c77e5ff9a69d6d93d4bc9f8e3bdda1c61288c368 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-05 13:34:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-05 13:37:31 +0000 app-misc/tracker: fix configure issue w/ C99 No revbump as it completely fails without it, thankfully. Closes: https://bugs.gentoo.org/919095 Signed-off-by: Sam James <sam@gentoo.org> app-misc/tracker/files/3.6.0-configure-c99.patch | 52 ++++++++++++++++++++++++ app-misc/tracker/tracker-3.6.0.ebuild | 6 ++- 2 files changed, 57 insertions(+), 1 deletion(-) |