Created attachment 882618 [details] build.log (1.19-r3, ppc) [...] powerpc-gentoo-linux-musl-gcc -Os -mcpu=7450 -mtune=7450 -pipe -Os -mcpu=7450 -mtune=7450 -pipe -Wall -Wl,-O1 -Wl,--as-needed -I. -DVERSION=\"1.29\" -o adjtimex \ adjtimex.c mat.o -lm -Wl,-O1 -Wl,--as-needed adjtimex.c: In function 'cmos_read_time': adjtimex.c:926:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 926 | printf ("CMOS time %s (%s) = %ld\n", asctime (&tm), | ~~^ | | | long int | %lld ...... 930 | cmos_time); | ~~~~~~~~~ | | | time_t {aka long long int} adjtimex.c:962:40: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 962 | printf("WARNING: CMOS time %ld differs from system time %ld by %3.2f hours\n", | ~~^ | | | long int | %lld 963 | cmos_time, now.tv_sec, (summertime_correction)/3600.); | ~~~~~~~~~ | | | time_t {aka long long int} adjtimex.c:962:69: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 962 | printf("WARNING: CMOS time %ld differs from system time %ld by %3.2f hours\n", | ~~^ | | | long int | %lld 963 | cmos_time, now.tv_sec, (summertime_correction)/3600.); | ~~~~~~~~~~ | | | time_t {aka long long int} adjtimex.c: In function 'valid_system_rate': adjtimex.c:1641:24: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] 1641 | ctime(&pca->ca_adj_time)); | ^~~~~~~~~~~~~~~~~ | | | long int * In file included from adjtimex.c:33: /usr/include/time.h:62:14: note: expected 'const time_t *' {aka 'const long long int *'} but argument is of type 'long int *' 62 | char *ctime (const time_t *); | ^~~~~~~~~~~~~~ make: *** [Makefile:39: adjtimex] Error 1 * ERROR: net-misc/adjtimex-1.29-r3::gentoo failed (compile phase): * emake failed
Created attachment 882619 [details] emerge --info
There is an upstream git issue tracker where I posted the bug just now, but there has been no upstream activity for ~3 years.