Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811825 - Failed to emerge dev-python/pyparsing-2.4.7-r1
Summary: Failed to emerge dev-python/pyparsing-2.4.7-r1
Status: RESOLVED DUPLICATE of bug 811504
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-06 07:46 UTC by Xavier Miller
Modified: 2021-09-06 16:01 UTC (History)
0 users

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


Attachments
build log (build.log,4.42 KB, application/octet-stream)
2021-09-06 07:47 UTC, Xavier Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller 2021-09-06 07:46:46 UTC
>>> Emerging (4 of 6) dev-python/pyparsing-2.4.7-r1::gentoo                                                                                                              [30/14591]
 * pyparsing_2.4.7.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking pyparsing_2.4.7.tar.gz to /var/tmp/portage/dev-python/pyparsing-2.4.7-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/pyparsing-2.4.7-r1/work
>>> Preparing source in /var/tmp/portage/dev-python/pyparsing-2.4.7-r1/work/pyparsing-pyparsing_2.4.7 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pyparsing-2.4.7-r1/work/pyparsing-pyparsing_2.4.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pyparsing-2.4.7-r1/work/pyparsing-pyparsing_2.4.7 ...
 * python3_9: running distutils-r1_run_phase distutils-r1_python_compile
python3.9 setup.py build -j 7
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pyparsing-2.4.7-r1/work/pyparsing-pyparsing_2.4.7/setup.py", line 18, in <module>
    setup(# Distribution meta-data
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.9/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 455, in __init__
    _Distribution.__init__(self, {
  File "/usr/lib/python3.9/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 806, in finalize_options
    for ep in sorted(eps, key=by_order):
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 805, in <lambda>
    eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2449, in load
    self.require(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2472, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution was not found and is required by the application
 * ERROR: dev-python/pyparsing-2.4.7-r1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2823:  Called distutils-r1_src_compile
 *   environment, line 1121:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  424:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2494:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2024:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2022:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  729:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1112:  Called distutils-r1_python_compile
 *   environment, line  972:  Called esetup.py 'build' '-j' '7'
 *   environment, line 1559:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 *
 * If you need support, post the output of `emerge --info '=dev-python/pyparsing-2.4.7-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pyparsing-2.4.7-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pyparsing-2.4.7-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyparsing-2.4.7-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pyparsing-2.4.7-r1/work/pyparsing-pyparsing_2.4.7'
 * S: '/var/tmp/portage/dev-python/pyparsing-2.4.7-r1/work/pyparsing-pyparsing_2.4.7'

>>> Failed to emerge dev-python/pyparsing-2.4.7-r1, Log file:


Reproducible: Always




emerge --info '=dev-python/pyparsing-2.4.7-r1::gentoo'
Portage 3.0.22 (python 3.9.7-final-0, default/linux/arm64/17.0, gcc-11.2.0, glibc-2.33-r7, 5.10.34-gentoo aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.34-gentoo-aarch64-with-glibc2.33
KiB Mem:     3965836 total,    737388 free
KiB Swap:   16777396 total,  15864244 free
Head commit of repository gentoo: 5f689c2332fa0e6f89ffaf85fb17ae745e84d737

Head commit of repository audio-overlay: 67c8fbcd0681d09261860c2f1bac1e9cb8fab08e

Head commit of repository local: 6d0c4fcf6902e753b171d7d89ed052052dc40dfe

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          3.9.7::gentoo, 3.10.0_rc1_p2::gentoo
dev-util/cmake:           3.21.2::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

audio-overlay
    location: /var/portage/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-audio/audio-overlay.git
    masters: gentoo

local
    location: /usr/local/portage
    sync-type: git
    sync-uri: /data/nas/xavier/git_repos/local_overlay.git/
    masters: gentoo

crossdev
    location: /data/nas/xavier/portage/helios64/var/db/repos/crossdev
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE as-is freedist"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j7 -l7"
PKGDIR="/var/portage/packages"
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"
USE="arm64 bzip2 cli crypt dri exif gif headless-awt iconv jpeg libglvnd libtirpc mysql ncurses nls nptl openmp openssl pcre pdf png pnm readline seccomp split-usr sqlite ssl system-bootstrap system-llvm tcpd tiff truetype unicode xattr zlib" ADA_TARGET="gnat_2018" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr nl" 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="php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="fbdev 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Xavier Miller 2021-09-06 07:47:45 UTC
Created attachment 737857 [details]
build log
Comment 2 Xavier Miller 2021-09-06 07:50:13 UTC
same error with cython:

>>> Emerging (4 of 17) dev-python/cython-0.29.24-r1::gentoo
 * cython-0.29.24.gh.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking cython-0.29.24.gh.tar.gz to /var/tmp/portage/dev-python/cython-0.29.24-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/cython-0.29.24-r1/work
>>> Preparing source in /var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24 ...
 * Applying cython-0.29.22-spawn-multiprocessing.patch ...                                                                                                                  [ ok ]
 * Applying cython-0.29.23-test_exceptions-py310.patch ...                                                                                                                  [ ok ]
 * Applying cython-0.29.24-unaligned-format.patch ...                                                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24 ...
 * python3_9: running distutils-r1_run_phase python_compile
python3.9 setup.py build -j 14
Unable to find pgen, not compiling formal grammar.
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24/setup.py", line 228, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.9/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 455, in __init__
    _Distribution.__init__(self, {
  File "/usr/lib/python3.9/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 806, in finalize_options
    for ep in sorted(eps, key=by_order):
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 805, in <lambda>
    eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2449, in load
    self.require(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2472, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution was not found and is required by the application
 * ERROR: dev-python/cython-0.29.24-r1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 3069:  Called distutils-r1_src_compile
 *   environment, line 1166:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  484:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2719:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2223:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2221:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line  776:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 1159:  Called python_compile
 *   environment, line 2489:  Called distutils-r1_python_compile
 *   environment, line 1019:  Called esetup.py 'build' '-j' '14'
 *   environment, line 1758:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 *
 * If you need support, post the output of `emerge --info '=dev-python/cython-0.29.24-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/cython-0.29.24-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/cython-0.29.24-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/cython-0.29.24-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24'
 * S: '/var/tmp/portage/dev-python/cython-0.29.24-r1/work/cython-0.29.24'

>>> Failed to emerge dev-python/cython-0.29.24-r1, Log file:

>>>  '/var/tmp/portage/dev-python/cython-0.29.24-r1/temp/build.log'
Comment 3 Mike Gilbert gentoo-dev 2021-09-06 13:32:43 UTC
I suspect you need to follow the instructions in this news item.

https://www.gentoo.org/support/news-items/2021-09-05-setuptools_scm-6_3_0-temporary-breakage.html
Comment 4 Xavier Miller 2021-09-06 15:19:55 UTC
(In reply to Mike Gilbert from comment #3)
> I suspect you need to follow the instructions in this news item.
> 
> https://www.gentoo.org/support/news-items/2021-09-05-setuptools_scm-6_3_0-
> temporary-breakage.html

Indeed!

Thank you for pointing out the news item, the issus is resolved by applying the news instructions.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-06 16:01:41 UTC

*** This bug has been marked as a duplicate of bug 811504 ***