Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592510 - www-client/w3m fails to build with >=dev-libs/openssl-1.1.0 built with disable-deprecated option
Summary: www-client/w3m fails to build with >=dev-libs/openssl-1.1.0 built with disabl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1_disable-deprecated
  Show dependency tree
 
Reported: 2016-08-30 22:57 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-10-26 12:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,10.92 KB, text/plain)
2016-08-30 23:00 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
w3m-0.5.3-r9-openssl-1.1.patch (w3m-0.5.3-r9-openssl-1.1.patch,1.27 KB, patch)
2017-10-16 07:20 UTC, Mark Wright
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-30 22:57:37 UTC
x86_64-pc-linux-gnu-gcc  -I. -I. -march=native -mtune=native -O2 -pipe -I./libwc   -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/libexec/w3m\" -DCGIBIN_DIR=\"/usr/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/share/w3m\" -DETC_DIR=\"/etc\" -DCONF_DIR=\"
/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o url.o url.c
url.c: In function ‘openSSLHandle’:
url.c:323:12: error: too few arguments to function ‘SSL_CTX_new’
  ssl_ctx = SSL_CTX_new();
            ^
In file included from html.h:7:0,
                 from fm.h:39,
                 from url.c:2:
/usr/include/openssl/ssl.h:1302:17: note: declared here
 __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
                 ^
url.c:324:2: warning: implicit declaration of function ‘X509_set_default_verify_paths’ [-Wimplicit-function-declaration]
  X509_set_default_verify_paths(ssl_ctx->cert);
  ^
url.c:324:39: error: dereferencing pointer to incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
  X509_set_default_verify_paths(ssl_ctx->cert);
                                       ^
url.c: In function ‘openURL’:
url.c:1625:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
      write(sock, tmp->ptr, tmp->length);
      ^
url.c:1725:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write(sock, tmp->ptr, tmp->length);
   ^
url.c:1747:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
      write(sock, tmp->ptr, tmp->length);
      ^
url.c: In function ‘write_from_file’:
url.c:431:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
      write(sock, buf, 1);
      ^
make: *** [<builtin>: url.o] Error 1
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-30 23:00:33 UTC
Created attachment 444520 [details]
build.log
Comment 2 Mark Wright gentoo-dev 2017-10-16 07:20:50 UTC
Created attachment 498824 [details, diff]
w3m-0.5.3-r9-openssl-1.1.patch
Comment 3 Arfrever Frehtes Taifersar Arahesis 2017-10-16 21:12:09 UTC
(In reply to Mark Wright from comment #2)

Could you send this patch to upstream?
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-10-26 12:25:20 UTC
https://github.com/tats/w3m/commit/d10007a2c61709a5b8f7ed6a5e9f4a24ac374c92