Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878081 - app-emulation/waydroid::guru: installs stray "tools" Python package
Summary: app-emulation/waydroid::guru: installs stray "tools" Python package
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-23 09:41 UTC by Andrija Prčić
Modified: 2022-12-20 17:23 UTC (History)
2 users (show)

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


Attachments
log from failed emerge dev-python/pyqtgraph process (build.log,3.12 KB, text/x-log)
2022-10-23 09:43 UTC, Andrija Prčić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrija Prčić 2022-10-23 09:41:02 UTC
emerge dev-python/pyqtgraph fails. This is a dependency pulled in by net-wireless/gnuradio with the filter USE flag, which is enabled by default.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/pyqtgraph

Actual Results:  
Package fails to install

Expected Results:  
Package is installed

I currently have =dev-python/pyqtgraph-0.12.4 installed, but reinstalling that varion fails with the same error.


emerge --info dev-python/pyqtgraph

Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r5, 5.19.16-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.19.16-gentoo-dist-x86_64-AMD_Ryzen_7_1700_Eight-Core_Processor-with-glibc2.36
KiB Mem:    32818280 total,  25866884 free
KiB Swap:    8204284 total,   8204284 free
Timestamp of repository gentoo: Sun, 23 Oct 2022 09:00:01 +0000
Head commit of repository gentoo: 09350b43b8c59318b073ae3fb6e9bae79e04806d
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
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::gentoo
dev-lang/python:           3.10.8::gentoo
dev-lang/rust:             1.64.0-r1::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r3::gentoo, 2.71-r4::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.6-r1::gentoo, 15.0.3::gentoo
sys-devel/gcc:             12.2.1_p20221008::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             13.0.1-r1::gentoo, 14.0.6-r1::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.6-r2::gentoo, 15.0.3::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: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

local
    location: /usr/local/portage
    masters: gentoo

brave-overlay
    location: /var/lib/layman/brave-overlay
    masters: gentoo
    priority: 50

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

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

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

pgadmin4-test
    location: /var/lib/layman/pgadmin4-test
    masters: gentoo
    priority: 50

plex-overlay
    location: /var/lib/layman/plex-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

Installed sets: @esteam
ACCEPT_KEYWORDS="amd64 ~amd64"
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"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/mnt/hddroot/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks --keep-going --with-bdeps=y --jobs 3 --load-average 6"
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="-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="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 -l8"
PKGDIR="/mnt/hddroot/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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdinstall cdr cli crypt cups dbus declarative dist-kernel dri dts dvd dvdr elogind encode exif faudio fftw flac flatpak fluidsynth fortran gdbm gif gpm grub gtk gui harfbuzz iconv icu introspection ipv6 jpeg jpeg2k jumbo-build kde kwallet lcms libglvnd libnotify libtirpc lzma mad midi mng modplug mp3 mp4 mpeg multilib musicbrainz ncurses networkmanager nls nptl nss offensive ogg opengl openmp opus pam pango pcre pdf pipewire plasma png policykit ppds qml qt5 readline rtlsdr sdl seccomp sox spell split-usr ssl startup-notification svg system-llvm taglib test-rust theora tiff truetype udev udisks unicode upower usb v4l vkd3d vorbis vulkan wayland webp widevine widgets wxwidgets x264 x265 xattr xcb xml xv xvid zlib zsh-completion zstd" ABI_X86="64 32" 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 rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="gnutls" 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" 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_10" QEMU_USER_TARGETS="arm aarch64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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, 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

=================================================================
                        Package Settings
=================================================================

dev-python/pyqtgraph-0.12.4::gentoo was built with the following:
USE="opengl svg -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
FEATURES="merge-sync ipc-sandbox binpkg-logs unmerge-logs pid-sandbox userpriv usersync strict userfetch preserve-libs usersandbox distlocks protect-owned unmerge-orphans unknown-features-warn buildpkg-live ebuild-locks news assume-digests sandbox parallel-fetch sfperms fixlafiles qa-unresolved-soname-deps network-sandbox binpkg-docompress xattr binpkg-multi-instance config-protect-if-modified multilib-strict binpkg-dostrip"
Comment 1 Andrija Prčić 2022-10-23 09:43:07 UTC
Created attachment 825113 [details]
log from failed emerge dev-python/pyqtgraph process
Comment 2 Andrija Prčić 2022-11-05 13:54:11 UTC
Upon further inspection, it turns out that the import error was caused by app-emulation/waydroid from the guru overlay, which installed files directly in /usr/lib/python3.10/site-packages/tools instead of adding a waydroid directory there. Removing the waydroid package makes pyqtgraph install correctly, tested with both the new and the previous versions.

You can reject this bug, since the problem is not within the dev-python/pyqtgraph package, as initially reported.
Comment 3 Reva Denis 2022-12-18 15:42:39 UTC
Ok, accepted. I'll try to fix that in waydroid-1.3.4-r1
Comment 4 Larry the Git Cow gentoo-dev 2022-12-20 17:23:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d94f874253b808e4a36bca497b0bd4c498954a09

commit d94f874253b808e4a36bca497b0bd4c498954a09
Author:     Denis Reva <denis7774@gmail.com>
AuthorDate: 2022-12-20 12:17:30 +0000
Commit:     Denis Reva <denis7774@gmail.com>
CommitDate: 2022-12-20 12:17:30 +0000

    app-emulation/waydroid: Bug fixes: fixed mimeinfo update and closes fixed in previous version bug
    
    Closes: https://bugs.gentoo.org/878081
    Closes: https://bugs.gentoo.org/887295
    Bug: https://bugs.gentoo.org/834025
    Signed-off-by: Denis Reva <denis7774@gmail.com>

 .../{waydroid-1.3.4-r4.ebuild => waydroid-1.3.4-r5.ebuild}     | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)