Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282760 - portage-2.2_rc40 fails to emerge with epydoc use flag set
Summary: portage-2.2_rc40 fails to emerge with epydoc use flag set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 306489 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-25 23:30 UTC by J M W
Modified: 2010-02-23 10:42 UTC (History)
1 user (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 J M W 2009-08-25 23:30:54 UTC
emerging sys-apps/portage-2.2_rc40 with the epydoc use flag set gives me 
this error:
...
...
...
Writing index.html for book(portage)
xmlto xhtml-nochunks -m custom.xsl portage.docbook
 * Generating api docs




UNEXPECTED ERROR:
'utf8' codec can't decode bytes in position 505-507: invalid data




Use --debug to see trace information.

... followed by the emerge error warning

without this flag it emerges fine.

Please fix this.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-26 10:41:58 UTC
Post the output of:
emerge --info
emerge -ptv epydoc pysqlite
Comment 2 Zac Medico gentoo-dev 2009-08-26 12:47:58 UTC
It looks similar to bug #208759 (maybe it's a different version of pysqlite though). Make sure you have the latest version of pysqlite. Also, you may be able to workaround it by enabling USE=sqlite for dev-lang/python.
Comment 3 J M W 2009-08-27 02:40:38 UTC
 emerge --info
Portage 2.2_rc40 (default/linux/x86/2008.0/desktop, gcc-4.3.4, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r7 
i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Pentium-R-_4_Mobile_CPU_1.60GHz-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 25 Aug 2009 21:30:21 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf 
/etc/gconf /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/splash /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=pentium4 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox 
sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en_US"
MAKEOPTS=""
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/voip /usr/local/portage/layman/armagetron 
/usr/local/portage/layman/sunrise /usr/local/portage/layman/THE /usr/local/portage/layman/zugaina 
/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit X X509 Xaw3d a52 aac aalib ace acl acpi ads afterimage aim aio alsa amr amrnb amrwb amuled ao 
apm applet ar ares asf aspell async audacious audiofile autoipd avahi background bash-completion bdf be 
berkdb bidi bittorrent blender-game bluetooth bonjour bookmarks branding brnet browserplugin bugzilla 
bzip2 cairo caps captury cdaudio cdda cddb cdf cdio cdr cgi cgraph ch chardet chm cjk cleartype cli 
compress context cpio cracklib crypt cscope css ctype cups curl curlwrappers cyrillic dba dbus demo 
deskbar detex devhelp dga dia dirac directfb djvu dk doc dri dts dtvla dv dvd dvdr dvi2tty dvipdfm ecc 
editor eds ee emboss encode epiphany epydoc es es_laguiatv escreen esd ethereal etwin eu_epg evo 
examples exif expat extra extra-cardsets faac faad fam fastbuild fastcgi fbcon ffmpeg fi finger firefox 
flac fluidsynth font-server fontforge force-cgi-redirect fortran fpx fr freemail ftp fusion gadu galago 
games gcdmaster gcrypt gd gdbm ggi gif git glade glep glut glx gmp gnome gnome-keyring gnome-print 
gnomecd gnutls gopher gpg gpgme gphoto2 gpm grammar graphics graphviz groupwise gsf gsm gstreamer gtk 
gtkhtml hal hddtemp hdf hexenworld howl-compat hpn hr htmlhandbook humanities huro hyperestraier iconv 
icu idea idle idn ieee1394 ilbc imagemagick imap imlib immqt-bc inherit-graph injection inkjar inotify 
iplsrc ipv6 isdnlog it jabber jadetex jai java javascript jbig jce jikes jingle jmf jp jpeg jpeg2k 
jrtplib kde kerberos kpathsea krb4 ladspa lapack laptop lasi latex latex3 lcms ldap libcaca libedit 
libffi libgcrypt libgda libnotify libssh2 lights loop-aes loudmouth lua lyx lzo mad maps math mbox 
md5sum mdnsresponder-compat meanwhile mecab memcache memlimit mikmod mmap mmx mng modplug mono moonlight 
motif moviepack moviesounds mozcalendar mozdevelop mozdom mozilla moznopango mozsvg mozxmlterm mp2 mp3 
mp4 mpeg mplayer msn mudflap musepack music mysql na_dd na_dtv na_icons nc ncurses neXt nemesi netcdf 
network networkmanager new-login nl nl_wolf nls nntp no no_gf nodrm nptl nptlonly nsplugin nss ntp oav 
objc objc++ objc-gc odbc offensive ogg omega openal openexr opengl openmp optimize-cflags ortp ots pam 
pcmcia pcre pdf perl php player plotutils png pnm pop portaudio posix postscript povray ppds pppd 
prediction profile pstricks pt publishers python qdbm qq qt3 qt3support qt4 quicktime radio rar re 
readline redland reflection rle rpm rrdcgi rrdtool rss sasl schroedinger science script sdl sdlaudio 
sdlcd se_swedb sensord session sid silc simplexml skey slang slp smi smime smtp sndfile soap sockets 
socks5 sofia-sip soundex sourceview speex spell spl srp srt srv sse sse2 ssl startup-notification 
subversion svg swat sysfs syslog szip t1lib tcl tcltk tcpd tex4ht theora thesaurus threads threadsafe 
thumbnail thunar thunderbird tiff timidity tk tokenizer tools tordns tracker trayicon truetype tta 
tv_check tv_combiner tv_pick_cgi uk_bleb uk_rt unicode usb utils uuencode v4l v4l2 vala valgrind vcd 
verse video vidix vim vim-pager vim-syntax vim-with-x vorbis wavpack webkit wifi win32codecs wma wmf 
wordperfect x264 x86 xcb xcomposite xetex xgetdefault xindy xine xml xml2 xmldoclet xorg xpm xprint xsl 
xslt xulrunner xv xvid xvmc yahoo za zephyr zeroconf zip zlib zsh-completion" 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="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache 
disk-cache mem-cache 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 cgi cgid dav dav-fs 
vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir 
imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz 
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US" USERLAND="GNU" 
VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, 
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 4 J M W 2009-08-27 02:47:09 UTC
emerge -ptv epydoc pysqlite

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

Calculating dependencies... done!
[ebuild     U ] dev-python/pysqlite-2.5.5 [2.4.1] USE="examples" 72 kB
[ebuild   R   ] dev-python/epydoc-3.0.1  USE="X%* doc latex" 0 kB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 72 kB

Comment 5 Zac Medico gentoo-dev 2009-08-27 03:02:56 UTC
(In reply to comment #4)
> [ebuild     U ] dev-python/pysqlite-2.5.5 [2.4.1] USE="examples" 72 kB

I guess it's the same as bug 208759, since you have pysqlite-2.4.1. I suppose that we should make the portage ebuilds block <=dev-python/pysqlite-2.4.1 so that this kind of thing can't happen.
Comment 6 J M W 2009-10-03 15:39:32 UTC
I'm still getting this now with portage-2.2_rc42 an pysqlite 2.5.5. The 
~x86 version is only 2.5.5-r1 so I'm not sure it's worth upgrading.
Comment 7 Zac Medico gentoo-dev 2010-02-23 09:48:05 UTC
*** Bug 306489 has been marked as a duplicate of this bug. ***
Comment 8 Zac Medico gentoo-dev 2010-02-23 10:42:31 UTC
I've patched the ebuilds to create a fake pysqlite2 module when running epydoc.