www-client/luakit-9999 build ends with error. This is happening because of a outdated Makefile patch: www-client/luakit/files/luakit-9999-make.patch Reproducible: Always Steps to Reproduce: 1.Build www-client/luakit-9999 Actual Results: Build ends with error: Hunk #2 FAILED at 112. Expected Results: Build ends without an error emerge --info: Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1, gcc-11.2.1, glibc-2.33-r13, 5.16.4-zen1-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.16.4-zen1-x86_64-x86_64-AMD_Ryzen_5_3500U_with_Radeon_Vega_Mobile_Gfx-with-glibc2.33 KiB Mem: 14262272 total, 1469324 free KiB Swap: 25165820 total, 25165820 free Timestamp of repository gentoo: Fri, 11 Mar 2022 05:00:01 +0000 Head commit of repository gentoo: 6d8e8c5da284ac65badede25f458c54f4a50e8d8 Timestamp of repository ace: Tue, 08 Mar 2022 13:37:17 +0000 Head commit of repository ace: 294887efbc22eda00aeec974838c9df195d270cf Timestamp of repository bombo82: Fri, 25 Feb 2022 16:08:21 +0000 Head commit of repository bombo82: a46f8f7ba03f9024dc46b60836af6f1fcfa95a4e Timestamp of repository dlang: Mon, 21 Feb 2022 17:07:31 +0000 Head commit of repository dlang: a6d38d349af59c79e579d96edfc143df4c202b77 Timestamp of repository dm9pZCAq: Fri, 11 Mar 2022 00:21:31 +0000 Head commit of repository dm9pZCAq: 048fe180ff8c823522b395486275c2960d814077 Timestamp of repository guru: Thu, 10 Mar 2022 14:21:31 +0000 Head commit of repository guru: d42af3d03f4aefc3b04747690710f548943f4843 Timestamp of repository haskell: Sun, 06 Mar 2022 03:36:43 +0000 Head commit of repository haskell: fe81fa9cf080df6fc0d80a5bb32a7a0d671fe92a Head commit of repository hhoffstaette: 509cc00a1de85a8b4d5e2ed12abc88bf41930233 Timestamp of repository jorgicio: Fri, 11 Mar 2022 00:36:26 +0000 Head commit of repository jorgicio: 5eaaf6ff147d9a6005cc9f3617e7ab6e2fcef0ed Timestamp of repository lto-overlay: Fri, 25 Feb 2022 16:08:16 +0000 Head commit of repository lto-overlay: 1fee71a737948ffc00a12725a89062adc8fbe29b Timestamp of repository mv: Mon, 28 Feb 2022 12:22:03 +0000 Head commit of repository mv: f4afb865261e953ed61b6f3520df0403599185fc Timestamp of repository nest: Tue, 08 Mar 2022 13:37:19 +0000 Head commit of repository nest: 7583dfe7ea9291f4e04c2c074db5c7040db77348 Timestamp of repository nitratesky: Tue, 08 Mar 2022 13:37:22 +0000 Head commit of repository nitratesky: b2cf2cae5a9fce13e824f111d4a69bc74be3e810 Timestamp of repository nix-guix: Thu, 10 Mar 2022 23:51:22 +0000 Head commit of repository nix-guix: 13830f61bcd1c1fe358c77acb0749f2fa8b43e50 Timestamp of repository pf4public: Thu, 10 Mar 2022 22:51:25 +0000 Head commit of repository pf4public: 9521d4c653754753306fdb65c4950cebec35e729 Timestamp of repository steam-overlay: Mon, 21 Feb 2022 17:07:36 +0000 Head commit of repository steam-overlay: c2ded7a207ca0892458d09df3f13e0415bda6db8 Head commit of repository tlp: 4ba9fce0927a4bc87a4df54eb352a163a439810e Timestamp of repository vortex: Sun, 06 Mar 2022 08:51:44 +0000 Head commit of repository vortex: b03029d5050f180b639872e4eb3fb708214a1b69 Timestamp of repository wayland-desktop: Sat, 26 Feb 2022 23:06:47 +0000 Head commit of repository wayland-desktop: 7778110ce821a7f3ef5b98f955b1c494c0fcc302 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r6::gentoo dev-lang/python: 3.9.9-r1::gentoo, 3.10.2_p1::gentoo dev-lang/rust: 1.59.0::gentoo dev-lang/rust-bin: 1.58.1::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.61.1::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.25::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4::gentoo sys-devel/clang: 12.0.1::gentoo, 13.0.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.1::gentoo sys-devel/llvm: 12.0.1::gentoo, 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r13::gentoo Repositories: ... ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver1 -mtune=znver1 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=znver1 -mtune=znver1 -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-march=znver1 -mtune=znver1 -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=znver1 -mtune=znver1 -O2 -pipe" GENTOO_MIRRORS="..." LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-l7 -j6" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/zsh" USE="X acl alsa amd64 bluetooth btrfs bzip2 cjk clang cli crypt dbus dhcpcd dmd-2_096 dri elogind fontconfig fortran gdbm iconv ipv6 iwd jack jpeg libglvnd libnotify libtirpc lm-sensors lto lzma multilib ncurses networkmanager nls nptl ocamlopt opengl openmp pam pcre pgo pipewire png pulseaudio readline seccomp split-usr ssl svg ttf udev unicode vaapi vdpau verify-sig vulkan webp wifi xattr xorg zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics libinput" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86 AArch64 ARC ARM AVR CSKY Hexagon Lanai MSP430 Mips PowerPC RISCV Sparc SystemZ VE WebAssembly XCore" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= www-client/luakit-9999::gentoo was built with the following: USE="doc -test" ABI_X86="(64)" LUA_SINGLE_TARGET="luajit -lua5-1" CFLAGS="-march=znver1 -mtune=znver1 -O2 -pipe -Wl,-O1 -Wl,--as-needed" CXXFLAGS="-march=znver1 -mtune=znver1 -O2 -pipe -Wl,-O1 -Wl,--as-needed" FEATURES="binpkg-logs usersandbox userpriv sfperms binpkg-docompress protect-owned multilib-strict config-protect-if-modified unknown-features-warn binpkg-dostrip pid-sandbox strict ebuild-locks buildpkg-live userfetch news unmerge-logs distlocks xattr qa-unresolved-soname-deps merge-sync ipc-sandbox fixlafiles preserve-libs usersync parallel-fetch unmerge-orphans sandbox assume-digests network-sandbox"
Created attachment 767559 [details] Build log
Created attachment 767560 [details] emerge -pqv '=www-client/luakit-9999::gentoo'
Created attachment 767561 [details] My new patch
Added "rework" of patch because idk how to patch a patch
Created attachment 836829 [details, diff] Patch to fix build Fix luakit-9999 Makefile patch