bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wget --version doesn't show version


From: Tim Rühsen
Subject: Re: [Bug-wget] wget --version doesn't show version
Date: Wed, 15 Oct 2014 11:23:03 +0200
User-agent: KMail/4.14.1 (Linux/3.16-2-amd64; KDE/4.14.1; x86_64; ; )

Am Mittwoch, 15. Oktober 2014, 09:39:19 schrieb Volker Kuhlmann:
> The wget version is
> 
>  > rpm -q wget
> 
>  wget-1.13.4-15.1.1.x86_64
> 
> on openSUSE 12.3. The source package has a few patches but none affect
> the output of --version, which shows everything but a version number.
> 
> Please CC me if this is a list.

Hi Volker,

The current version 1.15 definitely outputs it's version with --version.
You could have a look into the sources (main.c/print_version) if you are 
interested.

The current version (and I guess it is the same with Wget 1.13) contains
  if (printf (_("GNU Wget %s built on %s.\n\n"), version_string, OS_TYPE) < 0)
    exit (WGET_EXIT_IO_FAIL);

But now, having a closer look at your apended out:
> GNU Wget  built on linux-gnu.

See the two spaces between 'GNU Wget' and 'built on ...' ?
That indicates that 'version_string' is empty.
So it seems to be a packaging problem of your distribution... you should open 
a bug report at SuSE.

Thanks for your report.

Tim

>  > wget --version
> 
> GNU Wget  built on linux-gnu.
> 
> +digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl
> 
> Wgetrc:
>     /home/volker/.wgetrc (user)
>     /etc/wgetrc (system)
> Locale: /usr/share/locale
> Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
>     -DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib
>     -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
>     -funwind-tables -fasynchronous-unwind-tables -g
> Link: gcc -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
> -funwind-tables -fasynchronous-unwind-tables -g -lproxy
>     /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so
>     -ldl -lz -lidn ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a
> 
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://www.gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Originally written by Hrvoje Niksic <address@hidden>.
> Please send bug reports and questions to <address@hidden>.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]