Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 436346

Summary: dev-python/llfuse-0.37.1 - .../work/llfuse-0.37.1/distribute-0.6.12-py3.2.egg/setuptools/command/", line 1590, in get_script_header TypeError: can't use a bytes pattern on a string-like object
Product: Gentoo Linux Reporter: Mireiawen Rose <cloud>
Component: [OLD] LibraryAssignee: Python Gentoo Team <python>
Severity: normal CC: ao
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: llfuse build log
build.log (0.39)

Description Mireiawen Rose 2012-09-26 18:58:41 UTC
Created attachment 325062 [details]
llfuse build log

When trying to emerge dev-python/llfuse-0.37.1 as requirement for sys-fs/s3ql, it fails in src-install:

  File "/tmp/portage/portage/dev-python/llfuse-0.37.1/work/llfuse-0.37.1/distribute-0.6.12-py3.2.egg/setuptools/command/", line 1590, in get_script_header
TypeError: can't use a bytes pattern on a string-like object

 * ERROR: dev-python/llfuse-0.37.1 failed (install phase):
 *   Installation failed with CPython 3.2 in distutils_installation() function
 * Call stack:
 *, line   85:  Called src_install
 *   environment, line 3686:  Called distutils_src_install
 *   environment, line 1046:  Called python_execute_function 'distutils_installation'
 *   environment, line 2062:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";

# emerge --info '=dev-python/llfuse-0.37.1'
Portage (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.2.12-gentoo-quistis x86_64)
                         System Settings
System uname: Linux-3.2.12-gentoo-quistis-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Wed, 26 Sep 2012 17:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.6.8, 2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage
CFLAGS="-O2 -march=native -pipe"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fi en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="a52 aac aalib acl acpi amd64 apache2 apm bash-completion berkdb bzip2 canna cjk cli cracklib crypt cups cxx dedicated dri encode fam ffmpeg flac gdbm gif gmp gstreamer hal iconv imagemagick imap immqt-bc ipv6 jpeg libwww maildir mhash midi mmx modules mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre png posix pppd python readline recode sdl session snmp sockets spl sse sse2 ssl sysvipc tcpd tiff timidity truetype unicode vhosts xattr xinetd xml 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fi en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"

# emerge -pqv '=dev-python/llfuse-0.37.1'
[ebuild  N    ] dev-python/llfuse-0.37.1  USE="-doc"
Comment 1 Mireiawen Rose 2012-09-26 19:03:19 UTC
Looks like dev-python/setuptools was too old, possible to require later version as dependency as the error was not too clear on that?
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-09-27 22:00:38 UTC
The old version of setuptools is incompatible with newer versions of Python.
It is not related to dev-python/llfuse.
Comment 3 Pavel Volkov 2013-07-10 06:13:20 UTC
llfuse 0.39 throws a different error.
Comment 4 Pavel Volkov 2013-07-10 06:14:06 UTC
Created attachment 352974 [details]
build.log (0.39)
Comment 5 Tim Harder gentoo-dev 2013-07-21 08:27:54 UTC
Fixed in 0.39.