==> Retrieving sources... -> Updating ecfs git repo... ==> Generating checksums for source files... ==> Making package: ecfs 305.1758063-2 (Thu 21 Nov 2024 01:05:38 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/elfutils 0.192-2 3.57 MiB extra/libdwarf 1:0.11.0-1 2.40 MiB Total Installed Size: 5.97 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing elfutils... installing libdwarf... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change extra/compiler-rt 18.1.8-1 40.51 MiB extra/llvm-libs 18.1.8-4 128.31 MiB extra/clang 18.1.8-4 210.72 MiB Total Installed Size: 379.54 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing llvm-libs... installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format llvm: referenced by some clang headers :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Updating ecfs git repo... ==> Validating source files with sha512sums... ecfs ... Skipped ==> Extracting sources... -> Creating working copy of ecfs git repo... Switched to a new branch 'makepkg' ==> Starting pkgver()... ==> Starting build()... gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/dlopen.o -c src/dlopen.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/personality.o -c src/personality.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/core_text.o -c src/core_text.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/core_accessors.o -c src/core_accessors.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/core_notes.o -c src/core_notes.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/core2ecfs.o -c src/core2ecfs.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/proc.o -c src/proc.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/symresolve.o -c src/symresolve.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/list.o -c src/list.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/util.o -c src/util.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/ptrace.o -c src/ptrace.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/eh_frame.o -c src/eh_frame.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/so_resolve.o -c src/so_resolve.c gcc -fPIC -pie -D_GNU_SOURCE -m64 -o build/prod/64/core_headers.o -c src/core_headers.c make -e -C libecfs/ make[1]: Entering directory '/src/packages/pentesting/ecfs/src/ecfs/libecfs' gcc -O3 -fPIC -pie -Wall -DNDEBUG -D_FORTIFY_SOURCE=2 -m64 -o build/prod/64/libecfs.o -c src/libecfs.c gcc -O3 -fPIC -pie -Wall -DNDEBUG -D_FORTIFY_SOURCE=2 -m64 -o build/prod/64/util.o -c src/util.c ar rcs bin/prod/64/ecfs.a build/prod/64/dlopen.o build/prod/64/personality.o build/prod/64/core_text.o build/prod/64/core_accessors.o build/prod/64/core_notes.o build/prod/64/core2ecfs.o build/prod/64/proc.o build/prod/64/symresolve.o build/prod/64/list.o build/prod/64/util.o build/prod/64/ptrace.o build/prod/64/eh_frame.o build/prod/64/so_resolve.o build/prod/64/core_headers.o ar rcs bin/prod/64/libecfsreader64.a build/prod/64/libecfs.o build/prod/64/util.o gcc -O3 -fPIC -pie -Wall -DNDEBUG -D_FORTIFY_SOURCE=2 -m64 main/test.c bin/prod/64/libecfsreader64.a -o bin/prod/64/test -ldwarf -lelf -pie gcc -O3 -fPIC -pie -Wall -DNDEBUG -D_FORTIFY_SOURCE=2 -m64 main/detect_plt_hooks.c bin/prod/64/libecfsreader64.a -o bin/prod/64/detect_plt_hooks -ldwarf -lelf -pie NOTE: use V=, with dev, asan, perf, prod or shared, and B=<32|64>. make[1]: Leaving directory '/src/packages/pentesting/ecfs/src/ecfs/libecfs' gcc -fPIC -pie -D_GNU_SOURCE -m64 main/ecfs_snapshot.c bin/prod/64/ecfs.a libecfs/bin/prod/64/libecfsreader64.a -o bin/prod/64/ecfs_snapshot -ldwarf -lelf -lm gcc -fPIC -pie -D_GNU_SOURCE -m64 main/et_flip.c bin/prod/64/ecfs.a libecfs/bin/prod/64/libecfsreader64.a -o bin/prod/64/et_flip -ldwarf -lelf -lm gcc -fPIC -pie -D_GNU_SOURCE -m64 main/ecfs.c bin/prod/64/ecfs.a libecfs/bin/prod/64/libecfsreader64.a -o bin/prod/64/ecfs -ldwarf -lelf -lm gcc -fPIC -pie -D_GNU_SOURCE -m64 main/ecfs_handler.c bin/prod/64/ecfs.a libecfs/bin/prod/64/libecfsreader64.a -o bin/prod/64/ecfs_handler -ldwarf -lelf -lm /usr/sbin/ld: bin/prod/64/ecfs.a(util.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/cccTSKxd.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(util.o):(.bss+0xa0): multiple definition of `opts'; /tmp/cccTSKxd.o:(.bss+0xa0): first defined here gcc -fPIC -pie -D_GNU_SOURCE -m64 main/readecfs.c bin/prod/64/ecfs.a libecfs/bin/prod/64/libecfsreader64.a -o bin/prod/64/readecfs -ldwarf -lelf -lm collect2: error: ld returned 1 exit status make: *** [Makefile:61: bin/prod/64/et_flip] Error 1 make: *** Waiting for unfinished jobs.... /usr/sbin/ld: bin/prod/64/ecfs.a(dlopen.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(dlopen.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(personality.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(personality.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_text.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_text.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_accessors.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_accessors.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_notes.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_notes.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core2ecfs.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core2ecfs.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(proc.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(proc.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(symresolve.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(symresolve.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(list.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(list.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(util.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(util.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(ptrace.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(ptrace.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(eh_frame.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(eh_frame.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(so_resolve.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(so_resolve.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_headers.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccTRXxPA.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_headers.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccTRXxPA.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(eh_frame.o): in function `get_all_functions': eh_frame.c:(.text+0x402): undefined reference to `dwarf_init' collect2: error: ld returned 1 exit status make: *** [Makefile:61: bin/prod/64/ecfs_snapshot] Error 1 /usr/sbin/ld: bin/prod/64/ecfs.a(dlopen.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(dlopen.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(personality.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(personality.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_text.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_text.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_accessors.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_accessors.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_notes.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_notes.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core2ecfs.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core2ecfs.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(proc.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(proc.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(symresolve.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(symresolve.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(list.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(list.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(util.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(util.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(ptrace.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(ptrace.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(eh_frame.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(eh_frame.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(so_resolve.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(so_resolve.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_headers.o):(.bss+0x0): multiple definition of `global_hacks'; /tmp/ccl8c93c.o:(.bss+0x0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(core_headers.o):(.bss+0xa0): multiple definition of `opts'; /tmp/ccl8c93c.o:(.bss+0xa0): first defined here /usr/sbin/ld: bin/prod/64/ecfs.a(eh_frame.o): in function `get_all_functions': eh_frame.c:(.text+0x402): undefined reference to `dwarf_init' collect2: error: ld returned 1 exit status make: *** [Makefile:61: bin/prod/64/ecfs] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> Removing installed dependencies... checking dependencies... Package (5) Old Version Net Change clang 18.1.8-4 -210.72 MiB compiler-rt 18.1.8-1 -40.51 MiB elfutils 0.192-2 -3.57 MiB libdwarf 1:0.11.0-1 -2.40 MiB llvm-libs 18.1.8-4 -128.31 MiB Total Removed Size: 385.50 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing libdwarf... removing elfutils... removing clang... removing llvm-libs... removing compiler-rt... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...