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

 
 

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

Submitted by:  Lars Wendler <polyc>
Submitted on:  Wed 12 Apr 2017 09:05:51 AM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: trunkOperating System: GNU/Linux
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: No
Work Required: NonePatch Included: No

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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
  • -unavailable- added by gienah (Updated the item)
  • -unavailable- added by polyc (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 Oct 2017 06:00:33 AM UTCgienahAttached File-=>Added wget-1.19.1-openssl-1.1.patch, #42157

    Back to the top


    Powered by Savane 3.1-cleanup1