Building target platforms: ppc64 Building for target ppc64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.31649 + umask 022 + cd /home/buildcentos/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/buildcentos/rpmbuild/BUILD + rm -rf time-1.7 + /bin/gzip -dc /home/buildcentos/rpmbuild/SOURCES/time-1.7.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd time-1.7 ++ /usr/bin/id -u + '[' 502 = 0 ']' ++ /usr/bin/id -u + '[' 502 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.31649 + umask 022 + cd /home/buildcentos/rpmbuild/BUILD + cd time-1.7 + LANG=C + export LANG + unset DISPLAY + echo 'ac_cv_func_wait3=${ac_cv_func_wait3='\''yes'\''}' + CFLAGS='-O2 -g -pipe -m64 -fsigned-char -mminimal-toc' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -m64 -fsigned-char -mminimal-toc' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -m64 -fsigned-char -mminimal-toc' + export FFLAGS ++ find . -name config.guess -o -name config.sub + ./configure --build=powerpc-redhat-linux-gnu --host=powerpc-redhat-linux-gnu --target=ppc64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info loading cache ./config.cache checking for gcc... gcc checking whether we are using GNU C... yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /usr/bin/install -c checking whether cross-compiling... no checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... yes checking for string.h... yes checking for sys/rusage.h... no checking for working const... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for struct timeval in sys/time.h... yes checking for vprintf... yes checking for wait3 that fills in rusage... (cached) yes checking for strerror... yes checking for getpagesize... yes updating cache ./config.cache creating ./config.status creating Makefile + make gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. -O2 -g -pipe -m64 -fsigned-char -mminimal-toc time.c time.c: In function `main': time.c:635: warning: return type of 'main' is not `int' In file included from time.c:640: time.c:601: warning: passing arg 1 of `run_command' from incompatible pointer type gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. -O2 -g -pipe -m64 -fsigned-char -mminimal-toc getopt.c gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. -O2 -g -pipe -m64 -fsigned-char -mminimal-toc getopt1.c gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. -O2 -g -pipe -m64 -fsigned-char -mminimal-toc error.c gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. -O2 -g -pipe -m64 -fsigned-char -mminimal-toc resuse.c rm -f t-version.c echo 'const char *version_string = "'GNU time 1.7'";' \ > t-version.c if cmp -s version.c t-version.c; then \ rm t-version.c; \ else \ mv t-version.c version.c; \ fi echo timestamp > stamp-v gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -I. -I. -O2 -g -pipe -m64 -fsigned-char -mminimal-toc version.c gcc -o time time.o getopt.o getopt1.o error.o resuse.o version.o /usr/bin/ld: warning: powerpc:common64 architecture of input file `time.o' is incompatible with powerpc:common output /usr/bin/ld: warning: powerpc:common64 architecture of input file `getopt.o' is incompatible with powerpc:common output/usr/bin/ld: warning: powerpc:common64 architecture of input file `getopt1.o' is incompatible with powerpc:common output /usr/bin/ld: warning: powerpc:common64 architecture of input file `error.o' is incompatible with powerpc:common output /usr/bin/ld: warning: powerpc:common64 architecture of input file `resuse.o' is incompatible with powerpc:common output/usr/bin/ld: warning: powerpc:common64 architecture of input file `version.o' is incompatible with powerpc:common output time.o(.text+0xa): In function `ptok': /home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:254: relocation truncated to fit: R_PPC64_TOC16_DS .toc time.o(.text+0x30):/home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:261: relocation truncated to fit: R_PPC64_REL24 getpagesize time.o(.text+0xc6): In function `usage': /home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:656: relocation truncated to fit: R_PPC64_TOC16_DS .toc time.o(.text+0xe4):/home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:657: relocation truncated to fit: R_PPC64_REL24 fprintf time.o(.text+0xf0):/home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:662: relocation truncated to fit: R_PPC64_REL24 exit time.o(.text+0x112): In function `main': /home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:635: relocation truncated to fit: R_PPC64_TOC16_DS .toc time.o(.text+0x18c):/home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:535: relocation truncated to fit: R_PPC64_REL24 getenv time.o(.text+0x1b4):/home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:565: relocation truncated to fit: R_PPC64_REL24 getopt_long time.o(.text+0x290):/home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:565: relocation truncated to fit: R_PPC64_REL24 getopt_long time.o(.text+0x2d4):/home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:575: relocation truncated to fit: R_PPC64_REL24 fopen time.o(.text+0x2f0):/home/buildcentos/rpmbuild/BUILD/time-1.7/time.c:579: additional relocation overflows omitted from the output collect2: ld returned 1 exit status make: *** [time] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.31649 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.31649 (%build)