Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857609 - dev-util/pkgcheck does not build, any version
Summary: dev-util/pkgcheck does not build, any version
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-11 12:48 UTC by Joakim Tjernlund
Modified: 2022-07-11 12:52 UTC (History)
0 users

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 Joakim Tjernlund 2022-07-11 12:48:22 UTC
writing byte-compilation script '/var/tmp/portage/dev-util/pkgcheck-0.10.11/temp/tmp8q6mkdgc.py'
/usr/bin/python3.8 /var/tmp/portage/dev-util/pkgcheck-0.10.11/temp/tmp8q6mkdgc.py
removing /var/tmp/portage/dev-util/pkgcheck-0.10.11/temp/tmp8q6mkdgc.py
writing byte-compilation script '/var/tmp/portage/dev-util/pkgcheck-0.10.11/temp/tmp4seg4d5m.py'
/usr/bin/python3.8 /var/tmp/portage/dev-util/pkgcheck-0.10.11/temp/tmp4seg4d5m.py
removing /var/tmp/portage/dev-util/pkgcheck-0.10.11/temp/tmp4seg4d5m.py
running install_data
/usr/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
Traceback (most recent call last):
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/objects.py", line 83, in _dict
    result = getattr(_defaults, self._attr)
AttributeError: 'object' object has no attribute 'KEYWORDS'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 186, in <module>
    setup(**dict(
  File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 1229, in run_command
    super().run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 44, in run
    super().run()
  File "/usr/lib/python3.8/site-packages/snakeoil/dist/distutils_extensions.py", line 860, in run
    super().run()
  File "/usr/lib/python3.8/site-packages/setuptools/command/install.py", line 68, in run
    return orig.install.run(self)
  File "/usr/lib/python3.8/distutils/command/install.py", line 557, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 1229, in run_command
    super().run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 134, in run
    self._generate_files()
  File "setup.py", line 139, in _generate_files
    from pkgcheck import base, objects
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/__init__.py", line 3, in <module>
    from .api import keywords, scan
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/api.py", line 9, in <module>
    from . import objects
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/objects.py", line 188, in <module>
    KEYWORDS = _KeywordsLazyDict('KEYWORDS', ('checks', 'results.Result'))
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/objects.py", line 78, in __init__
    self._dict
  File "/usr/lib/python3.8/site-packages/snakeoil/klass.py", line 176, in __get__
    obj = self.function(instance)
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/objects.py", line 85, in _dict
    result = _find_obj_classes(*self._func_args)
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/objects.py", line 47, in _find_obj_classes
    module = import_module(f'.{module_name}', 'pkgcheck')
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/checks/__init__.py", line 10, in <module>
    from .. import addons, base, feeds, runners, sources
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/feeds.py", line 3, in <module>
    from . import base, sources
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/sources.py", line 18, in <module>
    from .addons.eclass import Eclass, EclassAddon
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/addons/eclass.py", line 48, in <module>
    class EclassAddon(caches.CachedAddon):
  File "/var/tmp/portage/dev-util/pkgcheck-0.10.11/work/pkgcheck-0.10.11-python3_8/src/pkgcheck/addons/eclass.py", line 53, in EclassAddon
    version=EclassDoc.ABI_VERSION)
AttributeError: type object 'EclassDoc' has no attribute 'ABI_VERSION'
 * ERROR: dev-util/pkgcheck-0.10.11::gentoo failed (install phase):
 *   (no error message)
Comment 1 Joakim Tjernlund 2022-07-11 12:48:45 UTC
emerge --info
Portage 3.0.31 (python 3.8.13-final-0, default/linux/amd64/17.1/desktop, gcc-11.3.0, glibc-2.34-r13, 5.15.48-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.15.48-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-8086K_CPU_@_4.00GHz-with-glibc2.34
KiB Mem:    16244280 total,    833500 free
KiB Swap:    4194300 total,   1842428 free
Timestamp of repository gentoo: Mon, 11 Jul 2022 12:16:36 +0000
Head commit of repository gentoo: a32e01083e10c2c97cb552261bf615b22dba0de1

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-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           2.7.18_p15::gentoo, 3.8.13_p2::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/lld:             14.0.4::gentoo
sys-devel/llvm:            13.0.1::gentoo, 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.34-r13::gentoo
Repositories:

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

mate-de-gentoo
    location: /var/lib/layman/mate-de-gentoo
    sync-type: laymansync
    sync-uri: https://github.com/oz123/mate-de-gentoo.git
    masters: gentoo
    priority: 50

jockes_overlay
    location: /usr/local/portage/jocke
    masters: gentoo
    priority: 90

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE ubiquiti free-noncomm SSPL-1 MSttfEULA ms-teams-pre broadcom_bcm20702 GitHub google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -Wno-error -fno-stack-check -Wno-deprecated-declarations"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf /var/lib/unifi"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage/package.keywords/zzzautounmask /etc/portage/package.unmask/zzzautounmask /etc/portage/package.use/zzzautounmask /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -Wno-error -fno-stack-check -Wno-deprecated-declarations"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-continue=y --autounmask-write=y --autounmask-use=y --jobs=6 --keep-going --with-bdeps=y --dynamic-deps=n --complete-graph n"
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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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 -pipe"
GENTOO_MIRRORS="https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://mirror.bytemark.co.uk/gentoo/distfiles/"
INSTALL_MASK="/usr/lib64/libnssckbi.so /usr/lib/libnssckbi.so"
LANG="en_DK.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en sv en_GB sv_SE"
MAKEOPTS="-j8 -l6 -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 accessibility acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo caja cdda chromium cli crypt cups dbus dri dri3 dts dvd dvdr elogind emacs encode exif ffmpeg flac fontconfig foomatic fortran gbm gdbm gif glamor gnome-keyring gpm gtk gtk3 gui harfbuzz hwaccel iconv icu inspector introspection ipp_autosetup ipv6 jpeg lcms libglvnd libnotify libtirpc mad minizip mmx mng modemmanager mp3 mp4 mpeg mtp multilib native-extensions natspec ncurses nls nptl ogg opengl openmp openrc openssl pam pango pclm pcre pdf png policykit ppds pulseaudio python qemu qt5 readline resolvconf sdl seccomp sound spell split-usr sse sse2 sse4 sse4_1 ssh ssl ssse3 startup-notification svg sync-plugin-portage system-bootstrap system-cairo system-libvpx system-llvm tiff truetype udev udisks unicode upower usb utils vaapi vala virtualbox vorbis vulkan wc-mmap wiimote wxwidgets x264 x265 xattr xcb xml xv xvid 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 avx2 f16c fma3 mmx mmxext pclmul popcnt 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" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en sv en-GB sv-SE" 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="php5-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, 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
Comment 2 Joakim Tjernlund 2022-07-11 12:52:05 UTC
OOPS, I had old -9999 versions of snakeoil/pkgcore. Sorry for the noise.