bugGNU Wget - Bugs: bug #50788, Build failure against openssl-1.1...

 
 

bug #50788: Build failure against openssl-1.1 that lacks deprecated features

Submitter:  Lars Wendler <polyc>
Submitted:  Wed 12 Apr 2017 09:05:51 AM UTC
   
 
Category:  Build/Install Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  trunk Operating System:  GNU/Linux
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  None Regression:  No
Work Required:  None Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 12 Apr 2017 09:05:51 AM UTC, original submission:  

Although with commit 309e72c74f4ea6c3707ca185bc92ae95ebf56b16 some openssl-1.1 compatibility had been added, trying to build wget against openssl-1.1 that was compiled with either "--api=1.1.0" or "no-deprecated" option still fails:


i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\" -DLOCALEDIR=\"/usr/share/locale\" -I.  -I../lib -I../lib   -DHAVE_LIBSSL  -DNDEBUG -march=native -O2 -pipe -c -o openssl.o openssl.c
openssl.c: In function 'ssl_init':
openssl.c:181:7: warning: implicit declaration of function 'OPENSSL_config' [-Wimplicit-function-declaration]
       OPENSSL_config (NULL);
       ^
openssl.c:205:3: warning: implicit declaration of function 'SSL_library_init' [-Wimplicit-function-declaration]
   SSL_library_init ();
   ^
openssl.c:206:3: warning: implicit declaration of function 'SSL_load_error_strings' [-Wimplicit-function-declaration]
   SSL_load_error_strings ();
   ^
openssl.c:232:14: warning: implicit declaration of function 'TLSv1_client_method' [-Wimplicit-function-declaration]
       meth = TLSv1_client_method ();
              ^
openssl.c:232:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
       meth = TLSv1_client_method ();
            ^
openssl.c:237:14: warning: implicit declaration of function 'TLSv1_1_client_method' [-Wimplicit-function-declaration]
       meth = TLSv1_1_client_method ();
              ^
openssl.c:237:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
       meth = TLSv1_1_client_method ();
            ^
openssl.c:241:14: warning: implicit declaration of function 'TLSv1_2_client_method' [-Wimplicit-function-declaration]
       meth = TLSv1_2_client_method ();
              ^
openssl.c:241:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
       meth = TLSv1_2_client_method ();
            ^
i686-pc-linux-gnu-gcc  -DHAVE_LIBSSL  -DNDEBUG -march=native -O2 -pipe  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -o wget connect.o convert.o cookies.o ftp.o css_.o css-url.o ftp-basic.o ftp-ls.o hash.o host.o hsts.o html-parse.o html-url.o http.o init.o log.o main.o netrc.o progress.o ptimer.o recur.o res.o retr.o spider.o url.o warc.o xattr.o utils.o exits.o build_info.o iri.o  version.o ftp-opie.o openssl.o ../lib/libgnu.a               -lpcre -lidn2 -lssl -lcrypto -lz
openssl.o: In function `ssl_init':
openssl.c:(.text+0x546): undefined reference to `OPENSSL_config'
openssl.c:(.text+0x619): undefined reference to `SSL_library_init'
openssl.c:(.text+0x61e): undefined reference to `SSL_load_error_strings'
openssl.c:(.text+0x63c): undefined reference to `TLSv1_2_client_method'
openssl.c:(.text+0x7b9): undefined reference to `TLSv1_1_client_method'
openssl.c:(.text+0x7c3): undefined reference to `TLSv1_client_method'
collect2: error: ld returned 1 exit status
make[3]: * [Makefile:1565: wget] Error 1

Lars Wendler <polyc>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #42157:  wget-1.19.1-openssl-1.1.patch added by gienah (2KiB - text/x-patch - wget-1.19.1-openssl-1.1.patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gienah (Updated the item)
  • -email is unavailable- added by polyc (Submitted the item)
  •  

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-10-15 gienah Attached File- Added wget-1.19.1-openssl-1.1.patch, #42157

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code