Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579660 - www-servers/apache-2.4.18 USE=libressl fails to solve dependencies
Summary: www-servers/apache-2.4.18 USE=libressl fails to solve dependencies
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-11 20:35 UTC by Jason Oliveira
Modified: 2017-11-09 11:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Oliveira 2016-04-11 20:35:33 UTC
Summary: despite having a "libressl" USE flag, apache refuses to install using it. You are either forced to use "-ssl" in order to build, which disables encryption entirely, or forced to install openssl instead.

Steps to reproduce: 

1. Install libressl according to the wiki

2. Install apache with both "libressl" and "ssl" use flags.

3. stare in sadness when you still need to install openssl.
Comment 1 Tomáš Mózes 2016-04-12 19:49:30 UTC
Please provide the full build log and the output of emerge --info.
Comment 2 Tomáš Mózes 2016-04-12 19:51:34 UTC
Have you also tested 2.4.18-r1 or 2.4.20?
Comment 3 Jason Oliveira 2016-04-12 21:12:08 UTC
GMMS01CS0001 dev # emerge -av apache         

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies                     ... done!   
[ebuild  N    #] dev-libs/openssl-1.0.2g-r2::gentoo  USE="asm bindist tls-heartbeat zlib -gmp -kerberos -rfc3779 -sctp -static-libs {-test} -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB
[ebuild     UD ] www-servers/apache-2.4.18:2::gentoo [2.4.18-r1:2::gentoo] USE="libressl ssl* -debug -doc -ldap (-selinux) -static -suexec -threads" APACHE2_MODULES="access_compat* actions alias auth_basic authn_alias authn_anon authn_dbm authn_file authz_core* authz_dbd* authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb* speling status unique_id unixd userdir usertrack vhost_alias -asis -auth_digest -authn_core -authn_dbd -cache_disk -cern_meta -charset_lite -dbd -dumpio -http2 -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -macro -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_html -proxy_http -proxy_scgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -slotmem_shm -substitute -version" APACHE2_MPMS="-event -peruser -prefork -worker" 0 KiB
[blocks B      ] dev-libs/openssl:0 ("dev-libs/openssl:0" is blocking dev-libs/libressl-2.2.6)

Total: 2 packages (1 downgrade, 1 new), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-libs/libressl-2.2.6:0/35::gentoo, installed) pulled in by
    dev-libs/libressl:0/35= required by (www-misc/zoneminder-1.29.0:0/0::gentoo, installed)
    dev-libs/libressl:= required by (dev-lang/python-2.7.11-r2:2.7/2.7::gentoo, installed)
    dev-libs/libressl required by (dev-lang/php-5.6.19:5.6/5.6::gentoo, installed)
    dev-libs/libressl:0/35=[abi_x86_64(-)] required by (net-misc/curl-7.48.0:0/0::gentoo, installed)
    dev-libs/libressl:0/35= required by (dev-lang/python-3.4.3-r7:3.4/3.4m::gentoo, installed)
    dev-libs/libressl:= required by (net-analyzer/nmap-7.01:0/0::gentoo, installed)
    dev-libs/libressl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] (dev-libs/libressl:0=[abi_x86_64(-)]) required by (dev-db/mariadb-10.0.23:0/18::gentoo, installed)
    dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (dev-libs/libressl[abi_x86_64(-)]) required by (net-libs/libssh-0.7.3:0/4::gentoo, installed)
    dev-libs/libressl:0= required by (app-admin/apache-tools-2.4.18:0/0::gentoo, installed)
    dev-libs/libressl:0= required by (www-misc/zoneminder-1.29.0:0/0::gentoo, installed)
    dev-libs/libressl:0= required by (net-libs/serf-1.3.8-r1:1/1::gentoo, installed)
    dev-libs/libressl required by (net-wireless/crda-3.18-r1:0/0::gentoo, installed)
    dev-libs/libressl required by (media-video/rtmpdump-2.4_p20131018:0/0::gentoo, installed)
    dev-libs/libressl required by (net-misc/wget-1.17.1-r1:0/0::gentoo, installed)
    dev-libs/libressl required by (net-misc/openssh-7.2_p2:0/0::gentoo, installed)
    dev-libs/libressl:0/35= required by (net-libs/serf-1.3.8-r1:1/1::gentoo, installed)
    dev-libs/libressl required by (www-client/links-2.12-r1:2/2::gentoo, installed)
    dev-libs/libressl required by (net-wireless/wpa_supplicant-2.5-r1:0/0::gentoo, installed)
    dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (dev-libs/libressl[abi_x86_64(-)]) required by (net-libs/libssh2-1.7.0:0/0::gentoo, installed)
    dev-libs/libressl:0/35= required by (dev-lang/python-2.7.11-r2:2.7/2.7::gentoo, installed)
    dev-libs/libressl required by (net-misc/freerdp-1.2.1_pre20150326-r1:0/1.2::gentoo, installed)
    dev-libs/libressl:= required by (dev-lang/python-3.4.3-r7:3.4/3.4m::gentoo, installed)
    dev-libs/libressl:= required by (www-servers/apache-2.4.18:2/2::gentoo, ebuild scheduled for merge)
    dev-libs/libressl required by (net-misc/iputils-20121221-r2:0/0::gentoo, installed)
    dev-libs/libressl:0=[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (dev-libs/libressl:0=[abi_x86_64(-)]) required by (net-misc/curl-7.48.0:0/0::gentoo, installed)
    dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (dev-libs/libressl[abi_x86_64(-)]) required by (dev-qt/qtcore-4.8.7-r1:4/4::gentoo, installed)
    dev-libs/libressl required by (dev-perl/Net-SSLeay-1.720.0:0/0::gentoo, installed)
    dev-libs/libressl:0/35= required by (net-analyzer/nmap-7.01:0/0::gentoo, installed)
    dev-libs/libressl:0/35=[abi_x86_64(-)] required by (dev-db/mariadb-10.0.23:0/18::gentoo, installed)
    dev-libs/libressl:0/35= required by (app-admin/apache-tools-2.4.18:0/0::gentoo, installed)

  (dev-libs/openssl-1.0.2g-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/openssl required by (www-servers/apache-2.4.18:2/2::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by www-servers/apache-2.4.18::gentoo[ssl]
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/openssl:
=dev-libs/openssl-1.0.2g-r2

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Would you like to add these changes to your config files? [Yes/No] n



------- outupt of emerge --info ------------------------
GMMS01CS0001 dev # emerge --info
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r2, 4.0.5-gentoo x86_64)      
=================================================================                                                   
System uname: Linux-4.0.5-gentoo-x86_64-AMD_A6-1450_APU_with_Radeon-TM-_HD_Graphics-with-gentoo-2.2                 
KiB Mem:     3406332 total,     39948 free                                                                          
KiB Swap:     499708 total,    497400 free
Timestamp of repository gentoo: Mon, 04 Apr 2016 20:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri exif fortran gdbm iconv ipv6 libressl mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd truetype unicode xattr zlib" ABI_X86="64" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id unixd userdir usertrack vhost_alias access_compat authz_core authz_dbd socache_shmcb" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics joystick keyboard mouse mutouch" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="modesetting radeon radeonsi v4l vesa" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Jason Oliveira 2016-04-12 21:23:25 UTC
I have tested -r1, no change.

I built the package manually, works fine. 

looks like it's a problem with apache's ebuild depending on openssl. Looking at the wiki's howto for converting ebuilds to work with libressl, I wasn't able to figure out how apache's ebuild handled this (I usually try to supply patches/fixes with bugs).
Comment 5 Pacho Ramos gentoo-dev 2017-11-09 11:23:54 UTC
Are you still hitting this with latest version? If that is the case, please try to run the emerge with "--autounmask=n" to try to get a more meaningful error message
Comment 6 Pacho Ramos gentoo-dev 2017-11-09 11:29:41 UTC
bug 625450 would indicate the issue with the deps got solved ... but still failing to build due to a different bug