robotpkg/wip/py-pycddlib bulk build results
Log for py38-pycddlib-2.1.7 on Ubuntu-20.04-x86_64: bulk.log (Back)
=> Checking for clear installation
===> Installing bootstrap dependencies for py38-pycddlib-2.1.7
=> Installing /opt/robotpkg/var/lib/robotpkg/packages/bsd/Ubuntu-20.04-x86_64/All/digest-20080510.tgz
=> Installing /opt/robotpkg/var/lib/robotpkg/packages/bsd/Ubuntu-20.04-x86_64/All/tnftp-20151004~ssl.tgz
===> Checking bootstrap dependencies for py38-pycddlib-2.1.7
=> Required robotpkg package digest>=20080510: digest-20080510 found
=> Required robotpkg package tnftp>=20130505~ssl: tnftp-20151004~ssl found
=> Required system package gnupg>=1: gnupg-2.2.19 found
=> Required system package gzip: gzip-1.10 found
=> Required system package pax and tar archivers: pax found
=> Required system package pkg_install>=20110805.12: pkg_install-20211115.3 found
=> Required system package pkgrepo2deb>=1.9: pkgrepo2deb-1.13 found
===> Done bootstrap-depends for py38-pycddlib-2.1.7
===> Installing full dependencies for py38-pycddlib-2.1.7
=> Dependency digest-20080510 already installed
=> Dependency tnftp-20151004~ssl already installed
===> Checking build options for py38-pycddlib-2.1.7
=> Building with no option.
===> Checking alternatives for py38-pycddlib-2.1.7
=> Use the GNU C++ compiler: c++-compiler provided by g++>=3
=> Use the GNU C compiler: c-compiler provided by gcc>=3
=> Use python-3.8: python>=2.5 provided by python38>=3.8<3.9
===> Checking dependencies for py38-pycddlib-2.1.7
=> Required system package g++>=3: g++-9.4.0 found
=> Required system package gcc>=3: gcc-9.4.0 found
=> Required system package libstdc++: libstdc++ found
=> Required system package py38-cython>=0.20.0: py38-cython-0.29.14 found
=> Required system package python38>=3.8<3.9: python38-3.8.10 found
===> Done depends for py38-pycddlib-2.1.7
===> Extracting for py38-pycddlib-2.1.7
=> SHA1 checksums OK
=> RMD160 checksums OK
===> Configuring for py38-pycddlib-2.1.7
===> Building for py38-pycddlib-2.1.7
WARNING: The pip package is not available, falling back to EasyInstall for handling setup_requires/test_requires; this is deprecated and will be removed in a future version.
Error compiling Cython file:
------------------------------------------------------------
...
length = libc.stdio.ftell(pfile)
buffer = cpython.mem.PyMem_RawMalloc(length)
try:
libc.stdio.fseek(pfile, 0, libc.stdio.SEEK_SET)
num_bytes = libc.stdio.fread(buffer, 1, length, pfile)
result = cpython.unicode.PyUnicode_DecodeUTF8(buffer, num_bytes, 'strict')
^
------------------------------------------------------------
cdd.pyx:138:24: cimported module has no attribute 'unicode'
Error compiling Cython file:
------------------------------------------------------------
...
length = libc.stdio.ftell(pfile)
buffer = cpython.mem.PyMem_RawMalloc(length)
try:
libc.stdio.fseek(pfile, 0, libc.stdio.SEEK_SET)
num_bytes = libc.stdio.fread(buffer, 1, length, pfile)
result = cpython.unicode.PyUnicode_DecodeUTF8(buffer, num_bytes, 'strict')
^
------------------------------------------------------------
cdd.pyx:138:24: Compiler crash in AnalyseExpressionsTransform
ModuleNode.body = StatListNode(cdd.pyx:23:0)
StatListNode.stats[19] = StatListNode(cdd.pyx:127:0)
StatListNode.stats[0] = CFuncDefNode(cdd.pyx:127:0,
args = [...]/1,
modifiers = [...]/0,
outer_attrs = [...]/2,
visibility = 'private')
File 'ExprNodes.py', line 5855, in infer_type: SimpleCallNode(cdd.pyx:138:53,
result_is_used = True,
use_managed_ref = True)
File 'ExprNodes.py', line 7483, in infer_type: AttributeNode(cdd.pyx:138:24,
attribute = 'unicode',
is_attribute = 1,
needs_none_check = True,
result_is_used = True,
use_managed_ref = True)
Compiler crash traceback from this point on:
File "/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/pycddlib-2.1.7/.eggs/Cython-3.1.0a1-py3.8-linux-x86_64.egg/Cython/Compiler/ExprNodes.py", line 7483, in infer_type
if node.entry.type and node.entry.type.is_cfunction:
AttributeError: 'NoneType' object has no attribute 'type'
Traceback (most recent call last):
File "setup.py", line 107, in
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 87, in run
_build_ext.run(self)
File "/usr/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/pycddlib-2.1.7/.eggs/Cython-3.1.0a1-py3.8-linux-x86_64.egg/Cython/Distutils/build_ext.py", line 129, in build_extension
new_ext = cythonize(
File "/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/pycddlib-2.1.7/.eggs/Cython-3.1.0a1-py3.8-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1109, in cythonize
cythonize_one(*args)
File "/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/pycddlib-2.1.7/.eggs/Cython-3.1.0a1-py3.8-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1256, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: cdd.pyx
An unexpected error occured. The last 10 log lines are shown below.
| self.build_extension(ext)
| File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 208, in build_extension
| _build_ext.build_extension(self, ext)
| File "/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/pycddlib-2.1.7/.eggs/Cython-3.1.0a1-py3.8-linux-x86_64.egg/Cython/Distutils/build_ext.py", line 129, in build_extension
| new_ext = cythonize(
| File "/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/pycddlib-2.1.7/.eggs/Cython-3.1.0a1-py3.8-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1109, in cythonize
| cythonize_one(*args)
| File "/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/pycddlib-2.1.7/.eggs/Cython-3.1.0a1-py3.8-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1256, in cythonize_one
| raise CompileError(None, pyx_file)
| Cython.Compiler.Errors.CompileError: cdd.pyx
For details or bug reports, check the complete log file in:
/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/build.log
make[3]: *** [../../mk/sysdep/python.mk:450: do-build-distutils(/local/robotpkg/var/tmp/robotpkg/wip/py-pycddlib/work/pycddlib-2.1.7)] Error 1
=> Marking py38-pycddlib-2.1.7 as broken
make[2]: *** [/local/robotpkg/var/lib/robotpkg/mk/pkg/package.mk:42: pkg-check-installed] Error 2
ERROR: make: *** [package] Error 2
===> Deinstalling for py38-pycddlib
Removed digest-20080510
Removed tnftp-20151004~ssl