Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gemato fails to build: 'extras_require' must be a dictionary
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kevinpinscoe
n00b
n00b


Joined: 08 Jun 2018
Posts: 2

PostPosted: Fri Jun 08, 2018 11:11 pm    Post subject: gemato fails to build: 'extras_require' must be a dictionary Reply with quote

Hello,

Can anyone help me with next steps. First time with gemato pulled in by portage-2.3.40-r1.

Code:
>>> Compiling source in /var/tmp/portage/app-portage/gemato-13.0-r1/work/gemato-13.0 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
python2.7 setup.py build
error in gemato setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
 * ERROR: app-portage/gemato-13.0-r1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 2569:  Called distutils-r1_src_compile
 *   environment, line  773:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  304:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2112:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1487:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1485:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  507:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  764:  Called distutils-r1_python_compile
 *   environment, line  639:  Called esetup.py 'build'
 *   environment, line 1032:  Called die

emerge --info '=app-portage/gemato-13.0-r1::gentoo'
Portage 2.3.24 (python 2.7.14-final-0, default/linux/x86/17.0/desktop, gcc-6.4.0, glibc-2.25-r11, 4.14.8-gentoo-r1 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.8-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.4.1
KiB Mem:     1017968 total,    158032 free
KiB Swap:    2008120 total,   1905720 free
Timestamp of repository gentoo: Fri, 08 Jun 2018 12:30:01 +0000
Head commit of repository gentoo: 6e0db6f8464a58f7a3805210e33429fc36a93b61
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/gnupg/qualified.txt /var/bind"
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.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 X509 a52 aac accessibility acl acpi alsa apache2 asterisk avi ban branding bzip2 cdda cddb cjk cli colordiff compress consolekit ctrls curl cxx dbus dell dia dts dvd examples excel exif extras f77 fbcon festival filter flac flash flv font-server fontconfig fortran fortran95 freetds freetts gd gdbm geos gif gimp git glamor gmail gnuplot gpg gpgme gpm gps gs gtk gzip html ical icecast iconv id3 imagemagick ipod ipv6 jabber java java5 javacomm javamail javascript jpeg json kdecards lcms libffi libnotify libtirpc libwww log4j logrotate logwatch loop-aes lyx mgetty mime mimencode mmx mng mod_python module modules mozdevelop mp3 mp4 mpeg msn mssql multislot multiuser music mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nat ncurses net netboot netmeeting network networking nfs nls nptl nsplugin ntp numeric nut objc offensive office ogg oggvorbis opengl openssl pam pango patch pcap pcapnav pcre pda pdf pdflib pdo pentium perforce perfprofiling php pidgin planner png pnp policykit postfix ppds procmail profile proj projectx ps publishers qt5 quicktime rar raw raw-mode rc5 rdesktop readline realmedia regex resolvconf rrdtool rss sample scanner schedule screen screenshot script scripting scrobbler sdk sdl seccomp serial server sftp shared sharelib shout simplexml sip sipim skey skins slang smime sms snmp soap sockets speech spell sse ssl startup-notification stats stream svg swat syslog system-libvncserver sysvipc tcl tcltk tftp tga themes threads thumbnail tiff tk tls tools truetype udev udisks underscores unicode unzip upower usb user-homedirs utempter utils uuencode vcd vcdx vhosts videos vim vim-syntax vnc vncviewer vorbis wav webdav wireshark wma wmf wmp wordexp wxwidgets x11vnc x264 x86 xattr xcb xface xfce xhtml xinetd xml xmldoclet xmlreader xmlrpc xpm xprint xscreensaver xslt xterm xulrunner xv xvid xvnc zip zlib" ABI_X86="32" ALSA_CARDS="snd-intel8x0" APACHE2_MODULES="access access_compat compat socache_shmcb auth_basic authn_core authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_owner authz_user auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authnz_ldap authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authnz_ldap authz_host access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache filter ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include mod_cgi cgi cgid vhost-alias vhost_alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so unique_id dav dav_fs dav_lock dav_svn" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
kevinpinscoe
n00b
n00b


Joined: 08 Jun 2018
Posts: 2

PostPosted: Fri Jun 08, 2018 11:14 pm    Post subject: Reply with quote

Code:
emerge -pqv '=app-portage/gemato-13.0-r1::gentoo'

[ebuild  N    ] app-portage/gemato-13.0-r1  USE="blake2 bzip2 gpg tools -lzma -sha3 {-test}" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6 (-pypy)"

build.log:

Code:
* Package:    app-portage/gemato-13.0-r1
 * Repository: gentoo
 * Maintainer: mgorny@gentoo.org
 * Upstream:   https://github.com/mgorny/gemato/issues/
 * USE:        abi_x86_32 blake2 bzip2 elibc_glibc gpg kernel_linux python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 tools userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gemato-13.0.tar.gz to /var/tmp/portage/app-portage/gemato-13.0-r1/work
>>> Source unpacked in /var/tmp/portage/app-portage/gemato-13.0-r1/work
>>> Preparing source in /var/tmp/portage/app-portage/gemato-13.0-r1/work/gemato-13.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-portage/gemato-13.0-r1/work/gemato-13.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-portage/gemato-13.0-r1/work/gemato-13.0 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
python2.7 setup.py build
error in gemato setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
 * ERROR: app-portage/gemato-13.0-r1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 2569:  Called distutils-r1_src_compile
 *   environment, line  773:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  304:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2112:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1487:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1485:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  507:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  764:  Called distutils-r1_python_compile
 *   environment, line  639:  Called esetup.py 'build'
 *   environment, line 1032:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 *
 * If you need support, post the output of `emerge --info '=app-portage/gemato-13.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-portage/gemato-13.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-portage/gemato-13.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-portage/gemato-13.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-portage/gemato-13.0-r1/work/gemato-13.0'
 * S: '/var/tmp/portage/app-portage/gemato-13.0-r1/work/gemato-13.0'


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Jun 09, 2018 12:01 am    Post subject: Reply with quote

https://bugs.gentoo.org/657080
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ATA
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2006
Posts: 80
Location: Germany

PostPosted: Fri Feb 22, 2019 7:34 pm    Post subject: Reply with quote

mentioned bug report fixed the issue for me as well.

Comment 16 was the key:

Quote:
Marcel Schilling 2018-06-02 10:04:14 UTC
I temporarily moved away /usr/lib64/python2.7/site-packages/distribute-0.6.49-py2.7.egg, installed pip via

sudo emerge -1 pip
...



(i did not need to move the egg back after that)

Portage and gemato were able to be updated after the change just fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum