Discussion:
lftp 4.5.6 (stable) and 4.6.0
Alexander V. Lukyanov
2014-10-14 11:30:35 UTC
Permalink
lftp-4.5.6 and 4.6.0 have been released. Changes:

Version 4.6.0:

* new torrent --share option.
* new setting mirror:require-source.
* new settings xfer:use-temp-file and xfer:temp-file-name.
* ftp: wait for QUIT reply before closing control socket.
+ fixes from 4.5.6

Version 4.5.6 (stable - bug fixes only):

* display valid IDN in URLs without percent encoding.
* ftp: shutdown SSL connection before closing control socket.
* ftp: avoid duplication of PROT command.
* fixed debug -o to append to the log file.
* fixed compilation without SSL.
* http: don't uncompress files ending with .gz, .Z or .tgz
* http: fixed inflation of some files.
* minor fixes in torrent protocol.

Get them from http://lftp.yar.ru/get.html or your favorite mirror.
(4.5.6 ia available from http://lftp.yar.ru/ftp/)
Binaries for Fedora 20 are also available.

Try also torrent download (just for fun):
magnet:?xt=urn:btih:1036E2211338395ED405DFD2E1A7C0E250B84787&xl=2626600&dn=lftp-4.6.0.tar.gz
magnet:?xt=urn:btih:C3ACE41CC267CA4CB61788E26CB192247DC05200&xl=2618661&dn=lftp-4.5.6.tar.gz
magnet:?xt=urn:btih:0BFE6089110E19607C3B6A53F7AF1F1F4E44D442&xl=671392&dn=lftp-4.6.0-1.x86_64.rpm
magnet:?xt=urn:btih:FA79A16118782CE5818B742E1209686B8BA76083&xl=667412&dn=lftp-4.5.6-1.x86_64.rpm
--
Alexander.
Juan Simón
2014-10-14 11:57:58 UTC
Permalink
Error to compile lftp-4.6 on Ubuntu 14.04 64 bits with './configure
--with-modules --without-gnutls --without-openssl':
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc: In member function 'virtual int Ftp::Do()':
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1
Post by Alexander V. Lukyanov
* new torrent --share option.
* new setting mirror:require-source.
* new settings xfer:use-temp-file and xfer:temp-file-name.
* ftp: wait for QUIT reply before closing control socket.
+ fixes from 4.5.6
* display valid IDN in URLs without percent encoding.
* ftp: shutdown SSL connection before closing control socket.
* ftp: avoid duplication of PROT command.
* fixed debug -o to append to the log file.
* fixed compilation without SSL.
* http: don't uncompress files ending with .gz, .Z or .tgz
* http: fixed inflation of some files.
* minor fixes in torrent protocol.
Get them from http://lftp.yar.ru/get.html or your favorite mirror.
(4.5.6 ia available from http://lftp.yar.ru/ftp/)
Binaries for Fedora 20 are also available.
magnet:?xt=urn:btih:1036E2211338395ED405DFD2E1A7C0E250B84787&xl=2626600&dn=lftp-4.6.0.tar.gz
magnet:?xt=urn:btih:C3ACE41CC267CA4CB61788E26CB192247DC05200&xl=2618661&dn=lftp-4.5.6.tar.gz
magnet:?xt=urn:btih:0BFE6089110E19607C3B6A53F7AF1F1F4E44D442&xl=671392&dn=lftp-4.6.0-1.x86_64.rpm
magnet:?xt=urn:btih:FA79A16118782CE5818B742E1209686B8BA76083&xl=667412&dn=lftp-4.5.6-1.x86_64.rpm
--
Alexander.
_______________________________________________
lftp mailing list
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Juan Simón
2014-10-14 12:14:26 UTC
Permalink
Without '--with-modules' fails too.

And without any flag in './configure' fails compilation too in another
point:
Making all in m4
Making all in doc
Making all in lib
Making all in src
lftp_ssl.cc: In member function 'int lftp_ssl_gnutls::read(char*, int)':
lftp_ssl.cc:563:62: error: 'GNUTLS_E_PREMATURE_TERMINATION' was not
declared in this scope
else if(res==GNUTLS_E_UNEXPECTED_PACKET_LENGTH ||
res==GNUTLS_E_PREMATURE_TERMINATION)
^
make[1]: *** [lftp_ssl.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1

This 4.6.0 version is compilable in some scenario?
Post by Juan Simón
Error to compile lftp-4.6 on Ubuntu 14.04 64 bits with './configure
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1
Post by Alexander V. Lukyanov
* new torrent --share option.
* new setting mirror:require-source.
* new settings xfer:use-temp-file and xfer:temp-file-name.
* ftp: wait for QUIT reply before closing control socket.
+ fixes from 4.5.6
* display valid IDN in URLs without percent encoding.
* ftp: shutdown SSL connection before closing control socket.
* ftp: avoid duplication of PROT command.
* fixed debug -o to append to the log file.
* fixed compilation without SSL.
* http: don't uncompress files ending with .gz, .Z or .tgz
* http: fixed inflation of some files.
* minor fixes in torrent protocol.
Get them from http://lftp.yar.ru/get.html or your favorite mirror.
(4.5.6 ia available from http://lftp.yar.ru/ftp/)
Binaries for Fedora 20 are also available.
magnet:?xt=urn:btih:1036E2211338395ED405DFD2E1A7C0E250B84787&xl=2626600&dn=lftp-4.6.0.tar.gz
magnet:?xt=urn:btih:C3ACE41CC267CA4CB61788E26CB192247DC05200&xl=2618661&dn=lftp-4.5.6.tar.gz
magnet:?xt=urn:btih:0BFE6089110E19607C3B6A53F7AF1F1F4E44D442&xl=671392&dn=lftp-4.6.0-1.x86_64.rpm
magnet:?xt=urn:btih:FA79A16118782CE5818B742E1209686B8BA76083&xl=667412&dn=lftp-4.5.6-1.x86_64.rpm
--
Alexander.
_______________________________________________
lftp mailing list
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Jeroen Roovers
2014-10-14 13:54:32 UTC
Permalink
On Tue, 14 Oct 2014 14:14:26 +0200
Post by Juan Simón
Without '--with-modules' fails too.
And without any flag in './configure' fails compilation too in another
Making all in m4
Making all in doc
Making all in lib
Making all in src
lftp_ssl.cc: In member function 'int lftp_ssl_gnutls::read(char*,
int)': lftp_ssl.cc:563:62: error: 'GNUTLS_E_PREMATURE_TERMINATION'
was not declared in this scope
else if(res==GNUTLS_E_UNEXPECTED_PACKET_LENGTH ||
res==GNUTLS_E_PREMATURE_TERMINATION)
https://github.com/lavv17/lftp/pull/97


jer
Juan Simón
2014-10-14 16:46:09 UTC
Permalink
The 4.5.6 has the same error:
$ ./configure --with-modules --without-gnutls --without-openssl
....

$ make
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc: In member function 'virtual int Ftp::Do()':
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1
Post by Jeroen Roovers
On Tue, 14 Oct 2014 14:14:26 +0200
Post by Juan Simón
Without '--with-modules' fails too.
And without any flag in './configure' fails compilation too in another
Making all in m4
Making all in doc
Making all in lib
Making all in src
lftp_ssl.cc: In member function 'int lftp_ssl_gnutls::read(char*,
int)': lftp_ssl.cc:563:62: error: 'GNUTLS_E_PREMATURE_TERMINATION'
was not declared in this scope
else if(res==GNUTLS_E_UNEXPECTED_PACKET_LENGTH ||
res==GNUTLS_E_PREMATURE_TERMINATION)
https://github.com/lavv17/lftp/pull/97
jer
Alexander V. Lukyanov
2014-10-15 05:33:42 UTC
Permalink
Post by Juan Simón
lftp_ssl.cc:563:62: error: 'GNUTLS_E_PREMATURE_TERMINATION' was not
declared in this scope
else if(res==GNUTLS_E_UNEXPECTED_PACKET_LENGTH ||
res==GNUTLS_E_PREMATURE_TERMINATION)
Please see this patch.
--
Alexander.
Juan Simón
2014-10-14 19:47:19 UTC
Permalink
Please, can anyone compile any of these versions? Is this a dependency
problem or syntax error?

I try to compile the 4.5.5 version again (I have uninstalled it) and now I
can't:
$ make
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc: In destructor 'Ftp::Connection::~Connection()':
ftpclass.cc:1074:15: error: lvalue required as left operand of assignment
control_ssl=0; // ssl should be freed after send/recv
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1

If it's a dependency problem, why does configure say anything?

Now I can't use lftp...
Post by Juan Simón
Error to compile lftp-4.6 on Ubuntu 14.04 64 bits with './configure
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1
Post by Alexander V. Lukyanov
* new torrent --share option.
* new setting mirror:require-source.
* new settings xfer:use-temp-file and xfer:temp-file-name.
* ftp: wait for QUIT reply before closing control socket.
+ fixes from 4.5.6
* display valid IDN in URLs without percent encoding.
* ftp: shutdown SSL connection before closing control socket.
* ftp: avoid duplication of PROT command.
* fixed debug -o to append to the log file.
* fixed compilation without SSL.
* http: don't uncompress files ending with .gz, .Z or .tgz
* http: fixed inflation of some files.
* minor fixes in torrent protocol.
Get them from http://lftp.yar.ru/get.html or your favorite mirror.
(4.5.6 ia available from http://lftp.yar.ru/ftp/)
Binaries for Fedora 20 are also available.
magnet:?xt=urn:btih:1036E2211338395ED405DFD2E1A7C0E250B84787&xl=2626600&dn=lftp-4.6.0.tar.gz
magnet:?xt=urn:btih:C3ACE41CC267CA4CB61788E26CB192247DC05200&xl=2618661&dn=lftp-4.5.6.tar.gz
magnet:?xt=urn:btih:0BFE6089110E19607C3B6A53F7AF1F1F4E44D442&xl=671392&dn=lftp-4.6.0-1.x86_64.rpm
magnet:?xt=urn:btih:FA79A16118782CE5818B742E1209686B8BA76083&xl=667412&dn=lftp-4.5.6-1.x86_64.rpm
--
Alexander.
_______________________________________________
lftp mailing list
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Juan Simón
2014-10-14 21:34:52 UTC
Permalink
I have compiled 4.6.0 version without any flags (CFLAGS,...) and without
parallel compilation and with complete output:
/bin/bash ../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -O2 -Wall
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -MT ftpclass.lo -MD -MP -MF .deps/ftpclass.Tpo -c -o
ftpclass.lo ftpclass.cc
ftpclass.cc: In member function 'virtual int Ftp::Do()':
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
^
make[1]: *** [ftpclass.lo] Error 1

The git version has the same error.

I have compiled the 4.6.0 version on Gentoo Linux and same error.
Post by Juan Simón
Please, can anyone compile any of these versions? Is this a dependency
problem or syntax error?
I try to compile the 4.5.5 version again (I have uninstalled it) and now I
$ make
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc:1074:15: error: lvalue required as left operand of assignment
control_ssl=0; // ssl should be freed after send/recv
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1
If it's a dependency problem, why does configure say anything?
Now I can't use lftp...
Post by Juan Simón
Error to compile lftp-4.6 on Ubuntu 14.04 64 bits with './configure
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1
Post by Alexander V. Lukyanov
* new torrent --share option.
* new setting mirror:require-source.
* new settings xfer:use-temp-file and xfer:temp-file-name.
* ftp: wait for QUIT reply before closing control socket.
+ fixes from 4.5.6
* display valid IDN in URLs without percent encoding.
* ftp: shutdown SSL connection before closing control socket.
* ftp: avoid duplication of PROT command.
* fixed debug -o to append to the log file.
* fixed compilation without SSL.
* http: don't uncompress files ending with .gz, .Z or .tgz
* http: fixed inflation of some files.
* minor fixes in torrent protocol.
Get them from http://lftp.yar.ru/get.html or your favorite mirror.
(4.5.6 ia available from http://lftp.yar.ru/ftp/)
Binaries for Fedora 20 are also available.
magnet:?xt=urn:btih:1036E2211338395ED405DFD2E1A7C0E250B84787&xl=2626600&dn=lftp-4.6.0.tar.gz
magnet:?xt=urn:btih:C3ACE41CC267CA4CB61788E26CB192247DC05200&xl=2618661&dn=lftp-4.5.6.tar.gz
magnet:?xt=urn:btih:0BFE6089110E19607C3B6A53F7AF1F1F4E44D442&xl=671392&dn=lftp-4.6.0-1.x86_64.rpm
magnet:?xt=urn:btih:FA79A16118782CE5818B742E1209686B8BA76083&xl=667412&dn=lftp-4.5.6-1.x86_64.rpm
--
Alexander.
_______________________________________________
lftp mailing list
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Juan Simón
2014-10-14 21:56:25 UTC
Permalink
I have found the origin of this bug:
https://github.com/lavv17/lftp/issues/98#issuecomment-59123679
Post by Juan Simón
I have compiled 4.6.0 version without any flags (CFLAGS,...) and without
/bin/bash ../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -O2 -Wall
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -MT ftpclass.lo -MD -MP -MF .deps/ftpclass.Tpo -c -o
ftpclass.lo ftpclass.cc
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
^
make[1]: *** [ftpclass.lo] Error 1
The git version has the same error.
I have compiled the 4.6.0 version on Gentoo Linux and same error.
Post by Juan Simón
Please, can anyone compile any of these versions? Is this a dependency
problem or syntax error?
I try to compile the 4.5.5 version again (I have uninstalled it) and now
$ make
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc:1074:15: error: lvalue required as left operand of assignment
control_ssl=0; // ssl should be freed after send/recv
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1
If it's a dependency problem, why does configure say anything?
Now I can't use lftp...
Post by Juan Simón
Error to compile lftp-4.6 on Ubuntu 14.04 64 bits with './configure
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [all-recursive] Error 1
Post by Alexander V. Lukyanov
* new torrent --share option.
* new setting mirror:require-source.
* new settings xfer:use-temp-file and xfer:temp-file-name.
* ftp: wait for QUIT reply before closing control socket.
+ fixes from 4.5.6
* display valid IDN in URLs without percent encoding.
* ftp: shutdown SSL connection before closing control socket.
* ftp: avoid duplication of PROT command.
* fixed debug -o to append to the log file.
* fixed compilation without SSL.
* http: don't uncompress files ending with .gz, .Z or .tgz
* http: fixed inflation of some files.
* minor fixes in torrent protocol.
Get them from http://lftp.yar.ru/get.html or your favorite mirror.
(4.5.6 ia available from http://lftp.yar.ru/ftp/)
Binaries for Fedora 20 are also available.
magnet:?xt=urn:btih:1036E2211338395ED405DFD2E1A7C0E250B84787&xl=2626600&dn=lftp-4.6.0.tar.gz
magnet:?xt=urn:btih:C3ACE41CC267CA4CB61788E26CB192247DC05200&xl=2618661&dn=lftp-4.5.6.tar.gz
magnet:?xt=urn:btih:0BFE6089110E19607C3B6A53F7AF1F1F4E44D442&xl=671392&dn=lftp-4.6.0-1.x86_64.rpm
magnet:?xt=urn:btih:FA79A16118782CE5818B742E1209686B8BA76083&xl=667412&dn=lftp-4.5.6-1.x86_64.rpm
--
Alexander.
_______________________________________________
lftp mailing list
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Alexander V. Lukyanov
2014-10-15 05:32:19 UTC
Permalink
Post by Juan Simón
Error to compile lftp-4.6 on Ubuntu 14.04 64 bits with './configure
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc:1614:22: error: 'PROT' is not a member of 'Ftp::Expect'
|| expect->Has(Expect::PROT))
My bad. Please see the attached patch.
--
Alexander.
Loading...