Bug 865508 - FTBFS: ../sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c:21:1: error: unknown type name 'uint64_t'
FTBFS: ../sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c:21:1: error: un...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
rawhide
powerpc Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Law
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-11 11:50 EDT by Karsten Hopp
Modified: 2016-11-24 10:47 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-10-11 13:08:23 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Karsten Hopp 2012-10-11 11:50:29 EDT
Description of problem:
glibc-2.16.90-23.fc19 fails to build on PPC:

make[2]: Entering directory `/builddir/build/BUILD/glibc-2.16.90-c30e8edf/misc'
../sysdeps/unix/sysv/linux/gethostid.c: In function 'gethostid':
../sysdeps/unix/sysv/linux/gethostid.c:87:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
In file included from ../sysdeps/unix/sysv/linux/sethostid.c:2:0:
../sysdeps/unix/sysv/linux/gethostid.c: In function 'sethostid':
../sysdeps/unix/sysv/linux/gethostid.c:58:3: warning: variable 'err' set but not used [-Wunused-but-set-variable]
daemon.c: In function 'daemon':
daemon.c:84:5: warning: variable 'err' set but not used [-Wunused-but-set-variable]
daemon.c:89:4: warning: variable 'err' set but not used [-Wunused-but-set-variable]
../sysdeps/unix/sysv/linux/getloadavg.c: In function 'getloadavg':
../sysdeps/unix/sysv/linux/getloadavg.c:46:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
../sysdeps/unix/sysv/linux/getsysstats.c: In function '__get_nprocs':
../sysdeps/unix/sysv/linux/getsysstats.c:188:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
../sysdeps/unix/sysv/linux/getsysstats.c:212:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
../sysdeps/unix/sysv/linux/getsysstats.c:220:4: warning: variable 'err' set but not used [-Wunused-but-set-variable]
../sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c:21:1: error: unknown type name 'uint64_t'
../sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: In function '__get_timebase_freq':
../sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c:24:11: error: 'uint64_t' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c:24:11: note: each undeclared identifier is reported only once for each function it appears in
../sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c:24:21: error: expected ';' before '__get_clockfreq'
../sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c:25:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [/builddir/build/BUILD/glibc-2.16.90-c30e8edf/build-ppc-redhat-linux/misc/get_timebase_freq.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../sysdeps/powerpc/powerpc32/sysdep.h:20:0,
                 from ../sysdeps/unix/powerpc/sysdep.h:24,
                 from ../sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h:21,
                 from ../nptl/sysdeps/powerpc/tls.h:48,
                 from ../include/link.h:44,
                 from ../include/dlfcn.h:4,
                 from ../sysdeps/generic/ldsodefs.h:31,
                 from ../sysdeps/powerpc/ldsodefs.h:52,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from getauxval.c:19:
../sysdeps/powerpc/sysdep.h:22:0: warning: "_SYS_AUXV_H" redefined [enabled by default]
In file included from getauxval.c:18:0:
./sys/auxv.h:20:0: note: this is the location of the previous definition
make[2]: Leaving directory `/builddir/build/BUILD/glibc-2.16.90-c30e8edf/misc'


Version-Release number of selected component (if applicable):
glibc-2.16.90-23.fc19

How reproducible:
always

Steps to Reproduce:
1. ppc-koji build --scratch f19 glibc-2.16.90-23.fc19.src.rpm
2.
3.
  
Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=737952

More info:
glibc-2.16.90-16.fc19 failed to build for the same reasons, glibc-2.16.90-14.fc19 was the last one that built.
Comment 1 Jeff Law 2012-10-11 13:08:23 EDT
I resync'd with the upstream repository this morning which seems to have fixed this problem.  See the scratch build:

http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=738001

Note You need to log in before you can comment on or make changes to this bug.