compile.36
build number: 36
re-implement command
docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/python-yaml/compile -j$(nproc) || make package/feeds/packages/python-yaml/compile V=s
Compile.txt
Collecting Cython==0.29.24
Downloading Cython-0.29.24.tar.gz (2.1 MB)
Skipping wheel build for Cython, due to binaries being disabled for it.
Installing collected packages: Cython
Running setup.py install for Cython: started
Running setup.py install for Cython: still running...
Running setup.py install for Cython: finished with status 'done'
Successfully installed Cython-0.29.24
running install
running build
running build_py
creating build
creating build/lib.-3.10
creating build/lib.-3.10/yaml
copying lib/yaml/tokens.py -> build/lib.-3.10/yaml
copying lib/yaml/__init__.py -> build/lib.-3.10/yaml
copying lib/yaml/emitter.py -> build/lib.-3.10/yaml
copying lib/yaml/composer.py -> build/lib.-3.10/yaml
copying lib/yaml/dumper.py -> build/lib.-3.10/yaml
copying lib/yaml/parser.py -> build/lib.-3.10/yaml
copying lib/yaml/reader.py -> build/lib.-3.10/yaml
copying lib/yaml/events.py -> build/lib.-3.10/yaml
copying lib/yaml/scanner.py -> build/lib.-3.10/yaml
copying lib/yaml/cyaml.py -> build/lib.-3.10/yaml
copying lib/yaml/nodes.py -> build/lib.-3.10/yaml
copying lib/yaml/constructor.py -> build/lib.-3.10/yaml
copying lib/yaml/resolver.py -> build/lib.-3.10/yaml
copying lib/yaml/serializer.py -> build/lib.-3.10/yaml
copying lib/yaml/loader.py -> build/lib.-3.10/yaml
copying lib/yaml/representer.py -> build/lib.-3.10/yaml
copying lib/yaml/error.py -> build/lib.-3.10/yaml
creating build/lib.-3.10/_yaml
copying lib/_yaml/__init__.py -> build/lib.-3.10/_yaml
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
cythoning yaml/_yaml.pyx to yaml/_yaml.c
/openwrt/staging_dir/hostpkg/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /openwrt/build_dir/target-mips_24kc_musl/pypi/PyYAML-6.0/yaml/_yaml.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
building 'yaml._yaml' extension
creating build/temp.-3.10
creating build/temp.-3.10/yaml
ccache_cc -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-mips_24kc_musl/host/include -DOPENWRT_HOST_BUILD -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-mips_24kc_musl/host/include -DOPENWRT_HOST_BUILD -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/openwrt/build_dir/target-mips_24kc_musl/pypi/PyYAML-6.0=PyYAML-6.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include/python3.10 -fPIC -I/openwrt/staging_dir/hostpkg/include/python3.10 -c yaml/_yaml.c -o build/temp.-3.10/yaml/_yaml.o
In file included from /openwrt/staging_dir/hostpkg/include/python3.10/Python.h:63,
from yaml/_yaml.c:6:
/openwrt/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
^~~~~
yaml/_yaml.c:203:41: warning: division by zero [-Wdiv-by-zero]
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
^
yaml/_yaml.c:203:12: error: enumerator value for '__pyx_check_sizeof_voidp' is not an integer constant
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
^~~~~~~~~~~~~~~~~~~~~~~~
error: command '/openwrt/staging_dir/host/bin/ccache_cc' failed with exit code 1
make[3]: *** [Makefile:50: /openwrt/build_dir/target-mips_24kc_musl/pypi/PyYAML-6.0/.built] Error 1