Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770424 - dev-python/olefile has undeclared dependency on sphinxcontrib-qthelp
Summary: dev-python/olefile has undeclared dependency on sphinxcontrib-qthelp
Status: RESOLVED INVALID
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-02-14 01:44 UTC by Michael Mounteney
Modified: 2021-02-14 13:36 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 Michael Mounteney 2021-02-14 01:44:43 UTC
>>> Emerging (52 of 453) dev-python/olefile-0.46-r1::gentoo
>>> Failed to emerge dev-python/olefile-0.46-r1, Log file:
>>>  '/home/portage/dev-python/olefile-0.46-r1/temp/build.log'
*** Resuming merge...
 * Package:    dev-python/olefile-0.46-r1
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 doc elibc_glibc kernel_linux python_targets_pypy3 python_targets_python3_8 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * pypy3: running distutils-r1_run_phase distutils-r1_python_compile
pypy3 setup.py build -j 2
running build
running build_py
creating /home/portage/dev-python/olefile-0.46-r1/work/olefile-0.46-pypy3/lib/olefile
copying olefile/olefile.py -> /home/portage/dev-python/olefile-0.46-r1/work/olefile-0.46-pypy3/lib/olefile
copying olefile/__init__.py -> /home/portage/dev-python/olefile-0.46-r1/work/olefile-0.46-pypy3/lib/olefile
warning: build_py: byte-compiling is disabled, skipping.

 * python3_8: running distutils-r1_run_phase distutils-r1_python_compile
python3.8 setup.py build -j 2
running build
running build_py
creating /home/portage/dev-python/olefile-0.46-r1/work/olefile-0.46-python3_8/lib/olefile
copying olefile/olefile.py -> /home/portage/dev-python/olefile-0.46-r1/work/olefile-0.46-python3_8/lib/olefile
copying olefile/__init__.py -> /home/portage/dev-python/olefile-0.46-r1/work/olefile-0.46-python3_8/lib/olefile
warning: build_py: byte-compiling is disabled, skipping.

 * Using python3.8 in global scope
 * python3_8: running distutils-r1_run_phase python_compile_all
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.8/sphinx-build", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sphinxcontrib-qthelp' distribution was not found and is required by Sphinx
 * ERROR: dev-python/olefile-0.46-r1::gentoo failed (compile phase):
 *   (no error message)
Comment 1 Michael Mounteney 2021-02-14 01:45:07 UTC
pingala ~ # emerge --info
Portage 3.0.12 (python 3.8.7-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-9.3.0, glibc-2.32-r7, 5.4.13-gentoo.32.efi x86_64)
=================================================================
System uname: Linux-5.4.13-gentoo.32.efi-x86_64-Intel-R-_Core-TM-_i7-2760QM_CPU_@_2.40GHz-with-glibc2.2.5
KiB Mem:    16290404 total,   5028520 free
KiB Swap:   20969468 total,  20969468 free
Timestamp of repository gentoo: Wed, 10 Feb 2021 02:00:01 +0000
Head commit of repository gentoo: 703d753d49c938a1340adf0d4ea9dd42db88ce0d
Timestamp of repository haskell: Tue, 09 Feb 2021 18:23:19 +0000
Head commit of repository haskell: de7f5f201a2fb912ead6ec956bd4b73c9632b7f5

Timestamp of repository wine: Sun, 31 Jan 2021 20:48:43 +0000
Head commit of repository wine: 3eccfb71052043d9287476e722ce4b01b29134bf

sh bash 5.1_p4
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.0-r1::gentoo
dev-lang/python:          2.7.18-r6::gentoo, 3.6.12-r1::gentoo, 3.7.9::gentoo, 3.8.7::gentoo, 3.9.1::gentoo
dev-util/cmake:           3.19.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

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

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

dlang
    location: /var/lib/layman/dlang
    masters: gentoo
    priority: 50

zugaina
    location: /var/lib/layman/zugaina
    masters: gentoo
    priority: 50

Installed sets: @Cinna-desktop, @base, @laptop, @linux-firmware, @michael, @nvidia-optimus, @uefi, @wayland, @work
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-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="-pipe -O2 -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --verbose-conflicts --quiet --update --changed-use --autounmask=n --autounmask-write=n --deep"
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="-pipe -O2 -march=native -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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"
FFLAGS="-pipe -O2 -march=native -fomit-frame-pointer"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo ftp://mirror.pacific.net.au/linux/Gentoo "
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/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="X a52 aac acl acpi activities ada aio alsa amd64 apache2 apci autoipd avahi berkdb bluetooth branding bzip2 cairo caps cdda cdr cjk cli colord context crypt cryptsetup cups dbus declarative detex disk-partition doc down-root dri dri3 dts dv dvb dvd dvdr dvi2tty emboss encode epspdf exif extras fdt flac fontconfig foomatic fortran freerdp gbm gd gdbm gif git glamor glibc-omitfp gnat_2018 gnome-keyring gnutls gpm graphics gstreamer gtk gtk3 gui humanities iconv icu imap inotify ipmi iproute2 jadetex jpeg jpeg2k kipi kms kpathsea lame laptop latex lcms ldap libglvnd libnotify libtirpc litehtml luatex lz4 lzma lzo mad mbedtls mercurial metapost mmap mms mng mp3 mp4 mpeg msn mtp multilib musepack music ncurses networkmanager nfs nfsv41 nls nntp npp nptl nsplugin obex odbc ogg openexr opengl openmp oscar oss pam pango pcre pdf pdfannotextractor pdo phonon plasma plugins png policykit postgres ppds ppp pstricks publishers pulseaudio qml qt5 quicktime rdesktop readline real rss sasl science sdl sdl2 seccomp semantic-desktop slang smime sna spam-report spamassassin spell spice split-usr sql ssh ssl startup-notification subversion svg systemd taglib tcpd tex4ht texi2html theora threads tiff truetype udev udisks unicode upower usb uxa v4l2 vcd vim-syntax vnc vorbis wavpack wayland widgets wifi win32codecs wmf wxwidgets x264 xattr xcb xcomposite xetex xface xine xml xmp xnest xpm xv xvid yahoo zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="synaptics evdev" KERNEL="linux" L10N="en en-GB" 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-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 pypy3" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Michael Mounteney 2021-02-14 02:19:58 UTC
also: sphinxcontrib-serializinghtml
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-14 02:26:42 UTC
I don't see a mention of qthelp anywhere, I do see this though:

https://github.com/decalage2/olefile/blob/v0.46/doc/conf.py#L93

if not on_rtd:  # only import and set the theme if we're building docs locally
    import sphinx_rtd_theme
    html_theme = 'sphinx_rtd_theme'
    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-14 02:28:33 UTC
Is your system fully up to date (emerge --sync then emerge -a -uvDU @world) and depcleaned (emerge -ac), out of interest?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-14 02:29:27 UTC
(In reply to Sam James from comment #4)
> Is your system fully up to date (emerge --sync then emerge -a -uvDU @world)
> and depcleaned (emerge -ac), out of interest?

(The packages you've mentioned are all deps of sphinx itself, so something is wrong on your system, it seems.)
Comment 6 Michael Mounteney 2021-02-14 02:30:30 UTC
No;  my system is not up to date;  I am trying to update it having switched from KDE to Cinnamon.
Comment 7 Michael Mounteney 2021-02-14 02:31:21 UTC
also: sphinxcontrib-htmlhelp
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-14 06:19:19 UTC
We need to figure out why your system lacks the Sphinx deps.

Been using -C?
Comment 9 Michael Mounteney 2021-02-14 08:26:19 UTC
Yes, I have been using -C

but if the olefile's ebuild specified all of its dependencies, that wouldn't matter.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-14 13:36:08 UTC
(In reply to Michael Mounteney from comment #9)
> Yes, I have been using -C
> 
> but if the olefile's ebuild specified all of its dependencies, that wouldn't
> matter.

I already said: the packages you mention are deps of Sphinx which it does depend on via distutils_enable_docs.