Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704070 - net-vpn/openvpn-2.4.7-r1: configure: error: bad value no for --with-crypto-library
Summary: net-vpn/openvpn-2.4.7-r1: configure: error: bad value no for --with-crypto-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PATCH
: 719712 (view as bug list)
Depends on:
Blocks: 700656
  Show dependency tree
 
Reported: 2019-12-28 09:09 UTC by Rolf Eike Beer
Modified: 2020-04-27 03:18 UTC (History)
2 users (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 Rolf Eike Beer archtester 2019-12-28 09:09:29 UTC
All failures are of the same kind:

FEATURES=' test' USE='' succeeded for =net-vpn/openvpn-2.4.7-r1
USE='down-root -examples inotify -iproute2 lz4 -lzo -mbedtls -pam -pkcs11 plugins -ssl -static' failed for =net-vpn/openvpn-2.4.7-r1
    log has been saved as /root/tatt/logs/net-vpn_openvpn-2.4.7-r1_use_5mjRh
USE='-down-root examples -inotify iproute2 lz4 -lzo -mbedtls -pam -pkcs11 plugins -ssl -static' failed for =net-vpn/openvpn-2.4.7-r1
    log has been saved as /root/tatt/logs/net-vpn_openvpn-2.4.7-r1_use_gbrKa
USE='down-root -examples inotify iproute2 -lz4 -lzo -mbedtls pam -pkcs11 plugins -ssl -static' failed for =net-vpn/openvpn-2.4.7-r1
    log has been saved as /root/tatt/logs/net-vpn_openvpn-2.4.7-r1_use_aAjkR
USE='down-root examples -inotify iproute2 -lz4 -lzo mbedtls -pam -pkcs11 plugins ssl -static' succeeded for =net-vpn/openvpn-2.4.7-r1
USE='down-root examples -inotify iproute2 lz4 -lzo mbedtls -pam -pkcs11 plugins ssl -static' succeeded for =net-vpn/openvpn-2.4.7-r1
USE='-down-root -examples inotify -iproute2 lz4 -lzo -mbedtls pam -pkcs11 plugins ssl -static' succeeded for =net-vpn/openvpn-2.4.7-r1
USE='down-root -examples -inotify iproute2 -lz4 lzo -mbedtls pam -pkcs11 plugins ssl -static' succeeded for =net-vpn/openvpn-2.4.7-r1
USE='-down-root examples inotify iproute2 lz4 lzo mbedtls pam -pkcs11 plugins ssl -static' succeeded for =net-vpn/openvpn-2.4.7-r1
USE='-down-root -examples -inotify iproute2 -lz4 -lzo -mbedtls -pam pkcs11 plugins ssl -static' failed for =net-vpn/openvpn-2.4.7-r1
USE='down-root -examples inotify -iproute2 -lz4 lzo -mbedtls -pam pkcs11 plugins ssl -static' failed for =net-vpn/openvpn-2.4.7-r1
USE='-down-root examples -inotify iproute2 lz4 -lzo mbedtls -pam pkcs11 plugins ssl -static' failed for =net-vpn/openvpn-2.4.7-r1

I suspect there needs to be a REQUIRED_USE that at least one crypto library is selected?

>>> Configuring source in /var/tmp/portage/net-vpn/openvpn-2.4.7-r1/work/openvpn-2.4.7 ...
 * econf: updating openvpn-2.4.7/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating openvpn-2.4.7/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=hppa2.0-unknown-linux-gnu --host=hppa2.0-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/openvpn-2.4.7-r1 --htmldir=/usr/share/doc/openvpn-2.4.7-r1/html --libdir=/usr/lib --enable-async-push --disable-crypto --without-crypto-library --enable-lz4 --disable-lzo --disable-pkcs11 --enable-plugins --disable-iproute2 --disable-plugin-auth-pam --enable-plugin-down-root --disable-tests --disable-systemd
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... hppa2.0-unknown-linux-gnu
checking host system type... hppa2.0-unknown-linux-gnu
checking whether make supports the include directive... yes (GNU style)
checking for hppa2.0-unknown-linux-gnu-gcc... hppa2.0-unknown-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether hppa2.0-unknown-linux-gnu-gcc accepts -g... yes
checking for hppa2.0-unknown-linux-gnu-gcc option to accept ISO C89... none needed
checking whether hppa2.0-unknown-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of hppa2.0-unknown-linux-gnu-gcc... none
checking how to run the C preprocessor... hppa2.0-unknown-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
configure: error: bad value no for --with-crypto-library
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-29 11:17:06 UTC
REQUIRED_USE+="
    || ( mbedtls openssl )
"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-26 22:48:02 UTC
*** Bug 719712 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2020-04-27 03:18:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f1e199eff80a08bc75f7a11a969dc6134bdd88

commit 30f1e199eff80a08bc75f7a11a969dc6134bdd88
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2020-04-27 03:16:18 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2020-04-27 03:17:49 +0000

    fix build failures
    
    Closes: https://bugs.gentoo.org/704070
    Closes: https://bugs.gentoo.org/719716
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 net-vpn/openvpn/openvpn-2.4.9.ebuild | 36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)