From owner-freebsd-ports@FreeBSD.ORG Sat Jan 31 21:53:06 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A54711065677 for ; Sat, 31 Jan 2009 21:53:06 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4E98FC19 for ; Sat, 31 Jan 2009 21:53:06 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from tim-kellerss-macbook-pro.local (ool-18bb798e.dyn.optonline.net [24.187.121.142]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0KEC008WLU2H0KE0@mta1.srv.hcvlny.cv.net> for ports@freebsd.org; Sat, 31 Jan 2009 16:23:05 -0500 (EST) Date: Sat, 31 Jan 2009 16:23:05 -0500 From: Tim Kellers In-reply-to: <4984AF35.3070905@bals.org> To: ronw@bals.org Message-id: <4984C139.1020202@wallnet.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <4984A7EC.7060801@wallnet.com> <4984AF35.3070905@bals.org> User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) Cc: ports@freebsd.org Subject: Re: libssh2 upgrade error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 21:53:07 -0000 Ron Wilhoite wrote: > On 01/31/2009 02:35 PM Tim Kellers wrote: >> While portupgrading libssh2, sources csuped immediately before this >> error a few minutes ago: >> >> configure: creating ./config.status >> config.status: creating Makefile >> config.status: creating src/Makefile >> config.status: creating include/libssh2_config.h >> ===> Building for libssh2-0.2,1 >> cc -o channel.o channel.c -c -O2 -fno-strict-aliasing -pipe >> -I/usr/include -I/usr/include -Wall -g -I../include/ -fPIC >> In file included from channel.c:38: >> ../include/libssh2_priv.h:181: error: 'MD5_DIGEST_LENGTH' undeclared >> here (not in a function) >> ../include/libssh2_priv.h:184: error: 'SHA_DIGEST_LENGTH' undeclared >> here (not in a function) >> channel.c: In function 'libssh2_channel_direct_tcpip_ex': >> channel.c:230: warning: pointer targets in passing argument 6 of >> 'libssh2_channel_open_ex' differ in signedness >> *** Error code 1 >> >> Nothing relevant that I saw in /usr/ports/UPDATING >> > > I had the same error. The patch-libssh2_priv.h file didn't make it > into my ports tree yet - at least via portsnap. > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/libssh2/files/?f=h#dirlist > > > If you add the files directory and that file, it builds and upgrades > with no errors. > > Ron Wilhoite > > Thank you. That absolutely was it. I just re-csuped and that was the only file added: www# csup -L 2 /etc/cvsupfile & [1] 657 www# Parsing supfile "/etc/cvsupfile" Connecting to cvsup8.FreeBSD.org Connected to 128.205.32.21 Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection src-all/cvs Updating collection ports-all/cvs Checkout ports/security/libssh2/files/patch-libssh2_priv.h Updating collection doc-all/cvs Shutting down connection to server Finished successfully