Patch that line to read `sprintf(buf, "%0*" PRIo64,
static_cast<long long unsigned int>(length - 1), n);` and you're cool. It might
be related to how that particular gcc version in EPEL7 inherits those atomic data-types.
I've tried with that and this is what I get.
src/cbang/tar/TarHeader.cpp:226:80: error: field width specifier '*' expects
argument of type 'int', but argument 3 has type 'long long unsigned int'
[-Werror=format=]
sprintf(buf, "%0*" PRIo64, static_cast<long long unsigned int>(length -
1), n);
^
src/cbang/tar/TarHeader.cpp:226:80: error: format '%llo' expects argument of type
'long long unsigned int', but argument 4 has type 'uint64_t {aka long unsigned
int}' [-Werror=format=]
I've also sent a mail to ppc lists seems there is an issue somewhere in that platform.