Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383751 - =dev-vcs/bzr-2.4.1 & dependencies Stable request
Summary: =dev-vcs/bzr-2.4.1 & dependencies Stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: bazaar+obsolete
URL: http://wiki.squid-cache.org/BzrInstru...
Whiteboard: was: dev-vcs/bzr-2.2.2-r1 : checkout ...
Keywords: STABLEREQ
: 397033 400355 (view as bug list)
Depends on: 381261 395713
Blocks: 395849
  Show dependency tree
 
Reported: 2011-09-20 04:19 UTC by Michael Mol
Modified: 2012-02-19 12:36 UTC (History)
3 users (show)

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


Attachments
Python exception backtrace, and bzr self-diagnosis (errors.txt,5.41 KB, text/plain)
2011-09-20 04:21 UTC, Michael Mol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mol 2011-09-20 04:19:15 UTC
When attempting to do a checkout of squid's bzr repo, bzr fails with:

"bzr: ERROR: exceptions.TypeError: readline() takes exactly 1 argument (2 given)"

Full backtrace and error report to follow in attachment.

Reproducible: Always

Steps to Reproduce:
(Assuming you've never ever set up bazaar on the system (as I hadn't) )

1. Emerge bzr
2. bzr whoami "Your name <your.email.address@example.com>"
3. echo "bugzilla_squid_url = http://bugs.squid-cache.org" >> $HOME/.bazaar/bazaar.conf
4. mkdir source
5. cd src
6. bzr init-repo --1.14 squid
7. bzr branch --bind http://bzr.squid-cache.org/bzr/squid3/trunk
Actual Results:  
bzr: ERROR: exceptions.TypeError: readline() takes exactly 1 argument (2 given)


Expected Results:  
A checkout

Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-AMD_Phenom-tm-_9650_Quad-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Fri, 16 Sep 2011 00:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA google-talkplugin"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fail-clean fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirrors.cs.wmich.edu/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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=""
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 audiofile avahi bcmath berkdb bzip2 cdr cleartype cli consolekit cracklib crypt cscope css cups curl curlwrappers cxx dbus dri dvd dvdr encode exif fam ffmpeg fftw flac fontconfig fortran gdbm geoip gif gimp glut gmp gnuplot gpm gps gsl gsm gtk gzip hddtemp iconv imagemagick imap imlib ipv6 jabber javascript jpeg jpeg2k kdrive ladspa lame lapack libedit libnotify libsamplerate libwww lm_sensors lzma lzo mad matroska mbox mikmod mime mmap mmx mng modules mono mozilla mp3 mp4 mpeg mplayer mtp mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin objc offensive ogg openal opencl openexr opengl openmp pam pcre perl php png portaudio posix ppds pppd python rdesktop readline samba sasl sdl seamonkey semantic-desktop session sharedmem shorten simplexml smp sndfile snmp sox speex spell sse sse2 ssl subversion svg symlink sysfs syslog sysvipc szip taglib tcl tcpd theora threads timidity truetype udev unicode usb v4l2 vcd videos vnc vorbis wavpack webkit wmf x264 xattr xcb xcomposite xft xinetd xml xmlrpc xmp xorg xpm xscreensaver xv xvid yahoo zeroconf 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Mol 2011-09-20 04:21:19 UTC
Created attachment 287105 [details]
Python exception backtrace, and bzr self-diagnosis
Comment 2 Mike Gilbert gentoo-dev 2011-09-21 15:19:28 UTC
marienz found an upstream bug report (see also). bzr-2.2 is not being supported on python-2.7.

If you have python-2.6 installed, you can try using running "bzr-2.6 branch ..." to work around this. Alternatively, you can upgrade to 2.4.1.
Comment 3 Michael Mol 2011-09-21 15:23:09 UTC
I'll file a stabilization request for bzr 2.4.1, then.
Comment 4 Marien Zwart (RETIRED) gentoo-dev 2011-09-21 15:29:44 UTC
This is https://bugs.launchpad.net/bzr/+bug/693880 . Relevant comment:

> Really, anyone who wants to use Python 2.7 with Bazaar should be on at least
> 2.3 as this was just one of a number of incompatibilities that were fixed on
> trunk but not backported.

This specific issue is fixed in bzr 2.2.3. Upgrading the bzr 2.2.x in portage to the latest available upstream (2.2.5) would fix this specific issue, but given the comment quoted above it might still be wise to restrict bzr 2.2 to python < 2.7.

Getting bzr 2.4 stable would help, but it might be a little early for that. Also, bzr 2.4 drops support for python < 2.6, which might be too soon for some people.

I think getting the latest bzr 2.3 stable would make the most sense, as that branch still supports both python < 2.6 and python 2.7. However the bzr 2.3 ebuild was removed from the tree when 2.4 was added. I do not know why this was done: https://launchpad.net/bzr/2.3/2.3.0 states 2.3 is a "long-term-stable series" supported "until August 2012" (not a development branch obviously superseded by 2.4). Unless upstream changed their mind on that I think it makes sense to re-add the latest bzr from the 2.3 branch and try to get that stable, then drop 2.2 from the tree.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2011-09-21 18:31:32 UTC
bzr 2.4 fixes a lot of problems from upstream we had to cope with, it is the first time since 2.1 that we have a working test suite again (at least on my and some other people's system), so I regard bzr 2.3 as obsolete and 2.4 is named as a bugfix release mostly for 2.3 anyway.
Stabilising 2.4 is definitely the way to go, I am moving house at the moment, so give it a week.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2011-09-24 18:45:44 UTC
Please stabilise Bazaar 2.4 so we have something more recent in the stable tree.  Along with that please go for:

=dev-python/testtools-0.9.11
=dev-vcs/bzr-2.4.1
=dev-vcs/bzrtools-2.4.0
=dev-vcs/qbzr-0.21.1
=dev-vcs/bzr-xmloutput-0.8.7
=dev-vcs/bzr-svn-1.1.0
=dev-vcs/bzr-rewrite-0.6.2
=dev-vcs/bzr-gtk-0.100.0
=dev-vcs/bzr-git-0.6.2
=dev-vcs/bzr-explorer-1.2.1

Doing bug 381261 before is just a wishlist item.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2011-10-01 12:59:12 UTC
amd64:

all emerged with all flags without issue.
Passes
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-04 16:29:00 UTC
Stable for HPPA.
Comment 9 Markus Meier gentoo-dev 2011-10-17 20:34:44 UTC
arm stable
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2011-10-30 11:42:05 UTC
Seems good on amd64. Thanks Ian
Comment 11 Brent Baude (RETIRED) gentoo-dev 2011-11-06 16:21:03 UTC
ppc stable for:

dev-python/testtools-0.9.11
dev-vcs/bzr-2.4.1
dev-vcs/bzrtools-2.4.0
dev-vcs/qbzr-0.21.1
Comment 12 Wim Muskee 2011-11-26 11:58:31 UTC
Reporting correct install and function on x86 for bzr-2.4.1 (with python-2.7.2-r3).
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2012-01-02 23:47:18 UTC
*** Bug 397033 has been marked as a duplicate of this bug. ***
Comment 14 Tobias Klausmann (RETIRED) gentoo-dev 2012-01-21 15:51:48 UTC
Stable on alpha.
Comment 15 Thomas Kahle (RETIRED) gentoo-dev 2012-01-23 16:44:41 UTC
x86 done, sorry for the delay.
Comment 16 Christian Faulhammer (RETIRED) gentoo-dev 2012-02-05 13:30:55 UTC
*** Bug 400355 has been marked as a duplicate of this bug. ***
Comment 17 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-02-13 16:21:33 UTC
ppc64 stable: 
dev-python/testtools-0.9.11
dev-python/pyftpdlib-0.6.0
dev-vcs/bzr-2.4.1
dev-vcs/bzrtools-2.4.0
Comment 18 Raúl Porcel (RETIRED) gentoo-dev 2012-02-19 12:36:50 UTC
ia64/sparc stable, closing