From https://github.com/archlinux/svntogit-community * branch packages/afl -> FETCH_HEAD * [new branch] packages/afl -> community/packages/afl Cloning into 'afl'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 131k 100 131k 0 0 391k 0 --:--:-- --:--:-- --:--:-- 391k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2 8542k 2 222k 0 0 221k 0 0:00:38 0:00:01 0:00:37 221k 33 8542k 33 2901k 0 0 1507k 0 0:00:05 0:00:01 0:00:04 1507k 79 8542k 79 6755k 0 0 2376k 0 0:00:03 0:00:02 0:00:01 2376k 100 8542k 100 8542k 0 0 2560k 0 0:00:03 0:00:03 --:--:-- 2560k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 844k 0 --:--:-- --:--:-- --:--:-- 846k :: Starting full system upgrade... there is nothing to do ==> Making package: afl 2.57b-13 (Mon Aug 26 23:54:04 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (5) compiler-rt14-14.0.6-3 llvm14-libs-14.0.6-3 clang14-14.0.6-1 llvm14-14.0.6-3 wget-1.21.4-1 Total Download Size: 70.44 MiB Total Installed Size: 345.27 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 27.5M 100 27.5M 0 0 99.3M 0 --:--:-- --:--:-- --:--:-- 99.4M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3297k 100 3297k 0 0 60.4M 0 --:--:-- --:--:-- --:--:-- 60.7M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 28.0M 0 26377 0 0 51535 0 0:09:30 --:--:-- 0:09:30 51517 4 28.0M 4 1224k 0 0 802k 0 0:00:35 0:00:01 0:00:34 802k 15 28.0M 15 4555k 0 0 1795k 0 0:00:16 0:00:02 0:00:14 1795k 31 28.0M 31 9018k 0 0 2539k 0 0:00:11 0:00:03 0:00:08 2538k 52 28.0M 52 14.6M 0 0 3286k 0 0:00:08 0:00:04 0:00:04 3286k 79 28.0M 79 22.4M 0 0 4229k 0 0:00:06 0:00:05 0:00:01 4663k 100 28.0M 100 28.0M 0 0 4714k 0 0:00:06 0:00:06 --:--:-- 6020k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10.9M 100 10.9M 0 0 86.9M 0 --:--:-- --:--:-- --:--:-- 87.2M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 731k 100 731k 0 0 77.7M 0 --:--:-- --:--:-- --:--:-- 79.4M checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing llvm14-libs... installing compiler-rt14... installing clang14... Optional dependencies for clang14 openmp: OpenMP support in clang with -fopenmp llvm14: referenced by some clang headers [pending] installing llvm14... installing wget... Optional dependencies for wget ca-certificates: HTTPS downloads [installed] :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Updating the info directory file... ==> Retrieving sources... -> Downloading afl-2.57b.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13008 0 13008 0 0 60644 0 --:--:-- --:--:-- --:--:-- 60644 100 820k 0 820k 0 0 3004k 0 --:--:-- --:--:-- --:--:-- 13.5M -> Found llvm13.patch -> Found llvm14.patch -> Found clang14.patch ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... afl-2.57b.tar.gz ... Passed llvm13.patch ... Passed llvm14.patch ... Passed clang14.patch ... Passed ==> Validating source files with sha512sums... afl-2.57b.tar.gz ... Passed llvm13.patch ... Passed llvm14.patch ... Passed clang14.patch ... Passed ==> Validating source files with b2sums... afl-2.57b.tar.gz ... Passed llvm13.patch ... Passed llvm14.patch ... Passed clang14.patch ... Passed ==> Extracting sources... -> Extracting afl-2.57b.tar.gz with bsdtar ==> Starting prepare()... patching file llvm_mode/afl-clang-fast.c patching file llvm_mode/afl-llvm-pass.so.cc patching file llvm_mode/afl-clang-fast.c ==> Starting build()... [*] Checking for the ability to compile x86 code... [+] Everything seems to be working, ready to compile. cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" afl-gcc.c -o afl-gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" afl-fuzz.c -o afl-fuzz -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" afl-showmap.c -o afl-showmap -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" afl-tmin.c -o afl-tmin -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" afl-gotcpu.c -o afl-gotcpu -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" afl-analyze.c -o afl-analyze -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" afl-as.c -o afl-as -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done ln -sf afl-as as [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" test-instr.c -o test-instr -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ./afl-showmap -m none -q -o .test-instr1 ./test-instr [+] All right, the instrumentation seems to be working! [+] All done! Be sure to review README - it's pretty short and useful. make: Entering directory '/tmp/archlinux-ci/afl-archlinuxrb-build-Wps96VIS/afl/trunk/src/AFL-2.57b/llvm_mode' grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # [*] Checking for working 'llvm-config'... [*] Checking for working '/usr/lib/llvm14/bin/clang'... [*] Checking for '../afl-showmap'... [+] All set and ready to build. grep: warning: stray \ before # /usr/lib/llvm14/bin/clang -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DVERSION=\"2.57b\" afl-clang-fast.c -o ../afl-clang-fast -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # g++ `llvm-config-14 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DVERSION=\"2.57b\" -Wno-variadic-macros -shared afl-llvm-pass.so.cc -o ../afl-llvm-pass.so `llvm-config-14 --ldflags` -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # /usr/lib/llvm14/bin/clang -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DVERSION=\"2.57b\" -fPIC -c afl-llvm-rt.o.c -o ../afl-llvm-rt.o grep: warning: stray \ before # grep: warning: stray \ before # cc1plus: warning: command-line option '-Wno-pointer-sign' is valid for C/ObjC but not for C++ grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # [*] Building 32-bit variant of the runtime (-m32)... grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # [*] Building 64-bit variant of the runtime (-m64)... success! success! ln -sf afl-clang-fast ../afl-clang-fast++ grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; AFL_QUIET=1 AFL_PATH=. AFL_CC=/usr/lib/llvm14/bin/clang ../afl-clang-fast -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DVERSION=\"2.57b\" ../test-instr.c -o test-instr -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now ../afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ../afl-showmap -m none -q -o .test-instr1 ./test-instr [+] All right, the instrumentation seems to be working! grep: warning: stray \ before # grep: warning: stray \ before # [+] All done! You can now use '../afl-clang-fast' to compile programs. make: Leaving directory '/tmp/archlinux-ci/afl-archlinuxrb-build-Wps96VIS/afl/trunk/src/AFL-2.57b/llvm_mode' ==> Entering fakeroot environment... ==> Starting package()... [*] Checking for the ability to compile x86 code... [+] Everything seems to be working, ready to compile. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib/afl\" -DDOC_PATH=\"/usr/share/doc/afl\" -DBIN_PATH=\"/usr/bin\" test-instr.c -o test-instr -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ldl ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ./afl-showmap -m none -q -o .test-instr1 ./test-instr [+] All right, the instrumentation seems to be working! [+] All done! Be sure to review README - it's pretty short and useful. mkdir -p -m 755 ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/afl ${DESTDIR}/usr/share/doc/afl ${DESTDIR}/usr/share/afl rm -f ${DESTDIR}/usr/bin/afl-plot.sh install -m 755 afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-plot afl-cmin afl-whatsup ${DESTDIR}/usr/bin rm -f ${DESTDIR}/usr/bin/afl-as if [ -f afl-qemu-trace ]; then install -m 755 afl-qemu-trace ${DESTDIR}/usr/bin; fi if [ -f afl-clang-fast -a -f afl-llvm-pass.so -a -f afl-llvm-rt.o ]; then set -e; install -m 755 afl-clang-fast ${DESTDIR}/usr/bin; ln -sf afl-clang-fast ${DESTDIR}/usr/bin/afl-clang-fast++; install -m 755 afl-llvm-pass.so afl-llvm-rt.o ${DESTDIR}/usr/lib/afl; fi if [ -f afl-llvm-rt-32.o ]; then set -e; install -m 755 afl-llvm-rt-32.o ${DESTDIR}/usr/lib/afl; fi if [ -f afl-llvm-rt-64.o ]; then set -e; install -m 755 afl-llvm-rt-64.o ${DESTDIR}/usr/lib/afl; fi set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc ${DESTDIR}/usr/bin/$i; done install -m 755 afl-as ${DESTDIR}/usr/lib/afl ln -sf afl-as ${DESTDIR}/usr/lib/afl/as install -m 644 docs/README docs/ChangeLog docs/*.txt ${DESTDIR}/usr/share/doc/afl cp -r testcases/ ${DESTDIR}/usr/share/afl cp -r dictionaries/ ${DESTDIR}/usr/share/afl ==> Tidying install... -> Removing empty directories... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Compressing man and info pages... ==> Checking for packaging issues... ==> WARNING: Package contains reference to $srcdir usr/lib/afl/afl-as usr/lib/afl/afl-llvm-rt-64.o usr/lib/afl/afl-llvm-rt-32.o usr/lib/afl/afl-llvm-rt.o usr/lib/afl/afl-llvm-pass.so usr/bin/afl-clang-fast usr/bin/afl-analyze usr/bin/afl-gotcpu usr/bin/afl-tmin usr/bin/afl-showmap usr/bin/afl-fuzz usr/bin/afl-gcc ==> Creating package "afl"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: afl 2.57b-13 (Mon Aug 26 23:54:30 2024)