View previous topic :: View next topic |
Author |
Message |
haptie n00b

Joined: 17 Sep 2006 Posts: 18
|
Posted: Mon Nov 21, 2022 7:41 pm Post subject: dev-python/inflect-6.0.0 / 6.0.2 emerge build error |
|
|
Hi all, I`m having some issues in updating my gentoo instalation, basically cause dev-python/inflect do not build correctly, I already downgrade dependencies packages to stable versions but that doesn't work either.
Code: |
^[[32m * ^[[39;49;00mPackage: dev-python/inflect-6.0.0:0
^[[32m * ^[[39;49;00mRepository: gentoo
^[[32m * ^[[39;49;00mMaintainer: sbraz@gentoo.org python@gentoo.org
^[[32m * ^[[39;49;00mUpstream: https://github.com/jaraco/inflect/issues
^[[32m * ^[[39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_9 userland_GNU
^[[32m * ^[[39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking inflect-6.0.0.tar.gz to /var/tmp/portage/dev-python/inflect-6.0.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/inflect-6.0.0/work
>>> Preparing source in /var/tmp/portage/dev-python/inflect-6.0.0/work/inflect-6.0.0 ...
^[[32m*^[[0m Build system packages:
^[[32m*^[[0m dev-python/gpep517 : 9
^[[32m*^[[0m dev-python/installer : 0.5.1-r1
^[[32m*^[[0m dev-python/setuptools : 65.5.1
^[[32m*^[[0m dev-python/setuptools_scm : 7.0.5
^[[32m*^[[0m dev-python/wheel : 0.37.1-r1
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/inflect-6.0.0/work/inflect-6.0.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/inflect-6.0.0/work/inflect-6.0.0 ...
^[[32m*^[[0m python3_9: running distutils-r1_run_phase distutils-r1_python_compile
^[[32m*^[[0m Building the wheel for inflect-6.0.0 via setuptools.build_meta
gpep517 build-wheel --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/inflect-6.0.0/work/inflect-6.0.0-python3_9/wheel
2022-11-21 12:57:51,009 gpep517 INFO Building wheel via backend setuptools.build_meta
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 322, in main
return func(args)
File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 122, in build_wheel
print(build_wheel_impl(args, args.wheel_dir), file=out)
File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 105, in build_wheel_impl
wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 412, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 397, in _build_with_temp_dir
self.run_setup()
File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 1, in <module>
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 159, in setup
dist.parse_config_files()
File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 864, in parse_config_files
setupcfg.parse_configuration(
File "/usr/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 162, in parse_configuration
options.parse()
File "/usr/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 496, in parse
section_parser_method(section_options)
File "/usr/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 724, in parse_section_entry_points
self['entry_points'] = parsed
File "/usr/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 268, in __setitem__
raise KeyError(option_name)
KeyError: 'entry_points'
^[[31;01m*^[[0m ERROR: dev-python/inflect-6.0.0::gentoo failed (compile phase):
^[[31;01m*^[[0m Wheel build failed
^[[31;01m*^[[0m
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 122: Called src_compile
^[[31;01m*^[[0m environment, line 3339: Called distutils-r1_src_compile
^[[31;01m*^[[0m environment, line 1569: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
^[[31;01m*^[[0m environment, line 715: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
^[[31;01m*^[[0m environment, line 3031: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
^[[31;01m*^[[0m environment, line 2594: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
^[[31;01m*^[[0m environment, line 2592: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
^[[31;01m*^[[0m environment, line 1042: Called distutils-r1_run_phase 'distutils-r1_python_compile'
^[[31;01m*^[[0m environment, line 1551: Called distutils-r1_python_compile
^[[31;01m*^[[0m environment, line 1375: Called distutils_pep517_install '/var/tmp/portage/dev-python/inflect-6.0.0/work/inflect-6.0.0-python3_9/install'
^[[31;01m*^[[0m environment, line 1874: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m [[ -n ${wheel} ]] || die "No wheel name returned";
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-python/inflect-6.0.0::gentoo'`,
^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-python/inflect-6.0.0::gentoo'`.
^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-python/inflect-6.0.0/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/inflect-6.0.0/temp/environment'.
^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-python/inflect-6.0.0/work/inflect-6.0.0'
^[[31;01m*^[[0m S: '/var/tmp/portage/dev-python/inflect-6.0.0/work/inflect-6.0.0'
|
Here is my --info
Code: |
Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-12.1.1, glibc-2.36-r5, 5.19.2-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.19.2-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-glibc2.36
KiB Mem: 24376596 total, 5721276 free
KiB Swap: 5242876 total, 4754464 free
Timestamp of repository gentoo: Fri, 18 Nov 2022 18:30:01 +0000
Head commit of repository gentoo: 2b667b0352e47d2bbcf928df1b32fd94c59ad3da
Timestamp of repository guru: Wed, 16 Nov 2022 19:46:48 +0000
Head commit of repository guru: 5bbaa740ff5226553b69fd6bbd7fa88dca75b5e5
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r2::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.36.0-r1::gentoo
dev-lang/python: 3.9.15_p3::gentoo, 3.10.8_p3::gentoo, 3.11.0_rc1::gentoo
dev-lang/rust: 1.62.1::gentoo
dev-util/cmake: 3.24.1::gentoo
dev-util/meson: 0.64.0::gentoo
sys-apps/baselayout: 2.9::gentoo
sys-apps/openrc: 0.45.2::gentoo
sys-apps/sandbox: 2.29::gentoo
sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake: 1.16.5::gentoo
sys-devel/binutils: 2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang: 14.0.6-r1::gentoo
sys-devel/gcc: 12.1.1_p20220625::gentoo
sys-devel/gcc-config: 2.8::gentoo
sys-devel/libtool: 2.4.7::gentoo
sys-devel/lld: 14.0.6::gentoo
sys-devel/llvm: 14.0.6-r2::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 6.0::gentoo (virtual/os-headers)
sys-libs/glibc: 2.36-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
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
dlang
location: /var/lib/layman/dlang
masters: gentoo
priority: 50
nordvpn
location: /var/lib/layman/nordvpn
masters: gentoo
priority: 50
x11
location: /var/lib/layman/x11
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~x86"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
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="-march=native -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 XDG_STATE_HOME"
FCFLAGS="-march=native -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=native -O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 -l5"
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 alsa amd64 appindicator bluetooth branding bzip2 cairo cdda cdr cgroup-hybrid cleartype cli colord corefonts crypt cups dbus dhcpcd dri dts dvd dvdr eds elogind emoji encode evo exif expat ffmpeg flac fontconfig fortran ftp gdbm geolocation gif git gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui gzip i965 iconv icu imap introspection iptables ipv6 iwd java javascript jpeg jpeg2k kernel lcms libglvnd libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls npm nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python readline sdl seccomp sna spell split-usr ssl startup-notification svg syslog sysprof test-rust tiff tools truetype type1 udev udisks unicode upower usb uxa vaapi vorbis wayland widgets wifi wxwidgets x264 xattr xcb xinerama xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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 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="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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_9 python3_10" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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 |
Any suggestion will be appreciated, thanks ! |
|
Back to top |
|
 |
sam_ Developer


Joined: 14 Aug 2020 Posts: 2310
|
|
Back to top |
|
 |
haptie n00b

Joined: 17 Sep 2006 Posts: 18
|
Posted: Tue Nov 22, 2022 3:34 am Post subject: |
|
|
Hi Sam, it returns, the following; could you please explain to me at very high level what you're looking for so I can investigate on my own, thanks !
Code: |
usr/lib/python3.9/site-packages/dateutil
/usr/lib/python3.9/site-packages/numpy
/usr/lib/python3.9/site-packages/numpy-1.23.3.dist-info
/usr/lib/python3.9/site-packages/numpy.libs
/usr/lib/python3.9/site-packages/pandas
/usr/lib/python3.9/site-packages/pandas-1.4.4.dist-info
/usr/lib/python3.9/site-packages/pip
/usr/lib/python3.9/site-packages/pip-22.2.2.dist-info
/usr/lib/python3.9/site-packages/python_dateutil-2.8.2.dist-info
/usr/lib/python3.9/site-packages/pytz
/usr/lib/python3.9/site-packages/pytz-2022.2.1.dist-info
/usr/lib/python3.9/site-packages/setuptools-65.3.0.dist-info
/usr/lib/python3.9/site-packages/six-1.16.0.dist-info
/usr/lib/python3.9/site-packages/six.py
|
|
|
Back to top |
|
 |
sam_ Developer


Joined: 14 Aug 2020 Posts: 2310
|
Posted: Tue Nov 22, 2022 5:18 am Post subject: |
|
|
haptie wrote: |
Hi Sam, it returns, the following; could you please explain to me at very high level what you're looking for so I can investigate on my own, thanks !
Code: |
usr/lib/python3.9/site-packages/dateutil
/usr/lib/python3.9/site-packages/numpy
/usr/lib/python3.9/site-packages/numpy-1.23.3.dist-info
/usr/lib/python3.9/site-packages/numpy.libs
/usr/lib/python3.9/site-packages/pandas
/usr/lib/python3.9/site-packages/pandas-1.4.4.dist-info
/usr/lib/python3.9/site-packages/pip
/usr/lib/python3.9/site-packages/pip-22.2.2.dist-info
/usr/lib/python3.9/site-packages/python_dateutil-2.8.2.dist-info
/usr/lib/python3.9/site-packages/pytz
/usr/lib/python3.9/site-packages/pytz-2022.2.1.dist-info
/usr/lib/python3.9/site-packages/setuptools-65.3.0.dist-info
/usr/lib/python3.9/site-packages/six-1.16.0.dist-info
/usr/lib/python3.9/site-packages/six.py
|
|
Hi!
Thanks for the output. We're looking for orphaned (files not installed by a Gentoo ebuild/package) files. These can be problematic because they might be stale, in the wrong format, or in an old format, and then it confuses things like setuptools.
Could you move all of those results away into a backup directory, like /root/python3.9-site-packages-orphan-backup? The command should then come back clean. Then try running a world upgrade again and see if inflect works? |
|
Back to top |
|
 |
sam_ Developer


Joined: 14 Aug 2020 Posts: 2310
|
Posted: Tue Nov 22, 2022 5:21 am Post subject: |
|
|
We also had a bug report which might be related: https://bugs.gentoo.org/882415. Could you run find /usr/lib/python3.9/site-packages/ -name entry_points.txt -exec grep -l? |
|
Back to top |
|
 |
haptie n00b

Joined: 17 Sep 2006 Posts: 18
|
Posted: Tue Nov 22, 2022 7:00 am Post subject: |
|
|
originally was build with setuptools-65.5.1 then masked and accept_keyword for 65.6.0 was set and now inflect emerged correctly - a bug was raised by me for the same https://bugs.gentoo.org/882415 |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|