Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ SRC /home/build/oils/_build/deps-source/uftrace/uftrace-0.13 ~/oils/_build/wedge/tmp/uftrace-0.13 ~/oils ~/oils/_build/wedge/tmp/uftrace-0.13 ~/oils/_build/wedge/tmp/uftrace-0.13 ~/oils Usage: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/configure [] --help print this message --prefix= set install root dir as (default: /usr/local) --bindir= set executable install dir as (default: ${prefix}/bin) --libdir= set library install dir as (default: ${prefix}/lib) --mandir= set manual doc install dir as (default: ${prefix}/share/man) --objdir= set build dir as (default: ${PWD}) --sysconfdir= override the etc dir as --with-elfutils= search for elfutils in /include and /lib --without-libelf build without libelf (and libdw) (even if found on the system) --without-libdw build without libdw (even if found on the system) --without-libstdc++ build without libstdc++ (even if found on the system) --without-libpython build without libpython (even if found on the system) --without-libluajit build without libluajit (even if found on the system) --without-libncurses build without libncursesw (even if found on the system) --without-libunwind build without libunwind (even if found on the system) --without-capstone build without libcapstone (even if found on the system) --without-perf build without perf event (even if available) --without-schedule build without scheduler event (even if available) --arch= set target architecture (default: system default arch) e.g. x86_64, aarch64, i386, or arm --cross-compile= Specify the compiler prefix during compilation e.g. CC is overridden by $(CROSS_COMPILE)gcc --cflags= pass extra C compiler flags --ldflags= pass extra linker flags -p preserve old setting -o output filename Some influential environment variables: ARCH Target architecture e.g. x86_64, aarch64, i386, or arm CROSS_COMPILE Specify the compiler prefix during compilation e.g. CC is overridden by $(CROSS_COMPILE)gcc CFLAGS C compiler flags LDFLAGS linker flags uftrace detected system features: ... prefix: /wedge/oils-for-unix.org/pkg/uftrace/0.13 ... libelf: [ OFF ] - more flexible ELF data handling ... libdw: [ OFF ] - DWARF debug info support ... libpython: [ OFF ] - python scripting support ... libluajit: [ OFF ] - luajit scripting support ... libncursesw: [ on ] - TUI support ... cxa_demangle: [ on ] - full demangler support with libstdc++ ... perf_event: [ on ] - perf (PMU) event support ... schedule: [ on ] - scheduler event support ... capstone: [ OFF ] - full dynamic tracing support ... libunwind: [ OFF ] - stacktrace support (optional for debugging) GEN version.h CC uftrace.o CC cmds/dump.o CC cmds/graph.o CC cmds/info.o CC cmds/live.o CC cmds/record.o CC cmds/recv.o CC cmds/replay.o CC cmds/report.o CC cmds/script.o CC cmds/tui.o CC utils/argspec.o CC utils/auto-args.o CC utils/data-file.o CC utils/debug.o CC utils/demangle.o CC utils/dwarf.o CC utils/event.o CC utils/extern.o CC utils/field.o CC utils/filter.o CC utils/fstack.o CC utils/graph.o CC utils/hashmap.o CC utils/kernel.o CC utils/pager.o CC utils/perf.o CC utils/rbtree.o CC utils/regs.o CC utils/report.o CC utils/script-luajit.o CC utils/script-python.o CC utils/script.o CC utils/session.o CC utils/socket.o CC utils/symbol-libelf.o CC utils/symbol-rawelf.o CC utils/symbol.o CC utils/tracefs.o CC utils/utils.o CC arch/x86_64/cpuinfo.o CC arch/x86_64/symbol.o LINK arch/x86_64/uftrace.o FLAGS: * new build flags or cross compiler CC FPIC libtraceevent/event-parse.o CC FPIC libtraceevent/event-plugin.o CC FPIC libtraceevent/trace-seq.o CC FPIC libtraceevent/parse-filter.o CC FPIC libtraceevent/parse-utils.o CC FPIC libtraceevent/kbuffer-parse.o LINK libtraceevent/libtraceevent.a LINK uftrace CC FPIC libmcount/dynamic.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/event.op CC FPIC libmcount/mcount.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/mcount.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/mcount.c:14: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/misc.op CC FPIC libmcount/plthook.op CC FPIC libmcount/pmu.op CC FPIC libmcount/record.op CC FPIC libmcount/wrap.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:13: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/debug.op CC FPIC libmcount/regs.op CC FPIC libmcount/rbtree.op CC FPIC libmcount/filter.op CC FPIC libmcount/demangle.op CC FPIC libmcount/utils.op CC FPIC libmcount/script.op CC FPIC libmcount/script-python.op CC FPIC libmcount/script-luajit.op CC FPIC libmcount/auto-args.op CC FPIC libmcount/dwarf.op CC FPIC libmcount/hashmap.op CC FPIC libmcount/argspec.op CC FPIC libmcount/tracefs.op CC FPIC libmcount/socket.op CC FPIC libmcount/symbol-libelf.op CC FPIC libmcount/symbol-rawelf.op CC FPIC libmcount/symbol.op ASM arch/x86_64/dynamic.op ASM arch/x86_64/fentry.op ASM arch/x86_64/mcount.op ASM arch/x86_64/plthook.op ASM arch/x86_64/xray.op CC FPIC arch/x86_64/mcount-dynamic.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/mcount-dynamic.c:9: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC arch/x86_64/mcount-event.op /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/mcount-event.c:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/utils.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/utils/symbol.h:18, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/uftrace.h:14, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/internal.h:26, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/mcount-event.c:10: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC arch/x86_64/mcount-insn.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/arch/x86_64/mcount-insn.c:5: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC arch/x86_64/mcount-noplt.op CC FPIC arch/x86_64/mcount-support.op CC FPIC arch/x86_64/symbol.op LINK arch/x86_64/mcount-entry.op LINK libmcount/libmcount.so CC FPIC libmcount/dynamic-fast.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/event-fast.op CC FPIC libmcount/mcount-fast.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/mcount.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/mcount.c:14: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/misc-fast.op CC FPIC libmcount/plthook-fast.op CC FPIC libmcount/pmu-fast.op CC FPIC libmcount/record-fast.op CC FPIC libmcount/wrap-fast.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:13: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | LINK libmcount/libmcount-fast.so CC FPIC libmcount/dynamic-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/event-single.op CC FPIC libmcount/mcount-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/mcount.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/mcount.c:14: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/misc-single.op CC FPIC libmcount/plthook-single.op CC FPIC libmcount/pmu-single.op CC FPIC libmcount/record-single.op CC FPIC libmcount/wrap-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:13: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | LINK libmcount/libmcount-single.so CC FPIC libmcount/dynamic-fast-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/event-fast-single.op CC FPIC libmcount/mcount-fast-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/mcount.c:24: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/mcount.c:14: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | CC FPIC libmcount/misc-fast-single.op CC FPIC libmcount/plthook-fast-single.op CC FPIC libmcount/pmu-fast-single.op CC FPIC libmcount/record-fast-single.op CC FPIC libmcount/wrap-fast-single.op In file included from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/wrap.c:13: /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:13: warning: "PAGE_SIZE" redefined 13 | #define PAGE_SIZE 4096 | In file included from /usr/include/fortify/stdlib.h:30, from /home/build/oils/_build/deps-source/uftrace/uftrace-0.13/libmcount/dynamic.h:5: /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE | LINK libmcount/libmcount-fast-single.so CC FPIC libmcount/mcount-nop.op LINK libmcount/libmcount-nop.so CC misc/demangler.o LINK misc/demangler CC misc/symbols.o LINK misc/symbols CC misc/dbginfo.o LINK misc/dbginfo real 0m27.834s user 0m21.612s sys 0m5.841s ~/oils/_build/wedge/tmp/uftrace-0.13 ~/oils ~/oils Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ /home/build/oils/_build/wedge/tmp/uftrace-0.13 /home/build/oils CC uftrace.o LINK uftrace INSTALL uftrace INSTALL libmcount INSTALL bash-completion Makefile:36: To install man pages, please install 'pandoc'. real 0m0.335s user 0m0.265s sys 0m0.057s /home/build/oils Loading _build/deps-source/uftrace/ OK name: uftrace -- single version: 0.13 -- WEDGE_IS_ABSOLUTE wedge-make () { local src_dir=$1; local build_dir=$2; local install_dir=$3; local makefile=$src_dir/check-deps/Makefile.check; local py_version; py_version=$(python3 -V); if echo $py_version | egrep 'Python 3.[67]'; then echo; echo "*** PATCHING utrace $makefile because we detected $py_version"; echo; sed -i 's/--modversion)$/--modversion)m/' $makefile; local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; if echo $py_version | egrep 'Python 3.11'; then local c_file=$src_dir/utils/script-python.c; sed -i 's/".so"/".so.1.0"/' $c_file; fi; pushd $build_dir; $src_dir/configure --help || true; echo; $src_dir/configure --prefix=$install_dir; echo; time make; popd } OK wedge-make wedge-install () { local build_dir=$1; pushd $build_dir; time make install; popd } OK wedge-install OK wedge-smoke-test Loaded _build/deps-source/uftrace/ SMOKE TEST ~/oils/_build/wedge/smoke-test/uftrace-0.13 ~/oils + wedge-smoke-test /wedge/oils-for-unix.org/pkg/uftrace/0.13 /home/build/oils/_build/deps-source/uftrace/ + local install_dir=/wedge/oils-for-unix.org/pkg/uftrace/0.13 + local wedge_dir=/home/build/oils/_build/deps-source/uftrace/ + local uftrace=/wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace + /wedge/oils-for-unix.org/pkg/uftrace/0.13/bin/uftrace --version + tee version.txt uftrace v0.13 ( x86_64 tui perf sched ) + grep python3 version.txt + echo 'FAILED to build with Python 3 support' FAILED to build with Python 3 support + return 1