Opde Issues Tracker

compile.33

build number: 33

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-augeas/compile -j$(nproc) || make package/feeds/packages/python-augeas/compile V=s

Compile.txt

Applying ./patches/001-backport-ffi-fix.patch using plaintext: 
patching file augeas/__init__.py
patching file augeas/ffi.py
Hunk #2 succeeded at 63 (offset -15 lines).
patching file setup.py
Requirement already satisfied: cffi==1.15.0 in /openwrt/staging_dir/hostpkg/lib/python3.9/site-packages (from -r ../host-pip-requirements/cffi.txt (line 1)) (1.15.0)
Requirement already satisfied: pycparser==2.20 in /openwrt/staging_dir/hostpkg/lib/python3.9/site-packages (from -r ../host-pip-requirements/cffi.txt (line 2)) (2.20)
running install
running build
running build_py
creating build
creating build/lib.-3.9
creating build/lib.-3.9/test
copying test/test_augeas.py -> build/lib.-3.9/test
copying test/__init__.py -> build/lib.-3.9/test
creating build/lib.-3.9/augeas
copying augeas/__init__.py -> build/lib.-3.9/augeas
copying augeas/ffi.py -> build/lib.-3.9/augeas
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
generating cffi module 'build/temp.-3.9/_augeas.c'
creating build/temp.-3.9
building '_augeas' extension
creating build/temp.-3.9/build
creating build/temp.-3.9/build/temp.-3.9
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-aarch64_cortex-a72_musl/host/include -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-aarch64_cortex-a72_musl/host/include -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a72_musl/pypi/python-augeas-1.1.0=python-augeas-1.1.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.9 -fPIC -I/openwrt/staging_dir/target-aarch64_cortex-a72_musl/usr/include/libxml2 -I/openwrt/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.9 -c build/temp.-3.9/_augeas.c -o build/temp.-3.9/build/temp.-3.9/_augeas.o
build/temp.-3.9/_augeas.c:50:14: fatal error: pyconfig.h: No such file or directory
 #    include <pyconfig.h>
              ^~~~~~~~~~~~
compilation terminated.
error: command '/openwrt/staging_dir/host/bin/ccache_cc' failed with exit code 1
make[3]: *** [Makefile:46: /openwrt/build_dir/target-aarch64_cortex-a72_musl/pypi/python-augeas-1.1.0/.built] Error 1
Last updated on 30 Oct 2021
Published on 30 Oct 2021