Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681990 - www-servers/apache-2.2.34 with dev-libs/openssl-1.1.0j-r1 - undefined reference to `SSL_set_cert_store'
Summary: www-servers/apache-2.2.34 with dev-libs/openssl-1.1.0j-r1 - undefined referen...
Status: RESOLVED DUPLICATE of bug 592452
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2019-03-29 09:25 UTC by Martin Mokrejš
Modified: 2019-03-29 14:04 UTC (History)
1 user (show)

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

build.log (build.log,19.96 KB, text/plain)
2019-03-29 09:26 UTC, Martin Mokrejš
config.log (config.log,60.51 KB, text/plain)
2019-03-29 09:26 UTC, Martin Mokrejš

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2019-03-29 09:25:47 UTC
Seems it is incompatible with dev-libs/openssl-1.1.0j-r1:0/1.1::gentoo.

checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... none
checking for OpenSSL version... checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
  forcing SSL_LIBS to "-lssl -lcrypto"
  adding "-lssl" to LIBS
  adding "-lcrypto" to LIBS
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for SSLeay_version... no
checking for SSL_CTX_new... yes
checking for ENGINE_init... yes
checking for ENGINE_load_builtin_engines... yes
checking for SSL_set_cert_store... no
configure: error: ... Error, SSL/TLS libraries were missing or unusable

!!! Please attach the following file when seeking support:
!!! /scratch/var/tmp/portage/www-servers/apache-2.2.34/work/httpd-2.2.34/config.log
 * ERROR: www-servers/apache-2.2.34::gentoo failed (configure phase):
 *   econf failed
 * Call stack:
 *     , line  124:  Called src_configure
 *             environment, line 3656:  Called apache-2_src_configure
 *             environment, line  828:  Called econf '--enable-so=static' '--disable-authnz_ldap' '--disable-ldap' '--with-ssl' '--enable-ssl=shared' '--with-suexec-safepath=/usr/local/bin:/usr/bin:/bin' '--with-suexec-logfile=/var/log/apache2/suexec_log' '--with-suexec-bin=/usr/sbin/suexec' '--with-suexec-userdir=public_html' '--with-suexec-caller=apache' '--with-suexec-docroot=/var/www' '--with-suexec-uidmin=1000' '--with-suexec-gidmin=100' '--with-suexec-umask=077' '--enable-suexec=shared' '--disable-actions' '--enable-alias=shared' '--disable-asis' '--enable-auth_basic=shared' '--enable-auth_digest=shared' '--disable-authn_alias' '--disable-authn_anon' '--disable-authn_dbd' '--disable-authn_dbm' '--disable-authn_default' '--disable-authn_file' '--disable-authz_dbm' '--disable-authz_default' '--disable-authz_groupfile' '--enable-authz_host=shared' '--disable-authz_owner' '--disable-authz_user' '--disable-autoindex' '--enable-cache=shared' '--disable-cern_meta' '--enable-charset_lite=shared' '--enable-cgi=shared' '--enable-cgid=shared' '--disable-dav' '--disable-dav_fs' '--disable-dav_lock' '--disable-dbd' '--enable-deflate=shared' '--enable-dir=shared' '--enable-disk_cache=shared' '--disable-dumpio' '--enable-env=shared' '--disable-expires' '--disable-ext_filter' '--enable-file_cache=shared' '--enable-filter=shared' '--disable-headers' '--disable-ident' '--disable-imagemap' '--enable-include=shared' '--enable-info=shared' '--enable-log_config=shared' '--enable-log_forensic=shared' '--disable-logio' '--enable-mem_cache=shared' '--enable-mime=shared' '--enable-mime_magic=shared' '--enable-negotiation=shared' '--disable-proxy' '--disable-proxy_ajp' '--disable-proxy_balancer' '--disable-proxy_connect' '--disable-proxy_ftp' '--disable-proxy_http' '--disable-proxy_scgi' '--enable-rewrite=shared' '--disable-reqtimeout' '--enable-setenvif=shared' '--disable-speling' '--enable-status=shared' '--disable-substitute' '--disable-unique_id' '--enable-userdir=shared' '--enable-usertrack=shared' '--disable-version' '--enable-vhost_alias=shared' '--includedir=/usr/include/apache2' '--libexecdir=/usr/lib64/apache2/modules' '--datadir=/var/www/localhost' '--sysconfdir=/etc/apache2' '--localstatedir=/var' '--with-mpm=worker' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/scratch/var/tmp/portage/www-servers/apache-2.2.34/temp/pcre-config' '--with-z=/usr' '--with-port=80' '--with-program-name=apache2' '--enable-layout=Gentoo'
 *, line  718:  Called __helpers_die 'econf failed'
 *, line  119:  Called die
 * The specific snippet of code:
 *              die "$@"
 * If you need support, post the output of `emerge --info '=www-servers/apache-2.2.34::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-servers/apache-2.2.34::gentoo'`.
 * The complete build log is located at '/scratch/var/tmp/portage/www-servers/apache-2.2.34/temp/build.log'.
 * The ebuild environment file is located at '/scratch/var/tmp/portage/www-servers/apache-2.2.34/temp/environment'.
 * Working directory: '/scratch/var/tmp/portage/www-servers/apache-2.2.34/work/httpd-2.2.34'
 * S: '/scratch/var/tmp/portage/www-servers/apache-2.2.34/work/httpd-2.2.34'

# emerge --info '=www-servers/apache-2.2.34::gentoo'
Portage 2.3.62 (python 2.7.16-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.28-r5, 5.0.5-default-pciehp x86_64)
                         System Settings
System uname: Linux-5.0.5-default-pciehp-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.6
KiB Mem:    16363296 total,   3457048 free
KiB Swap:   26853460 total,  26853460 free
Timestamp of repository gentoo: Wed, 27 Mar 2019 20:30:02 +0000
Head commit of repository gentoo: e7d9616fe68c6027becad6f2bda82e94209417d5
sh bash 5.0_p3-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          5.0_p3-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.9999::gentoo
dev-lang/python:          2.7.16::gentoo, 3.5.6::gentoo, 3.6.8::gentoo, 3.7.2::gentoo
dev-util/cmake:           3.14.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r2::gentoo, 1.14.1-r1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r4::gentoo, 2.32::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo, 8.3.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo

    location: /scratch/usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

    location: /scratch/mmokrejs/proj/sci
    masters: gentoo
    priority: 0

    location: /var/lib/layman
    masters: gentoo
    priority: 1

    location: /usr/local/portage
    masters: gentoo
    priority: 2

    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

    location: /var/lib/layman/stefantalpalaru
    masters: gentoo science
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype- AdobeFlash-11.x OPERA-2014 RAR Intel-SDP intel-ucode-20180807"
CFLAGS="-O2 -pipe -mpclmul -mpopcnt -march=native -ftree-vectorize"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.6/conf /var/bind /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/vmware-installer"
CXXFLAGS="-O2 -pipe -mpclmul -mpopcnt -march=native -ftree-vectorize"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en_GB en cs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
USE="R X acpi alsa amd64 amr apache apache2 asm avx berkdb bluetooth boost bzip2 cairo cgi cli coin connection-sharing consolekit cracklib crypt cryptlib cryptsetup cups cxx dbus device-mapper dhcp directfb dri drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran fuse gbm gcrypt gd gdbm geoip geolocation gimp glpk gmp gpm gps gtk hal hpijs hwdb iconv id3tag imaging innodb inotify java javafx javascript jce jpeg jpg js jscript keymap kmod ladspa lame lapack laptop lcms libnotify libtirpc lm_sensors mad matroska mmx modemmanager mp3 multicore multilib multimedia mysql ncurses netpbm networkmanager nfs nls nptl nptlonly nscd ntfs ntfsdecrypt ntfsprogs objc ocr ogg opengl openmp openssl pam parport pcre pcre16 pdf pdfimport pdl perl php pkcs11 plplot png policykit polkit postproc postscript ppds ppp pppd pptx python qt3support qt4 qt5 readline rendering resolvconf samba scanner sctp seccomp server session sha512 slideshow smartcard sna sndfile sparsehash sqlite sse sse2 sse3 sse4_1 sse4_2 ssh ssh-agent ssl sslv2 sslv3 ssse3 startup-notification suexec svg syslog tcl tcpd threads tiff tk truetype twolame udev unicode upower usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xcomposite xft xinerama xml xorg xrandr xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 navcom ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox fury geostar nmea0183 nmea2000 passthrough" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en-US en en-GB cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

                        Package Settings

www-servers/apache-2.2.34::gentoo was built with the following:
USE="gdbm ssl suexec threads -debug -doc -ldap -libressl (-selinux) -static" ABI_X86="(64)" APACHE2_MODULES="alias auth_basic auth_digest authz_host cache cgi cgid charset_lite deflate dir disk_cache env file_cache filter include info log_config log_forensic mem_cache mime mime_magic negotiation rewrite setenvif status userdir usertrack vhost_alias -actions -asis -authn_alias -authn_anon -authn_dbd -authn_dbm -authn_default -authn_file -authz_dbm -authz_default -authz_groupfile -authz_owner -authz_user -autoindex -cern_meta -dav -dav_fs -dav_lock -dbd -dumpio -expires -ext_filter -headers -ident -imagemap -logio -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -speling -substitute -unique_id -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed"
Comment 1 Martin Mokrejš 2019-03-29 09:26:32 UTC
Created attachment 571136 [details]
Comment 2 Martin Mokrejš 2019-03-29 09:26:47 UTC
Created attachment 571138 [details]
Comment 3 Jeroen Roovers gentoo-dev 2019-03-29 09:58:23 UTC

*** This bug has been marked as a duplicate of bug 592452 ***
Comment 4 Tomáš Mózes 2019-03-29 14:04:18 UTC
You should migrate to 2.4, it compiles with openssl-1.1.0j.


Apache httpd 2.2 End-of-Life 2018-01-01

As previously announced, the Apache HTTP Server Project has discontinued all development and patch review of the 2.2.x series of releases.

The Apache HTTP Server Project had long committed to provide maintenance releases of the 2.2.x flavor through June of 2017. The final release 2.2.34 was published in July 2017, and no further evaluation of bug reports or security risks will be considered or published for 2.2.x releases.