Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 592452

Summary: www-servers/apache and app-admin/apache-tools fail to build with >=dev-libs/openssl-1.1.0
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED OBSOLETE    
Severity: normal CC: mmokrejs, public
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bz.apache.org/bugzilla/show_bug.cgi?id=60061
See Also: https://bz.apache.org/bugzilla/show_bug.cgi?id=60962
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 669514    
Attachments: build.log
build.log

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-30 16:30:32 UTC
See attached build.log files.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-30 16:46:36 UTC
Created attachment 444464 [details]
build.log

build.log from www-servers/apache
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-30 16:47:22 UTC
Created attachment 444466 [details]
build.log

build.log from app-admin/apache-tools
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-04 14:09:58 UTC
Should be fixed with >=apache-2.4.23
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-05 21:32:51 UTC
Reopening. The packages still fail whithout deprecated features from openssl:

/usr/share/build-1/libtool --silent --mode=link x86_64-pc-linux-gnu-gcc  -pthread  -march=native -mtune=native -O2 -pipe    -L/var/tmp/portage/dev-libs/apr-util-1.5.4-r1/temp  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,--no-as-needed -o htdbm  htdbm.lo passwd_common.lo       -laprutil-1 -ldb-6.2 -lgdbm -lexpat -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl -lcrypt
/usr/share/build-1/libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc   -pthread  -march=native -mtune=native -O2 -pipe    -DLINUX -D_REENTRANT -D_GNU_SOURCE   \
      -I. -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/os/unix -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/include -I/usr/include/apr-1 -I/usr/include/db6.2 -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/aaa -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/cache -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/core -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/database -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/filters -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/ldap -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/loggers -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/lua -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/proxy -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/session -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/ssl -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/test -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/server -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/arch/unix -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/dav/main -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/generators -I/var/tmp/portage/www-servers/apache-2.4.25/work/httpd-2.4.25/modules/mappers  -prefer-non-pic -static -c ab.c && touch ab.lo
ab.c: In function ‘ssl_print_cert_info’:
ab.c:642:29: warning: implicit declaration of function ‘X509_get_notBefore’ [-Wimplicit-function-declaration]
     ASN1_UTCTIME_print(bio, X509_get_notBefore(cert));
                             ^
ab.c:642:29: warning: passing argument 2 of ‘ASN1_UTCTIME_print’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /usr/include/openssl/rsa.h:16:0,
                 from ab.c:161:
/usr/include/openssl/asn1.h:751:5: note: expected ‘const ASN1_UTCTIME * {aka const struct asn1_string_st *}’ but argument is of type ‘int’
 int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
     ^
ab.c:646:29: warning: implicit declaration of function ‘X509_get_notAfter’ [-Wimplicit-function-declaration]
     ASN1_UTCTIME_print(bio, X509_get_notAfter(cert));
                             ^
ab.c:646:29: warning: passing argument 2 of ‘ASN1_UTCTIME_print’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /usr/include/openssl/rsa.h:16:0,
                 from ab.c:161:
/usr/include/openssl/asn1.h:751:5: note: expected ‘const ASN1_UTCTIME * {aka const struct asn1_string_st *}’ but argument is of type ‘int’
 int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
     ^
ab.c: In function ‘main’:
ab.c:2398:28: warning: implicit declaration of function ‘SSLv2_client_method’ [-Wimplicit-function-declaration]
                     meth = SSLv2_client_method();
                            ^
ab.c:2398:26: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
                     meth = SSLv2_client_method();
                          ^
ab.c:2412:28: warning: implicit declaration of function ‘TLSv1_1_client_method’ [-Wimplicit-function-declaration]
                     meth = TLSv1_1_client_method();
                            ^
ab.c:2412:26: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
                     meth = TLSv1_1_client_method();
                          ^
ab.c:2414:28: warning: implicit declaration of function ‘TLSv1_2_client_method’ [-Wimplicit-function-declaration]
                     meth = TLSv1_2_client_method();
                            ^
ab.c:2414:26: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
                     meth = TLSv1_2_client_method();
                          ^
ab.c:2417:28: warning: implicit declaration of function ‘TLSv1_client_method’ [-Wimplicit-function-declaration]
                     meth = TLSv1_client_method();
                            ^
ab.c:2417:26: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
                     meth = TLSv1_client_method();
                          ^
ab.c:2468:5: warning: implicit declaration of function ‘CRYPTO_malloc_init’ [-Wimplicit-function-declaration]
     CRYPTO_malloc_init();
     ^
ab.c:2470:5: warning: implicit declaration of function ‘SSL_load_error_strings’ [-Wimplicit-function-declaration]
     SSL_load_error_strings();
     ^
ab.c:2471:5: warning: implicit declaration of function ‘SSL_library_init’ [-Wimplicit-function-declaration]
     SSL_library_init();
     ^
/usr/share/build-1/libtool --silent --mode=link x86_64-pc-linux-gnu-gcc  -pthread  -march=native -mtune=native -O2 -pipe -lssl -lcrypto -luuid -lrt -lcrypt -lpthread -ldl  \
      -L/var/tmp/portage/dev-libs/apr-util-1.5.4-r1/temp  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,--no-as-needed -o ab  ab.lo       -laprutil-1 -ldb-6.2 -lgdbm -lexpat -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl -lm
ab.o: In function `ssl_print_cert_info':
ab.c:(.text+0x7e4): undefined reference to `X509_get_notBefore'
ab.c:(.text+0x817): undefined reference to `X509_get_notAfter'
ab.o: In function `main':
ab.c:(.text.startup+0x463): undefined reference to `TLSv1_client_method'
ab.c:(.text.startup+0x8f2): undefined reference to `SSLv2_client_method'
ab.c:(.text.startup+0x93f): undefined reference to `TLSv1_1_client_method'
ab.c:(.text.startup+0x94c): undefined reference to `TLSv1_2_client_method'
ab.c:(.text.startup+0xa10): undefined reference to `CRYPTO_malloc_init'
ab.c:(.text.startup+0xa17): undefined reference to `SSL_load_error_strings'
ab.c:(.text.startup+0xa1e): undefined reference to `SSL_library_init'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:60: ab] Error 1
Comment 5 Andreas Sturmlechner gentoo-dev 2017-09-30 17:27:34 UTC
*** Bug 632562 has been marked as a duplicate of this bug. ***
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-09-29 16:41:43 UTC
THis bug can be closed although the package still uses deprecated features.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-11-13 10:58:43 UTC
Reopening until "disable-deprecated" in openssl won't break apache anymore.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-29 09:58:23 UTC
*** Bug 681990 has been marked as a duplicate of this bug. ***