this pacakge cant be compiled. an erros out with TypeError: expected string or bytes-like object Reproducible: Always Steps to Reproduce: 1. emerge world. 2. 3. Actual Results: TypeError: expected string or bytes-like object tiulk ~ # emerge --info Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.1, glibc-2.34-r10, 5.15.32-gentoo-dist x86_64) ================================================================= System uname: Linux-5.15.32-gentoo-dist-x86_64-11th_Gen_Intel-R-_Core-TM-_i9-11950H_@_2.60GHz-with-glibc2.34 KiB Mem: 65520008 total, 46259532 free KiB Swap: 128627008 total, 128627008 free Timestamp of repository gentoo: Wed, 04 May 2022 11:00:01 +0000 Head commit of repository gentoo: 2eaafdcfcf936dc95ab5de2931755e6e0286b433 Head commit of repository ephemer0l-overlay: 7d76687da44187138f31096e5184dec1c7405153 Timestamp of repository poly-c: Wed, 04 May 2022 09:11:24 +0000 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 ccache version 4.5.1 [disabled] 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-r9::gentoo dev-lang/python: 2.7.18_p15::gentoo, 3.7.13::gentoo, 3.9.12::gentoo, 3.10.4::gentoo dev-lang/rust-bin: 1.59.0::gentoo dev-util/ccache: 4.5.1::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.60.3::gentoo sys-apps/baselayout: 2.7-r3::poly-c sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 250.4-r2::gentoo sys-devel/autoconf: 2.13-r1::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: 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: 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.34-r10::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 ephemer0l-overlay location: /var/db/repos/ephemer0l-overlay sync-type: git sync-uri: https://github.com/ephemer0l/ephemer0l-overlay.git sync-user: portage:portage masters: gentoo bongo location: /home/dbp/bongo masters: gentoo priority: 10 crossdev location: /var/db/repos/crossdev masters: gentoo priority: 10 lightscribe location: /home/dbp/lightscribe masters: gentoo priority: 10 linamh location: /home/dbp/linamh masters: gentoo priority: 10 opsi location: /home/dbp/opsi masters: gentoo priority: 10 yast location: /home/dbp/yast masters: gentoo priority: 10 2xsaiko location: /var/lib/layman/2xsaiko sync-type: laymansync sync-uri: https://git.sr.ht/~dblsaiko/ebuilds masters: gentoo priority: 50 NuLL3rr0r location: /var/lib/layman/NuLL3rr0r sync-type: laymansync sync-uri: https://github.com/NuLL3rr0r/gentoo-overlay.git masters: gentoo priority: 50 anyc location: /var/lib/layman/anyc sync-type: laymansync sync-uri: https://github.com/anyc/anyc-overlay.git masters: gentoo priority: 50 cg location: /var/lib/layman/cg sync-type: laymansync sync-uri: https://github.com/brothermechanic/cg.git masters: gentoo priority: 50 dev1990-overlay location: /var/lib/layman/dev1990-overlay sync-type: laymansync sync-uri: https://github.com/dev-0x7C6/dev1990-overlay.git masters: gentoo priority: 50 gentoo-zh location: /var/lib/layman/gentoo-zh sync-type: laymansync sync-uri: https://github.com/microcai/gentoo-zh.git masters: gentoo priority: 50 gig location: /var/lib/layman/gig sync-type: laymansync sync-uri: https://github.com/Gig-OS/gig.git masters: gentoo priority: 50 guru location: /var/lib/layman/guru sync-type: laymansync sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git masters: gentoo priority: 50 ikelos location: /var/lib/layman/ikelos sync-type: laymansync sync-uri: https://github.com/ikelos/gentoo-overlay.git masters: gentoo priority: 50 kripton-overlay location: /var/lib/layman/kripton-overlay sync-type: laymansync sync-uri: https://github.com/kripton/kripton-overlay.git masters: gentoo priority: 50 menelkir location: /var/lib/layman/menelkir sync-type: laymansync sync-uri: https://gitlab.com/menelkir/gentoo-overlay.git masters: gentoo priority: 50 nelson-graca location: /var/lib/layman/nelson-graca sync-type: laymansync sync-uri: https://github.com/nelsongraca/gentoo-overlay.git masters: gentoo priority: 50 nest location: /var/lib/layman/nest sync-type: laymansync sync-uri: https://github.com/SpiderX/portage-overlay.git masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo sync-type: laymansync sync-uri: https://github.com/pentoo/pentoo-overlay.git masters: gentoo priority: 50 poly-c location: /var/lib/layman/poly-c sync-type: laymansync sync-uri: rsync://rsync.gentoofan.org/poly-c masters: gentoo priority: 50 powerman location: /var/lib/layman/powerman sync-type: laymansync sync-uri: https://github.com/powerman/powerman-overlay.git masters: gentoo priority: 50 rukruk location: /var/lib/layman/rukruk sync-type: laymansync sync-uri: https://github.com/Atoms/rukruk.git masters: gentoo priority: 50 salfter location: /var/lib/layman/salfter sync-type: laymansync sync-uri: https://gitlab.com/salfter/portage.git masters: gentoo priority: 50 science location: /var/lib/layman/science sync-type: laymansync sync-uri: https://anongit.gentoo.org/git/proj/sci.git masters: gentoo priority: 50 src_prepare-overlay location: /var/lib/layman/src_prepare-overlay sync-type: laymansync sync-uri: https://gitlab.com/src_prepare/src_prepare-overlay.git masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 supertux88 location: /var/lib/layman/supertux88 sync-type: laymansync sync-uri: http://github.com/SuperTux88/gentoo-overlay.git masters: gentoo priority: 50 tastytea location: /var/lib/layman/tastytea sync-type: laymansync sync-uri: https://schlomp.space/tastytea/overlay.git masters: guru gentoo priority: 50 tatsh-overlay location: /var/lib/layman/tatsh-overlay sync-type: laymansync sync-uri: https://github.com/Tatsh/tatsh-overlay.git masters: gentoo priority: 50 trinity-official location: /var/lib/layman/trinity-official sync-type: laymansync sync-uri: https://mirror.git.trinitydesktop.org/gitea/TDE/tde-packaging-gentoo.git masters: gentoo priority: 50 vapoursynth location: /var/lib/layman/vapoursynth sync-type: laymansync sync-uri: https://github.com/4re/vapoursynth-portage.git masters: gentoo priority: 50 vowstar location: /var/lib/layman/vowstar sync-type: laymansync sync-uri: https://github.com/vowstar/vowstar-overlay.git masters: gentoo priority: 50 zyrenth location: /var/lib/layman/zyrenth sync-type: laymansync sync-uri: https://github.com/kabili207/zyrenth-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=tigerlake -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /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=tigerlake -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=tigerlake -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=tigerlake -O2 -pipe" GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirror.dkm.cz/gentoo/ https://mirror.dkm.cz/gentoo/ ftp://mirror.dkm.cz/gentoo/ rsync://mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/" LANG="de_AT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nl_NL nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh" MAKEOPTS="-j12 -s" 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 aacs accessibility acl acpi activities aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion bidi bluetooth bluray boost bzip2 cairo cdda cddb cdr cjk cli cpudetection crypt css cuda cups dbus declarative dga dist-kernel dri dts dv dvb dvd dvdr dvdread dvi ecp5 encode exif fame fat ffmpeg firefox flac foomatic-db fortran freetype ftdi gcj gdbm gentoo-vm gif gimpprint gles2 gmp gnutls gphoto2 gpm gsm gtk gui hdri hfs http2 ice40 iconv icq icu ieee1394 imap inotify iptables ipv6 irc irda jabber jack jfs joystick jpeg kde kdeenablefinal kdehiddenvisibility kerberos krb4 kwallet lame lcd lcms libglvnd libnotify libtirpc live lm_sensors logind lzo mad mail matroska mjpeg mmx mng mozdevelop mp3 mp3rtp mp4 mpeg msn multilib musepack musicbrainz ncurses network nls nptl nsplugin ntfs ogg openal opencl openexr opengl openldap openmp opus pam pango pcmcia pcre pda pdf perl plasma plymouth png policykit ppds pulseaudio python qml qt5 rar rdesktop readline real reiserfs rss scanner sdl seccomp semantic-desktop slp smartcard speex spell split-usr ssl startup-notification static-libs stream svg sysfs systemd theora thunderbolt tiff truetype udev udisks unicode upower usb v4l v4l2 vala vapoursynth visualization vkd3d vorbis vtk vulkan wayland widgets wifi win32codecs wmf wxwidgets x264 x265 xattr xcb xfs xine xinerama xml xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib zstd" ABI_X86="32 64" ADA_TARGET="gnat_2021" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" 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" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="evdev void synaptics libinput" KERNEL="linux" L10N="en af ar az bg bn br bs ca cs cy da de el en-GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt-BR ro ru rw se sk sl sr sr-Latn ss sv ta tg tr uk uz vi zh-CN zh-TW es-AR es-ES fy ga gu nb nn pt-PT sv zh" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia intel i915 i965 iris" 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, 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
Created attachment 776627 [details] Build.log
creating PasteDeploy.egg-info Traceback (most recent call last): File "/usr/lib/python-exec/python3.9/gpep517", line 4, in <module> sys.exit(main()) File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 136, in main return func(args) File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 44, in build_wheel wheel_name = backend.build_wheel(args.wheel_dir, args.config_json) File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 281, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 13, in <module> setup( File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup return run_commands(dist) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands dist.run_commands() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run self.run_command('build') File "/usr/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 136, in run self.run_command(cmd_name) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/build_py.py", line 46, in run self.build_package_data() File "/usr/lib/python3.9/site-packages/setuptools/command/build_py.py", line 113, in build_package_data for package, src_dir, build_dir, filenames in self.data_files: File "/usr/lib/python3.9/site-packages/setuptools/command/build_py.py", line 55, in __getattr__ self.data_files = self._get_data_files() File "/usr/lib/python3.9/site-packages/setuptools/command/build_py.py", line 67, in _get_data_files self.analyze_manifest() File "/usr/lib/python3.9/site-packages/setuptools/command/build_py.py", line 131, in analyze_manifest self.run_command('egg_info') File "/usr/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/usr/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 299, in run self.distribution._install_dependencies(ep) File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 914, in _install_dependencies for req in nspektr.missing(ep): File "/usr/lib/python3.9/site-packages/jaraco/functools.py", line 35, in <lambda> return lambda *args, **kwargs: f1(f2(*args, **kwargs)) File "/usr/lib/python3.9/contextlib.py", line 79, in inner return func(*args, **kwds) File "/usr/lib/python3.9/site-packages/nspektr/__init__.py", line 35, in is_satisfied return resolve(req) File "/usr/lib/python3.9/site-packages/nspektr/__init__.py", line 26, in resolve if not req.specifier.contains(Version(dist.version), prereleases=True): File "/usr/lib/python3.9/site-packages/packaging/version.py", line 264, in __init__ match = self._regex.search(version) TypeError: expected string or bytes-like object [31;01m*[0m ERROR: dev-python/pastedeploy-2.1.1-r3::gentoo failed (compile phase): [31;01m*[0m Wheel build failed [31;01m*[0m
Well, I'm afraid I can't reproduce. Could you share the package versions you have installed? Something alike: $ EIX_LIMIT_COMPACT=0 eix --compact -I dev-python/
Created attachment 777671 [details] the eix output
Hmm, I suspect that one of the packages installed on your system has broken metadata. Please edit: /usr/lib/python3.9/site-packages/nspektr/__init__.py and below line 25, that is: dist = metadata.distribution(req.name) add: print((dist.name, dist.version)) Then try to emerge it again, and paste the new build log. It should print some package names now.
Created attachment 777716 [details] build-python3_9.log
Created attachment 777719 [details] build.log
(In reply to Mario Fetka (geos_one) from comment #6) > Created attachment 777716 [details] > build-python3_9.log Heh: (None, None) That was... unexpected. Could you also: print(req.name) ? Once we know which package this is, I'll need the .egg-info or .dist-info for it from site-packages. Did you install any packages using pip or alike?
Created attachment 777758 [details] build.log
Do you have an earlier version of pastedeploy installed? Do you have /usr/lib/python3.9/site-packages/PasteDeploy-*? If yes, then please put them in a tarball and attach here.
Created attachment 777761 [details] PastDeploy
Still nothing uncommon. Could you try using the following print instead: print(dist.locate_file("")) ?
The [wheel] section is deprecated. Use [bdist_wheel] instead. running build running build_py creating build creating build/lib creating build/lib/paste copying paste/__init__.py -> build/lib/paste creating build/lib/paste/deploy copying paste/deploy/__init__.py -> build/lib/paste/deploy copying paste/deploy/compat.py -> build/lib/paste/deploy copying paste/deploy/config.py -> build/lib/paste/deploy copying paste/deploy/converters.py -> build/lib/paste/deploy copying paste/deploy/loadwsgi.py -> build/lib/paste/deploy copying paste/deploy/paster_templates.py -> build/lib/paste/deploy copying paste/deploy/util.py -> build/lib/paste/deploy running egg_info creating PasteDeploy.egg-info ('Paste', '3.5.0') Paste /usr/lib/python3.9/site-packages (None, None) PasteDeploy /var/tmp/portage/dev-python/pastedeploy-2.1.1-r3/work/pastedeploy-2.1.1 Traceback (most recent call last): File "/usr/lib/python-exec/python3.9/gpep517", line 4, in <module> sys.exit(main()) File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 136, in main return func(args) File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 44, in build_wheel wheel_name = backend.build_wheel(args.wheel_dir, args.config_json) File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 281, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 13, in <module> setup( File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup return run_commands(dist)
i undeploed the pastedeploy
i removed the old verison but un build it will not work.
This is really weird. It seems as if importlib.metadata considered local "pastedeploy" directory as a valid candidate for you but not for me. I'm afraid I don't have any further ideas.
i think i found the reason got rid of nspkg.pth packages that have this files then copied the content of the buil dir to the paste dir in /usr/lib/python3.9/site-packages/paste/deploy then rebuild setuptools tehn rebuild pastedploy now the emerge works.