Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404497 - bzr.eclass - bzr: ERROR: Not a branch: "/usr/portage_impala/distfiles/bzr-src/kicad/.bzr/branch/": location is a repository. (was: sci-electronics/kicad-20120119_p3256)
Summary: bzr.eclass - bzr: ERROR: Not a branch: "/usr/portage_impala/distfiles/bzr-src...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: bazaar+obsolete
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 10:33 UTC by Juergen Rose
Modified: 2012-09-18 11:23 UTC (History)
1 user (show)

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


Attachments
/etc/make.conf (make.conf,6.29 KB, text/plain)
2012-02-21 07:06 UTC, Juergen Rose
Details
/var/lib/layman/make.conf (make.conf,240 bytes, text/plain)
2012-02-21 07:07 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2012-02-19 10:33:26 UTC
'emerge kicad' fails with:
...
>>> Emerging (1 of 3) sci-electronics/kicad-20120119_p3256
>>> Unpacking source...
 * bzr pull start -->
 *    repository: lp:~kicad-testing-committers/kicad/testing
bzr: ERROR: Not a branch: "/usr/portage_impala/distfiles/bzr-src/kicad/.bzr/branch/": location is a repository.
 * ERROR: sci-electronics/kicad-20120119_p3256 failed (unpack phase):
 *   bzr.eclass: can't pull from lp:~kicad-testing-committers/kicad/testing




root@impala:/usr/local/portage/sci-misc(111)# emerge --info =sci-electronics/kicad-20120119_p3256
Portage 2.1.10.47 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.5-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.5-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.1
Timestamp of tree: Sun, 19 Feb 2012 07:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3::sage-on-gentoo, 3.2.2
dev-util/cmake:           2.8.7-r3
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.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x11 lordvan bicatali science sage-on-gentoo java-overlay sunrise dilfridge x-portage x-cpan g-octave
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1 cadsoft Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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/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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/lordvan /var/lib/layman/bicatali /var/lib/layman/science /var/lib/layman/sage-on-gentoo /var/lib/layman/java-overlay /var/lib/layman/sunrise /var/lib/layman/dilfridge /usr/local/portage /var/lib/cpan /var/lib/g-octave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit R X Xaw3d a52 aac accessibility acl acpi admin afs alsa amd64 ao apache2 applet archive arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boo boost bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli consolekit corba cracklib crypt css cuda cups curl cxx daap db dbase dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpx fts3 fuse galago gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp ginac git glade glib glpk gml gmp gmtsuppl gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gsm gstreamer gtk gudev guile harness hddtemp hdf hdf5 hdri http httpd hvm hwdb iconv icq icu id3 imagemagick imap innodb inotify ipod ipv6 ithreads jabber jadetex java java6 jbig john jpeg jpeg2k kate kdrive kerberos kpathsea kqemu kvm ladspa lame lapack latex latex3 lcms ldap lensfun libffi libgda libnotify libsamplerate live lm_sensors lua lzo mad mail maildir mapnik math matroska media-library mkl mmx mmxext mng modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ogdi ogg ole openexr opengl openmp overview pam pcre pda pdf perl plotutils plugins png podcast policykit portaudio posix postgres postscript pppd preview-latex proj projectm projectx pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime readline reiserfs reports rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smbclient smp sms sndfile snmp soup sox speex spell sql sqlite sse sse2 sse4a ssl subtitles subversion suexec svg svm swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs tgif theora threads thunderbird tidy tiff tk tools truetype udev unicode usb userlocales utempter vaapi video virtualbox vorbis wav webdav webdav-serf webkit wmf wxwidgets x264 xattr xcb xemacs xext xft xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc yaml zlib zvbi" 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 cgid 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 stage tables krita karbon braindump" CAMERAS="canon" 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="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nouveau vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS





root@impala:/usr/local/portage/sci-misc(112)# emerge -pqv =sci-electronics/kicad-20120119_p3256
[ebuild     U ] sci-electronics/kicad-20120119_p3256 [20100505_p2356] USE="doc examples python -debug -dev-doc -minimal"
Comment 1 Juergen Rose 2012-02-20 11:09:15 UTC
Now I hit the issue at the next system. It seems me, that the error description in the original posting is shown at the second and higher attempt to get 
kicad-20120119_p3256. During the first attempt there is an other message:

>>> Emerging (1 of 16) sci-electronics/kicad-20120119_p3256
>>> Unpacking source...
 * bzr branch start -->
 *    repository: lp:~kicad-testing-committers/kicad/testing => /usr/portage_moose/distfiles/bzr-src/kicad
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2012-02-21 01:54:16 UTC
(In reply to comment #1)
> You have not informed bzr of your Launchpad ID, and you must do this to
> write to Launchpad or access private data.  See "bzr help launchpad-login".

This part is not an error, don't worry about it.

About your real error, you are doing something funny with your portage setup. What makes me say that is that your DISTDIR is set to /usr/portage/distfiles which is the default and is OK, but you're somehow having portage store the bzr branch directory in /usr/portage_impala/distfiles. Can you please tell us more about what you're doing? Showing us your make.conf might help.

Denis.
Comment 3 Juergen Rose 2012-02-21 07:06:54 UTC
Created attachment 302667 [details]
/etc/make.conf
Comment 4 Juergen Rose 2012-02-21 07:07:53 UTC
Created attachment 302669 [details]
/var/lib/layman/make.conf
Comment 5 Juergen Rose 2012-02-21 07:12:42 UTC
BTW. I have usually mounted a partition at /usr/portage_$(hostname) on my systems and /usr/portage is a link to  /usr/portage_$(hostname), e.g.:

root@impala:/root(50)# df | grep /usr/portage_impala$
/dev/mapper/vg0-portage     4142882    313537   3619630   8% /usr/portage_impala
root@impala:/root(51)# ll /usr/portage
lrwxrwxrwx 1 root root 14 Mar 12  2011 /usr/portage -> portage_impala/
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2012-02-21 15:53:29 UTC
So you are indeed doing something funny with your portage setup. And this is apparently causing an issue with bzr.eclass. I'm reassigning this to the maintainers of the eclass since kicad is just a consumer of it. Maybe they can help you.

Denis.
Comment 7 Juergen Rose 2012-02-21 16:06:17 UTC
Hi Denis,

what is funny with my portage setup?

Juergen
Comment 8 Angelo Arrifano (RETIRED) gentoo-dev 2012-03-11 01:21:24 UTC
Fails with similar problem here, see appended traceback.

Relevant make.conf entries:
PORTAGE_TMPDIR=/usr/local/tmp
DISTDIR=/usr/local/tmp/portage/distfiles
PKGDIR=/usr/local/tmp/portage/packages

/usr/local is a mount to other partition. I've been using this setup for a couple of years and never had problems, so I doubt the problem is related to this.

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sci-electronics/kicad-20120119_p3256
>>> Failed to emerge sci-electronics/kicad-20120119_p3256, Log file:
>>>  '/usr/local/tmp/portage/sci-electronics/kicad-20120119_p3256/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.46, 0.19, 0.16
 * Package:    sci-electronics/kicad-20120119_p3256
 * Repository: gentoo
 * Maintainer: sci-electronics@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * bzr pull start -->
 *    repository: lp:~kicad-testing-committers/kicad/testing
bzr: ERROR: Not a branch: "/usr/local/tmp/portage/distfiles/bzr-src/kicad/.bzr/branch/": location is a repository.
 * ERROR: sci-electronics/kicad-20120119_p3256 failed (unpack phase):
 *   bzr.eclass: can't pull from lp:~kicad-testing-committers/kicad/testing
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_unpack
 *   environment, line 3077:  Called bzr_fetch
 *   environment, line  718:  Called bzr_update 'lp:~kicad-testing-committers/kicad/testing' '/usr/local/tmp/portage/distfiles/bzr-src/kicad'
 *   environment, line  760:  Called die
 * The specific snippet of code:
 *           ${EBZR_UPDATE_CMD} ${EBZR_OPTIONS} "${repo_uri}" || die "${EBZR}: can't pull from ${repo_uri}";
 * 
 * If you need support, post the output of 'emerge --info =sci-electronics/kicad-20120119_p3256',
 * the complete build log and the output of 'emerge -pqv =sci-electronics/kicad-20120119_p3256'.
 * The complete build log is located at '/usr/local/tmp/portage/sci-electronics/kicad-20120119_p3256/temp/build.log'.
 * The ebuild environment file is located at '/usr/local/tmp/portage/sci-electronics/kicad-20120119_p3256/temp/environment'.
 * S: '/usr/local/tmp/portage/sci-electronics/kicad-20120119_p3256/work/kicad-20120119_p3256'
Comment 9 Angelo Arrifano (RETIRED) gentoo-dev 2012-03-11 15:31:57 UTC
I just deleted /usr/local/tmp/portage and tried to emerge kicad again, it worked. I know nothing about bzr but it looks like that if you interrupt an emerge while it is bzr fetching, when you rerun emerge again bzr will failed with the above mentioned error.
Comment 10 Juergen Rose 2012-03-13 16:33:44 UTC
I don't have any /usr/local/tmp directory. If I remove /var/tmp/portage/sci-electronics/kicad-20120119_p3256 and try to reemerge kicad, I get the old error.
Comment 11 Juergen Rose 2012-03-13 16:43:11 UTC
Reemerging bzr did not improve anything.
Comment 12 Juergen Rose 2012-04-08 08:54:16 UTC
Almost one month later, any news?
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2012-04-09 15:08:26 UTC
(In reply to comment #12)
> Almost one month later, any news?

 Sorry for the delay...little kids can keep you occupied.  Get me a paid job working full time on Gentoo and I will fix bugs faster, promised. :)

Let's start the standard procedure: Which Bazaar version?  Is 2.5 also affected (I bumped it in between)?  Does removing /usr/portage/distfiles/bzr_src/kicad* help?
Comment 14 Juergen Rose 2012-04-16 11:08:01 UTC
I have dev-vcs/bzr-2.5.0. 

root@moose:/root(10)# emerge -pvD bzr
These are the packages that would be merged, in order:
\Calculating dependencies... done!
[ebuild   R    ] dev-vcs/bzr-2.5.0  USE="curl doc sftp -test" 0 kB

I do not have any /usr/portage/distfiles/bzr_src/kicad* files.

root@moose:/root(12)# ll /usr/portage/distfiles/bzr_src/kicad* 
/bin/ls: cannot access /usr/portage/distfiles/bzr_src/kicad*: No such file or directory

I have only the following files:
root@moose:/root(13)# ll /usr/portage/distfiles/kicad* 
-rw-rw-r-- 1 portage portage 44487272 Oct  1  2010 /usr/portage/distfiles/kicad-doc-20100505_p2356.tar.xz
-rw-rw-r-- 1 portage portage   533260 Oct  1  2010 /usr/portage/distfiles/kicad-examples-20100505_p2356.tar.xz
-rw-rw-r-- 1 portage portage 11803780 Oct  1  2010 /usr/portage/distfiles/kicad-library-20100505_p2356.tar.xz
-rw-rw-r-- 1 portage portage  4359004 Oct  1  2010 /usr/portage/distfiles/kicad-sources-20100505_p2356.tar.xz


I removed the /usr/portage/distfiles/kicad* files and tried once more to emerge kicad. It fails with the old error:

 root@moose:/root(15)# emerge -uvDN kicad

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

Calculating dependencies... done!
[ebuild     U  ] sci-electronics/kicad-20120119_p3256 [20100505_p2356] USE="doc examples python -debug -dev-doc -minimal" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

WARNING: One or more updates have been skipped due to a dependency conflict:

net-misc/curl:0

  (net-misc/curl-7.25.0-r1::gentoo, ebuild scheduled for merge) conflicts with
    net-misc/curl[ssl,nss,-gnutls] required by (net-libs/liboauth-0.9.6::gentoo, installed)



>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-electronics/kicad-20120119_p3256
>>> Unpacking source...
 * bzr pull start -->
 *    repository: lp:~kicad-testing-committers/kicad/testing
bzr: ERROR: Not a branch: "/usr/portage_moose/distfiles/bzr-src/kicad/.bzr/branch/": location is a repository.
 * ERROR: sci-electronics/kicad-20120119_p3256 failed (unpack phase):
 *   bzr.eclass: can't pull from lp:~kicad-testing-committers/kicad/testing



I have /usr/portage_moose/distfiles/bzr-src/kicad directory:

root@moose:/root(22)# ls -la /usr/portage/distfiles/bzr-src/kicad
total 12
drwxr-sr-x 3 root portage 4096 Feb 20 11:18 .
drwxr-sr-x 3 root portage 4096 Feb 20 11:18 ..
drwxr-sr-x 4 root portage 4096 Feb 20 11:18 .bzr


I removed this directory too:

root@moose:/root(23)# rm -r /usr/portage/distfiles/bzr-src/kicad
root@moose:/root(24)# emerge -uvDN kicad

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

Calculating dependencies... done!
[ebuild     U  ] sci-electronics/kicad-20120119_p3256 [20100505_p2356] USE="doc examples python -debug -dev-doc -minimal" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
...
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-electronics/kicad-20120119_p3256
>>> Unpacking source...
 * bzr branch start -->
 *    repository: lp:~kicad-testing-committers/kicad/testing => /usr/portage_moose/distfiles/bzr-src/kicad
bzr: ERROR: Certificate error: hostname '10.101.10.254' doesn't match either of '*.launchpad.net', 'launchpad.net'
 * ERROR: sci-electronics/kicad-20120119_p3256 failed (unpack phase):
 *   bzr.eclass: can't branch from lp:~kicad-testing-committers/kicad/testing
 * 
 * Call stack:


10.101.10.254 is our proxy. I can check this evening, if I am at home, whether the removal of /usr/portage_moose/distfiles/bzr-src/kicad helps there to solve the problem.

Regards
Comment 15 Juergen Rose 2012-04-17 06:12:22 UTC
During the test without firewall the installation worked on two systems and failed on one system with:
root@condor:/root(17)# ll -la /usr/portage/distfiles/bzr-src/kicad
total 12
drwxr-sr-x 3 root portage 4096 Apr 17 00:45 ./
drwxr-sr-x 5 root portage 4096 Apr 17 00:45 ../
drwxr-sr-x 5 root portage 4096 Apr 17 01:38 .bzr/
root@condor:/root(18)# rm -r /usr/portage/distfiles/bzr-src/kicad
root@condor:/root(19)# ll -la /usr/portage/distfiles/bzr-src/kicad
/bin/ls: cannot access /usr/portage/distfiles/bzr-src/kicad: No such file or directory
root@condor:/root(20)# emerge -uvDN kicad

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

Calculating dependencies... done!
[ebuild     U  ] sci-electronics/kicad-20120119_p3256 [20100505_p2356] USE="doc examples python -debug -dev-doc -minimal" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

WARNING: One or more updates have been skipped due to a dependency conflict:

net-misc/curl:0

  (net-misc/curl-7.25.0-r1::gentoo, ebuild scheduled for merge) conflicts with
    net-misc/curl[ssl,nss,-gnutls] required by (net-libs/liboauth-0.9.6::gentoo, installed)



>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-electronics/kicad-20120119_p3256
>>> Unpacking source...
 * bzr branch start -->
 *    repository: lp:~kicad-testing-committers/kicad/testing => /usr/portage_condor/distfiles/bzr-src/kicad
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 3517 revisions.                                                                                                                                   
 * exporting ...
 * revision 3256 is now in /var/tmp/portage/sci-electronics/kicad-20120119_p3256/work/kicad-20120119_p3256
 * bzr pull start -->
 *    repository: lp:~kicad-lib-committers/kicad/library
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
http://bazaar.launchpad.net/~kicad-lib-committers/kicad/library is permanently redirected to http://bazaar.launchpad.net/~kicad-lib-committers/kicad/library/changes
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
No revisions or tags to pull.                                                                                                                              
 * exporting ...
 * revision before:2012-01-19,23:59:59 is now in /var/tmp/portage/sci-electronics/kicad-20120119_p3256/work/kicad-20120119_p3256/kicad-library
 * bzr pull start -->
 *    repository: lp:~kicad-developers/kicad/doc
bzr: ERROR: Not a branch: "/usr/portage_condor/distfiles/bzr-src/kicad-doc/.bzr/branch/": location is a repository.
 * ERROR: sci-electronics/kicad-20120119_p3256 failed (unpack phase):
 *   bzr.eclass: can't pull from lp:~kicad-developers/kicad/doc
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_unpack
 *   environment, line 3212:  Called bzr_fetch
 *   environment, line  825:  Called bzr_update 'lp:~kicad-developers/kicad/doc' '/usr/portage_condor/distfiles/bzr-src/kicad-doc'
 *   environment, line  867:  Called die
 * The specific snippet of code:
 *           ${EBZR_UPDATE_CMD} ${EBZR_OPTIONS} "${repo_uri}" || die "${EBZR}: can't pull from ${repo_uri}";
 * 
 * If you need support, post the output of 'emerge --info =sci-electronics/kicad-20120119_p3256',
 * the complete build log and the output of 'emerge -pqv =sci-electronics/kicad-20120119_p3256'.
 * The complete build log is located at '/var/tmp/portage/sci-electronics/kicad-20120119_p3256/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/kicad-20120119_p3256/temp/environment'.
 * S: '/var/tmp/portage/sci-electronics/kicad-20120119_p3256/work/kicad-20120119_p3256'

>>> Failed to emerge sci-electronics/kicad-20120119_p3256, Log file:

>>>  '/var/tmp/portage/sci-electronics/kicad-20120119_p3256/temp/build.log'
root@condor:/root(21)# qlist -Iv bzr
dev-vcs/bzr-2.5.0
Comment 16 Juergen Rose 2012-04-17 08:59:33 UTC
I repeat the attempt to install kicad-20120119_p3256 on condor some times. The fourth try of:

 1004  ll -la /usr/portage/distfiles/bzr-src/kicad
 1005   rm -r /usr/portage/distfiles/bzr-src/kicad
 1006   ll -la /usr/portage/distfiles/bzr-src/kicad
 1007  emerge -uvDN kicad

seems to work. I see now:

 *    repository: lp:~kicad-testing-committers/kicad/testing => /usr/portage_condor/distfiles/bzr-src/kicad
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
 61916kB     0kB/s \ Fetching revisions:Inserting stream:Estimate 80136/81855


What I still don't understand is, that the emerge time of kicad is multiplied by a factor between 6 and 60:

root@impala:/usr/src(33)#  genlop -t kicad
 * sci-electronics/kicad

     Mon Mar 28 18:08:41 2011 >>> sci-electronics/kicad-20100505_p2356
       merge time: 3 minutes and 31 seconds.

     Tue Apr 17 03:45:49 2012 >>> sci-electronics/kicad-20120119_p3256
       merge time: 3 hours and 36 seconds.

root@caiman:/usr/src(41)#  genlop -t kicad
 * sci-electronics/kicad

     Tue Jan 25 19:05:36 2011 >>> sci-electronics/kicad-20100505_p2356
       merge time: 3 minutes and 14 seconds.

     Tue Apr 17 03:44:39 2012 >>> sci-electronics/kicad-20120119_p3256
       merge time: 2 hours, 59 minutes and 28 seconds.

root@lynx:/root(9)# genlop -t kicad
 * sci-electronics/kicad

     Sun Jun 20 16:49:29 2010 >>> sci-electronics/kicad-20100314_p2456
       merge time: 17 minutes and 38 seconds.

     Sat Oct  2 17:57:55 2010 >>> sci-electronics/kicad-20100505_p2356
       merge time: 19 minutes and 1 second.

     Tue Apr 17 10:45:53 2012 >>> sci-electronics/kicad-20120119_p3256
       merge time: 2 hours, 11 minutes and 33 seconds.


The largest part of this emerge time seems to be the time of transfering data, at lynx I needed two hours to transfer the data. There I saw the following:

You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
644208kB    13kB/s / Fetching revisions:Finishing stream                             
Branched 328 revisions.                                                                      

It looks, whether 644 MB has been transferred, but I find only about 121 MB in the /usr/portage/distfiles/bzr-src/kicad directory:

rose@lynx:/home/rose(8)$ du -s /usr/portage/distfiles/bzr-src/kicad/.bzr/*
4       /usr/portage/distfiles/bzr-src/kicad/.bzr/README
24      /usr/portage/distfiles/bzr-src/kicad/.bzr/branch
4       /usr/portage/distfiles/bzr-src/kicad/.bzr/branch-format
4       /usr/portage/distfiles/bzr-src/kicad/.bzr/branch-lock
121264  /usr/portage/distfiles/bzr-src/kicad/.bzr/repository


Could anybody enlighten me?
Comment 17 Juergen Rose 2012-04-19 15:45:00 UTC
(In reply to comment #16)
> I repeat the attempt to install kicad-20120119_p3256 on condor some times.
> The fourth try of:
> 
>  1004  ll -la /usr/portage/distfiles/bzr-src/kicad
>  1005   rm -r /usr/portage/distfiles/bzr-src/kicad
>  1006   ll -la /usr/portage/distfiles/bzr-src/kicad
>  1007  emerge -uvDN kicad
> 
> seems to work. I see now:
> 
>  *    repository: lp:~kicad-testing-committers/kicad/testing =>
> /usr/portage_condor/distfiles/bzr-src/kicad
> You have not informed bzr of your Launchpad ID, and you must do this to
> write to Launchpad or access private data.  See "bzr help launchpad-login".
>  61916kB     0kB/s \ Fetching revisions:Inserting stream:Estimate 80136/81855

I was wrong with the hope that 'emerge kicad' works now. After one day 'emerge kicad' stands at the same point:

61916kB     0kB/s \ Fetching revisions:Inserting stream:Estimate 80136/81855
Comment 18 HÁRSFALVI Levente 2012-06-06 13:15:28 UTC
I encountered the same problem and error message. I could work it around successfully by removing /usr/portage/distfiles/bzr-src/kicad and re-emerging the package.
Comment 19 Ulrich Müller gentoo-dev 2012-09-04 05:58:24 UTC
I cannot reproduce the problem. Both initial branching and updating work fine for me.

So, could to test if this is still an issue? Maybe after applying the recipe from comment 18.