docutils-0.5 fails to merge with the error message: changing mode of build/scripts-2.5/rstpep2html.py from 644 to 755 /mnt/extra2/var/tmp/paludis/dev-python-docutils-0.5/work/docutils-0.5/tools /mnt/extra2/var/tmp/paludis/dev-python-docutils-0.5/work/docutils-0.5 /// Processing directory: .. Traceback (most recent call last): File "./buildhtml.py", line 239, in <module> Builder().run() File "./buildhtml.py", line 184, in run os.path.walk(directory, self.visit, recurse) File "/usr/lib/python2.5/posixpath.py", line 290, in walk func(arg, top, names) File "./buildhtml.py", line 198, in visit for pattern in utils.uniq(settings.ignore): AttributeError: 'module' object has no attribute 'uniq' Happens with both portage and paludis. # emerge --info Portage 2.2_rc8 (default/linux/x86/2008.0/developer, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686) ================================================================= System uname: Linux-2.6.26-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-glibc2.0 Timestamp of tree: Thu, 28 Aug 2008 15:03:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer" DISTDIR="/mnt/extra/portage/distfiles" FEATURES="candy collision-protect cvs digest distlocks fixpackages multilib-strict parallel-fetch preserve-libs sandbox sfperms sign splitdebug strict stricter unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://toughguy.caltech.edu/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/mnt/extra/portage/packages" 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="/mnt/extra/portage/tmp" PORTDIR="/mnt/extra/portage" PORTDIR_OVERLAY="/usr/local/overlays/kovid" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3ds X X509 a52 aac accessibility acpi aiglx alsa apache2 asf bash-completion berkdb bitmap-fonts bluetooth branding browserplugin bzip2 cairo cddb cdr chroot cli cracklib crypt cups curl dbus dga divx4linux dri dts dv dvd dvdr dvdread eds emboss encode enscript escreen evo exif fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran freetype gcj gd gdbm gif gimp glitz gnokii gnuplot gphoto2 gpm graphics gstreamer gtk hal htmlhandbook iconv icq imagemagick imap imlib inquisitio ipv6 irmc isdnlog ivtv jabber java javascript jingle joystick jpeg jpeg2k kde kdeenablefinal kerberos ktts lapack latex ldap leim libnotify live mad maildir mailwrapper matroska messenger midi mikmod mmx mmx2 mng motif mozilla mozsvg mp3 mp4 mpeg msn mudflap ncurses network newspr nls nocd nodrm nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp oss pam pcre pda pdf perl pic plotutils png pnp ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline real reflection reiserfs rtc sasl scanner science sdl session sftp sms snmp sockets speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg svgz sysfs t1lib tcltk tcpd telepathy tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vhosts videos vim-pager vim-syntax vim-with-x vnc vorbis wavpack webcam win32codecs wmf x264 x86 xcomposite xgetdefault xine xinerama xml xmp xorg xscreensaver xv xvid xvmc yahoo zlib" ALSA_CARDS="emu10k1,usb-audio" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1. emerge docutils 2. 3.
Very strange, it works for me with python-2.5.2 ... the supposedly missing method "uniq" is provided in the docutils source (docutils-0.5/docutils/utils.py) How about attaching a full build log from one of your emerge attempts?
Created attachment 164100 [details] Build log
I had an easy_install based installtion of docutils-0.4 in site-packages. The ebuild was loading the utils module from there instead of from the docutils-0.5 source. the ebuild should probably set PYTHONATH to ensure it is correctly picked up.
(In reply to comment #3) > I had an easy_install based installtion of docutils-0.4 in site-packages. The > ebuild was loading the utils module from there instead of from the docutils-0.5 > source. the ebuild should probably set PYTHONATH to ensure it is correctly > picked up. > According to your log the line that fails shows PYTHONPATH being set, so I'm not sure what you mean. Furthermore, I installed 0.4 and emerged 0.5 without problems. Are you using a current docutils-0.5 ebuild from portage?
Yes I'm using a current ebuild. All I meant was that doing a rm -rf /usr/lib/python2.5/site-packages/docutils* makes the merge work. I assumed it was because of PYTHONPATH.
(In reply to comment #0) > docutils-0.5 fails to merge with the error message: > > changing mode of build/scripts-2.5/rstpep2html.py from 644 to 755 > /mnt/extra2/var/tmp/paludis/dev-python-docutils-0.5/work/docutils-0.5/tools > /mnt/extra2/var/tmp/paludis/dev-python-docutils-0.5/work/docutils-0.5 > /// Processing directory: .. > Traceback (most recent call last): > File "./buildhtml.py", line 239, in <module> > Builder().run() > File "./buildhtml.py", line 184, in run > os.path.walk(directory, self.visit, recurse) > File "/usr/lib/python2.5/posixpath.py", line 290, in walk > func(arg, top, names) > File "./buildhtml.py", line 198, in visit > for pattern in utils.uniq(settings.ignore): > AttributeError: 'module' object has no attribute 'uniq' > I'm having the same issue. I have docutils-0.4-r3 installed currently and I also have an easy_install based docutils-0.4 (/usr/lib/python2.5/site-packages/docutils-0.4-py2.5.egg-info) as well just like OP. I must have installed something else using setuptools (easy_install) and it must have pulled in that dependency by itself. Removing /usr/lib/python2.5/site-packages/docutils* lets me build docutils-0.5.
No issues for me when building and using dev-python/docutils-0.5. I had 0.4-r3 previously installed and it just upgraded it without problems
I didn't have issues with upgrading to 0.5, either. I have had problems with other packages before; when you're using setuptools, it prepends eggs to PYTHONPATH, which I think could result in this behavior.
Same problem here ... I had to uninstall docutils-0.4-r3 prior to being able to install -0.5
This bug seems similar to Bug#265819. Try to run python-updater.
Eh - no python update happened... so no: not similar
Once I used eselect python and set my python from 2.6 back to 2.5 this merged. before that it complained that it couldn't find distutils
Hello, Is this still an issue? I haven't been able to reproduce this in any way. Now that 0.4 is out of the picture, still an issue? Im closing the bug, please reopen as needed. Best regards,