libssh2 upgrade error

Tim Kellers timothyk at wallnet.com
Sat Jan 31 13:53:07 PST 2009


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




More information about the freebsd-ports mailing list