2019-07-04T22:13:51 Created temporary directory: /tmp/pip-ephem-wheel-cache-gzs5d_3y 2019-07-04T22:13:51 Created temporary directory: /tmp/pip-req-tracker-rt_93bv2 2019-07-04T22:13:51 Created requirements tracker '/tmp/pip-req-tracker-rt_93bv2' 2019-07-04T22:13:51 Created temporary directory: /tmp/pip-wheel-m05a6blw 2019-07-04T22:13:51 Collecting python_papi==5.5.1.1 2019-07-04T22:13:51 1 location(s) to search for versions of python-papi: 2019-07-04T22:13:51 * https://pypi.org/simple/python-papi/ 2019-07-04T22:13:51 Getting page https://pypi.org/simple/python-papi/ 2019-07-04T22:13:51 Analyzing links from page https://pypi.org/simple/python-papi/ 2019-07-04T22:13:51 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-04T22:13:51 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-04T22:13:51 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-04T22:13:51 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-04T22:13:51 Using version 5.5.1.1 (newest of versions: 5.5.1.1) 2019-07-04T22:13:51 Created temporary directory: /tmp/pip-unpack-ugsqeq2y 2019-07-04T22:13:52 Downloading https://files.pythonhosted.org/packages/45/95/cdb81a9bca543b69819dae465a651e063b63cd1842fdd5211f4e13e81eb7/python_papi-5.5.1.1.tar.gz (9.7MB) 2019-07-04T22:13:52 Downloading from URL 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/) 2019-07-04T22:14:04 Added python_papi==5.5.1.1 from https://files.pythonhosted.org/packages/45/95/cdb81a9bca543b69819dae465a651e063b63cd1842fdd5211f4e13e81eb7/python_papi-5.5.1.1.tar.gz#sha256=a3b6de3a0b3ece95ae76b265e2356fae916c59cb3c6f550289dd33be56b0e39a to build tracker '/tmp/pip-req-tracker-rt_93bv2' 2019-07-04T22:14:04 Running setup.py (path:/tmp/pip-wheel-m05a6blw/python-papi/setup.py) egg_info for package python-papi 2019-07-04T22:14:04 Running command python setup.py egg_info 2019-07-04T22:14:07 running egg_info 2019-07-04T22:14:07 creating pip-egg-info/python_papi.egg-info 2019-07-04T22:14:07 writing pip-egg-info/python_papi.egg-info/PKG-INFO 2019-07-04T22:14:07 writing dependency_links to pip-egg-info/python_papi.egg-info/dependency_links.txt 2019-07-04T22:14:07 writing requirements to pip-egg-info/python_papi.egg-info/requires.txt 2019-07-04T22:14:07 writing top-level names to pip-egg-info/python_papi.egg-info/top_level.txt 2019-07-04T22:14:07 writing manifest file 'pip-egg-info/python_papi.egg-info/SOURCES.txt' 2019-07-04T22:14:07 reading manifest file 'pip-egg-info/python_papi.egg-info/SOURCES.txt' 2019-07-04T22:14:07 reading manifest template 'MANIFEST.in' 2019-07-04T22:14:08 writing manifest file 'pip-egg-info/python_papi.egg-info/SOURCES.txt' 2019-07-04T22:14:08 Source in /tmp/pip-wheel-m05a6blw/python-papi has version 5.5.1.1, which satisfies requirement python_papi==5.5.1.1 from https://files.pythonhosted.org/packages/45/95/cdb81a9bca543b69819dae465a651e063b63cd1842fdd5211f4e13e81eb7/python_papi-5.5.1.1.tar.gz#sha256=a3b6de3a0b3ece95ae76b265e2356fae916c59cb3c6f550289dd33be56b0e39a 2019-07-04T22:14:08 Removed python_papi==5.5.1.1 from https://files.pythonhosted.org/packages/45/95/cdb81a9bca543b69819dae465a651e063b63cd1842fdd5211f4e13e81eb7/python_papi-5.5.1.1.tar.gz#sha256=a3b6de3a0b3ece95ae76b265e2356fae916c59cb3c6f550289dd33be56b0e39a from build tracker '/tmp/pip-req-tracker-rt_93bv2' 2019-07-04T22:14:08 Building wheels for collected packages: python-papi 2019-07-04T22:14:08 Created temporary directory: /tmp/pip-wheel-cb2oesye 2019-07-04T22:14:08 Building wheel for python-papi (setup.py): started 2019-07-04T22:14:08 Destination directory: /tmp/pip-wheel-cb2oesye 2019-07-04T22:14:08 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-m05a6blw/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-cb2oesye 2019-07-04T22:14:10 running bdist_wheel 2019-07-04T22:14:10 running build 2019-07-04T22:14:10 running build_py 2019-07-04T22:14:11 checking for architecture... armv7l 2019-07-04T22:14:11 checking for OS... linux 2019-07-04T22:14:11 checking for OS version... 4.19.50-v7+ 2019-07-04T22:14:11 checking for user events... checking for static user events build... 2019-07-04T22:14:11 checking for perf_event workaround level... autodetect 2019-07-04T22:14:11 checking for if MIC should be used... no 2019-07-04T22:14:11 checking for xlc... no 2019-07-04T22:14:11 checking for icc... no 2019-07-04T22:14:11 checking for gcc... gcc 2019-07-04T22:14:11 checking for C compiler default output file name... a.out 2019-07-04T22:14:11 checking whether the C compiler works... yes 2019-07-04T22:14:11 checking whether we are cross compiling... no 2019-07-04T22:14:12 checking for suffix of executables... 2019-07-04T22:14:12 checking for suffix of object files... o 2019-07-04T22:14:12 checking whether we are using the GNU C compiler... yes 2019-07-04T22:14:12 checking whether gcc accepts -g... yes 2019-07-04T22:14:13 checking for gcc option to accept ANSI C... none needed 2019-07-04T22:14:13 checking for xlf... no 2019-07-04T22:14:13 checking for ifort... no 2019-07-04T22:14:13 checking for gfortran... gfortran 2019-07-04T22:14:13 checking whether we are using the GNU Fortran 77 compiler... yes 2019-07-04T22:14:14 checking whether gfortran accepts -g... yes 2019-07-04T22:14:14 checking for mpicc... no 2019-07-04T22:14:14 checking for gawk... gawk 2019-07-04T22:14:14 checking how to run the C preprocessor... gcc -E 2019-07-04T22:14:14 checking whether ln -s works... yes 2019-07-04T22:14:14 checking whether make sets $(MAKE)... yes 2019-07-04T22:14:14 checking for ranlib... ranlib 2019-07-04T22:14:14 checking for egrep... grep -E 2019-07-04T22:14:15 checking for ANSI C header files... yes 2019-07-04T22:14:15 checking for inline... inline 2019-07-04T22:14:15 checking whether time.h and sys/time.h may both be included... yes 2019-07-04T22:14:16 checking for sys/types.h... yes 2019-07-04T22:14:16 checking for sys/stat.h... yes 2019-07-04T22:14:16 checking for stdlib.h... yes 2019-07-04T22:14:17 checking for string.h... yes 2019-07-04T22:14:17 checking for memory.h... yes 2019-07-04T22:14:17 checking for strings.h... yes 2019-07-04T22:14:18 checking for inttypes.h... yes 2019-07-04T22:14:18 checking for stdint.h... yes 2019-07-04T22:14:18 checking for unistd.h... yes 2019-07-04T22:14:19 checking sys/time.h usability... yes 2019-07-04T22:14:19 checking sys/time.h presence... yes 2019-07-04T22:14:19 checking for sys/time.h... yes 2019-07-04T22:14:19 checking c_asm.h usability... no 2019-07-04T22:14:20 checking c_asm.h presence... no 2019-07-04T22:14:20 checking for c_asm.h... no 2019-07-04T22:14:20 checking intrinsics.h usability... no 2019-07-04T22:14:20 checking intrinsics.h presence... no 2019-07-04T22:14:20 checking for intrinsics.h... no 2019-07-04T22:14:20 checking mach/mach_time.h usability... no 2019-07-04T22:14:20 checking mach/mach_time.h presence... no 2019-07-04T22:14:20 checking for mach/mach_time.h... no 2019-07-04T22:14:21 checking sched.h usability... yes 2019-07-04T22:14:21 checking sched.h presence... yes 2019-07-04T22:14:21 checking for sched.h... yes 2019-07-04T22:14:21 checking for gethrtime... no 2019-07-04T22:14:22 checking for read_real_time... no 2019-07-04T22:14:22 checking for time_base_to_time... no 2019-07-04T22:14:22 checking for clock_gettime... yes 2019-07-04T22:14:23 checking for mach_absolute_time... no 2019-07-04T22:14:23 checking for sched_getcpu... yes 2019-07-04T22:14:24 checking for dlopen and dlerror symbols in base system... not found 2019-07-04T22:14:24 checking for dlopen and dlerror symbols in -ldl... found 2019-07-04T22:14:24 checking for debug build... 2019-07-04T22:14:24 checking for -Wno-override-init... 1 2019-07-04T22:14:24 checking for CPU type... 2019-07-04T22:14:24 forcing use of pthread mutexes... 2019-07-04T22:14:25 checking for ffsll... yes 2019-07-04T22:14:25 checking for working gettid... no 2019-07-04T22:14:25 checking for working syscall(SYS_gettid)... yes 2019-07-04T22:14:26 checking for working MMTIMER... no 2019-07-04T22:14:26 checking for working CLOCK_REALTIME_HR POSIX 1b timer... no 2019-07-04T22:14:28 checking for working CLOCK_REALTIME POSIX 1b timer... yes 2019-07-04T22:14:29 checking for real time clock or cycle counter... checking for working __thread... yes 2019-07-04T22:14:29 checking for high performance thread local storage... __thread 2019-07-04T22:14:33 checking for working CLOCK_THREAD_CPUTIME_ID POSIX 1b timer... yes 2019-07-04T22:14:33 checking for thread virtual clock or cycle counter... clock_thread_cputime_id 2019-07-04T22:14:33 checking for which libraries to build... shared static 2019-07-04T22:14:33 checking for link test cases with shared library... 2019-07-04T22:14:33 checking for /sys/class/perfctr... no 2019-07-04T22:14:33 checking for /dev/perfctr... no 2019-07-04T22:14:33 checking for /sys/kernel/perfmon/version... no 2019-07-04T22:14:33 checking for /proc/perfmon... no 2019-07-04T22:14:33 checking for /proc/sys/kernel/perf_event_paranoid... yes 2019-07-04T22:14:33 checking for libpfm4/include/perfmon/perf_event.h... yes 2019-07-04T22:14:33 checking platform... linux-pe 2019-07-04T22:14:33 checking for components to build... perf_event perf_event_uncore 2019-07-04T22:14:33 configure: Compiling genpapifdef with gcc 2019-07-04T22:14:34 configure: Generating fpapi.h 2019-07-04T22:14:34 configure: Generating f77papi.h 2019-07-04T22:14:34 configure: Generating f90papi.h 2019-07-04T22:14:34 configure: Rules.pfm4_pe will be included in the generated Makefile 2019-07-04T22:14:34 configure: creating ./config.status 2019-07-04T22:14:35 config.status: creating Makefile 2019-07-04T22:14:35 config.status: creating papi.pc 2019-07-04T22:14:35 config.status: creating components/Makefile_comp_tests.target 2019-07-04T22:14:35 config.status: creating testlib/Makefile.target 2019-07-04T22:14:35 config.status: creating ctests/Makefile.target 2019-07-04T22:14:36 config.status: creating ftests/Makefile.target 2019-07-04T22:14:36 config.status: creating config.h 2019-07-04T22:14:37 Host architecture : Linux with perf_event kernel support and libpfm4 2019-07-04T22:14:37 Host CPU component : perf_event 2019-07-04T22:14:37 Installation DESTDIR: 2019-07-04T22:14:37 Installation PREFIX : /usr/local 2019-07-04T22:14:37 Installation EPREFIX: /usr/local 2019-07-04T22:14:37 Installation INCDIR : /usr/local/include 2019-07-04T22:14:37 Installation LIBDIR : /usr/local/lib 2019-07-04T22:14:37 Installation BINDIR : /usr/local/bin 2019-07-04T22:14:37 Installation MANDIR : /usr/local/man 2019-07-04T22:14:37 Installation DOCDIR : 2019-07-04T22:14:37 Installation DATADIR: /usr/local/share/papi 2019-07-04T22:14:37 sh papi_events_table.sh papi_events.csv > papi_events_table.h 2019-07-04T22:14:37 gcc -E -DFORTRANUNDERSCORE papi_fwrappers.c > papi_fwrappers_.c 2019-07-04T22:14:37 gcc -E -DFORTRANDOUBLEUNDERSCORE papi_fwrappers.c > papi_fwrappers__.c 2019-07-04T22:14:37 gcc -E -DFORTRANCAPS papi_fwrappers.c > upper_PAPI_FWRAPPERS.c 2019-07-04T22:14:37 gcc -fPIC -DPIC -shared -Wl,-soname -Wl,libpapi.so.5 -Xlinker "-rpath" -Xlinker "/usr/local/lib" -Wl,-rpath-link -Wl,/tmp/pip-wheel-m05a6blw/python-papi/papi/src/libpfm4/lib -I. -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 -DOSLOCK=\"linux-lock.h\" -DOSCONTEXT=\"linux-context.h\" -O2 -DPAPI_NO_MEMORY_MANAGEMENT papi_libpfm4_events.c papi.c papi_internal.c papi_hl.c extras.c sw_multiplex.c papi_fwrappers.c papi_fwrappers_.c papi_fwrappers__.c upper_PAPI_FWRAPPERS.c threads.c cpus.c linux-memory.c linux-timer.c linux-common.c papi_preset.c papi_vector.c papi_memory.c components/perf_event/perf_event.c components/perf_event/pe_libpfm4_events.c components/perf_event_uncore/perf_event_uncore.c components/perf_event_uncore/peu_libpfm4_events.c -o libpapi.so.5.5.1.0 -Bdynamic -L/tmp/pip-wheel-m05a6blw/python-papi/papi/src/libpfm4/lib -lpfm 2019-07-04T22:14:43 In function ‘_papi_hwi_derived_string’, 2019-07-04T22:14:43 inlined from ‘_papi_hwi_get_preset_event_info’ at papi_internal.c:2277:5: 2019-07-04T22:14:43 papi_internal.c:2232:7: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] 2019-07-04T22:14:43 strncpy( derived, _papi_hwi_derived[j].name, ( size_t )\ 2019-07-04T22:14:43 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-04T22:14:43 len ); 2019-07-04T22:14:43 ~~~~~ 2019-07-04T22:14:53 linux-memory.c: In function ‘_linux_get_memory_info’: 2019-07-04T22:14:53 linux-memory.c:926:3: warning: #warning "WARNING! linux_get_memory_info() does nothing on ARM!" [-Wcpp] 2019-07-04T22:14:53 #warning "WARNING! linux_get_memory_info() does nothing on ARM!" 2019-07-04T22:14:53 ^~~~~~~ 2019-07-04T22:14:53 linux-memory.c: In function ‘_linux_update_shlib_info’: 2019-07-04T22:14:53 linux-memory.c:1022:6: warning: ‘strncpy’ output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] 2019-07-04T22:14:53 strncpy( tmp[t_index - 1].name, mapname, PAPI_MAX_STR_LEN ); 2019-07-04T22:14:53 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-04T22:14:57 papi_vector.c: In function ‘_papi_hwi_innoculate_vector’: 2019-07-04T22:14:57 papi_vector.c:149:4: warning: cast between incompatible function types from ‘void (*)()’ to ‘int (*)(void *)’ [-Wcast-function-type] 2019-07-04T22:14:57 ( int ( * )( hwd_control_state_t * ptr ) ) vec_void_dummy; 2019-07-04T22:14:57 ^ 2019-07-04T22:15:04 /usr/bin/ld: /tmp/pip-wheel-m05a6blw/python-papi/papi/src/libpfm4/lib/libpfm.a: error adding symbols: file format not recognized 2019-07-04T22:15:04 collect2: error: ld returned 1 exit status 2019-07-04T22:15:04 make: *** [Makefile.inc:61: libpapi.so.5.5.1.0] Error 1 2019-07-04T22:15:04 creating build 2019-07-04T22:15:04 creating build/lib.linux-armv7l-3.7 2019-07-04T22:15:04 creating build/lib.linux-armv7l-3.7/pypapi 2019-07-04T22:15:04 copying pypapi/exceptions.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-04T22:15:04 copying pypapi/papi_build.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-04T22:15:04 copying pypapi/events.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-04T22:15:04 copying pypapi/types.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-04T22:15:04 copying pypapi/papi_high.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-04T22:15:04 copying pypapi/__init__.py -> build/lib.linux-armv7l-3.7/pypapi 2019-07-04T22:15:04 running build_ext 2019-07-04T22:15:04 generating cffi module 'build/temp.linux-armv7l-3.7/pypapi._papi.c' 2019-07-04T22:15:04 creating build/temp.linux-armv7l-3.7 2019-07-04T22:15:04 building 'pypapi._papi' extension 2019-07-04T22:15:04 creating build/temp.linux-armv7l-3.7/build 2019-07-04T22:15:04 creating build/temp.linux-armv7l-3.7/build/temp.linux-armv7l-3.7 2019-07-04T22:15:04 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-m05a6blw/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-04T22:15:06 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-m05a6blw/python-papi/pypapi/../papi/src/libpapi.a -o build/lib.linux-armv7l-3.7/pypapi/_papi.abi3.so 2019-07-04T22:15:06 arm-linux-gnueabihf-gcc: error: /tmp/pip-wheel-m05a6blw/python-papi/pypapi/../papi/src/libpapi.a: No such file or directory 2019-07-04T22:15:06 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-07-04T22:15:06 Building wheel for python-papi (setup.py): finished with status 'error' 2019-07-04T22:15:06 ERROR: Failed building wheel for python-papi 2019-07-04T22:15:06 Running setup.py clean for python-papi 2019-07-04T22:15:06 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-m05a6blw/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-04T22:15:08 running clean 2019-07-04T22:15:08 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-07-04T22:15:08 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-07-04T22:15:08 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-07-04T22:15:08 'build/scripts-3.7' does not exist -- can't clean it 2019-07-04T22:15:08 removing 'build' 2019-07-04T22:15:08 Failed to build python-papi 2019-07-04T22:15:08 Cleaning up... 2019-07-04T22:15:08 Removing source in /tmp/pip-wheel-m05a6blw/python-papi 2019-07-04T22:15:10 Removed build tracker '/tmp/pip-req-tracker-rt_93bv2' 2019-07-04T22:15:10 ERROR: Failed to build one or more wheels 2019-07-04T22:15:10 Exception information: 2019-07-04T22:15:10 Traceback (most recent call last): 2019-07-04T22:15:10 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-07-04T22:15:10 status = self.run(options, args) 2019-07-04T22:15:10 File "/home/piwheels/.local/lib/python3.7/site-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-07-04T22:15:10 "Failed to build one or more wheels" 2019-07-04T22:15:10 pip._internal.exceptions.CommandError: Failed to build one or more wheels