Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 746176 - x11-misc/sunflower-0.4_p20200716-r1 requires x11-libs/vte:2.91 as BDEPEND
Summary: x11-misc/sunflower-0.4_p20200716-r1 requires x11-libs/vte:2.91 as BDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Piotr Karbowski (RETIRED)
URL:
Whiteboard:
Keywords:
: 755920 789480 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-02 17:59 UTC by Michelangelo Scopelliti
Modified: 2022-07-17 21:37 UTC (History)
2 users (show)

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


Attachments
build log (sunflower-0.4_p20200716-r1:20201002-175234.log.gz,1.96 KB, application/gzip)
2020-10-02 18:00 UTC, Michelangelo Scopelliti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michelangelo Scopelliti 2020-10-02 17:59:11 UTC
emerge sunflower fails with error

python3.7 setup.py build -j 9
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    version=get_version(),
  File "setup.py", line 11, in get_version
    from sunflower.gui.main_window import MainWindow
  File "/var/tmp/portage/x11-misc/sunflower-0.4_p20200716-r1/work/sunflower-0.4_p20200716/sunflower/gui/main_window.py", line 25, in <module>
    from sunflower.associations import AssociationManager
  File "/var/tmp/portage/x11-misc/sunflower-0.4_p20200716-r1/work/sunflower-0.4_p20200716/sunflower/associations.py", line 13, in <module>
    from sunflower.plugin_base.terminal import TerminalType
  File "/var/tmp/portage/x11-misc/sunflower-0.4_p20200716-r1/work/sunflower-0.4_p20200716/sunflower/plugin_base/terminal.py", line 4, in <module>
    gi.require_version('Vte', '2.91')
  File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Vte not available

(see build.log)

Reproducible: Always




emerge --info

Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r2, 5.8.12 x86_64)
=================================================================
System uname: Linux-5.8.12-x86_64-Intel-R-_Core-TM-_i7-7700_CPU_@_3.60GHz-with-gentoo-2.7
KiB Mem:    32592396 total,  18162512 free
KiB Swap:   33554428 total,  33554428 free
Head commit of repository gentoo: c3ca2b2d6cee6c9343db56749f00a504f2a50112

Head commit of repository libressl: 40e2ec24a753a94dbac9b2719ddee998c908563c

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p1) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0_rc2::gentoo
dev-util/cmake:           3.18.3::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.35.1::gentoo
sys-devel/gcc:            10.2.0-r2::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

kernelpanic
    location: /var/db/repos/kernelpanic
    masters: gentoo
    priority: 0

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-march=native -mtune=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"
FCFLAGS="-march=native -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup clean-logs compress-build-logs config-protect-if-modified distlocks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
MAKEOPTS="-j9"
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"
USE="X a52 aac acl acpi alsa amd64 ao berkdb blas bluray branding bzip2 cairo cdda cjk clang cli crypt cups curl dbus djvu dri dvb dvd elogind encode eselect-ldso exif ffmpeg fftw flac fontconfig fortran gdbm gif gimp gmp gnome-keyring gsm harfbuzz heif iconv icu imlib inotify ipv6 jbig jemalloc jit jpeg jpeg2k ladspa lapack latex lcms libass libglvnd libnotify libressl libtirpc lto lv2 lz4 lzma lzo mms mng mp3 mpeg multilib natspec ncurses nls nptl nss offensive ogg openal opencl opencv openexr opengl openmp opus pam pango pcre pdf plotutils png policykit postproc postscript pulseaudio raw readline scanner seccomp smp sndfile sound sox speex spell spice split-usr ssl svg theora threads tiff truetype udev udisks unicode usb vaapi vim-syntax vorbis vpx vulkan wavpack webp wmf x264 xattr xcb xcomposite xml xmp xpm xv xvid zip zlib zstd" 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 avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" 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="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby27" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965 iris" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michelangelo Scopelliti 2020-10-02 18:00:26 UTC
Created attachment 663556 [details]
build log
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2020-10-02 21:26:40 UTC
Will try to fix that and push upstream, for sure I do not want to add vte into BDEPEND. Should be simple fix, just move version outside and import in instead of the MainWindow in setup.py.
Comment 3 Toralf Förster gentoo-dev 2021-07-26 19:53:28 UTC
*** Bug 755920 has been marked as a duplicate of this bug. ***
Comment 4 Toralf Förster gentoo-dev 2021-07-26 19:54:19 UTC
*** Bug 789480 has been marked as a duplicate of this bug. ***
Comment 5 Toralf Förster gentoo-dev 2022-07-11 16:11:29 UTC
(In reply to Piotr Karbowski from comment #2)
> Should be simple fix, just ...

And ;) ?
Comment 6 Piotr Karbowski (RETIRED) gentoo-dev 2022-07-11 20:49:38 UTC
sunflower package needs a serious amount of work, will queue it for this weekend.
Comment 7 Larry the Git Cow gentoo-dev 2022-07-17 16:49:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3745c83f2885d2f0705c2a807ec984eb12265c9

commit d3745c83f2885d2f0705c2a807ec984eb12265c9
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2022-07-17 16:47:28 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2022-07-17 16:49:20 +0000

    x11-misc/sunflower: 0.5 version bump.
    
    Closes: https://bugs.gentoo.org/853850
    Closes: https://bugs.gentoo.org/835410
    Closes: https://bugs.gentoo.org/746176
    Closes: https://bugs.gentoo.org/737830
    Closes: https://github.com/gentoo/gentoo/pull/26075
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 x11-misc/sunflower/Manifest                              |  2 +-
 ...ower-0.4_p20200716-r2.ebuild => sunflower-0.5.ebuild} | 16 ++++++++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)
Comment 8 Michelangelo Scopelliti 2022-07-17 21:01:28 UTC
Well, it seems it is not fully resolved yet...
The package builds and install fine, then

$ sunflower
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.10/sunflower", line 33, in <module>
    sys.exit(load_entry_point('Sunflower==0.5', 'console_scripts', 'sunflower')())
  File "/usr/lib/python-exec/python3.10/sunflower", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/sunflower/__main__.py", line 43, in <module>
    from sunflower.gui.main_window import MainWindow
  File "/usr/lib/python3.10/site-packages/sunflower/gui/main_window.py", line 25, in <module>
    from sunflower.associations import AssociationManager
  File "/usr/lib/python3.10/site-packages/sunflower/associations.py", line 13, in <module>
    from sunflower.plugin_base.terminal import TerminalType
  File "/usr/lib/python3.10/site-packages/sunflower/plugin_base/terminal.py", line 4, in <module>
    gi.require_version('Vte', '2.91')
  File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Vte not available


Maybe DEPEND/RDEPEND instead?
Comment 9 Piotr Karbowski (RETIRED) gentoo-dev 2022-07-17 21:15:51 UTC
See, I was so focused to get it out of setup.py I forgot to add it there, will sort it out in a moment.
Comment 10 Larry the Git Cow gentoo-dev 2022-07-17 21:21:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e775bb01f2fd41e85c275fd5c12252c147bc44

commit b9e775bb01f2fd41e85c275fd5c12252c147bc44
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2022-07-17 21:20:49 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2022-07-17 21:21:06 +0000

    x11-misc/sunflower: 0.5-r1: runtime dep on vte.
    
    Bug: https://bugs.gentoo.org/746176
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 x11-misc/sunflower/{sunflower-0.5.ebuild => sunflower-0.5-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)
Comment 11 Michelangelo Scopelliti 2022-07-17 21:37:24 UTC
(In reply to Piotr Karbowski from comment #9)
> See, I was so focused to get it out of setup.py I forgot to add it there,
> will sort it out in a moment.

Thanks!