2019-07-05T13:57:36 Created temporary directory: /tmp/pip-ephem-wheel-cache-gh9l4few 2019-07-05T13:57:36 Created temporary directory: /tmp/pip-req-tracker-zb58zwkt 2019-07-05T13:57:36 Created requirements tracker '/tmp/pip-req-tracker-zb58zwkt' 2019-07-05T13:57:36 Created temporary directory: /tmp/pip-wheel-smjkrdab 2019-07-05T13:57:36 Collecting python_papi==5.5.1.3 2019-07-05T13:57:36 1 location(s) to search for versions of python-papi: 2019-07-05T13:57:36 * https://pypi.org/simple/python-papi/ 2019-07-05T13:57:36 Getting page https://pypi.org/simple/python-papi/ 2019-07-05T13:57:36 Analyzing links from page https://pypi.org/simple/python-papi/ 2019-07-05T13:57:36 Found link https://files.pythonhosted.org/packages/47/6e/033ab109fb3afa18328f74da5bff6b49d3fdd3c7aa3aedd11b035bac4c6f/python_papi-5.5.1.0.tar.gz#sha256=7907a1f66acf6745827b20e58beaf970dd84a3c7b6f97ed706500e2f132b58a3 (from https://pypi.org/simple/python-papi/), version: 5.5.1.0 2019-07-05T13:57:36 Found link https://files.pythonhosted.org/packages/45/95/cdb81a9bca543b69819dae465a651e063b63cd1842fdd5211f4e13e81eb7/python_papi-5.5.1.1.tar.gz#sha256=a3b6de3a0b3ece95ae76b265e2356fae916c59cb3c6f550289dd33be56b0e39a (from https://pypi.org/simple/python-papi/), version: 5.5.1.1 2019-07-05T13:57:36 Found link https://files.pythonhosted.org/packages/1a/29/e6fb09d8e1cf47624018bfb735b5802f916e2a2d43a99f3d1afea724898f/python_papi-5.5.1.2.tar.gz#sha256=33fa7ba751f3e45817d38117ddf44cf7709819aa88af8479f86519a2d161b9e4 (from https://pypi.org/simple/python-papi/), version: 5.5.1.2 2019-07-05T13:57:36 Found link https://files.pythonhosted.org/packages/6e/b9/7b5bf3f605a57f6147b3fbb4ce442efc977298fecdac4a168ce17964eb2b/python_papi-5.5.1.3.tar.gz#sha256=00d71e859821c57573286efbc9992a73c641cea5136610968d55b5b3c53b501b (from https://pypi.org/simple/python-papi/), version: 5.5.1.3 2019-07-05T13:57:36 Using version 5.5.1.3 (newest of versions: 5.5.1.3) 2019-07-05T13:57:36 Created temporary directory: /tmp/pip-unpack-gpdczon1 2019-07-05T13:57:36 Downloading https://files.pythonhosted.org/packages/6e/b9/7b5bf3f605a57f6147b3fbb4ce442efc977298fecdac4a168ce17964eb2b/python_papi-5.5.1.3.tar.gz (4.3MB) 2019-07-05T13:57:36 Downloading from URL https://files.pythonhosted.org/packages/6e/b9/7b5bf3f605a57f6147b3fbb4ce442efc977298fecdac4a168ce17964eb2b/python_papi-5.5.1.3.tar.gz#sha256=00d71e859821c57573286efbc9992a73c641cea5136610968d55b5b3c53b501b (from https://pypi.org/simple/python-papi/) 2019-07-05T13:57:46 Added python_papi==5.5.1.3 from https://files.pythonhosted.org/packages/6e/b9/7b5bf3f605a57f6147b3fbb4ce442efc977298fecdac4a168ce17964eb2b/python_papi-5.5.1.3.tar.gz#sha256=00d71e859821c57573286efbc9992a73c641cea5136610968d55b5b3c53b501b to build tracker '/tmp/pip-req-tracker-zb58zwkt' 2019-07-05T13:57:46 Running setup.py (path:/tmp/pip-wheel-smjkrdab/python-papi/setup.py) egg_info for package python-papi 2019-07-05T13:57:46 Running command python setup.py egg_info 2019-07-05T13:57:48 running egg_info 2019-07-05T13:57:48 creating pip-egg-info/python_papi.egg-info 2019-07-05T13:57:48 writing pip-egg-info/python_papi.egg-info/PKG-INFO 2019-07-05T13:57:48 writing dependency_links to pip-egg-info/python_papi.egg-info/dependency_links.txt 2019-07-05T13:57:48 writing requirements to pip-egg-info/python_papi.egg-info/requires.txt 2019-07-05T13:57:48 writing top-level names to pip-egg-info/python_papi.egg-info/top_level.txt 2019-07-05T13:57:48 writing manifest file 'pip-egg-info/python_papi.egg-info/SOURCES.txt' 2019-07-05T13:57:48 reading manifest file 'pip-egg-info/python_papi.egg-info/SOURCES.txt' 2019-07-05T13:57:48 reading manifest template 'MANIFEST.in' 2019-07-05T13:57:49 writing manifest file 'pip-egg-info/python_papi.egg-info/SOURCES.txt' 2019-07-05T13:57:49 Source in /tmp/pip-wheel-smjkrdab/python-papi has version 5.5.1.3, which satisfies requirement python_papi==5.5.1.3 from https://files.pythonhosted.org/packages/6e/b9/7b5bf3f605a57f6147b3fbb4ce442efc977298fecdac4a168ce17964eb2b/python_papi-5.5.1.3.tar.gz#sha256=00d71e859821c57573286efbc9992a73c641cea5136610968d55b5b3c53b501b 2019-07-05T13:57:49 Removed python_papi==5.5.1.3 from https://files.pythonhosted.org/packages/6e/b9/7b5bf3f605a57f6147b3fbb4ce442efc977298fecdac4a168ce17964eb2b/python_papi-5.5.1.3.tar.gz#sha256=00d71e859821c57573286efbc9992a73c641cea5136610968d55b5b3c53b501b from build tracker '/tmp/pip-req-tracker-zb58zwkt' 2019-07-05T13:57:49 Building wheels for collected packages: python-papi 2019-07-05T13:57:49 Created temporary directory: /tmp/pip-wheel-nl48w1ym 2019-07-05T13:57:49 Building wheel for python-papi (setup.py): started 2019-07-05T13:57:49 Destination directory: /tmp/pip-wheel-nl48w1ym 2019-07-05T13:57:49 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-smjkrdab/python-papi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-nl48w1ym 2019-07-05T13:57:51 running bdist_wheel 2019-07-05T13:57:51 running build 2019-07-05T13:57:51 running build_py 2019-07-05T13:57:52 checking for architecture... armv7l 2019-07-05T13:57:52 checking for OS... linux 2019-07-05T13:57:52 checking for OS version... 4.19.50-v7+ 2019-07-05T13:57:52 checking for user events... checking for static user events build... 2019-07-05T13:57:52 checking for perf_event workaround level... autodetect 2019-07-05T13:57:52 checking for if MIC should be used... no 2019-07-05T13:57:52 checking for xlc... no 2019-07-05T13:57:52 checking for icc... no 2019-07-05T13:57:52 checking for gcc... gcc 2019-07-05T13:57:52 checking for C compiler default output file name... a.out 2019-07-05T13:57:52 checking whether the C compiler works... yes 2019-07-05T13:57:52 checking whether we are cross compiling... no 2019-07-05T13:57:53 checking for suffix of executables... 2019-07-05T13:57:53 checking for suffix of object files... o 2019-07-05T13:57:53 checking whether we are using the GNU C compiler... yes 2019-07-05T13:57:53 checking whether gcc accepts -g... yes 2019-07-05T13:57:54 checking for gcc option to accept ANSI C... none needed 2019-07-05T13:57:54 checking for xlf... no 2019-07-05T13:57:54 checking for ifort... no 2019-07-05T13:57:54 checking for gfortran... gfortran 2019-07-05T13:57:54 checking whether we are using the GNU Fortran 77 compiler... yes 2019-07-05T13:57:54 checking whether gfortran accepts -g... yes 2019-07-05T13:57:54 checking for mpicc... no 2019-07-05T13:57:54 checking for gawk... gawk 2019-07-05T13:57:55 checking how to run the C preprocessor... gcc -E 2019-07-05T13:57:55 checking whether ln -s works... yes 2019-07-05T13:57:55 checking whether make sets $(MAKE)... yes 2019-07-05T13:57:55 checking for ranlib... ranlib 2019-07-05T13:57:55 checking for egrep... grep -E 2019-07-05T13:57:56 checking for ANSI C header files... yes 2019-07-05T13:57:56 checking for inline... inline 2019-07-05T13:57:56 checking whether time.h and sys/time.h may both be included... yes 2019-07-05T13:57:56 checking for sys/types.h... yes 2019-07-05T13:57:57 checking for sys/stat.h... yes 2019-07-05T13:57:57 checking for stdlib.h... yes 2019-07-05T13:57:57 checking for string.h... yes 2019-07-05T13:57:58 checking for memory.h... yes 2019-07-05T13:57:58 checking for strings.h... yes 2019-07-05T13:57:58 checking for inttypes.h... yes 2019-07-05T13:57:59 checking for stdint.h... yes 2019-07-05T13:57:59 checking for unistd.h... yes 2019-07-05T13:57:59 checking sys/time.h usability... yes 2019-07-05T13:58:00 checking sys/time.h presence... yes 2019-07-05T13:58:00 checking for sys/time.h... yes 2019-07-05T13:58:00 checking c_asm.h usability... no 2019-07-05T13:58:00 checking c_asm.h presence... no 2019-07-05T13:58:00 checking for c_asm.h... no 2019-07-05T13:58:00 checking intrinsics.h usability... no 2019-07-05T13:58:00 checking intrinsics.h presence... no 2019-07-05T13:58:01 checking for intrinsics.h... no 2019-07-05T13:58:01 checking mach/mach_time.h usability... no 2019-07-05T13:58:01 checking mach/mach_time.h presence... no 2019-07-05T13:58:01 checking for mach/mach_time.h... no 2019-07-05T13:58:01 checking sched.h usability... yes 2019-07-05T13:58:01 checking sched.h presence... yes 2019-07-05T13:58:01 checking for sched.h... yes 2019-07-05T13:58:02 checking for gethrtime... no 2019-07-05T13:58:02 checking for read_real_time... no 2019-07-05T13:58:03 checking for time_base_to_time... no 2019-07-05T13:58:03 checking for clock_gettime... yes 2019-07-05T13:58:04 checking for mach_absolute_time... no 2019-07-05T13:58:04 checking for sched_getcpu... yes 2019-07-05T13:58:04 checking for dlopen and dlerror symbols in base system... not found 2019-07-05T13:58:05 checking for dlopen and dlerror symbols in -ldl... found 2019-07-05T13:58:05 checking for debug build... 2019-07-05T13:58:05 checking for -Wno-override-init... 1 2019-07-05T13:58:05 checking for CPU type... 2019-07-05T13:58:05 forcing use of pthread mutexes... 2019-07-05T13:58:05 checking for ffsll... yes 2019-07-05T13:58:06 checking for working gettid... no 2019-07-05T13:58:06 checking for working syscall(SYS_gettid)... yes 2019-07-05T13:58:07 checking for working MMTIMER... no 2019-07-05T13:58:07 checking for working CLOCK_REALTIME_HR POSIX 1b timer... no 2019-07-05T13:58:08 checking for working CLOCK_REALTIME POSIX 1b timer... yes 2019-07-05T13:58:10 checking for real time clock or cycle counter... checking for working __thread... yes 2019-07-05T13:58:10 checking for high performance thread local storage... __thread 2019-07-05T13:58:14 checking for working CLOCK_THREAD_CPUTIME_ID POSIX 1b timer... yes 2019-07-05T13:58:14 checking for thread virtual clock or cycle counter... clock_thread_cputime_id 2019-07-05T13:58:14 checking for which libraries to build... shared static 2019-07-05T13:58:14 checking for link test cases with shared library... 2019-07-05T13:58:14 checking for /sys/class/perfctr... no 2019-07-05T13:58:14 checking for /dev/perfctr... no 2019-07-05T13:58:14 checking for /sys/kernel/perfmon/version... no 2019-07-05T13:58:14 checking for /proc/perfmon... no 2019-07-05T13:58:14 checking for /proc/sys/kernel/perf_event_paranoid... yes 2019-07-05T13:58:14 checking for libpfm4/include/perfmon/perf_event.h... yes 2019-07-05T13:58:14 checking platform... linux-pe 2019-07-05T13:58:14 checking for components to build... perf_event perf_event_uncore 2019-07-05T13:58:14 configure: Compiling genpapifdef with gcc 2019-07-05T13:58:14 configure: Generating fpapi.h 2019-07-05T13:58:14 configure: Generating f77papi.h 2019-07-05T13:58:14 configure: Generating f90papi.h 2019-07-05T13:58:14 configure: Rules.pfm4_pe will be included in the generated Makefile 2019-07-05T13:58:14 configure: creating ./config.status 2019-07-05T13:58:15 config.status: creating Makefile 2019-07-05T13:58:16 config.status: creating papi.pc 2019-07-05T13:58:16 config.status: creating components/Makefile_comp_tests.target 2019-07-05T13:58:16 config.status: creating testlib/Makefile.target 2019-07-05T13:58:16 config.status: creating ctests/Makefile.target 2019-07-05T13:58:16 config.status: creating ftests/Makefile.target 2019-07-05T13:58:16 config.status: creating config.h 2019-07-05T13:58:17 make -C /tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4 ARCH="armv7l" CC="gcc -Wno-override-init" lib 2019-07-05T13:58:17 make[1]: Entering directory '/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4' 2019-07-05T13:58:17 make -C lib 2019-07-05T13:58:17 make[2]: Entering directory '/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4/lib' 2019-07-05T13:58:17 gcc -Wno-override-init -fPIC -g -DUSE_PTHREAD_MUTEXES -DSTATIC_PAPI_EVENTS_TABLE -DPEINCLUDE=\"libpfm4/include/perfmon/perf_event.h\" -D_REENTRANT -D_GNU_SOURCE -DUSE_COMPILER_TLS -Wall -Ilibpfm4/include -fvisibility=hidden -Wextra -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_ARM -I. -c pfmlib_common.c 2019-07-05T13:58:18 gcc -Wno-override-init -fPIC -g -DUSE_PTHREAD_MUTEXES -DSTATIC_PAPI_EVENTS_TABLE -DPEINCLUDE=\"libpfm4/include/perfmon/perf_event.h\" -D_REENTRANT -D_GNU_SOURCE -DUSE_COMPILER_TLS -Wall -Ilibpfm4/include -fvisibility=hidden -Wextra -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_ARM -I. -c pfmlib_perf_event_pmu.c 2019-07-05T13:58:18 pfmlib_perf_event_pmu.c: In function ‘gen_tracepoint_table’: 2019-07-05T13:58:18 pfmlib_perf_event_pmu.c:349:36: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=] 2019-07-05T13:58:18 snprintf(d2path, MAXPATHLEN, "%s/%s", debugfs_mnt, d1->d_name); 2019-07-05T13:58:18 ^~ 2019-07-05T13:58:18 pfmlib_perf_event_pmu.c:349:3: note: ‘snprintf’ output between 2 and 4352 bytes into a destination of size 4096 2019-07-05T13:58:18 snprintf(d2path, MAXPATHLEN, "%s/%s", debugfs_mnt, d1->d_name); 2019-07-05T13:58:18 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-05T13:58:18 pfmlib_perf_event_pmu.c:399:58: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=] 2019-07-05T13:58:18 snprintf(idpath, MAXPATHLEN, "%s/%s/id", d2path, d2->d_name); 2019-07-05T13:58:18 ^~ 2019-07-05T13:58:18 pfmlib_perf_event_pmu.c:399:25: note: ‘snprintf’ output between 5 and 4355 bytes into a destination of size 4096 2019-07-05T13:58:18 snprintf(idpath, MAXPATHLEN, "%s/%s/id", d2path, d2->d_name); 2019-07-05T13:58:18 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-05T13:58:19 cc1: all warnings being treated as errors 2019-07-05T13:58:19 make[2]: *** [/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4/lib/../rules.mk:30: pfmlib_perf_event_pmu.o] Error 1 2019-07-05T13:58:19 make[2]: Leaving directory '/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4/lib' 2019-07-05T13:58:19 make[1]: *** [Makefile:52: lib] Error 2 2019-07-05T13:58:19 make[1]: Leaving directory '/tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4' 2019-07-05T13:58:19 make: *** [Rules.pfm4_pe:43: /tmp/pip-wheel-smjkrdab/python-papi/papi/src/libpfm4/lib/libpfm.a] Error 2 2019-07-05T13:58:19 creating build 2019-07-05T13:58:19 creating build/lib.linux-armv7l-3.7 2019-07-05T13:58:19 creating build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 copying pypapi/exceptions.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 copying pypapi/papi_low.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 copying pypapi/papi_build.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 copying pypapi/events.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 copying pypapi/types.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 copying pypapi/papi_high.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 copying pypapi/consts.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 copying pypapi/__init__.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-05T13:58:19 running build_ext 2019-07-05T13:58:19 generating cffi module 'build/temp.linux-armv7l-3.7/pypapi._papi.c' 2019-07-05T13:58:19 creating build/temp.linux-armv7l-3.7 2019-07-05T13:58:19 building 'pypapi._papi' extension 2019-07-05T13:58:19 creating build/temp.linux-armv7l-3.7/build 2019-07-05T13:58:19 creating build/temp.linux-armv7l-3.7/build/temp.linux-armv7l-3.7 2019-07-05T13:58:19 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-wheel-smjkrdab/python-papi/pypapi -I/usr/include/python3.7m -c build/temp.linux-armv7l-3.7/pypapi._papi.c -o build/temp.linux-armv7l-3.7/build/temp.linux-armv7l-3.7/pypapi._papi.o 2019-07-05T13:58:21 arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.7/build/temp.linux-armv7l-3.7/pypapi._papi.o /tmp/pip-wheel-smjkrdab/python-papi/pypapi/../papi/src/libpapi.a -o build/lib.linux-armv7l-3.7/pypapi/_papi.abi3.so 2019-07-05T13:58:21 arm-linux-gnueabihf-gcc: error: /tmp/pip-wheel-smjkrdab/python-papi/pypapi/../papi/src/libpapi.a: No such file or directory 2019-07-05T13:58:21 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-07-05T13:58:21 Building wheel for python-papi (setup.py): finished with status 'error' 2019-07-05T13:58:21 ERROR: Failed building wheel for python-papi 2019-07-05T13:58:21 Running setup.py clean for python-papi 2019-07-05T13:58:21 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-smjkrdab/python-papi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-07-05T13:58:23 running clean 2019-07-05T13:58:23 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-05T13:58:23 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-07-05T13:58:23 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-05T13:58:23 'build/scripts-3.7' does not exist -- can't clean it 2019-07-05T13:58:23 removing 'build' 2019-07-05T13:58:23 Failed to build python-papi 2019-07-05T13:58:23 Cleaning up... 2019-07-05T13:58:23 Removing source in /tmp/pip-wheel-smjkrdab/python-papi 2019-07-05T13:58:25 Removed build tracker '/tmp/pip-req-tracker-zb58zwkt' 2019-07-05T13:58:25 ERROR: Failed to build one or more wheels 2019-07-05T13:58:25 Exception information: 2019-07-05T13:58:25 Traceback (most recent call last): 2019-07-05T13:58:25 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-05T13:58:25 status = self.run(options, args) 2019-07-05T13:58:25 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-05T13:58:25 "Failed to build one or more wheels" 2019-07-05T13:58:25 pip._internal.exceptions.CommandError: Failed to build one or more wheels