Skip to content

Instantly share code, notes, and snippets.

@TheB1gG
Created December 10, 2021 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheB1gG/da598589be0dd127d414f752a6912ef8 to your computer and use it in GitHub Desktop.
Save TheB1gG/da598589be0dd127d414f752a6912ef8 to your computer and use it in GitHub Desktop.
make package/feeds/packages/python3/host/compile && make -j1 package/feeds/packages/glib2/compile V=sc
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/scripts/config'
make[1] package/feeds/packages/python3/host/compile
make[2] -C feeds/packages/libs/libffi host-compile
make[2] -C package/utils/bzip2 host-compile
make[2] -C feeds/packages/lang/python/python3 host-compile
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/scripts/config'
make[1]: Entering directory '/home/user/build_openwrt_h2/openwrt'
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/package/libs/toolchain'
echo "libc" >> /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libatomic" >> /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "librt" >> /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/package/libs/toolchain'
time: package/libs/toolchain/compile#0.10#0.00#0.09
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/feeds/packages/utils/attr'
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/feeds/packages/utils/attr'
time: package/feeds/packages/attr/compile#0.11#0.03#0.13
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/feeds/packages/libs/libffi'
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/feeds/packages/libs/libffi'
time: package/feeds/packages/libffi/compile#0.10#0.01#0.10
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/package/libs/libiconv'
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/package/libs/libiconv'
time: package/libs/libiconv/host-compile#0.23#0.01#0.24
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/package/libs/pcre'
echo "libpcre" >> /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/pkginfo/pcre.default.install
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/package/libs/pcre'
time: package/libs/pcre/compile#0.14#0.02#0.15
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/package/libs/zlib'
echo "zlib" >> /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/pkginfo/zlib.default.install
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/package/libs/zlib'
time: package/libs/zlib/compile#0.12#0.00#0.11
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/package/libs/libiconv'
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/package/libs/libiconv'
time: package/libs/libiconv/compile#0.23#0.02#0.24
make[2]: Entering directory '/home/user/build_openwrt_h2/openwrt/feeds/packages/libs/glib2'
rm -f /home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0/.configured_*
rm -f /home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/stamp/.glib2_installed
/home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/sed -e "s|@CC@|'gcc',|" -e "s|@CXX@|'g++',|" -e "s|@PKGCONFIG@|/home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/pkg-config|" -e "s|@CMAKE@|/home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/cmake|" -e "s|@CFLAGS@|'-O2', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/host/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/hostpkg/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/host/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/host/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/hostpkg/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/host/include',|" -e "s|@CXXFLAGS@|'-I/home/user/build_openwrt_h2/openwrt/staging_dir/host/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/hostpkg/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/host/include',|" -e "s|@LDFLAGS@|'-L/home/user/build_openwrt_h2/openwrt/staging_dir/host/lib', '-L/home/user/build_openwrt_h2/openwrt/staging_dir/hostpkg/lib', '-L/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/host/lib', '-Wl,-rpath,/home/user/build_openwrt_h2/openwrt/staging_dir/hostpkg/lib',|" -e "s|@PREFIX@|/home/user/build_openwrt_h2/openwrt/staging_dir/hostpkg|" < /home/user/build_openwrt_h2/openwrt/staging_dir/host/lib/meson/openwrt-native.txt.in > /home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0/openwrt-native.txt
/home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/sed -e "s|@CC@|'x86_64-openwrt-linux-musl-gcc',|" -e "s|@CXX@|'x86_64-openwrt-linux-musl-g++',|" -e "s|@AR@|x86_64-openwrt-linux-musl-gcc-ar|" -e "s|@STRIP@|x86_64-openwrt-linux-musl-strip|" -e "s|@NM@|x86_64-openwrt-linux-musl-gcc-nm|" -e "s|@PKGCONFIG@|/home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/pkg-config|" -e "s|@CMAKE@|/home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/cmake|" -e "s|@CFLAGS@|'-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-fmacro-prefix-map=/home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0=glib-2.70.0', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libiconv-stub/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libintl-stub/include', '-ffunction-sections', '-fdata-sections', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/usr/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/fortify', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libiconv-stub/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libintl-stub/include',|" -e "s|@CXXFLAGS@|'-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-fmacro-prefix-map=/home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0=glib-2.70.0', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libiconv-stub/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libintl-stub/include', '-ffunction-sections', '-fdata-sections', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/usr/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include/fortify', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libiconv-stub/include', '-I/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libintl-stub/include',|" -e "s|@LDFLAGS@|'-L/home/user/build_openwrt_h2/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/usr/lib', '-L/home/user/build_openwrt_h2/openwrt/staging_dir/toolchain-x86_64_gcc-11.2.0_musl/lib', '-znow', '-zrelro', '-L/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libiconv-stub/lib', '-Wl,-rpath-link=/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libiconv-stub/lib', '-L/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libintl-stub/lib', '-Wl,-rpath-link=/home/user/build_openwrt_h2/openwrt/staging_dir/target-x86_64_musl/usr/lib/libintl-stub/lib', '-Wl,--gc-sections',|" -e "s|@ARCH@|"x86_64"|" -e "s|@CPU@|"generic"|" -e "s|@ENDIAN@|little|" < /home/user/build_openwrt_h2/openwrt/staging_dir/host/lib/meson/openwrt-cross.txt.in > /home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0/openwrt-cross.txt
/home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/python /home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/meson.py --buildtype plain --native-file /home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0/openwrt-native.txt --cross-file /home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0/openwrt-cross.txt -Diconv=external -Dselinux=disabled -Dlibmount=disabled -Dman=false -Ddtrace=false -Dsystemtap=false -Dsysprof=disabled -Dgtk_doc=false -Dbsymbolic_functions=true -Dforce_posix_threads=true -Dfam=false -Dtests=false -Dinstalled_tests=false -Doss_fuzz=disabled -Dglib_debug=disabled -Dglib_assert=false -Dglib_checks=false -Dlibelf=disabled -Dxattr=true -Db_lto=true -Ddefault_library=both -Dnls=disabled /home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0/openwrt-build /home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0/openwrt-build/..
bash: line 1: /home/user/build_openwrt_h2/openwrt/staging_dir/host/bin/python: No such file or directory
make[2]: *** [Makefile:134: /home/user/build_openwrt_h2/openwrt/build_dir/target-x86_64_musl/glib-2.70.0/.configured_efb2d3cf01c707184fb77fd0fe149f94] Error 127
make[2]: Leaving directory '/home/user/build_openwrt_h2/openwrt/feeds/packages/libs/glib2'
time: package/feeds/packages/glib2/compile#0.14#0.00#0.13
ERROR: package/feeds/packages/glib2 failed to build.
make[1]: *** [package/Makefile:116: package/feeds/packages/glib2/compile] Error 1
make[1]: Leaving directory '/home/user/build_openwrt_h2/openwrt'
make: *** [/home/user/build_openwrt_h2/openwrt/include/toplevel.mk:230: package/feeds/packages/glib2/compile] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment