Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 882618 Details for
Bug 922489
net-misc/adjtimex-1.29-r3 - adjtimex.c:1641:24: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log (1.19-r3, ppc)
adjtimex-1.29-r3:20240119-104337.log (text/plain), 9.55 KB, created by
ernsteiswuerfel
on 2024-01-19 11:18:07 UTC
(
hide
)
Description:
build.log (1.19-r3, ppc)
Filename:
MIME Type:
Creator:
ernsteiswuerfel
Created:
2024-01-19 11:18:07 UTC
Size:
9.55 KB
patch
obsolete
>[32m * [39;49;00mPackage: net-misc/adjtimex-1.29-r3:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: robbat2@gentoo.org >[32m * [39;49;00mUSE: elibc_musl kernel_linux ppc >[32m * [39;49;00mFEATURES: 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 ... > [32m*[0m Applying 01-makefile.in-ldflags.diff ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 02-fix-manpage ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 03-adjtimex-Blocks-the-access-to-the-hardware-cmos-clock.patch ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 04-fix-protential-uninitialized-memory-accessing.patch ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 05-avoid-gcc-warnings.patch ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 06-improve-precision.patch ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 07-update-manpage-adjtimex.8.patch ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 08-FTCBFS-uses-the-build-architecture-compiler.patch ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 09-adjtimex.8-Some-fixes-to-the-manual.patch ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 10-STA_NANO-confuses-adjtimex-8.patch ... >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 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). >[A[87C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Replacing obsolete head/tail with POSIX compliant ones > [32m*[0m - 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 >[01m[Kadjtimex.c:[m[K In function '[01m[Kcmos_read_time[m[K': >[01m[Kadjtimex.c:926:36:[m[K [01;35m[Kwarning: [m[Kformat '[01m[K%ld[m[K' expects argument of type '[01m[Klong int[m[K', but argument 4 has type '[01m[Ktime_t[m[K' {aka '[01m[Klong long int[m[K'} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;[m[K] > 926 | printf ("CMOS time %s (%s) = [01;35m[K%ld[m[K\n", asctime (&tm), > | [01;35m[K~~^[m[K > | [01;35m[K|[m[K > | [01;35m[Klong int[m[K > | [32m[K%lld[m[K >...... > 930 | [32m[Kcmos_time[m[K); > | [32m[K~~~~~~~~~[m[K > | [32m[K|[m[K > | [32m[Ktime_t {aka long long int}[m[K >[01m[Kadjtimex.c:962:40:[m[K [01;35m[Kwarning: [m[Kformat '[01m[K%ld[m[K' expects argument of type '[01m[Klong int[m[K', but argument 2 has type '[01m[Ktime_t[m[K' {aka '[01m[Klong long int[m[K'} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;[m[K] > 962 | printf("WARNING: CMOS time [01;35m[K%ld[m[K differs from system time %ld by %3.2f hours\n", > | [01;35m[K~~^[m[K > | [01;35m[K|[m[K > | [01;35m[Klong int[m[K > | [32m[K%lld[m[K > 963 | [32m[Kcmos_time[m[K, now.tv_sec, (summertime_correction)/3600.); > | [32m[K~~~~~~~~~[m[K > | [32m[K|[m[K > | [32m[Ktime_t {aka long long int}[m[K >[01m[Kadjtimex.c:962:69:[m[K [01;35m[Kwarning: [m[Kformat '[01m[K%ld[m[K' expects argument of type '[01m[Klong int[m[K', but argument 3 has type '[01m[Ktime_t[m[K' {aka '[01m[Klong long int[m[K'} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;[m[K] > 962 | printf("WARNING: CMOS time %ld differs from system time [01;35m[K%ld[m[K by %3.2f hours\n", > | [01;35m[K~~^[m[K > | [01;35m[K|[m[K > | [01;35m[Klong int[m[K > | [32m[K%lld[m[K > 963 | cmos_time, [32m[Know.tv_sec[m[K, (summertime_correction)/3600.); > | [32m[K~~~~~~~~~~[m[K > | [32m[K|[m[K > | [32m[Ktime_t {aka long long int}[m[K >[01m[Kadjtimex.c:[m[K In function '[01m[Kvalid_system_rate[m[K': >[01m[Kadjtimex.c:1641:24:[m[K [01;31m[Kerror: [m[Kpassing argument 1 of '[01m[Kctime[m[K' from incompatible pointer type [[01;31m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;[m[K] > 1641 | ctime([01;31m[K&pca->ca_adj_time[m[K)); > | [01;31m[K^~~~~~~~~~~~~~~~~[m[K > | [01;31m[K|[m[K > | [01;31m[Klong int *[m[K >In file included from [01m[Kadjtimex.c:33[m[K: >[01m[K/usr/include/time.h:62:14:[m[K [01;36m[Knote: [m[Kexpected '[01m[Kconst time_t *[m[K' {aka '[01m[Kconst long long int *[m[K'} but argument is of type '[01m[Klong int *[m[K' > 62 | char *ctime ([01;36m[Kconst time_t *[m[K); > | [01;36m[K^~~~~~~~~~~~~~[m[K >make: *** [Makefile:39: adjtimex] Error 1 > [31;01m*[0m ERROR: net-misc/adjtimex-1.29-r3::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=net-misc/adjtimex-1.29-r3::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-misc/adjtimex-1.29-r3::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/net-misc/adjtimex-1.29-r3:20240119-104337.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/adjtimex-1.29-r3/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-misc/adjtimex-1.29-r3/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/net-misc/adjtimex-1.29-r3/work/adjtimex-1.29' > [31;01m*[0m S: '/var/tmp/portage/net-misc/adjtimex-1.29-r3/work/adjtimex-1.29'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 922489
: 882618 |
882619