net-misc/openssh-5.1_p1-r1 fails on unpack stage when applying interix.patch. even though #235149 said it was fixed. Reproducible: Always Steps to Reproduce: 1.emerge =net-misc/openssh-5.1_p1-r1 2. 3. Actual Results: Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-misc/openssh-5.1_p1-r1 * openssh-5.0p1-gsskex-20080404.patch RMD160 SHA1 SHA256 size ;-) ... [ ok ] * openssh-5.1p1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking openssh-5.1p1.tar.gz to /Users/hongqn/Gentoo/var/tmp/portage/net-misc/openssh-5.1_p1-r1/work * Applying openssh-4.7_p1-GSSAPI-dns.patch ... [ ok ] * Applying openssh-4.7p1-selinux.diff ... [ ok ] * Applying openssh-4.7_p1-darwin9-display.patch ... [ ok ] * Applying openssh-5.1_p1-interix.patch ... * Failed Patch: openssh-5.1_p1-interix.patch ! * ( /Users/hongqn/Gentoo/usr/portage/net-misc/openssh/files/openssh-5.1_p1-interix.patch ) * * Include in your bugreport the contents of: * * /Users/hongqn/Gentoo/var/tmp/portage/net-misc/openssh-5.1_p1-r1/temp/openssh-5.1_p1-interix.patch-33880.out * ERROR: net-misc/openssh-5.1_p1-r1 failed: * Failed Patch: openssh-5.1_p1-interix.patch! * * Call stack: * ebuild.sh: 49: <call src_unpack> * environment:3233: <call epatch '/Users/hongqn/Gentoo/usr/portage/net-misc/openssh/files/openssh-5.1_p1-interix.patch'> * environment:1794: die "Failed Patch: ${patchname}!"; * * If you need support, post the topmost build error, and the call stack if relevant. * build log: '/Users/hongqn/Gentoo/var/tmp/portage/net-misc/openssh-5.1_p1-r1/temp/build.log' * ebuild environment: '/Users/hongqn/Gentoo/var/tmp/portage/net-misc/openssh-5.1_p1-r1/temp/environment' * S: '/Users/hongqn/Gentoo/var/tmp/portage/net-misc/openssh-5.1_p1-r1/work/openssh-5.1p1' >>> Failed to emerge net-misc/openssh-5.1_p1-r1, Log file: >>> '/Users/hongqn/Gentoo/var/tmp/portage/net-misc/openssh-5.1_p1-r1/temp/build.log' $ emerge --info Portage 2.2.00.11505-prefix (default-prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.5.0 i386) ================================================================= System uname: Darwin-9.5.0-i386-32bit Timestamp of tree: Thu, 25 Sep 2008 06:41:35 +0000 distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.1-r1 sys-devel/gcc-config: 1.4.0-r04.5 sys-devel/libtool: 1.5.26 ACCEPT_KEYWORDS="~x86-macos" CBUILD="i686-apple-darwin9" CFLAGS="-O2 -pipe -march=nocona" CHOST="i686-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/Users/hongqn/Gentoo/usr/portage/distfiles" EPREFIX="/Users/hongqn/Gentoo" FEATURES="collision-protect distlocks nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/Users/hongqn/Gentoo/usr/portage/packages" 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="/Users/hongqn/Gentoo/var/tmp" PORTDIR="/Users/hongqn/Gentoo/usr/portage" PORTDIR_OVERLAY="/Users/hongqn/Gentoo/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua bash-completion coreaudio cracklib midi mmx mmxext ncurses nls objc objc++ prefix readline sse ssl unicode vim-syntax x86-macos zlib" 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 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" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
patching file auth-passwd.c Hunk #1 succeeded at 54 with fuzz 2 (offset -1 lines). Hunk #2 succeeded at 115 (offset -2 lines). patching file configure.ac patching file defines.h patching file hostfile.c patching file openbsd-compat/bsd-misc.h patching file openbsd-compat/getrrsetbyname.c patching file openbsd-compat/getrrsetbyname.h patching file openbsd-compat/inet_ntop.c patching file session.c patching file sshd.c Hunk #2 FAILED at 1259. Hunk #3 succeeded at 1579 with fuzz 2. 1 out of 4 hunks FAILED -- saving rejects to file sshd.c.rej patching file uidswap.c Hunk #1 succeeded at 81 (offset -1 lines). Hunk #2 succeeded at 117 (offset -1 lines). Hunk #3 succeeded at 155 (offset -1 lines). Hunk #4 succeeded at 200 (offset -1 lines). Hunk #5 succeeded at 252 with fuzz 2 (offset -1 lines). Hunk #6 succeeded at 266 (offset -1 lines). indeed.
hmm, maybe we should (for now) kick the interix patch, since the last time i tried the 5 series didn't work out ok anyway, since connections always broke after a few seconds... right now i'm back at the v4, which works flawlessly on all interix versions.
Created attachment 166352 [details] patch debug output on my Mac OS X
As an update to this bug, grobian has commented out the patch for now. Should be working for you again.
thanks, i can emerge openssh now :)
closing for now as there seems to be little interest to get it ported.