Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64352 - macos: emerge emacs-cvs/emacs-cvs-21.3.50-r1 fails from SSH key problem...
Summary: macos: emerge emacs-cvs/emacs-cvs-21.3.50-r1 fails from SSH key problem...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on: 57677 64319
Blocks:
  Show dependency tree
 
Reported: 2004-09-16 23:03 UTC by Darin Morrison
Modified: 2005-02-06 13:33 UTC (History)
1 user (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 Darin Morrison 2004-09-16 23:03:48 UTC
On macos, after adding the macos keyword to pexpect (which builds and installs fine) and emacs-cvs, when I try to emerge emacs-cvs I get the following error:

>>> emerge (1 of 1) app-editors/emacs-cvs-21.3.50-r1 to /
>>> /usr/portage/app-editors/emacs-cvs/emacs-cvs-21.3.50-r1.ebuild has been updated; recreating WORKDIR...
>>> 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" checkout  -rHEAD emacs
key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAIEAzFQovi+67xa+wymRz9u3plx0ntQnELBoNU4SCl3RkwSFZkrZsRTC0fTpOKatQNs1r/BLFoVt21oVFwIXVevGQwB+Lf0Z+5w9qwVAQNu/YUAFHBPTqBze4wYK/gSWqQOLoj7rOhZk0xtAS6USqcfKdzMdRWgeuZ550P6gSzEHfv
 failed
key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAIEAzFQovi+67xa+wymRz9u3plx0ntQnELBoNU4SCl3RkwSFZkrZsRTC0fTpOKatQNs1r/BLFoVt21oVFwIXVevGQwB+Lf0Z+5w9qwVAQNu/YUAFHBPTqBze4wYK/gSWqQOLoj7rOhZk0xtAS6USqcfKdzMdRWgeuZ550P6gSzEHfv
 failed
No RSA host key is known for savannah.gnu.org and you have requested strict checking.
Host key verification failed.
cvs [checkout aborted]: end of file from server (consult above messages if any)

!!! ERROR: app-editors/emacs-cvs-21.3.50-r1 failed.
!!! Function cvs_fetch, Line 421, Exitcode 1
!!! cvs checkout command failed
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. Add macos keyword to pexpect-0.999
2. emerge pexpect-0.999
3. Add macos keyword to emacs-cvs
4. emerge emacs-cvs

emerge info emacs-cvs returns:

Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.5.0 Power Macintosh powerpc)
=================================================================
System uname: 7.5.0 Power Macintosh powerpc
macos-20040726
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.57,sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.6.3
Binutils: 
ACCEPT_KEYWORDS="macos"
AUTOCLEAN="yes"
CFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
CHOST="powerpc-apple-darwin"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs keepwork"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X altivec berkdb bzlib crypt emacs gdbm jpeg macos opengl pcre perl png python readline ruby tetex unicode"

Obviously there seems to be a problem with the way the ssh key is handled.  It's worth noting that if I remove the line with:

ECVS_SSH_HOST_KEY="..."

from the .ebuild, then emacs-cvs will download and build fine, although I have to set FEATURES="-collision-protect" to install (which isn't a problem for me).
Comment 1 Darin Morrison 2004-09-16 23:18:22 UTC
After messing with the .ebuild some more, it appears the problem is due to a line break or something that occurs between the v and the 0= at the very end of the key.  If I remove the whitespaces and bring it back to the same line, then the cvs checkout works.
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-20 09:24:34 UTC
Does the cvs ebuild work after you changed it so? Last time I checked it
all the CVS ebuild were broken due to the CVS version included in Mac
OS X 10.3.5. cvs.eclass assumes >=cvs-1.11 and Mac OS X provides
cvs-1.10 (so you cannot use CVS ebuilds without overwriting system 
/usr/bin/cvs)
Comment 3 Darin Morrison 2004-09-20 10:38:55 UTC
Yes, it works, as long as I apply the carbon patch at bug 64362.

I tried once with just X/Gtk and it didn't work.  I didn't try to make that work though since I wasn't particularly interested.
Comment 4 Darin Morrison 2004-09-20 12:55:17 UTC
Just for additional clarification, the original OS X 10.3.5 cvs ( Concurrent Versions System (CVS) 1.10 `Halibut' (client/server) ) is what I was using, and it seemed to checkout fine aside from the issue with the key.
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-22 21:51:22 UTC
Right, it works. Lucid and Xaw3d interface run fine. I'm waiting for the dependency 
to be keyworded (the biggest one is gtk+2, which requires pango to be compiled with
xft support) and the location of Emacs.app to be discussed in the next osx meeting.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-23 02:33:20 UTC
k, I managed to get emacs-cvs working on gtk+2. Once bug #57677 is fixed
we can keyword gtk+2 and get emacs-cvs done.
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-13 20:49:12 UTC
Added to ~ppc-macos, as we disabled gtk/gtk2 USE flags by use.mask
for the moment.
Comment 8 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:31 UTC
Closing out bugs that've been resolved for a while now...