Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857477 - x11-terms/kitty-9999: Hunk #3 FAILED at 807
Summary: x11-terms/kitty-9999: Hunk #3 FAILED at 807
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-10 17:19 UTC by Vitaly Zdanevich
Modified: 2022-07-11 06:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Zdanevich 2022-07-10 17:19:31 UTC
Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-terms/kitty-9999::gentoo
 * Using python3.10 to build
>>> Unpacking source...
 * Repository id: kovidgoyal_kitty.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_KOVIDGOYAL_KITTY
 *   EGIT_OVERRIDE_BRANCH_KOVIDGOYAL_KITTY
 *   EGIT_OVERRIDE_COMMIT_KOVIDGOYAL_KITTY
 *   EGIT_OVERRIDE_COMMIT_DATE_KOVIDGOYAL_KITTY
 * 
 * Fetching https://github.com/kovidgoyal/kitty.git ...
git fetch https://github.com/kovidgoyal/kitty.git +HEAD:refs/git-r3/HEAD
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 9 (delta 4), reused 9 (delta 4), pack-reused 0
Unpacking objects: 100% (9/9), 10.59 KiB | 2.12 MiB/s, done.
From https://github.com/kovidgoyal/kitty
   3ab12c61..4c2800b2             -> refs/git-r3/HEAD
git symbolic-ref refs/git-r3/x11-terms/kitty/0/__main__ refs/git-r3/HEAD
 * Checking out https://github.com/kovidgoyal/kitty.git to /var/tmp/portage/x11-terms/kitty-9999/work/kitty-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/kovidgoyal/kitty.git
   updating from commit:     3ab12c616c00f088a7ab9c96fec5339e80c3c836
   to commit:                4c2800b294a4b1189a6f0dfaa236f52d5380bb70
 kitty/loop-utils.c | 8 ++++----
 kitty/loop-utils.h | 3 +--
 2 files changed, 5 insertions(+), 6 deletions(-)
>>> Source unpacked in /var/tmp/portage/x11-terms/kitty-9999/work
>>> Preparing source in /var/tmp/portage/x11-terms/kitty-9999/work/kitty-9999 ...
 * Applying kitty-0.23.1-flags.patch ...
patching file setup.py
Hunk #1 succeeded at 323 (offset 28 lines).
Hunk #2 succeeded at 350 (offset 31 lines).
Hunk #3 FAILED at 807.
1 out of 3 hunks FAILED -- saving rejects to file setup.py.rej                                                                                                                                                [ !! ]
 * ERROR: x11-terms/kitty-9999::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/x11-terms/kitty-9999/files/kitty-0.23.1-flags.patch
 * 
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 2829:  Called default
 *      phase-functions.sh, line  858:  Called default_src_prepare
 *      phase-functions.sh, line  934:  Called __eapi8_src_prepare
 *             environment, line  415:  Called eapply '--' '/var/tmp/portage/x11-terms/kitty-9999/files/kitty-0.23.1-flags.patch'
 *             environment, line 1198:  Called _eapply_patch '/var/tmp/portage/x11-terms/kitty-9999/files/kitty-0.23.1-flags.patch'
 *             environment, line 1136:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/x11-terms/kitty-9999/files/kitty-0.23.1-flags.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=x11-terms/kitty-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-terms/kitty-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-terms/kitty-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-terms/kitty-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-terms/kitty-9999/work/kitty-9999'
 * S: '/var/tmp/portage/x11-terms/kitty-9999/work/kitty-9999'








# emerge --info
Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1/no-multilib, gcc-11.3.0, glibc-2.35-r8, 5.15.41-gentoo+ x86_64)
=================================================================
System uname: Linux-5.15.41-gentoo+-x86_64-Intel-R-_Core-TM-_i7-3840QM_CPU_@_2.80GHz-with-glibc2.35
KiB Mem:    16098580 total,  12859224 free
KiB Swap:   15625212 total,  15625212 free
Timestamp of repository gentoo: Sun, 10 Jul 2022 14:45:01 +0000
Head commit of repository gentoo: 22062140738c4b1b3f8ae534777f097d37b49ddc
Timestamp of repository guru: Sun, 10 Jul 2022 13:16:36 +0000
Head commit of repository guru: 7520235d662025a2bfae38a9af68a59b612a5aae

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.13::gentoo, 3.10.5::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.4::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync2.ru.gentoo.org/gentoo-portage/
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @FREE ipw3945"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/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"
CXXFLAGS="-O2 -march=native -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="-O2 -march=native -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="-O2 -march=native -pipe"
GENTOO_MIRRORS="https://ftp.linux.org.tr/gentoo/ http://ftp.byfly.by/pub/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="X acl amd64 bzip2 cli crypt dbus dri egl elogind eme-free ffmpeg flac fortran gdbm graphite heif iconv jpeg libglvnd libtirpc lto mp3 ncurses nls nptl ogg opengl openmp opus pam pcre pgo png pulseaudio rdp readline seccomp split-usr ssl svg tiff tkip unicode v4l vaapi vpx webp x265 xattr xml zlib" 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 f16c mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 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="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="x64" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Larry the Git Cow gentoo-dev 2022-07-11 06:33:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c185b15066be7828aa5eff43b3f4f7a476fecd0

commit 8c185b15066be7828aa5eff43b3f4f7a476fecd0
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-07-11 06:25:36 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-07-11 06:32:52 +0000

    x11-terms/kitty: update live, drop IUSE=debug
    
    Not great but replace -O3 patch by sed, less likely to break for -9999
    and isn't a very important change (and checking with qa-sed on release).
    
    Was under the impression this old IUSE=debug did more but seems it
    is only for symbols and was no-op with the patch. Now that don't
    cleanup addition of e.g. -g3, the IUSE would get in the way of
    users setting their own debug flags.
    
    Live still need more updates for running tests, but will handle after
    it settles down and stops changing when add next release.
    
    Closes: https://bugs.gentoo.org/857477
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-terms/kitty/kitty-9999.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)