Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401771 - gnome-extra/zeitgeist-0.8.2 fails with dev-python/rdflib-3.2.0
Summary: gnome-extra/zeitgeist-0.8.2 fails with dev-python/rdflib-3.2.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on: 401657
Blocks:
  Show dependency tree
 
Reported: 2012-02-01 10:54 UTC by Olivier Huber
Modified: 2012-05-05 15:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (gnome-extra:zeitgeist-0.8.2:20120201-104634.log,14.20 KB, text/plain)
2012-02-01 10:54 UTC, Olivier Huber
Details
zeitgeist-0.8.2-rdflib-3.2.patch (zeitgeist-0.8.2-rdflib-3.2.patch,725 bytes, patch)
2012-02-09 20:23 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2012-02-01 10:54:33 UTC
Created attachment 300611 [details]
build.log

from build.log:
Parsing from stdin
Parsing from stdin
rapper: Parsing returned 446 triples
rapper: Parsing returned 534 triples
Traceback (most recent call last):
  File "/scratch/portage_hdd/portage/gnome-extra/zeitgeist-0.8.2/work/zeitgeist-0.8.2/extra/rdfxml2py", line 40, in <module>
    parse(sys.stdin)
  File "/scratch/portage_hdd/portage/gnome-extra/zeitgeist-0.8.2/work/zeitgeist-0.8.2/extra/rdfxml2py", line 31, in parse
    pycode = ontology.serialize(format="python")
  File "/usr/lib64/python2.7/site-packages/rdflib/graph.py", line 767, in serialize
    serializer.serialize(stream, base=base, encoding=encoding, **args)
  File "/scratch/portage_hdd/portage/gnome-extra/zeitgeist-0.8.2/work/zeitgeist-0.8.2/extra/PythonSerializer.py", line 98, in serialize
    stream, symbol, symbol_classes.union(set([NIENS["InformationElement"], NIENS["DataObject"]]))
  File "/scratch/portage_hdd/portage/gnome-extra/zeitgeist-0.8.2/work/zeitgeist-0.8.2/extra/PythonSerializer.py", line 89, in _create_symbol
    root_type, symbol, display_name, doc)
TypeError: 'unicode' does not have the buffer interface

And there is the same error 4 times.

# emerge --info =gnome-extra/zeitgeist-0.8.2
Portage 2.2.0_alpha84 (default/linux/amd64/10.0/developer, gcc-4.6.2, glibc-2.14.1-r2, 3.2.1-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_W3520_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Wed, 01 Feb 2012 10:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3::progress
dev-lang/python:          2.7.2-r3::sage-on-gentoo, 3.2.2
dev-util/cmake:           2.8.7-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.2-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo science sage-on-gentoo progress local
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~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/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n "
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles ftp://mirror.ovh.net/gentoo-distfiles"
LANG="en_US.utf-8"
LC_ALL="en_US.utf-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j5"
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="/scratch/portage_hdd"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/sci /usr/local/overlays/sage-on-gentoo /usr/local/overlays/gentoo-progress-read-only /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus abook acl acpi alsa amd64 bash-completion berkdb bitmap bluetooth boost bzip2 cairo caps cdda cdr cli clucene colord consolekit cracklib crypt cuda cups curl custom-cflags custom-optimization cxx dbus dirac djvu dri dts dvd dvdr ebook ecls eigen emboss encode excel exif extensions faac fam ffmpeg fftw firefox flac fontconfig fontforge fortran frei0r gbm gd-external gdbm gdu gif gles gmp gnuplot gpg gpm graphics gssapi gtk hyperestraier iconv icu idn imap inotify iproute2 ipv6 ipython ithreads jemalloc jpeg jpeg2k json kde kpathsea lapack latex lcms ldap ldap-sasl libkms libnotify logrotate lua lzma mad matplotlib mbox minizip mktemp mmx mng modules mozilla mp3 mp4 mpc mpeg mudflap multilib muparser music ncurses nettle nfs nis nls nntp nptl nptlonly nsplugin ntl ntlm numpy ocaml ogg opencl opengl openmp openntpd openssl openvg optimization pam pango passwdqc pcre pdf pdfannotextractor pdfimport perl pgf phonon plotutils png policykit pop postproc ppds pppd pstricks publishers python qd qhull qt3support qt4 readline rfc3779 rtmp ruby sage sasl schroedinger science sdl semantic-desktop session shared-dricore sidebar slp smime smp smtp snmp sparse speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs syslog system-sqlite tcpd theora thin-splines threads tiff tokyocabinet tools truetype type3 udev udisks unicode usb utils vdpau vim vim-syntax vorbis vpx webkit x264 xattr xcb xetex xft xml xorg xulrunner xv xvfb xvid xvmc zeitgeist zlib" 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" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv =gnome-extra/zeitgeist-0.8.2
[ebuild     U ] gnome-extra/zeitgeist-0.8.2 [0.7.1-r2] USE="-fts"

# eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.2
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-02-06 08:06:41 UTC
@python
Any ideas how to fix that? Its unreproducible here.
Comment 2 Olivier Huber 2012-02-09 16:50:52 UTC
I'm really sorry. I had dev-python/rdflib-3.2.0::progress installed
and it caused the build failure. With dev-python/rdflib-3.1.0::gentoo,
there are no issues.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2012-02-09 20:22:25 UTC
This bug will also occur with dev-python/rdflib-3.2.0::gentoo when somewhen it is added.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-02-09 20:23:39 UTC
Created attachment 301421 [details, diff]
zeitgeist-0.8.2-rdflib-3.2.patch
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-02-10 07:11:28 UTC
Thanks for the patch, I will test it and send it upstream.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2012-05-05 15:28:43 UTC
Fixed in ZG-0.9.0