Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955647 - dev-python/typing-extensions-4.13.2-r1 missing patch
Summary: dev-python/typing-extensions-4.13.2-r1 missing patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 955690 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-05-08 20:36 UTC by edbgon
Modified: 2025-05-10 02:04 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,3.25 KB, text/x-log)
2025-05-08 20:40 UTC, edbgon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description edbgon 2025-05-08 20:36:44 UTC
Ebuild refers to patch not provided in repository.
"${FILESDIR}/${P}-py314.patch"

Reproducible: Always

Steps to Reproduce:
1. Emerge dev-python/typing-extensions-4.13.2-r1, build fails when patch is not found.



Portage 3.0.68 (python 3.13.3-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-15, glibc-2.41-r1, 6.14.5-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.14.5-gentoo-dist-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.41
KiB Mem:    32760040 total,   2920904 free
KiB Swap:    3407868 total,   3406848 free
Timestamp of repository gentoo: Thu, 08 May 2025 19:54:58 +0000
Head commit of repository gentoo: dc22533851d60c56a0ca8968d1b0e7b9d6bb328e

Timestamp of repository guru: Thu, 08 May 2025 19:25:00 +0000
Head commit of repository guru: 56dff30bd287e7734ce1575c1d61ba7cba508540

Timestamp of repository spikyatlinux: Thu, 08 May 2025 19:24:56 +0000
Head commit of repository spikyatlinux: 65927cd20147a24cdaf6e613263c364a9b882e59

Timestamp of repository steam-overlay: Tue, 06 May 2025 17:57:19 +0000
Head commit of repository steam-overlay: c186b0f60ae10618a0670c9f7750be3adffd6e56

sh bash 5.2_p37-r3
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37-r3::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r2::gentoo
dev-build/cmake:           3.31.7::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.8.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.13.3::gentoo, 3.13.3-r100::gentoo
dev-lang/rust:             1.86.0-r1::gentoo
llvm-core/clang:           19.1.7::gentoo, 20.1.4::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo, 20.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.62.2::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             15.1.0::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.14::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: yes

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

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

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

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://ftp.lysator.liu.se/gentoo/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE AMD-GPU-PRO-EULA all-rights-reserved MPEG-4 ValveSteamLicense MSttfEULA Sublime Activision ChexQuest3 DOOM-COLLECTORS-EDITION WidePix OpenVR vmware NVIDIA-CUDA TeamViewer googleearth JoyPixels GPL-3-with-font-exception CC-BY-NC-SA-2.5"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
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/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="https://mirrors.tnonline.net/gentoo/gentoo-distfiles/ https://ftp.lysator.liu.se/gentoo/ https://mirrors.dotsrc.org/gentoo/ https://distfiles.gentoo.org/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j12"
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/bash"
USE="X a52 aac acl acpi activities alsa amd64 amf bluetooth branding browser-integration bzip2 cairo cdda cdr cet colord crypt cups dbus declarative desktop-portal dri dts dvd dvdr echo-cancel elogind emoji encode exif extra ffmpeg flac gdbm gif gles2 gpm gstreamer gtk gui haptic iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc lm-sensors lv2 mad mng mount mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opencl opengl openmp pam pango pcre pdf pipewire pipewire-alsa plasma png policykit postproc ppds pulseaudio qml qt5 qt6 readline scanner screencast sdl seccomp semantic-desktop sound sound-server spell ssl staging startup-notification svg test-rust tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis vulkan vulkan-overlay wayland widgets wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf zlib" ABI_X86="64 32" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="joystick" KERNEL="linux" L10N="en nb" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="SPIRV AMDGPU BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby33" SANE_BACKENDS="epson epson2 epsonds net" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 edbgon 2025-05-08 20:40:07 UTC
Created attachment 928191 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-08 21:03:22 UTC
(In reply to Sam James from comment #2)
> Guess it should be
> https://github.com/python/typing_extensions/commit/
> fe121919f9305c0775bcc719dd2c08cbfcb5ff21 and
> https://github.com/python/typing_extensions/commit/
> 11cc786b464985d5efbd5fb5bc4ba9b1eb518988.

Ah, indeed, the ebuild comments have:

PATCHES=(
        # https://github.com/python/typing_extensions/pull/566
        # https://github.com/python/typing_extensions/pull/592
        "${FILESDIR}/${P}-py314.patch"
)
Comment 4 Larry the Git Cow gentoo-dev 2025-05-08 21:13:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ce6d9ee301206926396d1f99fcb9b2bb7b0caa

commit 96ce6d9ee301206926396d1f99fcb9b2bb7b0caa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-08 21:12:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-08 21:13:13 +0000

    dev-python/typing-extensions: add missing patch
    
    Couldn't test w/ py3.14 as don't have it installed yet, but passes
    tests otherwise.
    
    Closes: https://bugs.gentoo.org/955647
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/typing-extensions-4.13.2-py314.patch     | 596 +++++++++++++++++++++
 1 file changed, 596 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-09 06:51:29 UTC
commit df8891052482caad9a9b541c289cb9a3d5eed91b
Author: Michał Górny <mgorny@gentoo.org>
Date:   Fri May 9 02:58:28 2025 +0200

    dev-python/typing-extensions: Add the original patch

    Signed-off-by: Michał Górny <mgorny@gentoo.org>

commit 4e9709a1ac4bfdad86b25d70b5b1d609221a64c4
Author: Michał Górny <mgorny@gentoo.org>
Date:   Fri May 9 03:00:21 2025 +0200

    dev-python/typing-extensions: Reverts "add missing patch"

    No clue why but the diff with the tested patch is pretty large.

    Reverts: 96ce6d9ee301206926396d1f99fcb9b2bb7b0caa
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-10 02:04:23 UTC
*** Bug 955690 has been marked as a duplicate of this bug. ***