* Package: net-misc/adjtimex-1.29-r3:0  * Repository: gentoo  * Maintainer: robbat2@gentoo.org  * USE: elibc_musl kernel_linux ppc  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking adjtimex_1.29.orig.tar.gz to /var/tmp/portage/net-misc/adjtimex-1.29-r3/work >>> Unpacking adjtimex_1.29-10.debian.tar.xz to /var/tmp/portage/net-misc/adjtimex-1.29-r3/work/adjtimex-1.29 >>> Source unpacked in /var/tmp/portage/net-misc/adjtimex-1.29-r3/work >>> Preparing source in /var/tmp/portage/net-misc/adjtimex-1.29-r3/work/adjtimex-1.29 ... * Applying 01-makefile.in-ldflags.diff ...  [ ok ] * Applying 02-fix-manpage ...  [ ok ] * Applying 03-adjtimex-Blocks-the-access-to-the-hardware-cmos-clock.patch ...  [ ok ] * Applying 04-fix-protential-uninitialized-memory-accessing.patch ...  [ ok ] * Applying 05-avoid-gcc-warnings.patch ...  [ ok ] * Applying 06-improve-precision.patch ...  [ ok ] * Applying 07-update-manpage-adjtimex.8.patch ...  [ ok ] * Applying 08-FTCBFS-uses-the-build-architecture-compiler.patch ...  [ ok ] * Applying 09-adjtimex.8-Some-fixes-to-the-manual.patch ...  [ ok ] * Applying 10-STA_NANO-confuses-adjtimex-8.patch ...  [ ok ] * Applying adjtimex-1.29-r2-gentoo-utc.patch ... patching file debian/adjtimexconfig Hunk #1 succeeded at 4 with fuzz 2 (offset 1 line). Hunk #2 succeeded at 24 with fuzz 2 (offset 1 line).  [ ok ] * Replacing obsolete head/tail with POSIX compliant ones * - fixed debian/adjtimexconfig >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/adjtimex-1.29-r3/work/adjtimex-1.29 ... ./configure --prefix=/usr --build=powerpc-gentoo-linux-musl --host=powerpc-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/adjtimex-1.29-r3 --htmldir=/usr/share/doc/adjtimex-1.29-r3/html --libdir=/usr/lib checking for powerpc-gentoo-linux-musl-gcc... powerpc-gentoo-linux-musl-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether powerpc-gentoo-linux-musl-gcc accepts -g... yes checking for powerpc-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking how to run the C preprocessor... powerpc-gentoo-linux-musl-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/rtc.h usability... yes checking linux/rtc.h presence... yes checking for linux/rtc.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for gettimeofday... yes checking for mktime... yes checking for putenv... yes checking for select... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/adjtimex-1.29-r3/work/adjtimex-1.29 ... make -j1 powerpc-gentoo-linux-musl-gcc -Os -mcpu=7450 -mtune=7450 -pipe -Os -mcpu=7450 -mtune=7450 -pipe -Wall -Wl,-O1 -Wl,--as-needed -c mat.c 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'} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;] 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'} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;] 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'} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;] 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;] 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 * * If you need support, post the output of `emerge --info '=net-misc/adjtimex-1.29-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/adjtimex-1.29-r3::gentoo'`. * The complete build log is located at '/var/log/portage/build/net-misc/adjtimex-1.29-r3:20240119-104337.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/adjtimex-1.29-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/adjtimex-1.29-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/adjtimex-1.29-r3/work/adjtimex-1.29' * S: '/var/tmp/portage/net-misc/adjtimex-1.29-r3/work/adjtimex-1.29'