/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.-cpython-310 creating build/lib.-cpython-310/psycopg2 copying lib/errors.py -> build/lib.-cpython-310/psycopg2 copying lib/_range.py -> build/lib.-cpython-310/psycopg2 copying lib/errorcodes.py -> build/lib.-cpython-310/psycopg2 copying lib/extensions.py -> build/lib.-cpython-310/psycopg2 copying lib/_lru_cache.py -> build/lib.-cpython-310/psycopg2 copying lib/tz.py -> build/lib.-cpython-310/psycopg2 copying lib/extras.py -> build/lib.-cpython-310/psycopg2 copying lib/compat.py -> build/lib.-cpython-310/psycopg2 copying lib/_json.py -> build/lib.-cpython-310/psycopg2 copying lib/pool.py -> build/lib.-cpython-310/psycopg2 copying lib/sql.py -> build/lib.-cpython-310/psycopg2 copying lib/__init__.py -> build/lib.-cpython-310/psycopg2 copying lib/_ipaddress.py -> build/lib.-cpython-310/psycopg2 warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'psycopg2._psycopg' extension creating build/temp.-cpython-310 creating build/temp.-cpython-310/psycopg arc-openwrt-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/host/include -O2 -I/builder/shared-workdir/build/sdk/staging_dir/host/include -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/host/include -Os -pipe -matomic -mcpu=archs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/psycopg2-2.8.6=psycopg2-2.8.6 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include/python3.10 -fPIC "-DPSYCOPG_VERSION=2.8.6 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140005 -DHAVE_LO64=1 -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10 -I. -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-arc_archs_glibc/usr/include/postgresql/server -c psycopg/adapter_asis.c -o build/temp.-cpython-310/psycopg/adapter_asis.o -Wdeclaration-after-statement In file included from /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/Python.h:50, from ./psycopg/psycopg.h:35, from psycopg/adapter_asis.c:28: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.10/pyport.h:746:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." 746 | #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ^~~~~ It appears you are missing some prerequisite to build the package from source. You may install a binary package by installing 'psycopg2-binary' from PyPI. If you want to install psycopg2 from source, please install the packages required for the build and try again. For further information please check the 'doc/src/install.rst' file (also at ). error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_archs_gcc-11.3.0_glibc/bin/arc-openwrt-linux-gnu-gcc' failed with exit code 1 make[3]: *** [Makefile:44: /builder/shared-workdir/build/sdk/build_dir/target-arc_archs_glibc/pypi/psycopg2-2.8.6/.built] Error 1 time: package/feeds/packages/python-psycopg2/compile#0.99#0.17#1.35