Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2009 16:23:05 -0500
From:      Tim Kellers <timothyk@wallnet.com>
To:        ronw@bals.org
Cc:        ports@freebsd.org
Subject:   Re: libssh2 upgrade error
Message-ID:  <4984C139.1020202@wallnet.com>
In-Reply-To: <4984AF35.3070905@bals.org>
References:  <4984A7EC.7060801@wallnet.com> <4984AF35.3070905@bals.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4984C139.1020202>