* Package: app-benchmarks/tiobench-0.4.2 * Repository: gentoo * Maintainer: alicef@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tiobench-0.4.2.tar.gz to /var/tmp/portage/app-benchmarks/tiobench-0.4.2/work >>> Source unpacked in /var/tmp/portage/app-benchmarks/tiobench-0.4.2/work >>> Preparing source in /var/tmp/portage/app-benchmarks/tiobench-0.4.2/work/tiobench-0.4.2 ... * Applying tiobench-0.4.2-gcc5.patch ... [ ok ] * Applying tiobench-0.4.2-fix-perl-shebang.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-benchmarks/tiobench-0.4.2/work/tiobench-0.4.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-benchmarks/tiobench-0.4.2/work/tiobench-0.4.2 ... make -j1 CC=x86_64-gentoo-linux-musl-gcc LINK=x86_64-gentoo-linux-musl-gcc DEFINES=-DLARGEFILES 'CFLAGS=-O2 -pipe -march=native' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' x86_64-gentoo-linux-musl-gcc -c -DUSE_LARGEFILES -O2 -pipe -march=native -DLARGEFILES test_largefiles.c -o test_largefiles.o In file included from test_largefiles.c:23: constants.h:36:2: error: #error no large file support available, remove -DLARGEFILES from makefile 36 | #error no large file support available, remove -DLARGEFILES from makefile | ^~~~~ constants.h:62: warning: "PAGE_SIZE" redefined 62 | #define PAGE_SIZE (4096) | In file included from /usr/include/values.h:4, from constants.h:25, from test_largefiles.c:23: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | In file included from test_largefiles.c:23: test_largefiles.c: In function ‘main’: test_largefiles.c:60:31: warning: format ‘%Lx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 60 | printf( xstr(TIO_ftruncate) "()'ing large test file to size %Lx\n", LARGEFILE_SIZE); | ^ constants.h:75:17: note: in definition of macro ‘str’ 75 | #define str(s) #s | ^ test_largefiles.c:60:13: note: in expansion of macro ‘xstr’ 60 | printf( xstr(TIO_ftruncate) "()'ing large test file to size %Lx\n", LARGEFILE_SIZE); | ^~~~ test_largefiles.c:70:30: warning: format ‘%Lx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘TIO_off_t’ {aka ‘long int’} [-Wformat=] 70 | printf(xstr(TIO_lseek) "()ing to offset %Lx\n", offset); | ^ constants.h:75:17: note: in definition of macro ‘str’ 75 | #define str(s) #s | ^ test_largefiles.c:70:16: note: in expansion of macro ‘xstr’ 70 | printf(xstr(TIO_lseek) "()ing to offset %Lx\n", offset); | ^~~~ test_largefiles.c:80:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=] 80 | fprintf(stderr, "Error read()ing, %d byte(s) read (!= %d)\n", count, sizeof(data)); | ~^ ~~~~~ | | | | int ssize_t {aka long int} | %ld test_largefiles.c:80:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 80 | fprintf(stderr, "Error read()ing, %d byte(s) read (!= %d)\n", count, sizeof(data)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld test_largefiles.c:91:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=] 91 | fprintf(stderr, "Error " xstr(TIO_pread) "()ing, %d byte(s) read (!= %d)\n", count, sizeof(data)); | ^~~~~~~~ ~~~~~ | | | ssize_t {aka long int} test_largefiles.c:91:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] test_largefiles.c:103:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=] 103 | fprintf(stderr, "Error " xstr(TIO_pwrite) "()ing, %d bytes written (!= %d)\n", count, sizeof(data)); | ^~~~~~~~ ~~~~~ | | | ssize_t {aka long int} test_largefiles.c:103:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] In file included from test_largefiles.c:23: test_largefiles.c:108:29: warning: format ‘%Lx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] 108 | printf(xstr(TIO_mmap) "()ing chunk of size %Lx at offset %Lx\n", CHUNK_SIZE, offset); | ^ constants.h:75:17: note: in definition of macro ‘str’ 75 | #define str(s) #s | ^ test_largefiles.c:108:16: note: in expansion of macro ‘xstr’ 108 | printf(xstr(TIO_mmap) "()ing chunk of size %Lx at offset %Lx\n", CHUNK_SIZE, offset); | ^~~~ test_largefiles.c:108:29: warning: format ‘%Lx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘TIO_off_t’ {aka ‘long int’} [-Wformat=] 108 | printf(xstr(TIO_mmap) "()ing chunk of size %Lx at offset %Lx\n", CHUNK_SIZE, offset); | ^ constants.h:75:17: note: in definition of macro ‘str’ 75 | #define str(s) #s | ^ test_largefiles.c:108:16: note: in expansion of macro ‘xstr’ 108 | printf(xstr(TIO_mmap) "()ing chunk of size %Lx at offset %Lx\n", CHUNK_SIZE, offset); | ^~~~ test_largefiles.c:151:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=] 151 | fprintf(stderr, "Error " xstr(TIO_pread) "()ing, %d byte(s) read (!= %d)\n", count, sizeof(data)); | ^~~~~~~~ ~~~~~ | | | ssize_t {aka long int} test_largefiles.c:151:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] make: *** [Makefile:38: test_largefiles.o] Error 1 * ERROR: app-benchmarks/tiobench-0.4.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-benchmarks/tiobench-0.4.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-benchmarks/tiobench-0.4.2::gentoo'`. * The complete build log is located at '/var/log/portage/app-benchmarks:tiobench-0.4.2:20200330-234727.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-benchmarks/tiobench-0.4.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-benchmarks/tiobench-0.4.2/temp/environment'. * Working directory: '/var/tmp/portage/app-benchmarks/tiobench-0.4.2/work/tiobench-0.4.2' * S: '/var/tmp/portage/app-benchmarks/tiobench-0.4.2/work/tiobench-0.4.2'