Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2014 13:31:00 +0200 (EET)
From:      Anton Sayetsky <vsjcfm@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/188028: ftp/curl can't be built with http2
Message-ID:  <201403281131.s2SBV0h7079311@cs0.ntop.tv>
Resent-Message-ID: <201403281140.s2SBe0rs023626@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188028
>Category:       ports
>Synopsis:       ftp/curl can't be built with http2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 28 11:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Anton Sayetsky
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD cs0.local 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0 r262976: Mon Mar 10 19:45:19 EET 2014 root@cs0.local:/usr/obj/usr/src/sys/FSRV amd64
>Description:
Configure cannot find nghttp2

--- curlbuild.log begins here ---
Script started on Fri Mar 28 13:27:30 2014
root@cs0:~# cd /usr/ports/ftp/curl
root@cs0:/usr/ports/ftp/curl# make showconfig
===> The following configuration options are available for curl-7.36.0:
     CA_BUNDLE=on: Install CA bundle for OpenSSL
     COOKIES=off: Cookies support
     CURL_DEBUG=off: cURL debug memory tracking
     DEBUG=off: Build with debugging support
     DOCS=off: Build and/or install documentation
     EXAMPLES=off: Build and/or install examples
     HTTP2=on: HTTP/2.0 support
     IDN=on: International Domain Names support
     IPV6=on: IPv6 protocol support
     LDAP=off: LDAP support
     LDAPS=off: LDAPS support
     LIBSSH2=off: SCP/SFTP support via libssh2
     PROXY=on: Proxy support
     RTMP=off: RTMP protocol support via librtmp
     SPNEGO=off: SPNEGO (RFC 4178) support
     TLS_SRP=off: TLS-SRP (Secure Remote Password) support
====> GSSAPI support: you can only select none or one of them
     GSSAPI_BASE=off: GSSAPI support via base system
     HEIMDAL_PORT=off: GSSAPI support via security/heimdal
     KRB5_PORT=off: GSSAPI support via security/krb5
====> DNS resolving options: you can only select none or one of them
     CARES=off: Asynchronous DNS resolution via c-ares
     THREADED_RESOLVER=on: Threaded DNS resolver
====> SSL protocol support: you can only select none or one of them
     CYASSL=off: SSL/TLS support via CyaSSL
     GNUTLS=off: SSL/TLS support via GnuTLS
     NSS=off: SSL/TLS support via NSS
     OPENSSL=on: SSL/TLS support via OpenSSL
     POLARSSL=off: SSL/TLS support via PolarSSL
===> Use 'make config' to modify these settings
root@cs0:/usr/ports/ftp/curl# make
===>  License MIT accepted by the user
===>  Found saved configuration for curl-7.36.0
===>   curl-7.36.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by curl-7.36.0 for building
===>  Extracting for curl-7.36.0
=> SHA256 Checksum OK for curl-7.36.0.tar.lzma.
===>  Patching for curl-7.36.0
===>  Applying FreeBSD patches for curl-7.36.0
===>   curl-7.36.0 depends on file: /usr/local/bin/perl5.16.3 - found
===>   curl-7.36.0 depends on shared library: libidn.so - found
===>  Configuring for curl-7.36.0
configure: loading site script /usr/ports/Templates/config.site
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking for path separator... :
checking for sed... (cached) /usr/bin/sed
checking for grep... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cpp
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of cc... gcc3
checking curl version... 7.36.0
checking build system type... amd64-portbld-freebsd9.2
checking host system type... amd64-portbld-freebsd9.2
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking size of long... 8
checking size of void*... 8
checking for 64-bit curl_off_t data type... long
checking size of curl_off_t... 8
checking formatting string directive for curl_off_t... "ld"
checking formatting string directive for unsigned curl_off_t... "lu"
checking constant suffix string for curl_off_t... L
checking constant suffix string for unsigned curl_off_t... UL
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd9.2 file names to amd64-portbld-freebsd9.2 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... yes
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... yes
checking whether to build shared libraries only... no
checking whether to build static libraries only... no
checking for inline... inline
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... yes
checking if compiler is GNU C... no
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -Qunused-arguments 
checking if compiler accepts debug disabling options... yes
configure: compiler options added: 
checking if compiler optimizer assumed setting might be used... no
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
checking for windows.h... no
checking whether build target is a native Windows one... no
checking whether build target supports WIN32 file API... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... no
checking whether to support ldaps... no
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to provide built-in manual... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... (cached) yes
checking for strcasecmp... (cached) yes
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for winsock2.h... (cached) no
checking for connect in libraries... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking if monotonic clock_gettime works... yes
checking for inflateEnd in -lz... yes
checking for zlib.h... (cached) yes
configure: found both libz and libz.h header
checking whether to enable ipv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... yes
checking if SPNEGO support is requested... no
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS (Windows native builds only)... no
checking whether to enable iOS/Mac OS X native SSL/TLS... no
configure: PKG_CONFIG_LIBDIR will be set to "/usr/local/libdata/pkgconfig"
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/pkcs12.h usability... yes
checking openssl/pkcs12.h presence... yes
checking for openssl/pkcs12.h... yes
checking for ENGINE_init... yes
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for ENGINE_load_builtin_engines... yes
checking for RAND_status... yes
checking for RAND_screen... no
checking for RAND_egd... yes
checking for ENGINE_cleanup... yes
checking for CRYPTO_cleanup_all_ex_data... yes
checking for SSL_get_shutdown... yes
checking for SSLv2_client_method... yes
checking for SSL_CTX_set_next_proto_select_cb... no
checking for SSL_CTX_set_alpn_protos... no
checking for SSL_CTX_set_alpn_select_cb... no
checking for yaSSL using OpenSSL compatibility mode... no
configure: Added /usr/lib to LD_LIBRARY_PATH
checking for OpenSSL headers version... 0.9.8 - 0x0090819fL
checking for OpenSSL library version... 0.9.8
checking for OpenSSL headers and library versions matching... yes
checking for "/dev/urandom"... yes
checking for SRP_Calc_client_key in -lcrypto... no
checking default CA cert bundle/path... /usr/local/share/certs/ca-root-nss.crt
checking whether versioned symbols are wanted... no
checking whether to enable Windows native IDN (Windows native builds only)... no
checking whether to build with libidn... yes (/usr/local)
checking for pkg-config... no
configure: IDN_LIBS: "-lidn"
configure: IDN_LDFLAGS: "-L/usr/local/lib"
configure: IDN_CPPFLAGS: "-I/usr/local/include"
configure: IDN_DIR: "/usr/local/lib"
checking if idna_to_ascii_4i can be linked... yes
checking for idn_free... yes
checking for idna_strerror... yes
checking for tld_strerror... yes
checking idn-free.h usability... yes
checking idn-free.h presence... yes
checking for idn-free.h... yes
checking tld.h usability... yes
checking tld.h presence... yes
checking for tld.h... yes
configure: Added /usr/local/lib to LD_LIBRARY_PATH
checking whether to build with nghttp2... yes (/usr/local)
checking for pkg-config... no
configure: error: --with-nghttp2 was specified but could not find libnghttp2 pkg-config file.
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/usr/obj/usr/ports/ftp/curl/work/curl-7.36.0/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** [do-configure] Error code 1

Stop in /usr/ports/ftp/curl.
*** [build] Error code 1

Stop in /usr/ports/ftp/curl.
root@cs0:/usr/ports/ftp/curl# ^Dexit

Script done on Fri Mar 28 13:27:51 2014
--- curlbuild.log ends here ---
>How-To-Repeat:
cd ${PORTSDIR}/ftp/curl, enable HTTP2 option and try to build.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403281131.s2SBV0h7079311>