Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760771 - net-misc/curl-7.72.0 build fails if ssl flag is set but openssl is not
Summary: net-misc/curl-7.72.0 build fails if ssl flag is set but openssl is not
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-19 19:41 UTC by Aleksei Romanenko
Modified: 2020-12-24 23:28 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 Aleksei Romanenko 2020-12-19 19:41:10 UTC
Ebuild does not contain instructions to include openssl on condition that ssl use flag is set whereas the package seems to require some openssl headers when OPT_SSL is set. This results in configuration step error

configure: OPT_SSL: yes
configure: OPENSSL_ENABLED:
configure: error: --with-ssl was given but OpenSSL could not be detected




Reproducible: Always

Steps to Reproduce:
Try emerge net-misc/curl-7.72.0::gentoo without any flags but: gnutls, http2, ssl CURL_SSL_OPENSSL ABI_X86_64

Actual Results:  
Emerge fails at configuration step

Expected Results:  
Emerge proceeds to compilation and succeeds. 

Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.32-r2, 5.4.80-gentoo-r1-compact-0.1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.80-gentoo-r1-compact-0.1-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.7
KiB Mem:    16354640 total,  11005796 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 11 Dec 2020 00:45:01 +0000
Head commit of repository gentoo: dfcd1083180e4c1966c39d4d9bee66071ea6e5f1
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 6 --load-average 5"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=haswell -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=haswell -O2 -pipe"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ https://mirror.netcologne.de/gentoo/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo https://gentoo.wheel.sk/"
LANG="en_US"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20 -l6"
PKGDIR="/var/cache/binpkgs"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X alsa amd64 bluetooth cups dbus elogind gnutls libglvnd ncurses nls otf pam pulseaudio split-usr udev unicode" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="ru fi" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-misc/curl-7.72.0::gentoo was built with the following:
USE="gnutls http2 ssl -adns -alt-svc -brotli -ftp -gopher -idn -imap -ipv6 -kerberos -ldap -libressl -mbedtls -metalink (-nghttp3) -nss -openssl -pop3 -progress-meter (-quiche) -rtmp -samba -smtp -ssh -static-libs -telnet -test -tftp -threads (-winssl)" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -libressl -mbedtls -nss (-winssl)"
FEATURES="multilib-strict binpkg-docompress usersandbox unknown-features-warn unmerge-logs ipc-sandbox sfperms ebuild-locks binpkg-dostrip news userfetch protect-owned merge-sync distlocks config-protect-if-modified unmerge-orphans preserve-libs fixlafiles assume-digests pid-sandbox usersync strict parallel-fetch qa-unresolved-soname-deps userpriv network-sandbox sandbox binpkg-logs"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-20 03:25:18 UTC
The full build.log would still be helpful to save time and in case this is a local issue.
Comment 2 Aleksei Romanenko 2020-12-24 23:28:18 UTC
I was unable to reproduce it several days later since the original report.