stderr: _curses_cffi.c: In function ‘_m_ispad’: _curses_cffi.c:548:16: error: dereferencing pointer to incomplete type ‘WINDOW {aka struct _win_st}’ return (win->_flags & _ISPAD); ^~ _curses_cffi.c: In function ‘_cffi_var_COLORS’: _curses_cffi.c:8934:10: error: lvalue required as unary ‘&’ operand return &(COLORS); ^ _curses_cffi.c: In function ‘_cffi_var_COLOR_PAIRS’: _curses_cffi.c:8939:10: error: lvalue required as unary ‘&’ operand return &(COLOR_PAIRS); ^ _curses_cffi.c: In function ‘_cffi_var_COLS’: _curses_cffi.c:8944:10: error: lvalue required as unary ‘&’ operand return &(COLS); ^ _curses_cffi.c: In function ‘_cffi_var_LINES’: _curses_cffi.c:8949:10: error: lvalue required as unary ‘&’ operand return &(LINES); ^ _curses_cffi.c: In function ‘_cffi_var_stdscr’: _curses_cffi.c:8959:10: error: lvalue required as unary ‘&’ operand return &(stdscr); ^ Traceback (most recent call last): File "/home/amunroe/pypy/lib-python/3/distutils/unixccompiler.py", line 133, in _compile extra_postargs) File "/home/amunroe/pypy/lib-python/3/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/home/amunroe/pypy/lib-python/3/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/home/amunroe/pypy/lib-python/3/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status)) distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/amunroe/pypy/lib_pypy/cffi/ffiplatform.py", line 51, in _build dist.run_command('build_ext') File "/home/amunroe/pypy/lib-python/3/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/amunroe/pypy/lib-python/3/distutils/command/build_ext.py", line 347, in run self.build_extensions() File "/home/amunroe/pypy/lib-python/3/distutils/command/build_ext.py", line 456, in build_extensions self._build_extensions_serial() File "/home/amunroe/pypy/lib-python/3/distutils/command/build_ext.py", line 481, in _build_extensions_serial self.build_extension(ext) File "/home/amunroe/pypy/lib-python/3/distutils/command/build_ext.py", line 541, in build_extension depends=ext.depends) File "/home/amunroe/pypy/lib-python/3/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/home/amunroe/pypy/lib-python/3/distutils/unixccompiler.py", line 135, in _compile raise CompileError(msg) distutils.errors.CompileError: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "_curses_build.py", line 362, in ffi.compile() File "/home/amunroe/pypy/lib_pypy/cffi/api.py", line 723, in compile compiler_verbose=verbose, debug=debug, **kwds) File "/home/amunroe/pypy/lib_pypy/cffi/recompiler.py", line 1526, in recompile compiler_verbose, debug) File "/home/amunroe/pypy/lib_pypy/cffi/ffiplatform.py", line 22, in compile outputfilename = _build(tmpdir, ext, compiler_verbose, debug) File "/home/amunroe/pypy/lib_pypy/cffi/ffiplatform.py", line 58, in _build raise VerificationError('%s: %s' % (e.__class__.__name__, e)) cffi.VerificationError: CompileError: command 'gcc' failed with exit status 1 stdout: stderr: /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -ltcl /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -ltk collect2: error: ld returned 1 exit status *** TCL libraries not found! Falling back... Traceback (most recent call last): File "/home/amunroe/pypy/lib-python/3/distutils/unixccompiler.py", line 211, in link self.spawn(linker + ld_args) File "/home/amunroe/pypy/lib-python/3/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/home/amunroe/pypy/lib-python/3/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/home/amunroe/pypy/lib-python/3/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status)) distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/amunroe/pypy/lib_pypy/cffi/ffiplatform.py", line 51, in _build dist.run_command('build_ext') File "/home/amunroe/pypy/lib-python/3/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/amunroe/pypy/lib-python/3/distutils/command/build_ext.py", line 347, in run self.build_extensions() File "/home/amunroe/pypy/lib-python/3/distutils/command/build_ext.py", line 456, in build_extensions self._build_extensions_serial() File "/home/amunroe/pypy/lib-python/3/distutils/command/build_ext.py", line 481, in _build_extensions_serial self.build_extension(ext) File "/home/amunroe/pypy/lib-python/3/distutils/command/build_ext.py", line 566, in build_extension target_lang=language) File "/home/amunroe/pypy/lib-python/3/distutils/ccompiler.py", line 717, in link_shared_object extra_preargs, extra_postargs, build_temp, target_lang) File "/home/amunroe/pypy/lib-python/3/distutils/unixccompiler.py", line 213, in link raise LinkError(msg) distutils.errors.LinkError: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "_tkinter/tklib_build.py", line 66, in library_dirs = libdirs File "/home/amunroe/pypy/lib_pypy/cffi/api.py", line 464, in verify lib = self.verifier.load_library() File "/home/amunroe/pypy/lib_pypy/cffi/verifier.py", line 104, in load_library self._compile_module() File "/home/amunroe/pypy/lib_pypy/cffi/verifier.py", line 201, in _compile_module outputfilename = ffiplatform.compile(tmpdir, self.get_extension()) File "/home/amunroe/pypy/lib_pypy/cffi/ffiplatform.py", line 22, in compile outputfilename = _build(tmpdir, ext, compiler_verbose, debug) File "/home/amunroe/pypy/lib_pypy/cffi/ffiplatform.py", line 58, in _build raise VerificationError('%s: %s' % (e.__class__.__name__, e)) cffi.VerificationError: LinkError: command 'gcc' failed with exit status 1 /home/amunroe/pypy/lib-python/3/hashlib.py:144: RuntimeWarning: The _hashlib module is not available, falling back to a much slower implementation (No module named '_pypy_openssl') RuntimeWarning) * _decimal_build.py * _gdbm_build.py * _ssl_build.py * _audioop_build.py * _curses_build.py * _lzma_build.py * _pwdgrp_build.py * _resource_build.py * _sqlite3_build.py * _syslog_build.py * _tkinter/tklib_build.py *** failed to build the CFFI modules ['_curses_build.py', '_tkinter/tklib_build.py'] PyPy can still be used as long as you don't need the corresponding modules. If you do need them, please install the missing headers and libraries (see error messages just above) and then re-run the command: /home/amunroe/pypy/pypy/goal/pypy3-c /home/amunroe/pypy/pypy/tool/build_cffi_imports.py [40155] translation-task} [translation:info] usession directory: /tmp/usession-unicode-utf8-py3-1