Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45426 - Unable to update emacs-cvs ebuild
Summary: Unable to update emacs-cvs ebuild
Status: RESOLVED DUPLICATE of bug 46879
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 12:24 UTC by Mike Irwin
Modified: 2005-07-17 13:06 UTC (History)
4 users (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 Mike Irwin 2004-03-22 12:24:31 UTC
When attempting to update the emacs-cvs ebuild, I receive the following error:

>>> emerge (1 of 1) app-editors/emacs-cvs-21.3.50 to /
>>> Unpacking source...
 * Fetching CVS module emacs into /usr/portage/distfiles/cvs-src...
 * Running  cvs -q -f -z4 -d ":ext:anoncvs@savannah.gnu.org:/cvsroot/emacs" update -dP emacs
cvs update: warning: server is not creating directories one at a time
cvs [update aborted]: there is a version in emacs already
 
!!! ERROR: app-editors/emacs-cvs-21.3.50 failed.
!!! Function cvs_fetch, Line 418, Exitcode 1
!!! cvs update command failed


Reproducible: Always
Steps to Reproduce:
1. Run `emerge emacs-cvs`.
2.
3.




Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.25-pac1)
=================================================================
System uname: 2.4.25-pac1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache notitles sandbox"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 avi berkdb bonobo cdr crypt cups curl doc dvd
emacs encode esd faad flac foomaticdb gd gdbm gif gnome gphoto2 gstreamer gtk
gtk2 gtkhtml guile imagemagick imlib java jbigkit jikes jpeg lcms libg++ libgda
libwww mad mbox mmx mozilla mpeg mysql ncurses nls noreiserfs oggvorbis opengl
oss pam pcmcia pdflib perl png pnp python quicktime readline samba sdl slang
spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml2 xv zlib"
Comment 1 Jeremy Maitin-Shepard 2004-03-22 16:42:02 UTC
Updating works for me; it is possible your local checkout is corrupted, try:
rm -rf /usr/portage/distfiles/cvs-src/emacs
Comment 2 Mike Irwin 2004-03-22 19:48:04 UTC
I tried removing the directory as suggested, but I still get the same exact error message.
Comment 3 Jeremy Maitin-Shepard 2004-03-22 21:59:01 UTC
Have you tried manually checking out the emacs CVS repository?
Comment 4 Mike Irwin 2004-03-22 22:13:05 UTC
Yes, if I cd to the cvs directory and manually run cvs update, cvs pulls all the files, but if I then run emerge emacs-cvs, I get the same error.
Comment 5 Jeremy Maitin-Shepard 2004-03-22 22:40:40 UTC
As a temporary workaround you can try:
ECVS_CVS_COMMAND=/bin/true emerge emacs-cvs

(And then manually update, since you say that works.)

Also, have you tried running cvs update using the exact same parmaters that cvs.eclass is using, i.e. -q -f -z4 update -dP.  I am thinking the various options relating to both compression and directory updating could have an effect.
Comment 6 Mike Irwin 2004-03-22 23:26:17 UTC
Running ECVS_CVS_COMMAND=/bin/true emerge emacs-cvs works, and yes, I have tried manually running the same command as emerge emacs-cvs runs, but the effect is the same.  I just tried changing the compression level to 3 and it seemed to work fine.
Comment 7 Jeremy Maitin-Shepard 2004-03-23 18:01:21 UTC
Hmm, so you are saying that with the same options as the ebuild is using, you get the same errors, but when you use -z3, or any other compression level, there is no error?  The compression level could be changed in the ebuild, but I find it odd that you are getting this error, but no one else, including myself, seems to.
Comment 8 Mike Irwin 2004-03-24 12:12:52 UTC
Basically, yes.  If I cd into the emacs-cvs directory and run cvs update with the same options excepting the compression level is set to 3 instead of 4, I get no errors.  If I run emerge emacs-cvs, I get the error mentioned above.  That's about the extent of the troubleshooting that I've done on this, as I don't know what else to try.  If you have any suggestions, please feel free to let me know.
Comment 9 Jeremy Maitin-Shepard 2004-03-24 18:58:01 UTC
I think this may be a CVS bug, or incompatibility, since I did notice you are using ACCEPT_KEYWORDS=~x86.  Which CVS version are you using?  I am using 1.11.11.
Comment 10 Mike Irwin 2004-03-25 10:13:35 UTC
I'm using cvs-1.11.14.
Comment 11 Don Seiler (RETIRED) gentoo-dev 2004-03-25 12:59:17 UTC
FYI others are getting this for other apps and it seems related to portage-2.0.50-r2.  Downgrading to -r1 fixed it for me and others.
Comment 12 Nicholas Jones (RETIRED) gentoo-dev 2004-03-25 14:06:36 UTC
Uh... Do you have an overlay with eclasses in it?
Portage should have absolutely nothing to do with that
particular part of the ebuild.
Comment 13 Don Seiler (RETIRED) gentoo-dev 2004-03-25 14:08:45 UTC
No I don't any eclasses in my overlay.  I found some other users in the forums who are having this same error as well.
Comment 14 Mike Irwin 2004-03-25 16:33:51 UTC
Mr. Seiler was right on the money.  I downgraded to portage-2.0.50-r1 and `emerge emacs-cvs` works correctly now.  Thanks for the help.
Comment 15 Jeremy Maitin-Shepard 2004-03-25 20:07:33 UTC
Didn't you say that running cvs update using the same options as the eclass was using also gave the error?
Comment 16 Mike Irwin 2004-03-26 08:30:51 UTC
Yes, it was, but now it's not.  I'm clueless as to why, though.  At any rate, my issue seems to be resolved.
Comment 17 José Romildo Malaquias 2004-03-27 09:45:43 UTC
How has this bug been fixed, if I am still getting the described behaviour after syncing portage?

What is the fix exactly? Downgrading portage?
Comment 18 Jeremy Maitin-Shepard 2004-03-27 11:18:37 UTC
The problem seems to be the combination of the -z4 compression option (with some version of CVS) and portage-2.0.50-r2.  I do not see any reason why there would be a connection between portage and cvs though.
Comment 19 Mike Irwin 2004-04-05 09:11:08 UTC
After upgrading to portage-2.0.50-r3, I'm seeing this same exact problem again.  There is definitely something in the new portage code that's causing this.
Comment 20 SpanKY gentoo-dev 2004-04-05 22:37:25 UTC

*** This bug has been marked as a duplicate of 46377 ***
Comment 21 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-07 17:26:34 UTC
Bug is not a duplicate of 46377.
Comment 22 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-07 17:26:53 UTC
But it is a dupe of 46879... =]

*** This bug has been marked as a duplicate of 46879 ***