Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-python/mock-2.0.0 - lässt sich nicht installieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
mquadrat
n00b
n00b


Joined: 03 May 2017
Posts: 4

PostPosted: Wed May 03, 2017 12:04 pm    Post subject: dev-python/mock-2.0.0 - lässt sich nicht installieren Reply with quote

Ich bitte Dringend um Hilfe :oops:

Hier die Informationen:

Code:
>>> Emerging (1 of 25) dev-python/mock-2.0.0::gentoo
 * mock-2.0.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                            [ ok ]
>>> Unpacking source...
>>> Unpacking mock-2.0.0.tar.gz to /var/tmp/portage/dev-python/mock-2.0.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/mock-2.0.0/work
>>> Preparing source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
ERROR:root:Error parsing
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pbr/core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 248, in cfg_to_args
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
  File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
AttributeError: 'module' object has no attribute 'evaluate_marker'
error in setup command: Error parsing /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
 * ERROR: dev-python/mock-2.0.0::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 2614:  Called distutils-r1_src_compile
 *   environment, line  753:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  295:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2145:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1453:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1451:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  486:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  744:  Called distutils-r1_python_compile
 *   environment, line  619:  Called esetup.py 'build'
 *   environment, line  998:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/mock-2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/mock-2.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/buildlog/dev-python:mock-2.0.0:20170503-115157.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/mock-2.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/mock-2.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0'
 * S: '/var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0'

>>> Failed to emerge dev-python/mock-2.0.0, Log file:

>>>  '/var/log/portage/buildlog/dev-python:mock-2.0.0:20170503-115157.log'


Output von emerge --info '=dev-python/mock-2.0.0::gentoo'
Quote:
Portage 2.3.5 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-4.9.4, glibc-2.23-r3, 4.9.22 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.9.22-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem: 16340300 total, 3919376 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of repository gentoo: Wed, 03 May 2017 04:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p48-r1::gentoo
dev-lang/perl: 5.24.1-r1::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.7.2::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.23.2::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo, 2.26.1::gentoo
sys-devel/gcc: 4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r3::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://de-mirror.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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="3des X aac acl aes alsa amavis amd64 apache2 apng bcmath berkdb blowfish bzip2 cal cdda cgi clamav clamd clamdtop cli color cracklib crypt curl curlwrappers cxx daemon dbus dconf declarative dovecot-sasl dri eds exif extraengine fcgi fileinfo filter flac fontconfig fortran ftp gbm gd gdbm geoip gmp gpg graph hwdb iconv icu idn imagemagick imap imapc inotify intl iproute2 iptables ipv6 ithreads jpeg json ldap libiconv libkms librrd libwww lm_sensors lua md5 md5sum mdev mencoder milter mime mimencode minizip modules mp3 mp4 mpeg mpeg2 multilib mysql mysqli ncurses nls nptl nss ntfs ntfsdecrypt ntfsprogs ogg opcache openmp openssl pam pcre pdo perl php png policykit pop pop3c postfix python qt4 quota ramfs rar readline regex regexp rpc script seccomp sendmail sensord server session sftp sha sha1 sha512 sndfile snmp sockets spamassassin sql sqlite sqlite3 ssh ssl systemd tcpd theora threads tls transcode truetype udev udisks unicode vala vorbis webdav xa xattr xml xmlrpc xmlwriter xslt xvid zip zlib" ABI_X86="64 32" 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="scgi proxy_scgi authn_core authz_core socache_shmcb access_compat actions alias asis auth_basic auth_digest unixd authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite cgi cgid dbd deflate dir disk_cache dumpio env expires ext_filter filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_ftp proxy_http rewrite setenvif speling status unique_id userdir usertrack version vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog apache ascent cgroups conntrack contextswitch cpu cpufreq curl dbi disk dns email entropy ethstat exec filecount fscache hddtemp iptables logfile lvm mbmon md memcached mysql network ntpd openvpn perl ping processes protocols python rrdcached sensors serial statsd table tail tcpconns ted thermal threshold unixsock uptime users uuid vmem" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" KERNEL="linux" L10N="de 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-0" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Ich habe das Problem seit es mock-2.0.0 im repo gibt.
Hat jemand eine Idee? :idea:

Grüße! :)
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4549
Location: Germany

PostPosted: Fri May 05, 2017 3:22 pm    Post subject: Reply with quote

Hallo, und willkommen im Forum! :)

Hm, wie sah dein emerge-Kommando von dem "Emerging (1 of 25)" aus?
Versuchst du direkt dieses dev-python/mock Paket zu mergen, oder ist dieses Paket eine Abhängigkeit von einem anderen zu mergenden Pakets?
Sind ansonsten alle Abhängigkeiten auf dem System erfüllt?

Vorschlag: Versuche es mal wie folgt:
Code:
emerge -avuDN @world -1 dev-python/mock
Back to top
View user's profile Send private message
mquadrat
n00b
n00b


Joined: 03 May 2017
Posts: 4

PostPosted: Fri May 05, 2017 5:00 pm    Post subject: Reply with quote

Josef.95 wrote:
Hallo, und willkommen im Forum! :)

Hm, wie sah dein emerge-Kommando von dem "Emerging (1 of 25)" aus?

emerge -auND world

Versuchst du direkt dieses dev-python/mock Paket zu mergen, oder ist dieses Paket eine Abhängigkeit von einem anderen zu mergenden Pakets?
Sind ansonsten alle Abhängigkeiten auf dem System erfüllt?

Quote:
Vorschlag: Versuche es mal wie folgt:
Code:
emerge -avuDN @world -1 dev-python/mock


Habe ich:
Code:
emerge -avuDN @world -1 dev-python/mock

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/mock-2.0.0::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)" 72 KiB
[ebuild     U ~] dev-python/vcrpy-1.10.5::gentoo [1.10.3::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_5" 61 KiB
[ebuild  NS    ] dev-lang/ruby-2.2.6:2.2::gentoo [2.1.9:2.1::gentoo] USE="berkdb gdbm ipv6 ncurses rdoc readline ssl -debug -doc -examples -jemalloc (-libressl) -rubytests -socks5 -tk -xemacs" 10.245 KiB
[ebuild   R    ] dev-ruby/rubygems-2.5.2::gentoo  USE="server {-test}" RUBY_TARGETS="ruby21 ruby22* (-ruby20) (-ruby23)" 465 KiB
[ebuild     U  ] virtual/rubygems-11::gentoo [10::gentoo] RUBY_TARGETS="ruby21 ruby22%* (-rbx) (-ruby20) (-ruby23)" 0 KiB
[ebuild  N     ] dev-ruby/power_assert-0.3.1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22 (-ruby20) (-ruby23)" 14 KiB
[ebuild  N     ] dev-ruby/test-unit-3.1.9:2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22 (-ruby20) (-ruby23)" 122 KiB
[ebuild   R    ] dev-ruby/rake-10.5.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22* (-ruby20) (-ruby23)" 128 KiB
[ebuild     U  ] dev-ruby/json-1.8.3::gentoo [1.8.2-r1::gentoo] USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22%* (-ruby20) (-ruby23)" 149 KiB
[ebuild  N     ] dev-ruby/minitest-5.8.4:5::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22 (-ruby20) (-ruby23)" 71 KiB
[ebuild   R    ] dev-ruby/racc-1.4.11::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22* (-ruby20)" 111 KiB
[ebuild   R    ] dev-ruby/rdoc-4.2.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22* (-ruby20)" 718 KiB
[ebuild   R    ] dev-ruby/builder-3.2.2-r1:3.2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby21 ruby22* (-ruby20) (-ruby23)" 31 KiB
[ebuild     U  ] app-admin/augeas-1.8.0::gentoo [1.7.0::gentoo] USE="-static-libs {-test}" 2.114 KiB
[ebuild     U ~] net-vpn/tor-0.3.0.6::gentoo [0.3.0.5_rc::gentoo] USE="seccomp -libressl -scrypt (-selinux) -systemd {-test} -tor-hardening -web" 5.644 KiB
[ebuild     U  ] media-sound/mpg123-1.24.0::gentoo [1.23.8::gentoo] USE="alsa ipv6 (-altivec) (-coreaudio) -int-quality -jack -nas -oss -portaudio -pulseaudio -sdl" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse (-3dnow) (-3dnowext) (-mmx)" 891 KiB
[ebuild     U  ] dev-libs/libcroco-0.6.12:0.6::gentoo [0.6.11:0.6::gentoo] USE="{-test}" ABI_X86="32 (64) (-x32)" 471 KiB
[ebuild     U ~] sys-devel/llvm-4.0.0-r2:4::gentoo [4.0.0-r1:4::gentoo] USE="doc libffi ncurses -debug -gold -libedit {-test}" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -XCore" 20.524 KiB
[ebuild     U  ] x11-libs/gdk-pixbuf-2.36.6:2::gentoo [2.36.5:2::gentoo] USE="X introspection jpeg -debug -jpeg2k {-test} -tiff" ABI_X86="32 (64) (-x32)" 5.046 KiB
[ebuild     U  ] gnome-base/librsvg-2.40.17:2::gentoo [2.40.16:2::gentoo] USE="introspection vala -tools" ABI_X86="32 (64) (-x32)" 560 KiB
[ebuild     U  ] x11-themes/adwaita-icon-theme-3.22.0-r1::gentoo [3.22.0::gentoo] USE="-branding" 17.965 KiB
[ebuild     U  ] gnome-base/gvfs-1.30.4::gentoo [1.30.3::gentoo] USE="cdda http policykit systemd udev udisks -afp -archive -bluray -fuse -gnome-keyring -gnome-online-accounts -google -gphoto2 -gtk -ios -mtp -nfs -samba {-test} -zeroconf" 1.851 KiB
[ebuild     U  ] x11-libs/gtk+-3.22.12:3::gentoo [3.22.11:3::gentoo] USE="X introspection (-aqua) -broadway -cloudprint -colord -cups -examples {-test} -vim-syntax -wayland -xinerama" ABI_X86="32 (64) (-x32)" 17.809 KiB
[ebuild     U  ] www-client/firefox-bin-45.9.0::gentoo [45.8.0::gentoo] USE="(-selinux) -startup-notification" L10N="de -ach -af -an -ar -as -ast -az -be -bg -bn-BD -bn-IN -br -bs -ca -cs -cy -da -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -fi -fr -fy -ga -gd -gl -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 51.028 KiB
[ebuild   R    ] dev-php/pecl-geoip-1.1.1-r2::gentoo  PHP_TARGETS="php5-6* -php7-0*" 13 KiB

Total: 25 packages (14 upgrades, 4 new, 1 in new slot, 6 reinstalls), Size of downloads: 136.097 KiB

Would you like to merge these packages? [Yes/No] Y


>>> Verifying ebuild manifests

>>> Emerging (1 of 25) dev-python/mock-2.0.0::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * mock-2.0.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking mock-2.0.0.tar.gz to /var/tmp/portage/dev-python/mock-2.0.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/mock-2.0.0/work
>>> Preparing source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
ERROR:root:Error parsing
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pbr/core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 248, in cfg_to_args
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
  File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
AttributeError: 'module' object has no attribute 'evaluate_marker'
error in setup command: Error parsing /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
 * ERROR: dev-python/mock-2.0.0::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 2613:  Called distutils-r1_src_compile
 *   environment, line  752:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  294:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2144:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1452:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1450:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  485:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  743:  Called distutils-r1_python_compile
 *   environment, line  618:  Called esetup.py 'build'
 *   environment, line  997:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/mock-2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/mock-2.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/buildlog/dev-python:mock-2.0.0:20170505-165349.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/mock-2.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/mock-2.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0'
 * S: '/var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0'

>>> Failed to emerge dev-python/mock-2.0.0, Log file:

>>>  '/var/log/portage/buildlog/dev-python:mock-2.0.0:20170505-165349.log'

[b]cat /var/log/portage/buildlog/dev-python:mock-2.0.0:20170505-165349.log[/b]
 * Package:    dev-python/mock-2.0.0
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mock-2.0.0.tar.gz to /var/tmp/portage/dev-python/mock-2.0.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/mock-2.0.0/work
>>> Preparing source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
[b]ERROR:root:Error parsing[/b]
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pbr/core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 248, in cfg_to_args
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
  File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
    if pkg_resources.evaluate_marker('(%s)' % env_marker):
AttributeError: 'module' object has no attribute 'evaluate_marker'
error in setup command: Error parsing /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
 * ERROR: dev-python/mock-2.0.0::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 2613:  Called distutils-r1_src_compile
 *   environment, line  752:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  294:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2144:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1452:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1450:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  485:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  743:  Called distutils-r1_python_compile
 *   environment, line  618:  Called esetup.py 'build'
 *   environment, line  997:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/mock-2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/mock-2.0.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/buildlog/dev-python:mock-2.0.0:20170505-165349.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/mock-2.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/mock-2.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0'
 * S: '/var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0'


Same Problem.
mock ist das einzige Paket welches sich nicht compillieren lässt.
Irgendwie wird dieses Paket von irgend einem anderen in den emerge prozess gezogen. :?

Mir ist das hier ein Dornen im Auge: AttributeError: 'module' object has no attribute 'evaluate_marker'
error in setup command: Error parsing /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
Aber google hilft hier auch nicht weiter :/
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4549
Location: Germany

PostPosted: Fri May 05, 2017 6:14 pm    Post subject: Reply with quote

mquadrat wrote:
Code:
AttributeError: 'module' object has no attribute 'evaluate_marker'

Puh, nur ein blinder Schuss ins Blaue:
Hier bei mir (wo mock-2.0.0 erfolgreich fertig baut) kommt das in frage kommende module.py Modul
aus dem Paket dev-python/pygobject

Vorschlag: Teste mal ob ein rebuild hilft:
Code:
emerge -av1 pygobject:2 pygobject:3 dev-python/mock


/edit: Nimm zu dem rebuild am besten auch noch dev-python/pbr mit hinzu.
Back to top
View user's profile Send private message
mquadrat
n00b
n00b


Joined: 03 May 2017
Posts: 4

PostPosted: Sat May 06, 2017 10:41 am    Post subject: Reply with quote

Hallo :)

Quote:
emerge -av1 pygobject:2 pygobject:3 dev-python/pbr dev-python/mock

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-python/pbr-1.10.0::gentoo USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)" 0 KiB
[ebuild R ] dev-python/pygobject-2.28.6-r55:2::gentoo USE="-examples -libffi {-test}" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild R ] dev-python/pygobject-3.22.0:3::gentoo USE="cairo threads -examples {-test}" PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 0 KiB
[ebuild N ] dev-python/mock-2.0.0::gentoo USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)" 0 KiB

Total: 4 packages (1 new, 3 reinstalls), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] Y


Klappt, bis zum mock.:

Quote:
>>> Emerging (4 of 4) dev-python/mock-2.0.0::gentoo
* mock-2.0.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking mock-2.0.0.tar.gz to /var/tmp/portage/dev-python/mock-2.0.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/mock-2.0.0/work
>>> Preparing source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0 ...
* python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/pbr/core.py", line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 248, in cfg_to_args
kwargs = setup_cfg_to_setup_kwargs(config, script_args)
File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 431, in setup_cfg_to_setup_kwargs
if pkg_resources.evaluate_marker('(%s)' % env_marker):
AttributeError: 'module' object has no attribute 'evaluate_marker'
error in setup command: Error parsing /var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0/setup.cfg: AttributeError: 'module' object has no attribute 'evaluate_marker'
* ERROR: dev-python/mock-2.0.0::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 115: Called src_compile
* environment, line 2613: Called distutils-r1_src_compile
* environment, line 752: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 294: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2144: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1452: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1450: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 485: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 743: Called distutils-r1_python_compile
* environment, line 618: Called esetup.py 'build'
* environment, line 997: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
*
* If you need support, post the output of `emerge --info '=dev-python/mock-2.0.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-python/mock-2.0.0::gentoo'`.
* The complete build log is located at '/var/log/portage/buildlog/dev-python:mock-2.0.0:20170506-103806.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/mock-2.0.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/mock-2.0.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0'
* S: '/var/tmp/portage/dev-python/mock-2.0.0/work/mock-2.0.0'

>>> Failed to emerge dev-python/mock-2.0.0, Log file:

>>> '/var/log/portage/buildlog/dev-python:mock-2.0.0:20170506-103806.log'


Ich bin mir auch nicht sicher, welches module.py file er nimmt:
Quote:
find . / -name "module.py"
/usr/lib64/python2.7/site-packages/portage/module.py
/usr/lib64/python2.7/site-packages/gi/module.py
/usr/lib64/python3.4/site-packages/portage/module.py
/usr/lib64/python3.4/site-packages/gi/module.py


Ein emerge -e system lief übrigens durch:
Quote:
Installing (232 of 232) sys-apps/iproute2-4.4.0::gentoo
Back to top
View user's profile Send private message
mquadrat
n00b
n00b


Joined: 03 May 2017
Posts: 4

PostPosted: Sat May 06, 2017 11:50 am    Post subject: Reply with quote

So jetzt habe ich zumindest die beiden Pakete welche mock bedingen.

emerge --update --newuse --deep --with-bdeps=y --backtrack=1000 -a @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-python/mock-2.0.0 USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild U ~] dev-python/vcrpy-1.10.5 [1.10.3]
[ebuild R *] app-crypt/acme-9999 PYTHON_TARGETS="-python3_6%"

Would you like to merge these packages? [Yes/No]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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