Summary: | sys-apps/findutils-4.6.0[debug]: build fails: undefined reference to 'rpl_mktime' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gentoo |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
You should probably attach your config.log. Looks like mktime test fails and autoconf redefines to rpl_mktime (and findutils does not provide a replacement mktime) debug seems not to be the culprit, failed in bug #584862 with -debug (which might be a dup ?) The debug use flag seems to be enabled in bug #584862 . I investigated this a bit, will follow up if I get a useful data point. I think perhaps we should just remove the debug use flag since that configuration directive is gone from upstream master. *** Bug 584862 has been marked as a duplicate of this bug. *** i've dropped the flag to match upstream https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84a3fd801be02b70ab41eb7b8a38cf359403e6ce |
Created attachment 436014 [details] emerge --info Important part of the build log: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gl/lib -I../lib -I../gl/lib -I../intl -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -c -o ftsfind.o ftsfind.c ftsfind.c: In function 'main': ftsfind.c:705:49: warning: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] fprintf (stderr, "cur_day_start = %s", ctime (&options.cur_day_start)); ^ In file included from ../gl/lib/time.h:41:0, from ../gl/lib/sys/stat.h:44, from ftsfind.c:39: /usr/include/time.h:264:14: note: expected 'const time_t * {aka const long int *}' but argument is of type 'struct timespec *' extern char *ctime (const time_t *__timer) __THROW; ^ rm -f libfindtools.a x86_64-pc-linux-gnu-ar cr libfindtools.a finddata.o fstype.o parser.o pred.o exec.o tree.o util.o sharefile.o print.o x86_64-pc-linux-gnu-ranlib libfindtools.a x86_64-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -o find ftsfind.o ./libfindtools.a ../lib/libfind.a ../gl/lib/libgnulib.a -lm -lm ../gl/lib/libgnulib.a(parse-datetime.o): In function `parse_datetime': parse-datetime.c:(.text+0x1e8d): undefined reference to `rpl_mktime' parse-datetime.c:(.text+0x21cc): undefined reference to `rpl_mktime' parse-datetime.c:(.text+0x227d): undefined reference to `rpl_mktime' parse-datetime.c:(.text+0x233e): undefined reference to `rpl_mktime' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1810: find] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-apps/findutils-4.6.0-r1/work/findutils-4.6.0/find'