Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299740 - dev-python/mwlib-0.12.12: Broken dependency on odfpy in setup.py
Summary: dev-python/mwlib-0.12.12: Broken dependency on odfpy in setup.py
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-05 11:49 UTC by Thomas Kahle (RETIRED)
Modified: 2010-07-22 16:35 UTC (History)
3 users (show)

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 Thomas Kahle (RETIRED) gentoo-dev 2010-01-05 11:49:05 UTC
dev-python/mwlib-0.10.1 requires =dev-python/odfpy-0.7.0 which has no package in the tree.

Reproducible: Always

Steps to Reproduce:
1.  install mwlib
2.  mw-render --list-writers
3.

Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/mw-render", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2640, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 531, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: odfpy==0.7.0



# emerge --info 
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32.2 i686)
=================================================================                                  
System uname: Linux-2.6.32.2-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-1.12.13   
Timestamp of tree: Tue, 05 Jan 2010 08:45:03 +0000                                                 
ccache version 2.4 [enabled]                                                                       
app-shells/bash:     4.0_p35                                                                       
dev-lang/python:     2.4.6, 2.6.4                                                                  
dev-util/ccache:     2.4-r7                                                                        
dev-util/cmake:      2.6.4-r3                                                                      
sys-apps/baselayout: 1.12.13                                                                       
sys-apps/sandbox:    1.6-r2                                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                                                 
sys-devel/automake:  1.9.6-r2, 1.10.2                                                              
sys-devel/binutils:  2.18-r3                                                                       
sys-devel/gcc-config: 1.4.1                                                                        
sys-devel/libtool:   2.2.6b                                                                        
virtual/os-headers:  2.6.27-r2                                                                     
ACCEPT_KEYWORDS="x86"                                                                              
CBUILD="i686-pc-linux-gnu"                                                                         
CFLAGS="-march=core2 -O2 -pipe"                                                                    
CHOST="i686-pc-linux-gnu"                                                                          
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                         
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"               
CXXFLAGS="-march=core2 -O2 -pipe"                                                                                                  
DISTDIR="/usr/portage/distfiles"                                                                                                   
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff tk truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jesus Rivero (RETIRED) gentoo-dev 2010-02-24 18:23:15 UTC
Hello Thomas, 

    Have you tried sync'ing portage lately? I can see here in the portage tree that =dev-python/odfpy-0.7 exists since 2009 [ *odfpy-0.7 (18 Apr 2009) ]. And mwlib sets RDEPEND correctly. 

    Please sync your portage tree and reopen this bug if my reasoning is mistaken. Thanks for your report!

    Best regards,
Comment 2 Thomas Kahle (RETIRED) gentoo-dev 2010-02-24 18:49:45 UTC
Sorry, I cannot follow your reasoning. I think this bug is still valid, also for mwlib-0.12.12.

RDEPEND of dev-python/mwlib-0.12.12.ebuild
requires
=dev-python/odfpy-0.9*
so everything installs fine. I'm talking about a runtime failure. Can you please emerge mwlib and run

mw-render --list-writers

Here this gives:

Traceback (most recent call last):
  File "/usr/bin/mw-render", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2659, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: odfpy==0.7.0

The last message looks for me like mwlib is looking for the python package odfpy==0.7.0

... and there is no version of that in my tree synced today:
eix odfpy

[I] dev-python/odfpy
     Available versions:  (~)0.9.1 (~)0.9.2
     Installed versions:  0.9.2(07:33:50 PM 02/24/2010)

Regards,
Thomas
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-01 01:57:25 UTC
setup.py of dev-python/mwlib-0.12.12 definitely contains "odfpy==0.9".
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2010-03-01 11:01:17 UTC
Reopening as 
'runtime failures with dev-python/mwlib-0.12.12'

Installed versions are 
dev-python/odfpy-0.9.2
dev-python/mwlib-0.12.12

$ mw-render --list-writers
Traceback (most recent call last):
  File "/usr/bin/mw-render-2.6", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2659, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: odfpy==0.9

Comment 5 GES 2010-05-10 16:00:02 UTC
to me too
# mw-render --list-writers
Traceback (most recent call last):
  File "/usr/bin/mw-render-2.6", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2565, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 519, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: odfpy==0.9
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-20 01:48:49 UTC
Fixed by upstream in dev-python/mwlib-0.12.13.
Comment 7 GES 2010-07-22 16:35:20 UTC
(In reply to comment #6)
> Fixed by upstream in dev-python/mwlib-0.12.13.
# mw-render --list-writers
xhtml   XHTML 1.0 Transitional
odf     OpenDocument Text
docbook DocBook XML

Excellent! Thx!